/* TrackQuest website — "Expedition" brand (navy · teal · amber · parchment). */

:root {
  --navy: #0F172A;
  --navy-2: #16213A;
  --navy-3: #22304D;
  --teal: #0B8577;
  --teal-l: #5EE0CC;
  --amber: #E8992A;
  --amber-l: #FFC46B;
  --red: #E5484D;

  --bg: #F6F3EC;
  --bg-2: #EFE9DC;
  --card: #FFFFFF;
  --text: #0F172A;
  --muted: #55606F;
  --line: #E2DACB;
  --accent: var(--teal);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px -8px rgba(15, 23, 42, .12);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .35);

  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1180px;
  --gutter: 20px;
  --radius: 22px;
  --nav-h: 68px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1220;
    --bg-2: #0F1828;
    --card: #131C2E;
    --text: #E8EDF5;
    --muted: #9AA6B8;
    --line: #24304A;
    --accent: var(--teal-l);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -8px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1220;
  --bg-2: #0F1828;
  --card: #131C2E;
  --text: #E8EDF5;
  --muted: #9AA6B8;
  --line: #24304A;
  --accent: var(--teal-l);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -8px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

/* ── Language: every text exists as lang="id" + lang="en"; only one shows. ── */
html[data-lang="id"] body [lang="en"],
html[data-lang="en"] body [lang="id"] { display: none !important; }

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--navy); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.06; margin: 0; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(32px, 5.2vw, 56px); }
h3 { font-size: clamp(21px, 2.3vw, 26px); letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
em.hl { font-style: normal; color: var(--accent); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.kicker::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: clamp(16px, 1.6vw, 18.5px); }
.center { text-align: center; margin-inline: auto; }
.center .kicker { justify-content: center; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 14px; border: 0;
  font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-amber { background: var(--amber); color: var(--navy); box-shadow: 0 10px 30px -8px rgba(232, 153, 42, .65); }
.btn-amber:hover { box-shadow: 0 16px 36px -8px rgba(232, 153, 42, .75); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-line { background: var(--card); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14.5px; border-radius: 12px; }

/* ── Nav ──────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  color: #fff; transition: background-color .3s, box-shadow .3s, color .3s;
}
.nav.solid, .nav.light-page {
  background: color-mix(in srgb, var(--navy) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; }
.nav-links a {
  display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: 14.5px; color: rgba(255, 255, 255, .78); transition: color .2s, background-color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; color: rgba(255, 255, 255, .7);
  font: 700 12.5px/1 var(--body); padding: 7px 10px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .25s, background-color .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.nav.open .menu-btn span { background: transparent; }
.nav.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; gap: 2px;
    margin: 0; padding: 10px 16px 20px; background: var(--navy);
    box-shadow: 0 24px 40px -12px rgba(0, 0, 0, .5);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open .nav-links { opacity: 1; transform: none; visibility: visible; }
  .nav.open { background: var(--navy); }
  .nav-links a { padding: 14px 12px; font-size: 16px; }
  .nav-links .nav-links-cta { display: block; padding-top: 8px; }
  .nav-links .nav-links-cta a { background: var(--amber); color: var(--navy); text-align: center; }
  .nav-actions { margin-left: auto; }
}
@media (min-width: 961px) { .nav-links .nav-links-cta { display: none; } }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(90% 70% at 80% 10%, rgba(11, 133, 119, .38), transparent 60%),
              radial-gradient(60% 50% at 0% 100%, rgba(232, 153, 42, .12), transparent 60%),
              var(--navy);
  padding: calc(var(--nav-h) + clamp(32px, 6vw, 72px)) 0 0;
}
.topo { position: absolute; inset: -10% -10% 0; width: 120%; height: 110%; opacity: .55; pointer-events: none; }
.topo path { fill: none; stroke: var(--teal-l); stroke-opacity: .13; stroke-width: 1.2; }
.topo g { animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-60px, 24px); } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(232, 153, 42, .14); color: var(--amber-l); border: 1px solid rgba(232, 153, 42, .4);
  font-weight: 700; font-size: 13.5px; padding: 7px 14px; border-radius: 999px;
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(232, 153, 42, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(232, 153, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 153, 42, 0); } }
.hero h1 { margin: 22px 0 0; font-size: clamp(42px, 6.6vw, 84px); line-height: .98; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--teal-l); position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .3em; overflow: visible; }
.hero h1 em svg path { fill: none; stroke: var(--amber); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.4s .9s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lede { margin-top: 24px; font-size: clamp(17px, 1.7vw, 20px); color: rgba(255, 255, 255, .78); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.watch {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; background: none; border: 0; padding: 0;
  color: rgba(255, 255, 255, .85); font-weight: 600; cursor: pointer;
}
.watch b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); transition: background-color .2s, transform .2s; }
.watch:hover b { background: var(--teal); transform: scale(1.06); }
.watch svg { width: 16px; height: 16px; margin-left: 2px; }
.coords { margin-top: 40px; font: 500 12px/1.5 var(--mono); letter-spacing: .08em; color: rgba(255, 255, 255, .45); display: flex; gap: 18px; flex-wrap: wrap; }

/* Hero stage: map + phone + floating cards */
.stage { position: relative; height: clamp(560px, 62vw, 700px); }
.stage .map { position: absolute; inset: 4% -6% 0 -8%; }
.stage .map .route { fill: none; stroke: var(--amber); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.stage .map .route-draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 3.2s .4s ease-out forwards; }
.pin { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes pop { from { opacity: 0; transform: scale(.2) translateY(10px); } to { opacity: 1; transform: none; } }
.ring { fill: none; stroke: var(--teal-l); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: radar 2.8s ease-out infinite; }
.ring.r2 { animation-delay: .9s; }
.ring.r3 { animation-delay: 1.8s; }
@keyframes radar { from { transform: scale(.2); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.stage .phone { position: absolute; left: 50%; top: 0; width: clamp(240px, 24vw, 300px); transform: translateX(-50%) rotate(-4deg); animation: rise 1.1s .2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateX(-50%) translateY(60px) rotate(2deg); } }
.float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--navy); border-radius: 16px; padding: 10px 14px 10px 10px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45); font-weight: 700; font-size: 14px; line-height: 1.25;
  opacity: 0; animation: in-float .7s cubic-bezier(.3, 1.4, .5, 1) forwards, bob 5s ease-in-out infinite;
}
.float small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); }
.float .ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; flex: none; font-size: 18px; }
.float.f1 { left: 0; top: 18%; animation-delay: 1.4s, 2.1s; }
.float.f2 { right: -2%; top: 46%; animation-delay: 1.9s, 2.6s; }
.float.f3 { left: 4%; bottom: 16%; animation-delay: 2.4s, 3.1s; }
@keyframes in-float { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { translate: 0 -8px; } }
.hero-fade { height: 90px; background: linear-gradient(to bottom, transparent, var(--bg)); position: relative; margin-top: -40px; }

