@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --gold: #C9A45C;
  --gold-soft: #E3CB97;
  --night: #0F1E2E;
  --night-2: #16293D;
  --night-3: #1F3650;
  --cream: #F3EEE4;
  --cream-2: #FAF7F1;
  --ink: #0F1E2E;
  --ink-soft: #3D4C5C;
  --line: rgba(15, 30, 46, 0.12);
  --line-dark: rgba(243, 238, 228, 0.14);
  --radius: 14px;
  --max: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream-2);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 650; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--gold); color: var(--night); padding: 8px 14px; border-radius: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 30, 46, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--cream);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font-weight: 600; letter-spacing: -0.01em; font-size: 17px; white-space: nowrap; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand span b { font-weight: 650; }
.brand span i { font-style: normal; font-weight: 400; opacity: 0.8; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: rgba(243, 238, 228, 0.8); }
.nav a:hover { color: var(--cream); }
.nav .btn { color: var(--night); }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }
@media (max-width: 420px) { .brand span i { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: rgba(243, 238, 228, 0.35); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }

/* Hero */
.hero { background: var(--night); color: var(--cream); position: relative; overflow: hidden; }
.hero .wrap { padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(64px, 9vw, 112px); position: relative; }
.hero-mark { position: absolute; right: -60px; top: 40px; width: min(46vw, 520px); opacity: 0.09; pointer-events: none; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.hero h1 { font-size: clamp(38px, 6.2vw, 68px); max-width: 15ch; font-weight: 680; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: clamp(18px, 2vw, 21px); max-width: 40em; color: rgba(243, 238, 228, 0.82); margin: 28px 0 36px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: clamp(48px, 7vw, 80px); background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.hero-facts div { background: var(--night); padding: 22px 24px; }
.hero-facts b { display: block; font-size: 26px; font-weight: 650; color: var(--cream); letter-spacing: -0.02em; }
.hero-facts span { font-size: 14.5px; color: rgba(243, 238, 228, 0.7); }
@media (max-width: 720px) { .hero-facts { grid-template-columns: 1fr; } }

/* Sections */
section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .eyebrow { color: #9A7A3A; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { font-size: 18.5px; color: var(--ink-soft); margin-top: 18px; }
.dark { background: var(--night); color: var(--cream); }
.dark .section-head .eyebrow { color: var(--gold); }
.dark .section-head p { color: rgba(243, 238, 228, 0.78); }
.cream { background: var(--cream); }

/* Problem */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); margin: 0; font-size: 16px; }
.card .k { display: block; width: 28px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 18px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.callout { margin-top: 28px; padding: 26px 28px; border-left: 3px solid var(--gold); background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0; font-size: 18px; }
.callout p:last-child { margin: 0; }

/* Method */
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: ph; }
.phase { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 26px 24px; background: var(--night-2); display: flex; flex-direction: column; }
.phase.pre { background: transparent; border-style: dashed; }
.phase .when { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.phase h3 { font-size: 20px; margin: 10px 0 12px; color: var(--cream); }
.phase p { font-size: 15.5px; color: rgba(243, 238, 228, 0.76); margin: 0 0 14px; }
.phase ul { margin: auto 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line-dark); font-size: 14.5px; color: rgba(243, 238, 228, 0.86); }
.phase li { padding-left: 16px; position: relative; margin-bottom: 6px; }
.phase li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.timeline { display: grid; grid-template-columns: 4fr 6fr 2fr; height: 6px; gap: 4px; margin: 0 0 28px; margin-left: calc(25% + 4px); }
.timeline i { background: var(--gold); border-radius: 3px; opacity: .5; }
.timeline i:nth-child(2) { opacity: .8; }
.timeline i:nth-child(3) { opacity: 1; }
@media (max-width: 1000px) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } .timeline { display: none; } }
@media (max-width: 600px) { .phases { grid-template-columns: 1fr; } }
.method-note { margin-top: 28px; font-size: 16px; color: rgba(243, 238, 228, 0.75); max-width: 760px; }

