:root {
  --bg: #fbf8f2;
  --bg-2: #f4efe7;
  --panel: #ffffff;
  --ink: #162936;
  --muted: #63747f;
  --line: #e4dbce;
  --accent: #0b4c67;
  --accent-2: #2f7387;
  --accent-3: #7b8a56;
  --soft: #eef5f6;
  --soft-warm: #f7f1e8;
  --shadow: 0 26px 70px rgba(22, 41, 54, 0.10);
  --shadow-soft: 0 14px 44px rgba(22, 41, 54, 0.07);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(255,255,255,0.92) 0, rgba(255,255,255,0.42) 28%, transparent 44%),
    linear-gradient(135deg, #fffdf9 0%, var(--bg) 45%, var(--bg-2) 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  z-index: 20;
}

.skip-link:focus {
  left: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(251, 248, 242, 0.90);
  border-bottom: 1px solid rgba(228, 219, 206, 0.88);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-link:hover {
  text-decoration: none;
}

.brand-lockup {
  width: clamp(185px, 16vw, 218px);
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.22rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--ink);
  opacity: 0.88;
  padding: 0.48rem 0.68rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  opacity: 1;
  background: rgba(11, 76, 103, 0.08);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.78);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 800;
}

main > .hero,
main > .page-hero,
.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: clamp(2.3rem, 4.3vw, 3.65rem) 0 clamp(2rem, 3.7vw, 3rem);
}

.split-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(280px, 0.48fr);
  align-items: center;
  gap: clamp(1.75rem, 3.5vw, 3.25rem);
}

.page-hero {
  padding: clamp(2.8rem, 5.2vw, 4.6rem) 0 clamp(1.8rem, 3.8vw, 3rem);
}

.legal-hero {
  max-width: 960px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 0.35rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
}

.inverted {
  color: rgba(238, 247, 249, 0.78);
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
  margin: 0;
}

h1 {
  line-height: 1.02;
}

h1 {
  max-width: 800px;
  font-size: clamp(2.3rem, 4vw, 4.15rem);
  letter-spacing: -0.052em;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.35rem, 4.5vw, 4.65rem);
}

.section-heading {
  max-width: 860px;
  font-size: clamp(1.85rem, 3.35vw, 3.15rem);
  letter-spacing: -0.042em;
}

.hero-copy,
.section-lede {
  max-width: 720px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.34vw, 1.14rem);
}

.narrow {
  max-width: 820px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.68rem 1.02rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 13px 30px rgba(11, 76, 103, 0.18);
  cursor: pointer;
}

.button.secondary {
  color: var(--accent);
  background: rgba(255,255,255,0.58);
  box-shadow: none;
}

.button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.hero-logo-card {
  position: relative;
  justify-self: end;
  width: min(100%, 330px);
  padding: clamp(0.78rem, 1.4vw, 1rem);
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(228,219,206,0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-logo-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(11,76,103,0.10);
  border-radius: calc(var(--radius) - 12px);
  pointer-events: none;
}

.hero-logo-card img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 14px);
  background: #fffdf9;
}

.hero-logo-card p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.section {
  padding: clamp(2.8rem, 5.8vw, 4.35rem) 0;
}

.section.compact {
  padding-top: clamp(2rem, 4vw, 3.2rem);
}

.panel,
.feature-card,
.difference-item,
.timeline article {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.panel {
  margin-top: 1.6rem;
  padding: clamp(1.35rem, 2.6vw, 2.2rem);
  border-radius: var(--radius);
}

.statement-panel p {
  margin: 0;
  font-size: clamp(1.22rem, 2vw, 1.52rem);
  line-height: 1.48;
  color: var(--ink);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.stat-grid article {
  min-height: 158px;
  padding: 1.1rem;
  background: rgba(238,245,246,0.76);
  border: 1px solid rgba(11, 76, 103, 0.10);
  border-radius: 22px;
}

.stat-grid span,
.card-index,
.timeline span {
  display: inline-flex;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-grid strong {
  display: block;
  margin-top: 0.75rem;
  font-size: 1.08rem;
}

.stat-grid p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.feature-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  border-radius: 24px;
  padding: clamp(1.25rem, 2vw, 1.65rem);
  min-height: 100%;
}

.feature-card h3,
.difference-item h3,
.timeline h3 {
  margin-top: 0.55rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.feature-card p,
.difference-item p,
.timeline p {
  color: var(--muted);
  margin: 0.8rem 0 0;
}

.linked-card {
  display: flex;
  flex-direction: column;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.93rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.63em;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--accent-3);
  border-radius: 50%;
}

.text-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 1.25rem;
  font-weight: 900;
}

.text-link::after {
  content: "→";
  margin-left: 0.45rem;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.difference-item {
  border-left: 4px solid var(--accent);
  border-radius: 20px;
  padding: 1.35rem;
}

.architecture-band {
  color: #eef7f9;
  background:
    radial-gradient(circle at 85% 20%, rgba(123,138,86,0.26), transparent 24%),
    linear-gradient(135deg, rgba(11,76,103,0.97), rgba(22,41,54,0.99));
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 3.1rem);
  box-shadow: var(--shadow);
}

.architecture-band h2,
.architecture-band h3 {
  max-width: 930px;
  color: #fff;
  font-size: clamp(1.65rem, 3.8vw, 3.35rem);
  letter-spacing: -0.045em;
}

.architecture-band p {
  color: rgba(238,247,249,0.82);
  max-width: 940px;
  font-size: 1.06rem;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.55rem;
}

.three-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-step {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255,255,255,0.07);
}