/* ── Phone frame ──────────────────────────────────────────────────────── */
.phone {
  position: relative; aspect-ratio: 1080 / 2339; border-radius: 40px; padding: 9px;
  background: linear-gradient(145deg, #2C3955, #111a2c 60%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12), var(--shadow-lg);
}
.phone::after { content: ""; position: absolute; top: 18px; left: 50%; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: #05080f; box-shadow: inset 0 0 0 2px #1a2337; z-index: 2; }
.phone > img, .phone > video { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 32px; background: var(--bg-2); }
.phone.sm { border-radius: 30px; padding: 7px; }
.phone.sm::after { top: 13px; width: 8px; height: 8px; margin-left: -4px; }
.phone.sm > img, .phone.sm > video { border-radius: 24px; }

/* ── Marquee ──────────────────────────────────────────────────────────── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--card); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.marquee li { display: flex; align-items: center; gap: 14px; padding: 0 22px; font: 700 15px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.marquee li::after { content: "✦"; color: var(--amber); font-size: 12px; margin-left: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── How it works: a route of 4 stops ─────────────────────────────────── */
.how { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.how-line { position: absolute; left: 0; right: 0; top: 30px; height: 60px; pointer-events: none; }
.how-line path { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-dasharray: 3 9; stroke-linecap: round; }
.how-line .mask { stroke: var(--bg); stroke-width: 8; stroke-dasharray: none; }
.stop { position: relative; }
.stop .num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg);
  background: var(--navy); color: #fff; box-shadow: 0 10px 24px -8px rgba(15, 23, 42, .5); margin-bottom: 26px;
}
.stop .num b { transform: rotate(45deg); font: 800 22px/1 var(--display); }
.stop:nth-child(2) .num { background: var(--teal); }
.stop:nth-child(3) .num { background: var(--amber); color: var(--navy); }
.stop:nth-child(4) .num { background: var(--red); }
.stop h3 { margin-bottom: 10px; }
.stop p { color: var(--muted); font-size: 15.5px; }
.stop .who { display: inline-block; margin-bottom: 10px; font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ── Feature rows ─────────────────────────────────────────────────────── */
.features { background: var(--navy); color: #fff; overflow: hidden; }
.features .section-head p { color: rgba(255, 255, 255, .7); }
.features .kicker { color: var(--teal-l); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(28px, 4vw, 56px) 0; }
.frow + .frow { border-top: 1px solid rgba(255, 255, 255, .08); }
.frow:nth-child(even) .fvis { order: 2; }
.fvis { position: relative; display: grid; place-items: center; min-height: 520px; }
.fvis .glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(94, 224, 204, .25), transparent 65%); }
.fvis .phone { width: min(280px, 70vw); }
.fvis .tag {
  position: absolute; z-index: 2; background: rgba(15, 23, 42, .85); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px);
  color: #fff; font: 500 12px/1 var(--mono); letter-spacing: .06em; padding: 9px 12px; border-radius: 10px;
}
.fvis .tag.t1 { top: 14%; left: 6%; }
.fvis .tag.t2 { bottom: 16%; right: 4%; }
.fvis .tag b { color: var(--amber-l); font-weight: 500; }
.ftext .num { font: 500 13px/1 var(--mono); color: var(--amber-l); letter-spacing: .12em; }
.ftext h3 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.04; letter-spacing: -.03em; margin: 14px 0 18px; }
.ftext > p { color: rgba(255, 255, 255, .72); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: rgba(255, 255, 255, .88); font-size: 15.5px; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; background: rgba(94, 224, 204, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%235EE0CC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* ── Bento ────────────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.tile .ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--teal) 13%, transparent); color: var(--accent); margin-bottom: 18px; }
.tile .ico svg { width: 24px; height: 24px; }
.tile h3 { font-size: 19px; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 14.5px; }
.tile.wide { grid-column: span 2; }
.tile.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.tile.dark p { color: rgba(255, 255, 255, .7); }
.tile.dark .ico { background: rgba(94, 224, 204, .14); color: var(--teal-l); }
.tile.amber { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.tile.amber p { color: rgba(15, 23, 42, .75); }
.tile.amber .ico { background: rgba(15, 23, 42, .1); color: var(--navy); }
.tile .big { font: 800 clamp(40px, 5vw, 60px)/1 var(--display); letter-spacing: -.04em; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 7px 11px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.tile.dark .chip { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); }

/* ── Audiences ────────────────────────────────────────────────────────── */
.aud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aud-card {
  position: relative; aspect-ratio: 9 / 15; border-radius: var(--radius); overflow: hidden; border: 0; padding: 0; cursor: pointer;
  background: var(--navy); color: #fff; text-align: left; isolation: isolate; box-shadow: var(--shadow);
}
.aud-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); z-index: -2; }
.aud-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 23, 42, .96) 8%, rgba(15, 23, 42, .25) 55%, transparent); z-index: -1; }
.aud-card:hover img { transform: scale(1.06); }
.aud-card .body { position: absolute; inset: auto 0 0; padding: 20px; }
.aud-card .lab { font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber-l); }
.aud-card h3 { margin: 10px 0 8px; font-size: 22px; }
.aud-card p { font-size: 14px; color: rgba(255, 255, 255, .78); }
.aud-card .play { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .3); transition: background-color .2s, transform .2s; }
.aud-card:hover .play { background: var(--amber); transform: scale(1.08); }
.aud-card .play svg { width: 18px; height: 18px; margin-left: 3px; }