/* Case */
.case { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.case blockquote { margin: 0; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.35; letter-spacing: -0.015em; font-weight: 550; }
.case blockquote::before { content: ""; display: block; width: 40px; height: 3px; background: var(--gold); margin-bottom: 22px; }
.case .ctx { color: var(--ink-soft); margin-top: 22px; font-size: 16.5px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat b { display: block; font-size: clamp(30px, 3.4vw, 40px); font-weight: 680; letter-spacing: -0.03em; line-height: 1.05; }
.stat span { display: block; color: var(--ink-soft); font-size: 15px; margin-top: 8px; line-height: 1.45; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .stats { grid-template-columns: 1fr; } }

/* Admission & guarantee */
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.term { border-radius: var(--radius); padding: clamp(26px, 3.5vw, 40px); }
.term.a { background: #fff; border: 1px solid var(--line); }
.term.g { background: var(--night); color: var(--cream); }
.term .eyebrow { margin-bottom: 12px; color: #9A7A3A; }
.term.g .eyebrow { color: var(--gold); }
.term h3 { font-size: clamp(22px, 2.4vw, 27px); margin-bottom: 14px; }
.term p { color: var(--ink-soft); margin-bottom: 0.8em; }
.term.g p { color: rgba(243, 238, 228, 0.8); }
.term .big { font-size: clamp(34px, 4vw, 46px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; margin: 6px 0 16px; }
@media (max-width: 860px) { .terms { grid-template-columns: 1fr; } }

.invest { margin-top: 20px; display: grid; grid-template-columns: 1.1fr 2fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.invest .price { padding: 28px; border-right: 1px solid var(--line); }
.invest .price b { display: block; font-size: 32px; font-weight: 700; letter-spacing: -0.03em; }
.invest .price span { color: var(--ink-soft); font-size: 15px; }
.invest .milestones { padding: 22px 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: center; }
.invest .milestones div { font-size: 15px; color: var(--ink-soft); }
.invest .milestones b { display: block; color: var(--ink); font-size: 18px; }
@media (max-width: 860px) {
  .invest { grid-template-columns: 1fr; }
  .invest .price { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) { .invest .milestones { grid-template-columns: 1fr; } }

/* Contact */
.contact { text-align: center; }
.contact h2 { font-size: clamp(32px, 4.6vw, 52px); max-width: 18ch; margin: 0 auto; }
.contact p.lead { font-size: 19px; color: rgba(243, 238, 228, 0.8); max-width: 36em; margin: 22px auto 34px; }
.contact .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.contact .alt { margin-top: 26px; font-size: 15.5px; color: rgba(243, 238, 228, 0.72); }
.contact .alt a { color: var(--cream); }

/* Footer */
.site-footer { background: #0B1723; color: rgba(243, 238, 228, 0.7); font-size: 14px; padding: 40px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: rgba(243, 238, 228, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.site-footer .brand { font-size: 15px; }
.site-footer .brand svg { width: 20px; height: 20px; }

/* Legal pages */
.legal { padding: clamp(48px, 7vw, 88px) 0; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(32px, 4.4vw, 44px); margin-bottom: 10px; }
.legal .updated { color: var(--ink-soft); font-size: 15px; margin-bottom: 36px; }
.legal h2 { font-size: 21px; margin: 36px 0 12px; }
.legal p, .legal li { color: #23323F; }
.legal ul { padding-left: 20px; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15.5px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { width: 34%; font-weight: 600; }
.legal a { color: #7A5E28; }
@media (max-width: 560px) {
  .legal th, .legal td { display: block; width: 100%; padding: 6px 0; border: 0; }
  .legal tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
}

.back { display: inline-block; margin-bottom: 28px; font-size: 15px; color: var(--ink-soft); text-decoration: none; }
.back:hover { color: var(--ink); }