.flow-step strong {
  display: block;
  color: #fff;
  margin-bottom: 0.35rem;
}

.flow-step span {
  color: rgba(238,247,249,0.78);
  font-size: 0.92rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.compact-timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.timeline article {
  border-radius: 22px;
  padding: 1.1rem;
}

.timeline h3 {
  font-size: 1.1rem;
}

.compliance-note {
  color: var(--muted);
}

.compliance-note p {
  margin: 0;
}

.compliance-note strong,
.compliance-note h2 {
  color: var(--ink);
}

.legal-section {
  padding-top: 2.2rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.58fr);
  gap: 1rem;
  align-items: start;
}

.legal-copy h2,
.form-panel h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  letter-spacing: -0.025em;
}

.legal-copy h2:not(:first-child) {
  margin-top: 1.6rem;
}

.legal-copy p {
  color: var(--muted);
  margin: 0.8rem 0 0;
}

.full-width {
  max-width: 940px;
}

.notice-box {
  margin-top: 1.3rem;
  padding: 1rem;
  border-radius: 18px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid rgba(11,76,103,0.12);
}

.form-panel {
  position: sticky;
  top: 104px;
}

.form-group {
  margin-top: 1.1rem;
}

.form-group label {
  display: block;
  font-weight: 850;
  margin-bottom: 0.42rem;
}

input[type="tel"] {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 0.78rem 0.88rem;
  outline: none;
}

input[type="tel"]:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(47,115,135,0.12);
}

.checkbox-group {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-top: 1rem;
}

.checkbox-group input {
  margin-top: 0.32rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent);
}

.checkbox-group label {
  color: var(--muted);
  font-size: 0.94rem;
}

.form-button {
  width: 100%;
  margin-top: 1.15rem;
}

.form-status {
  display: none;
  margin: 1rem 0 0;
  padding: 0.82rem 0.9rem;
  border-radius: 14px;
  color: var(--ink);
  background: var(--soft);
}

.form-status.is-visible {
  display: block;
}

.support-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.support-strip div {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  color: var(--muted);
}

.support-strip strong {
  color: var(--ink);
}

.site-footer {
  margin-top: 1.6rem;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.62);
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 2rem 0 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 240px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span,
.footer-links,
.copyright {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1rem;
  max-width: 670px;
}

.footer-links a {
  font-weight: 700;
}

.copyright {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 2rem;
}


.hero-copy-block {
  min-width: 0;
}

.section:first-of-type {
  scroll-margin-top: 92px;
}

@media (max-width: 1080px) {
  .stat-grid,
  .feature-grid.three,
  .timeline,
  .compact-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-hero,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo-card {
    justify-self: start;
    width: min(100%, 330px);
  }

  .form-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 66px;
  }

  .brand-lockup {
    width: 182px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 66px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,0.97);
    box-shadow: var(--shadow-soft);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .stat-grid,
  .feature-grid.three,
  .difference-grid,
  .timeline,
  .compact-timeline,
  .flow,
  .three-flow,
  .support-strip {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  main > .hero,
  main > .page-hero,
  .section,
  .nav,
  .footer-inner,
  .copyright {
    width: min(var(--max), calc(100% - 28px));
  }

  h1 {
    letter-spacing: -0.055em;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .brand-lockup {
    width: 168px;
  }

  .hero-logo-card {
    width: min(100%, 280px);
    border-radius: 22px;
    padding: 0.72rem;
  }

  .hero-logo-card p {
    font-size: 0.87rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