/* ── Video band ───────────────────────────────────────────────────────── */
.film { background: var(--bg-2); }
.film-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 80px); align-items: center; }
.film-player { position: relative; width: min(340px, 78vw); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); border: 0; padding: 0; cursor: pointer; }
.film-player img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.film-player:hover img { transform: scale(1.04); }
.film-player .play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--amber); color: var(--navy); box-shadow: 0 0 0 0 rgba(232, 153, 42, .6); animation: ping 2.2s infinite; }
.film-player .play svg { width: 30px; height: 30px; margin-left: 4px; }
.film-player .dur { position: absolute; bottom: 14px; left: 14px; font: 500 12px/1 var(--mono); background: rgba(15, 23, 42, .7); color: #fff; padding: 7px 10px; border-radius: 8px; }
.film ol { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; counter-reset: f; }
.film li { counter-increment: f; display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.film li::before { content: counter(f, decimal-leading-zero); font: 500 13px/42px var(--mono); text-align: center; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--accent); }
.film li b { display: block; font-family: var(--display); font-size: 18px; letter-spacing: -.01em; }
.film li span { color: var(--muted); font-size: 15px; }

/* ── Guide teaser ─────────────────────────────────────────────────────── */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.role {
  display: flex; flex-direction: column; gap: 12px; text-decoration: none; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.role .emo { font-size: 30px; line-height: 1; }
.role h3 { font-size: 20px; }
.role p { color: var(--muted); font-size: 14.5px; flex: 1; }
.role .go { font-weight: 700; color: var(--accent); font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.role .go::after { content: "→"; transition: transform .2s; }
.role:hover .go::after { transform: translateX(4px); }

/* ── Beta ─────────────────────────────────────────────────────────────── */
.beta { background: var(--navy); color: #fff; overflow: hidden; }
.beta .topo { opacity: .4; }
.beta .section-head p { color: rgba(255, 255, 255, .72); }
.beta .kicker { color: var(--amber-l); }
.beta-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.meter { margin-top: 30px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 20px; }
.meter-top { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.meter-top span { font: 500 12.5px/1 var(--mono); color: rgba(255, 255, 255, .6); letter-spacing: .06em; }
.meter-days { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; margin-top: 14px; }
.meter-days i { height: 26px; border-radius: 5px; background: rgba(255, 255, 255, .1); animation: fill-day .4s ease forwards; animation-play-state: paused; }
.in .meter-days i { animation-play-state: running; }
@keyframes fill-day { to { background: var(--teal-l); } }
.meter p { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.bsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bstep { display: grid; grid-template-columns: 48px 1fr; gap: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 20px; }
.bstep .n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--amber); color: var(--navy); font: 800 20px/1 var(--display); }
.bstep h3 { font-size: 19px; }
.bstep p { color: rgba(255, 255, 255, .72); font-size: 15px; margin: 6px 0 14px; }
.bstep .btn { min-height: 44px; font-size: 15px; }
.note { display: flex; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: rgba(232, 153, 42, .12); border: 1px solid rgba(232, 153, 42, .35); color: #FFE2B8; font-size: 14.5px; }
.note svg { flex: none; width: 20px; height: 20px; color: var(--amber); margin-top: 2px; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); font: 400 22px/1 var(--body); color: var(--accent); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 20px; color: var(--muted); font-size: 15.5px; }
.faq details > div p + p { margin-top: 10px; }

/* ── Contact & footer ─────────────────────────────────────────────────── */
.contact-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: linear-gradient(120deg, var(--teal), #0A6E63); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 56px);
}
.contact-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .25); box-shadow: 0 0 0 40px rgba(255, 255, 255, .03), 0 0 0 80px rgba(255, 255, 255, .03); }
.contact-card h2 { font-size: clamp(30px, 4vw, 46px); }
.contact-card p { margin-top: 12px; color: rgba(255, 255, 255, .82); max-width: 38em; }
.contact-card .mail { font: 500 15px/1 var(--mono); margin-top: 18px; display: inline-block; color: #fff; }
.contact-card .btn { position: relative; z-index: 1; }
footer.site { padding: 56px 0 40px; color: var(--muted); font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot .brand { color: var(--text); margin-bottom: 14px; }
.foot h4 { margin: 0 0 12px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; }
.foot-bottom a { color: var(--text); font-weight: 700; }

/* ── Dialogs (video + image) ──────────────────────────────────────────── */
dialog.modal { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: #fff; }
dialog.modal::backdrop { background: rgba(5, 9, 18, .86); backdrop-filter: blur(6px); }
dialog.modal[open] { display: grid; place-items: center; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.modal-body { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 56px 16px 24px; }
.modal video { max-height: calc(100dvh - 90px); max-width: 100%; aspect-ratio: 9 / 16; border-radius: 20px; background: #000; box-shadow: var(--shadow-lg); }
.modal img { max-height: calc(100dvh - 90px); max-width: 100%; width: auto; border-radius: 24px; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px; cursor: pointer; }
.modal-close:hover { background: rgba(255, 255, 255, .24); }
.modal-cap { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .75); }

/* ── Reveal on scroll ─────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .aud, .roles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .stage { height: 600px; max-width: 460px; width: 100%; margin: 0 auto; }
  .how { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .how-line { display: none; }
  .frow, .beta-grid, .faq-grid, .film-grid { grid-template-columns: 1fr; }
  .frow:nth-child(even) .fvis { order: 0; }
  .fvis { min-height: 0; padding: 12px 0; }
  .film-player { margin: 0 auto; }
  .contact-card { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; --nav-h: 62px; }
  .brand span.word { font-size: 18px; }
  .stage { height: 520px; }
  .stage .phone { width: 230px; }
  .float { font-size: 13px; padding: 8px 12px 8px 8px; }
  .float .ic { width: 32px; height: 32px; font-size: 16px; }
  .float.f1 { left: -2px; top: 12%; }
  .float.f2 { right: -4px; top: 50%; }
  .float.f3 { left: 0; bottom: 10%; }
  .how { grid-template-columns: 1fr; }
  .stop { display: grid; grid-template-columns: 60px 1fr; column-gap: 18px; }
  .stop .num { margin: 0; grid-row: span 3; }
  .bento { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .aud { grid-template-columns: 1fr 1fr; gap: 12px; }
  .aud-card { aspect-ratio: 9 / 16; }
  .aud-card .body { padding: 14px; }
  .aud-card h3 { font-size: 17px; }
  .aud-card p { display: none; }
  .aud-card .play { width: 40px; height: 40px; top: 10px; right: 10px; }
  .roles { grid-template-columns: 1fr; }
  .bstep { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .lang button { padding: 7px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ══ Guide page ══════════════════════════════════════════════════════════ */
.ghero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(80% 90% at 90% 0%, rgba(11, 133, 119, .4), transparent 60%), var(--navy); padding: calc(var(--nav-h) + clamp(40px, 6vw, 72px)) 0 clamp(48px, 6vw, 72px); }
.ghero h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.035em; margin-top: 18px; }
.ghero .lede { margin-top: 18px; max-width: 40em; color: rgba(255, 255, 255, .78); font-size: clamp(16.5px, 1.6vw, 19px); }
.ghero .kicker { color: var(--teal-l); }
.gpick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.gpick a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 15px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); transition: background-color .2s, transform .2s; }
.gpick a:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.gpick a.primary { background: var(--amber); color: var(--navy); border-color: var(--amber); }

.glayout > *, .gstep > * { min-width: 0; }
.glayout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(32px, 5vw, 72px); padding-top: clamp(40px, 5vw, 64px); padding-bottom: 40px; }
.toc { position: sticky; top: calc(var(--nav-h) + 20px); align-self: start; max-height: calc(100vh - var(--nav-h) - 40px); overflow: auto; }
.toc h2 { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--muted); transition: background-color .2s, color .2s; }
.toc a:hover { color: var(--text); background: var(--bg-2); }
.toc a[aria-current] { color: var(--text); background: var(--card); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.toc a i { font-style: normal; font-size: 16px; }
.toc .print { margin-top: 18px; width: 100%; }

.chapter { padding-bottom: clamp(48px, 6vw, 80px); }
.chapter + .chapter { padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.ch-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.ch-head .emo { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-size: 28px; box-shadow: var(--shadow-sm); }
.ch-head .kicker { margin-bottom: 8px; }
.ch-head h2 { font-size: clamp(30px, 4vw, 44px); }
.ch-intro { color: var(--muted); font-size: 17px; max-width: 44em; margin-bottom: 30px; }

.gstep { display: grid; grid-template-columns: 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.gstep + .gstep { margin-top: 16px; }
.gstep .sn { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--mono); letter-spacing: .1em; color: var(--accent); margin-bottom: 10px; }
.gstep .sn b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--navy); color: #fff; font: 800 14px/1 var(--display); letter-spacing: 0; }
.gstep h3 { margin-bottom: 12px; }
.gstep p, .gstep li { color: var(--muted); font-size: 15.5px; }
.gstep p + p, .gstep p + ul, .gstep ul + p, .gstep p + ol, .gstep ol + p { margin-top: 12px; }
.gstep ul, .gstep ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.gstep li::marker { color: var(--accent); }
.gstep strong { color: var(--text); }
.ui { display: inline-block; padding: 1px 8px; border-radius: 7px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: .93em; white-space: nowrap; }
.shots { display: flex; gap: 14px; }
.shots figure { margin: 0; width: 200px; }
.shots figcaption { margin-top: 8px; text-align: center; font-size: 12.5px; color: var(--muted); }
.zoom { cursor: zoom-in; }
.zoom .phone { transition: transform .3s; }
.zoom:hover .phone { transform: translateY(-4px); }

.callout { display: flex; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 16px; font-size: 15px; }
.callout .ci { flex: none; font-size: 18px; line-height: 1.4; }
.callout.tip { background: color-mix(in srgb, var(--teal) 10%, var(--card)); border: 1px solid color-mix(in srgb, var(--teal) 35%, transparent); }
.callout.warn { background: color-mix(in srgb, var(--amber) 12%, var(--card)); border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent); }
.callout p { color: var(--text); font-size: 15px; }

.table-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; }
table.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 460px; }
table.spec th, table.spec td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th { font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); }
table.spec tr:last-child td { border-bottom: 0; }
table.spec td:first-child { font-weight: 700; white-space: nowrap; }

.trouble { display: grid; gap: 10px; }

@media (max-width: 960px) {
  .glayout { grid-template-columns: 1fr; padding-top: 0; }
  .toc { position: sticky; top: var(--nav-h); z-index: 20; max-height: none; margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
  .toc::-webkit-scrollbar { display: none; }
  .toc h2, .toc .print { display: none; }
  .toc ol { display: flex; gap: 6px; width: max-content; }
  .toc a { white-space: nowrap; padding: 8px 12px; font-size: 14px; border: 1px solid var(--line); background: var(--card); }
  .chapter:first-child { padding-top: 32px; }
  html { scroll-padding-top: calc(var(--nav-h) + 72px); }
}
@media (max-width: 760px) {
  .gstep { grid-template-columns: 1fr; }
  .gstep .shots { justify-content: center; }
  .shots figure { width: min(46vw, 200px); }
  .shots.one figure { width: min(62vw, 230px); }
  .ch-head .emo { width: 48px; height: 48px; font-size: 22px; border-radius: 14px; }
}

@media print {
  .nav, .toc, footer.site, .skip, .gpick, dialog { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .ghero { background: none; color: #000; padding: 0 0 16pt; }
  .ghero .lede, .ghero .kicker { color: #333; }
  .glayout { display: block; padding: 0; }
  .chapter { break-before: page; padding: 0; border: 0 !important; }
  .chapter:first-child { break-before: auto; }
  .gstep { break-inside: avoid; box-shadow: none; border-color: #ccc; grid-template-columns: 1fr auto; }
  .shots figure { width: 120pt; }
  .phone { box-shadow: none; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 600px) {
  table.spec { min-width: 0; font-size: 14px; }
  table.spec th, table.spec td { padding: 10px 12px; }
  table.spec td:first-child { white-space: normal; width: 36%; }
}

/* ══ Legal pages (privacy, account deletion) ═════════════════════════════ */
.legal { max-width: 780px; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); }
.legal .meta { font: 500 12.5px/1.6 var(--mono); letter-spacing: .06em; color: var(--muted); margin-bottom: 28px; }
.legal .summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-sm); margin-bottom: 40px; }
.legal .summary h2 { font-size: 22px; margin-bottom: 14px; }
.legal .summary ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.legal .summary li { display: flex; gap: 12px; font-size: 15.5px; }
.legal .summary li b { flex: none; width: 24px; text-align: center; }
.legal h2 { font-size: clamp(24px, 3vw, 30px); margin: 44px 0 14px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--text); }
.legal a { color: var(--accent); }
.legal .table-wrap { margin: 16px 0; }
.legal .steps-box { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 12px; }
.legal .steps-box li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; color: var(--text); }
.legal .steps-box li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; font: 800 18px/1 var(--display); }
.legal .steps-box li p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.legal a.btn { text-decoration: none; }
.legal a.btn-teal { color: #fff; }
