:root {
  --ink: #0a314a;
  --ink-soft: #1c4660;
  --paper: #f5f6f8;
  --primary: #215d9c;
  --primary-deep: #174876;
  --accent: #e46824;
  --accent-deep: #d94f28;
  --success: #5a8f6b;
  --sidebar: #0d2239;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 60px rgba(10, 49, 74, 0.22);
  --font-display: "Manrope", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Manrope", sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 8% -10%, rgba(33, 93, 156, 0.12), transparent 58%),
    radial-gradient(900px 480px at 100% 18%, rgba(228, 104, 36, 0.08), transparent 55%),
    linear-gradient(180deg, var(--sidebar) 0 72px, var(--paper) 72px);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(13, 34, 57, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand img {
  height: 36px;
  width: 36px;
}

.brand .u8 {
  color: #80b7f2;
}

.footer-lockup {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

.nav a:hover {
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 28px rgba(33, 93, 156, 0.3);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(33, 93, 156, 0.38);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  margin-left: 0.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 8px 22px rgba(228, 104, 36, 0.28);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  animation: heroIn 1.2s ease both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 49, 74, 0.94) 0%, rgba(10, 49, 74, 0.78) 38%, rgba(10, 49, 74, 0.28) 70%, rgba(10, 49, 74, 0.12) 100%),
    linear-gradient(180deg, rgba(10, 49, 74, 0.2) 0%, rgba(10, 49, 74, 0.58) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 8rem) 0 clamp(3.5rem, 8vh, 5rem);
  animation: rise 0.9s 0.15s ease both;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-brand img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.hero-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-name span {
  color: #80b7f2;
}

.hero-tag {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(128, 183, 242, 0.9);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.05rem, 4.5vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 12ch;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(243, 248, 250, 0.88);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.strip {
  background: linear-gradient(90deg, #0a314a, #154066 45%, #0d2239);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 1rem 1.25rem;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.strip p {
  margin: 0;
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.section-head h2,
.feature-text h2,
.boundary-panel h2,
.closing h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-head p,
.feature-text p {
  margin: 0;
  color: var(--ink-soft);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-grid article {
  padding-top: 0.35rem;
  border-top: 3px solid var(--accent);
}

.value-grid h3 {
  margin: 0.85rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--primary);
}

.value-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.feature {
  display: grid;
  gap: clamp(3rem, 7vw, 5rem);
}

.feature-block {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.feature-block.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.feature-block.reverse .feature-text {
  order: 2;
}

.feature-block.reverse .feature-visual {
  order: 1;
}

.feature-visual,
.wide-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.feature-visual img,
.wide-visual img {
  width: 100%;
  aspect-ratio: 1536 / 1024;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.feature-visual:hover img,
.wide-visual:hover img {
  transform: scale(1.03);
}

.loop-steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.loop-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: baseline;
  color: var(--ink-soft);
  font-weight: 600;
}

.loop-steps span {
  font-family: var(--font-display);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.boundary {
  padding-top: 0;
}

.boundary-panel {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(33, 93, 156, 0.08), rgba(228, 104, 36, 0.07)),
    var(--white);
  border: 1px solid rgba(10, 49, 74, 0.08);
}

.boundary-panel ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.boundary-panel li + li {
  margin-top: 0.55rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 46rem;
}

details {
  border-bottom: 1px solid rgba(10, 49, 74, 0.12);
  padding: 0.85rem 0;
}

summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  font-family: var(--font-display);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-weight: 700;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--ink-soft);
}

.closing {
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) 1rem;
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(228, 104, 36, 0.16), transparent 70%),
    linear-gradient(180deg, #0a314a, #0d2239);
  color: var(--white);
}

.closing img {
  margin: 0 auto 1.25rem;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  animation: floaty 3.6s ease-in-out infinite;
}

.closing h2 {
  color: var(--white);
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
}

.closing p {
  max-width: 34rem;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  background: #071828;
  color: rgba(255, 255, 255, 0.72);
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem) 2rem;
  display: grid;
  gap: 1.25rem;
}

.footer-brand p,
.fine {
  margin: 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a:hover {
  color: var(--white);
}

@keyframes heroIn {
  from {
    transform: scale(1.06);
    opacity: 0.55;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
  }

  .feature-block.reverse .feature-text,
  .feature-block.reverse .feature-visual {
    order: initial;
  }

  .hero h1 {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .btn-sm {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
