@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700 800; font-display: swap; src: url(../assets/fonts/bricolage-latin.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../assets/fonts/inter-latin.woff2) format("woff2"); }

:root {
  --teal: #007a7b;
  --teal-dark: #035556;
  --mint: #43e0c6;
  --ink: #0a1f20;
  --ink-2: #14302f;
  --cream: #f7f4ed;
  --paper: #ffffff;
  --coral: #c23a1e;
  --muted: #55696a;
  --radius: 22px;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }
em { font-style: normal; color: var(--teal); }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--teal);
  background: var(--teal); color: #fff; font: 600 1rem var(--body); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  will-change: transform;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); box-shadow: 0 10px 28px -10px rgba(0,122,123,.7); }
.btn--ghost { background: transparent; color: var(--teal); }
.btn--ghost:hover { background: rgba(0,122,123,.1); color: var(--teal-dark); box-shadow: none; }
.btn--small { padding: 9px 20px; font-size: .95rem; }
.btn--light { background: #fff; border-color: #fff; color: var(--teal-dark); }
.btn--light:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); }

/* Smart download split button */
.dl { position: relative; display: inline-flex; z-index: 30; }
.dl__main { border-radius: 999px 0 0 999px; }
.dl__toggle { display: none; padding-inline: 14px; border-radius: 0 999px 999px 0; border-left-color: rgba(255,255,255,.35); cursor: pointer; }
.js .dl__toggle { display: inline-flex; }
html:not(.js) .dl__main { border-radius: 999px; }
.dl__toggle svg { transition: transform .25s ease; }
.dl.is-open .dl__toggle svg { transform: rotate(180deg); }
.dl--small .dl__main { padding: 9px 16px 9px 20px; font-size: .95rem; }
.dl--small .dl__toggle { padding: 9px 12px; }
.dl__menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 270px; margin: 0; padding: 8px; list-style: none;
  background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 24px 60px -16px rgba(10,31,32,.4), 0 0 0 1px rgba(10,31,32,.08);
  transform-origin: top left;
}
.dl--right .dl__menu { left: auto; right: 0; transform-origin: top right; }
.dl__menu[hidden] { display: none; }
.dl__menu a { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 12px; text-decoration: none; transition: background .15s; }
.dl__menu a:hover, .dl__menu a:focus-visible { background: rgba(0,122,123,.1); }
.dl__menu b { font: 700 1rem var(--display); }
.dl__menu small { color: var(--muted); font-size: .85rem; }
.dl__menu a.is-detected b::after { content: "Recommended"; margin-left: 8px; font: 600 .68rem var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dark); background: rgba(67,224,198,.35); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.dl__all { border-top: 1px solid rgba(10,31,32,.1); margin-top: 6px; padding-top: 6px; }
.dl__all a { font-size: .9rem; color: var(--teal); font-weight: 500; }
.hero__copy { position: relative; z-index: 2; }
/* Hide animated hero pieces only until GSAP has set their start state (no flash of final state) */
.js:not(.ready) :is(.line__in, [data-hero]:not(.lead), .hero .window, .float) { opacity: 0; }
.hero__visual { min-height: 1px; }

.eyebrow { font: 600 .8rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.eyebrow--light { color: var(--mint); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 52ch; }
.lead--light { color: rgba(255,255,255,.8); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-stuck { background: rgba(247,244,237,.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(10,31,32,.08); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.35rem var(--display); text-decoration: none; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { text-decoration: none; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--teal); }

/* Hero */
.hero { position: relative; z-index: 2; padding: 150px 0 90px; overflow-x: clip; }
.hero__glow {
  position: absolute; width: 720px; height: 720px; right: -160px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(67,224,198,.45), rgba(67,224,198,0) 65%); pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.8rem, 6.6vw, 5.6rem); font-weight: 800; }
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line__in { display: inline-block; }
.hero .lead { margin: 26px 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; position: relative; z-index: 5; }
.cta--center { justify-content: center; }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font-size: .85rem; font-weight: 500; padding: 6px 14px; border-radius: 999px; background: rgba(0,122,123,.1); color: var(--teal-dark); }

