:root {
  --bg: #06141f;
  --bg-deep: #03101a;
  --bg-soft: #0b1d2a;
  --panel: #0e2433;
  --panel-2: #102938;
  --line: rgba(177, 211, 228, 0.16);
  --text: #f5f8fa;
  --muted: #b9c9d5;
  --muted-2: #8196a6;
  --cyan: #20e2d6;
  --cyan-2: #32c7e8;
  --green: #63f291;
  --orange: #ffb24a;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 28px 70px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 9999;
  background: var(--text); color: var(--bg); padding: .7rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(3, 16, 26, .86);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 800; letter-spacing: .16em; font-size: .96rem; }
.brand-mark { width: 28px; height: 24px; display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; }
.brand-mark i { display: block; height: 3px; border-radius: 99px; background: var(--cyan); }
.brand-mark i:last-child { width: 70%; align-self: flex-end; background: var(--green); }
.nav { display: flex; align-items: center; gap: 1.45rem; }
.nav a { text-decoration: none; color: var(--muted); font-size: .92rem; font-weight: 650; transition: color .2s ease; }
.nav a:hover, .nav a:focus-visible { color: var(--text); }
.nav .nav-cta { color: var(--text); border: 1px solid rgba(32,226,214,.42); padding: .55rem .9rem; border-radius: 999px; }

.hero {
  position: relative; overflow: hidden;
  min-height: 760px;
  background:
    radial-gradient(circle at 78% 55%, rgba(32,226,214,.10), transparent 23%),
    radial-gradient(circle at 90% 62%, rgba(99,242,145,.08), transparent 20%),
    linear-gradient(145deg, var(--bg-deep), #071a28 55%, #061722);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to left, black, transparent 72%);
  opacity: .45;
}
.hero-grid { position: absolute; inset: auto 0 0 auto; width: 48%; height: 64%; opacity: .18; background: radial-gradient(circle, rgba(32,226,214,.55) 1px, transparent 1.5px); background-size: 25px 25px; mask-image: linear-gradient(to top left, black, transparent 75%); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; min-height: 760px; padding-block: 84px; }
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.eyebrow { margin: 0 0 1rem; color: var(--cyan); font-size: .76rem; font-weight: 800; letter-spacing: .18em; }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(3.35rem, 6.1vw, 6.25rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { background: linear-gradient(90deg, var(--cyan), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 720px; margin: 1.8rem 0 0; color: var(--muted); font-size: clamp(1.06rem, 1.8vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .76rem 1.15rem; border-radius: 10px; text-decoration: none; font-weight: 760; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid rgba(32,226,214,.35); outline-offset: 3px; }
.button-primary { color: #031016; background: linear-gradient(95deg, var(--cyan), var(--green)); box-shadow: 0 10px 35px rgba(32,226,214,.12); }
.button-primary:hover { box-shadow: 0 12px 38px rgba(32,226,214,.22); }
.button-secondary { color: var(--text); background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.14); }
.button-secondary:hover { border-color: rgba(32,226,214,.45); }
.hero-note { margin: 1.5rem 0 0; color: var(--muted-2); font-size: .9rem; }

.hero-visual { min-height: 470px; position: relative; }
.recovery-path { position: absolute; inset: 8% -12% 0 -6%; }
.recovery-path::before { content: ""; position: absolute; left: 8%; top: 49%; width: 78%; height: 2px; background: linear-gradient(90deg, rgba(85,156,194,.2), var(--cyan), var(--green)); box-shadow: 0 0 30px rgba(32,226,214,.45); }
.path-label { position: absolute; font-size: .62rem; letter-spacing: .2em; color: var(--muted-2); }
.path-label.chaos { left: 1%; top: 8%; }
.path-label.outcome { right: 5%; top: 39%; color: var(--green); }
.tangle { position: absolute; left: 0; top: 18%; width: 48%; height: 57%; filter: drop-shadow(0 0 10px rgba(74,164,221,.15)); }
.tangle i { position: absolute; left: 0; width: 100%; height: 35%; border: 2px solid rgba(75,161,211,.52); border-left-color: transparent; border-right-color: transparent; border-radius: 50%; transform-origin: center; }
.tangle i:nth-child(1){ top: 1%; transform: rotate(19deg); }
.tangle i:nth-child(2){ top: 13%; transform: rotate(-27deg); }
.tangle i:nth-child(3){ top: 26%; transform: rotate(10deg); }
.tangle i:nth-child(4){ top: 38%; transform: rotate(-15deg); }
.tangle i:nth-child(5){ top: 52%; transform: rotate(28deg); }
.tangle i:nth-child(6){ top: 66%; transform: rotate(-8deg); }
.hub { position: absolute; left: 43%; top: 40%; width: 112px; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--cyan); box-shadow: 0 0 0 10px rgba(32,226,214,.06), 0 0 38px rgba(32,226,214,.35); display: grid; place-items: center; }
.hub::before { content: ""; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.65); }
.hub span { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: #ebfeff; box-shadow: 0 0 12px rgba(32,226,214,.8); }
.hub span:nth-child(1){ transform: translateY(-22px); }
.hub span:nth-child(2){ transform: translate(-22px, 19px); }
.hub span:nth-child(3){ transform: translate(22px, 19px); }
.flow { position: absolute; left: 63%; top: 42%; width: 36%; display: flex; align-items: center; justify-content: space-between; }
.flow i { width: 43px; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(99,242,145,.82); box-shadow: 0 0 14px rgba(99,242,145,.19); background: rgba(3,16,26,.85); }
.flow i::after { content: "✓"; color: var(--green); display: grid; place-items: center; height: 100%; font-style: normal; font-weight: 900; }
.flow i:nth-child(1)::after { content: "◎"; }
.flow i:nth-child(2)::after { content: "⚙"; font-size: .95rem; }
.flow b { color: var(--green); font-size: 3rem; font-weight: 400; text-shadow: 0 0 20px rgba(99,242,145,.45); }

.section { padding: 108px 0; border-bottom: 1px solid var(--line); }
.section-heading { max-width: 730px; margin-bottom: 44px; }
.section-heading.compact { margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-size: clamp(2.15rem, 4vw, 3.8rem); line-height: 1.06; letter-spacing: -.035em; }
.section-heading > p:not(.eyebrow) { margin: 1.2rem 0 0; color: var(--muted); font-size: 1.08rem; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.cap-card { position: relative; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.025), rgba(255,255,255,.012)); }
.cap-card::after { content: ""; position: absolute; right: -40px; bottom: -70px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(32,226,214,.09), transparent 70%); }
.card-number { color: var(--cyan); font-size: .75rem; font-weight: 800; letter-spacing: .18em; }
.cap-card h3 { margin: 1.1rem 0 .65rem; font-size: 1.3rem; }
.cap-card p { margin: 0; color: var(--muted); }

.section-results { background: linear-gradient(180deg, #071a27, #06141f); }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.metric { padding: 28px 26px 32px; min-height: 210px; border-right: 1px solid var(--line); background: rgba(255,255,255,.012); }
.metric:last-child { border-right: none; }
.metric strong { display: block; font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1; letter-spacing: -.05em; background: linear-gradient(90deg, var(--cyan), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric strong span { font-size: .56em; }
.metric p { margin: 1.1rem 0 0; color: var(--muted); font-size: .96rem; }

.approach-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.approach-copy { position: sticky; top: 116px; margin: 0; }
.steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 62px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--cyan); font-size: .78rem; font-weight: 800; letter-spacing: .14em; padding-top: .15rem; }
.steps h3 { margin: 0 0 .35rem; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--muted); }

.book-section { position: relative; overflow: hidden; background: linear-gradient(145deg, #071927, #03101a); }
.book-section::before { content: ""; position: absolute; right: -18%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(32,226,214,.08), transparent 67%); }
.book-layout { position: relative; display: grid; grid-template-columns: minmax(260px, 410px) minmax(0,1fr); gap: 90px; align-items: center; }
.book-art { position: relative; perspective: 1100px; }
.book-art img { width: min(100%, 355px); margin-inline: auto; border-radius: 2px; box-shadow: -18px 30px 70px rgba(0,0,0,.55), 12px 0 0 rgba(255,255,255,.05); transform: rotateY(2deg); }
.book-glow { position: absolute; width: 80%; aspect-ratio: 1; left: 10%; top: 26%; border-radius: 50%; background: rgba(32,226,214,.17); filter: blur(80px); }
.book-copy h2 { margin: 0; font-size: clamp(2.5rem, 4.8vw, 4.5rem); line-height: .98; letter-spacing: -.045em; }
.book-subtitle { margin: .9rem 0 1.35rem !important; color: var(--text) !important; font-size: 1.22rem !important; }
.book-copy p { max-width: 700px; color: var(--muted); font-size: 1.04rem; }
.book-copy .button { margin-top: .8rem; }

.contact-section { background: #081b28; }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact-copy { margin: 0; }
.contact-domain { display: inline-block; margin-top: 1.5rem; padding-top: .8rem; border-top: 3px solid var(--cyan); color: var(--text); font-weight: 800; letter-spacing: .08em; }
.contact-form { display: grid; gap: .65rem; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(2,13,21,.38); box-shadow: var(--shadow); }
.contact-form label { font-size: .86rem; font-weight: 720; color: #dbe7ed; }
.contact-form label span { color: var(--muted-2); font-weight: 500; }
.contact-form input, .contact-form textarea { width: 100%; color: var(--text); background: #071722; border: 1px solid rgba(177,211,228,.2); border-radius: 9px; padding: .78rem .86rem; margin-bottom: .55rem; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(32,226,214,.65); box-shadow: 0 0 0 3px rgba(32,226,214,.07); }
.form-button { width: 100%; border: 0; }
.form-note { margin: .3rem 0 0; color: var(--muted-2); font-size: .78rem; text-align: center; }
.form-note a { color: var(--muted); }
.hidden-field { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.site-footer { padding: 34px 0 46px; background: var(--bg-deep); }
.footer-wrap { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.footer-brand { font-size: .87rem; }
.footer-wrap p { color: var(--muted-2); margin: .65rem 0 0; font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 1.35rem; justify-content: flex-end; color: var(--muted-2); font-size: .85rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

.simple-page { min-height: 100vh; display: grid; place-items: center; padding: 40px 0; background: radial-gradient(circle at 80% 20%, rgba(32,226,214,.08), transparent 25%), var(--bg); }
.simple-card { width: min(760px, calc(100% - 40px)); padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.simple-card h1 { margin: .6rem 0 1rem; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.04em; }
.simple-card p, .simple-card li { color: var(--muted); }
.simple-card .button { margin-top: 1rem; }
.simple-card h2 { margin-top: 2rem; }

@media (max-width: 960px) {
  .hero-layout { grid-template-columns: 1fr; min-height: auto; padding-block: 88px 70px; }
  .hero-visual { min-height: 330px; max-width: 640px; width: 100%; margin-inline: auto; }
  .recovery-path { inset: 0 -3% 0 0; }
  .metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .metric { border-bottom: 1px solid var(--line); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(3), .metric:nth-child(4) { border-bottom: none; }
  .approach-layout, .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .approach-copy { position: static; }
  .book-layout { gap: 56px; grid-template-columns: minmax(230px, 330px) 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .site-header { position: relative; }
  .nav-wrap { min-height: 66px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; }
  .hero-layout { padding-block: 66px 40px; gap: 24px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-visual { min-height: 275px; overflow: hidden; }
  .recovery-path { transform: scale(.88); transform-origin: left center; inset: -3% -20% 0 -5%; }
  .section { padding: 76px 0; }
  .card-grid, .metrics, .book-layout { grid-template-columns: 1fr; }
  .metrics { overflow: visible; border: 0; gap: 12px; }
  .metric { min-height: auto; border: 1px solid var(--line) !important; border-radius: 14px; }
  .book-layout { gap: 46px; }
  .book-art img { width: min(76vw, 330px); }
  .contact-form { padding: 22px; }
  .footer-wrap { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

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