.hero__visual { position: relative; }
.window { background: #fff; border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(3,85,86,.45), 0 0 0 1px rgba(10,31,32,.08); overflow: hidden; }
.window__bar { display: flex; gap: 7px; padding: 12px 16px; background: #eef2f1; }
.window__bar i { width: 11px; height: 11px; border-radius: 50%; background: #c7d3d2; }
.window__bar i:nth-child(1) { background: #ff6a4d; }
.window__bar i:nth-child(2) { background: #ffc24d; }
.window__bar i:nth-child(3) { background: #43e0c6; }
.window img, .window video { width: 100%; height: auto; display: block; }

.float { position: absolute; background: #fff; border-radius: 18px; box-shadow: 0 20px 40px -16px rgba(10,31,32,.35); padding: 12px 16px; display: flex; align-items: center; gap: 12px; will-change: transform; }
.float--score { left: -34px; bottom: 36px; }
.float--score strong { font: 800 1.9rem var(--display); }
.float--score small { color: var(--muted); margin-left: 4px; }
.ring { width: 56px; height: 56px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring__bg { stroke: #e3ecea; }
.ring__fg { stroke: var(--teal); stroke-linecap: round; stroke-dasharray: 214; stroke-dashoffset: 214; }
.float--phone { right: -18px; top: 70px; font-weight: 600; color: var(--coral); }
.float--phone span { font: 700 1.2rem var(--display); background: rgba(194,58,30,.1); padding: 2px 10px; border-radius: 10px; }
.float--wave { right: 30px; bottom: -26px; gap: 4px; height: 52px; }
.float--wave i { width: 5px; height: 28px; border-radius: 3px; background: var(--teal); transform-origin: center; }

/* Stats */
.stats { background: var(--ink); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 44px 0; text-align: center; }
.stats strong { display: block; font: 800 clamp(2.2rem, 5vw, 3.4rem) var(--display); color: var(--mint); }
.stats span { color: rgba(255,255,255,.7); font-size: .95rem; }

/* Showcase */
.showcase { background: var(--cream); }
.showcase__stage { min-height: 100vh; display: flex; align-items: center; padding: 90px 0; }
.showcase__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.tabs { list-style: none; margin: 34px 0 0; padding: 0; }
.tab { padding: 16px 0 16px 22px; border-left: 3px solid rgba(10,31,32,.12); transition: border-color .35s; }
.tab h3 { color: var(--muted); transition: color .35s; }
.tab.is-active h3 { color: var(--ink); }
.tab p { color: var(--muted); font-size: 1rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s ease, opacity .35s; }
.tab.is-active { border-color: var(--teal); }
.tab.is-active p { max-height: 140px; opacity: 1; margin-top: 8px; }
.shots { position: relative; aspect-ratio: 880 / 586; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s; }
.shot.is-active { opacity: 1; }
.progress { height: 4px; background: rgba(10,31,32,.1); border-radius: 4px; margin-top: 26px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--teal); }

/* How */
.how { padding: 120px 0; background: #fff; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head .lead { margin-top: 22px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--cream); border-radius: var(--radius); padding: 30px; position: relative; }
.step__n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--teal); color: #fff; font: 800 1.1rem var(--display); margin-bottom: 18px; }
.step p { color: var(--muted); margin-top: 10px; font-size: .98rem; }
.blend { margin-top: 56px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 40px; }
.blend h3 { margin-bottom: 22px; }
.blend__bar { display: flex; gap: 6px; height: 64px; }
.blend__bar span { flex: var(--w); display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; font-size: .95rem; color: var(--ink); transform-origin: left; }
.blend__bar b { font: 800 1.2rem var(--display); }
.b1 { background: var(--mint); } .b2 { background: #fff; } .b3 { background: #ffc24d; }
.blend p { margin-top: 20px; color: rgba(255,255,255,.75); }

/* Privacy */
.privacy { padding: 120px 0; background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%); color: #fff; }
.privacy__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.privacy h2 { margin-bottom: 22px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 24px; backdrop-filter: blur(6px); }
.card p { margin-top: 8px; color: rgba(255,255,255,.8); font-size: .97rem; }

/* Requirements */
.reqs { padding: 100px 0 40px; }
.reqs h2 { margin-bottom: 36px; }
.reqs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.reqs__grid div { background: #fff; border-radius: 18px; padding: 22px 24px; box-shadow: 0 0 0 1px rgba(10,31,32,.07); }
.reqs dt { font: 700 1.1rem var(--display); color: var(--teal); }
.reqs dd { margin: 4px 0 0; color: var(--muted); }

/* FAQ */
.faq { padding: 80px 0 110px; }
.faq__wrap { max-width: 800px; }
.faq h2 { margin-bottom: 32px; }
details { border-bottom: 1px solid rgba(10,31,32,.14); padding: 20px 0; }
summary { cursor: pointer; font: 700 1.2rem var(--display); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--teal); transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 12px; color: var(--muted); }

/* Download */
.download { background: var(--ink); color: #fff; padding: 120px 0; text-align: center; position: relative; overflow: hidden; }
.download::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 90%; background: radial-gradient(ellipse at center, rgba(67,224,198,.35), transparent 65%); pointer-events: none; }
.download__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.download__logo { filter: drop-shadow(0 20px 30px rgba(0,0,0,.4)); }
.download h2 { max-width: 16ch; }
.download__more { font-size: .95rem; color: rgba(255,255,255,.65); }
.download__more a { text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.1); padding: 32px 0; font-size: .92rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer .brand { color: #fff; font-size: 1.1rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--mint); }

/* Responsive */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero { padding-top: 120px; }
  .hero__grid, .showcase__grid, .privacy__grid { grid-template-columns: 1fr; gap: 48px; }
  .float--score { left: 8px; }
  .float--phone { right: 8px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .reqs__grid { grid-template-columns: 1fr 1fr; }
  .showcase__stage { min-height: 0; }
  .tab p { max-height: none; opacity: 1; margin-top: 8px; }
  .showcase__media { order: -1; }
  .showcase__stage { padding: 80px 0; }
  .shots { aspect-ratio: auto; display: grid; gap: 14px; }
  .shot { position: relative; opacity: 1; height: auto; }
  .progress { display: none; }
}
@media (max-width: 600px) {
  .steps, .reqs__grid, .cards { grid-template-columns: 1fr; }
  .blend { padding: 26px; }
  .blend__bar { height: auto; flex-direction: column; }
  .blend__bar span { padding: 14px; flex: none; }
  .float--wave { display: none; }
}

/* No-JS: everything visible; reduced motion: no smooth scroll */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tab p, .shot, .tab { transition: none; }
}

/* GEO: answer-first sections */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.about { padding: 110px 0 40px; background: var(--cream); }
.about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.about h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 22px; }
.about .lead { max-width: 60ch; color: var(--ink-2); }
.about .lead strong { color: var(--teal-dark); }
.about__updated { margin-top: 18px; font-size: .88rem; color: var(--muted); }
.facts { display: grid; gap: 10px; margin: 0; }
.facts div { background: #fff; border-radius: 16px; padding: 14px 20px; box-shadow: 0 0 0 1px rgba(10,31,32,.07); display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.facts dt { font: 700 .95rem var(--display); color: var(--teal); }
.facts dd { margin: 0; color: var(--ink-2); font-size: .98rem; }
.models { margin-top: 56px; }
.models p { color: var(--muted); margin: 10px 0 20px; max-width: 70ch; }
.table-wrap { overflow-x: auto; border-radius: 18px; box-shadow: 0 0 0 1px rgba(10,31,32,.1); }
table { width: 100%; border-collapse: collapse; background: var(--cream); font-size: .98rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid rgba(10,31,32,.08); }
thead th { background: var(--ink); color: #fff; font-weight: 600; }
tbody th { font-weight: 600; color: var(--teal-dark); }
tbody tr:last-child > * { border-bottom: 0; }
.start { padding: 90px 0 20px; }
.start h2 { margin-bottom: 36px; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.start__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.start__list li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 0 0 1px rgba(10,31,32,.07); }
.start__list li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; font: 800 1rem var(--display); margin-bottom: 16px; }
.start__list p { color: var(--muted); margin-top: 8px; }
@media (max-width: 960px) { .about__grid { grid-template-columns: 1fr; gap: 36px; } .start__list { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }
