/* Kiatan marketing site — shared styles (home, features, pricing).
   Brand matches the app: deep navy, teal accent, Outfit headings. */

:root {
  --bg: #050c18;
  --bg-2: #081425;
  --surface: #0c1a2e;
  --surface-2: #11223a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eef3fa;
  --muted: #93a3bb;
  --dim: #5f7090;
  --teal: #2dd4bf;
  --teal-2: #5eead4;
  --teal-ink: #032b26;
  --sun: #fdba74;
  --rose: #fb7185;
  --sky: #7dd3fc;
  --violet: #c4b5fd;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--teal); color: var(--teal-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }

.h-display, .h1, .h2, .h3 { font-family: var(--font-display); letter-spacing: -0.03em; margin: 0; font-weight: 700; }
.h-display { font-size: clamp(44px, 7vw, 84px); line-height: 0.98; }
.h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; }
.h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; }
.h3 { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.2; letter-spacing: -0.02em; }
.soft { color: var(--muted); }
.grad {
  background: linear-gradient(100deg, var(--teal-2) 0%, var(--teal) 40%, var(--sky) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 620px; line-height: 1.6; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  cursor: pointer; transition: transform 0.35s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--teal); color: var(--teal-ink);
  box-shadow: 0 10px 30px -10px rgba(45, 212, 191, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--teal-2); box-shadow: 0 18px 40px -12px rgba(45, 212, 191, 0.7); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: transform 0.45s var(--ease), background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 76px; transition: height 0.35s var(--ease); }
.nav.is-scrolled {
  background: rgba(5, 12, 24, 0.72);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav.is-scrolled .nav-inner { height: 64px; }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
/* Brand left, links centred, button right */
.nav-inner > .brand, .nav-cta { flex: 1 1 0; }
.nav-cta { justify-content: flex-end; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-signin { color: var(--muted); font-weight: 500; font-size: 15px; padding: 8px 6px; }
.nav-signin:hover { color: var(--text); }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 12px; width: 20px; height: 2px; background: var(--text); border-radius: 2px; content: '';
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: rgba(5, 12, 24, 0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 100px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu a.m-link {
  font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -0.02em; padding: 8px 0;
  border-bottom: 1px solid var(--line); transform: translateY(16px); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.mobile-menu .btn { margin-top: 24px; }
.nav-open .mobile-menu { opacity: 1; visibility: visible; }
.nav-open .mobile-menu a.m-link { transform: none; opacity: 1; }
.nav-open .mobile-menu a.m-link:nth-child(2) { transition-delay: 0.05s; }
.nav-open .mobile-menu a.m-link:nth-child(3) { transition-delay: 0.1s; }
.nav-open .mobile-menu a.m-link:nth-child(4) { transition-delay: 0.15s; }
.nav-open .mobile-menu a.m-link:nth-child(5) { transition-delay: 0.2s; }
.nav-open { overflow: hidden; }

/* Scroll progress line */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--teal), var(--sky)); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -8% 0 0 0; z-index: -2; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1200px 600px at 75% 30%, rgba(45, 212, 191, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(5, 12, 24, 0.55) 0%, rgba(5, 12, 24, 0.55) 40%, rgba(5, 12, 24, 0.92) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(5, 12, 24, 0.85) 0%, rgba(5, 12, 24, 0.35) 60%, rgba(5, 12, 24, 0.2) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.hero-copy .lead { color: #c3cfe0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #b6c3d6; font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--teal); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 14px; color: #d3dceb;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-strong); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.pill b { white-space: nowrap; flex: none; background: var(--teal); color: var(--teal-ink); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; font-family: var(--font-display); }

/* Word-by-word hero reveal */
.split-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.is-loaded .split-line > span { transform: none; }
.is-loaded .split-line:nth-child(2) > span { transition-delay: 0.12s; }
.fade-up-load { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.is-loaded .fade-up-load { opacity: 1; transform: none; }
.is-loaded .d1 { transition-delay: 0.25s; } .is-loaded .d2 { transition-delay: 0.35s; } .is-loaded .d3 { transition-delay: 0.45s; } .is-loaded .d4 { transition-delay: 0.6s; }

/* ---------- Phone mockup (built in HTML so it stays sharp) ---------- */
.device-stage { position: relative; display: flex; justify-content: center; perspective: 1400px; }
.phone {
  position: relative; width: min(318px, 78vw); aspect-ratio: 9 / 19.3; border-radius: 48px; padding: 11px;
  background: linear-gradient(145deg, #2a3446, #0d131d 40%, #1d2633);
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 0 0 1.5px rgba(255, 255, 255, 0.06);
  will-change: transform;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #081425; font-family: var(--font-display); }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.ui-status { display: flex; justify-content: space-between; padding: 14px 24px 0; font-size: 12px; font-weight: 600; color: #fff; position: relative; z-index: 2; }
.ui-cover { position: relative; height: 41%; margin-top: -32px; padding: 54px 18px 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; overflow: hidden; }
.ui-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ui-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 37, 0.1), rgba(8, 20, 37, 0.95)); z-index: 1; }
.ui-cover > *:not(img) { position: relative; z-index: 2; }
.ui-chip { display: inline-flex; width: fit-content; font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(45, 212, 191, 0.18); color: var(--teal-2); border: 1px solid rgba(45, 212, 191, 0.3); }
.ui-title { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.02em; line-height: 1.1; }
.ui-sub { font-size: 11px; color: #a9b6c9; }
.ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px 14px 4px; }
.ui-stat { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 12px; padding: 8px; }
.ui-stat b { display: block; font-size: 15px; color: #fff; }
.ui-stat span { font-size: 9.5px; color: #8a9ab2; }
.ui-section { padding: 10px 14px 0; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #6f819b; }
.ui-list { margin: 6px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); }
.ui-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.ui-row:last-child { border-bottom: 0; }
.ui-time { font-size: 10px; color: #8a9ab2; width: 30px; flex: none; }
.ui-ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.ui-ico svg { width: 14px; height: 14px; }
.ui-row-text { min-width: 0; flex: 1; }
.ui-row-text b { display: block; font-size: 11.5px; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-row-text span { font-size: 9.5px; color: #8a9ab2; }
.ui-tabbar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 10px 6px 18px; background: rgba(8, 20, 37, 0.92); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.ui-tabbar i { width: 22px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); }
.ui-tabbar i.on { background: var(--teal); }

.c-transport { background: rgba(125, 211, 252, 0.14); color: var(--sky); }
.c-stay { background: rgba(196, 181, 253, 0.14); color: var(--violet); }
.c-activity { background: rgba(253, 186, 116, 0.14); color: var(--sun); }
.c-docs { background: rgba(45, 212, 191, 0.14); color: var(--teal); }
.c-alert { background: rgba(251, 113, 133, 0.14); color: var(--rose); }

/* Floating glass cards around the phone */
.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 18px; min-width: 200px;
  background: rgba(13, 26, 46, 0.72); border: 1px solid var(--line-strong);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7);
  font-size: 13px; will-change: transform;
}
.float b { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 600; }
.float span { color: var(--muted); font-size: 12.5px; }
.float .ui-ico { width: 36px; height: 36px; border-radius: 11px; }
.float .ui-ico svg { width: 18px; height: 18px; }
.float-1 { top: 12%; left: -14%; animation: bob 7s ease-in-out infinite; }
.float-2 { top: 46%; right: -16%; animation: bob 8s ease-in-out -2s infinite; }
.float-3 { bottom: 9%; left: -8%; animation: bob 9s ease-in-out -4s infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: pulse 2s infinite; display: inline-block; margin-right: 4px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; color: #4e5f7c; letter-spacing: -0.02em; white-space: nowrap; }
.marquee-item svg { width: 22px; height: 22px; color: var(--teal); opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Scroll-filled statement ---------- */
.statement { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 4.4vw, 54px); line-height: 1.18; letter-spacing: -0.03em; max-width: 1000px; }
.statement .w { color: rgba(238, 243, 250, 0.16); transition: color 0.4s var(--ease); }
.statement .w.on { color: var(--text); }
.statement .w.hl.on { color: var(--teal); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.94) translateY(30px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal-scale.in { opacity: 1; transform: none; }

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(45, 212, 191, 0.10), transparent 45%);
}
.card:hover { border-color: rgba(45, 212, 191, 0.28); }
.card:hover::before { opacity: 1; }
.card h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; margin: 18px 0 8px; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.card .ico svg { width: 22px; height: 22px; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
.tag { display: inline-flex; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(253, 186, 116, 0.12); color: var(--sun); border: 1px solid rgba(253, 186, 116, 0.25); margin-left: 8px; vertical-align: middle; font-family: var(--font-body); letter-spacing: 0; }

/* Mini visuals inside cards */
.mini { margin-top: 24px; border-radius: 16px; background: rgba(5, 12, 24, 0.6); border: 1px solid var(--line); padding: 14px; font-family: var(--font-display); }
.mini-flight { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.mini-flight .code { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.mini-flight .path { position: relative; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0 6px, transparent 6px 12px); }
.mini-flight .path::after { content: ''; position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px var(--teal); animation: fly 4s var(--ease) infinite; }
@keyframes fly { 0% { left: 0; } 60%, 100% { left: calc(100% - 10px); } }
.mini-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 10px; font-family: var(--font-body); }
.mini-meta b { color: #34d399; font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--teal), rgba(45, 212, 191, 0.25)); height: var(--h); transform-origin: bottom; transform: scaleY(0); transition: transform 1.2s var(--ease); }
.in .bars i { transform: scaleY(1); }
.bars i:nth-child(2) { transition-delay: 0.08s; } .bars i:nth-child(3) { transition-delay: 0.16s; } .bars i:nth-child(4) { transition-delay: 0.24s; } .bars i:nth-child(5) { transition-delay: 0.32s; } .bars i:nth-child(6) { transition-delay: 0.4s; } .bars i:nth-child(7) { transition-delay: 0.48s; }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; border: 2px solid var(--bg-2); margin-left: -10px; font-family: var(--font-display); }
.avatars span:first-child { margin-left: 0; }
.role { display: inline-flex; font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #c9d4e4; font-family: var(--font-body); }
.check-list li i { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line-strong); flex: none; display: grid; place-items: center; }
.check-list li.done i { background: var(--teal); border-color: var(--teal); }
.check-list li.done i::after { content: ''; width: 8px; height: 4px; border: 2px solid var(--teal-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check-list li.done { color: var(--dim); text-decoration: line-through; }

/* ---------- Sticky stacked steps ---------- */
.stack { display: grid; gap: 0; }
.stack-card {
  position: sticky; top: calc(96px + var(--i) * 18px);
  min-height: 440px; margin-bottom: 40px; border-radius: 30px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, 0.7);
  transform-origin: 50% 0; will-change: transform;
}
.stack-copy { padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.stack-num { font-family: var(--font-display); font-size: 15px; color: var(--teal); font-weight: 600; letter-spacing: 0.08em; }
.stack-copy p { margin: 0; color: var(--muted); font-size: 17px; max-width: 460px; }
.stack-art { position: relative; overflow: hidden; background: radial-gradient(600px 400px at 70% 30%, rgba(45, 212, 191, 0.16), transparent 60%), var(--bg-2); display: grid; place-items: center; padding: 32px; }
.stack-art .panel { width: min(380px, 100%); }

/* Generic glass panel used in artwork */
.panel { border-radius: 20px; background: rgba(8, 20, 37, 0.85); border: 1px solid var(--line-strong); padding: 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); font-family: var(--font-display); }
.panel-title { font-size: 13px; color: var(--muted); margin-bottom: 10px; display: flex; justify-content: space-between; }
.field { border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; background: rgba(255, 255, 255, 0.03); }
.field small { display: block; font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; }
.field b { font-size: 15px; font-weight: 600; }
.field.active { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15); }
.typing::after { content: '|'; color: var(--teal); animation: blink 1s steps(1) infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Split feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split + .split { margin-top: clamp(90px, 12vw, 150px); }
.split.flip .split-media { order: -1; }
.split-copy { display: grid; gap: 22px; }
.split-copy p { margin: 0; color: var(--muted); font-size: 17px; }
.bullets { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 14px; }
.bullets li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: #c9d4e4; }
.bullets li svg { width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }
.bullets b { color: var(--text); font-weight: 600; }
.split-media { position: relative; border-radius: 28px; min-height: 460px; display: grid; place-items: center; padding: 36px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(700px 400px at 30% 0%, rgba(45, 212, 191, 0.14), transparent 60%), radial-gradient(500px 400px at 100% 100%, rgba(125, 211, 252, 0.08), transparent 60%), var(--surface); }
.split-media .panel { width: min(420px, 100%); }

/* Timeline artwork */
.tl { position: relative; display: grid; gap: 10px; }
.tl-day { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin: 6px 0 2px; }
.tl-item { display: grid; grid-template-columns: 44px 32px 1fr; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.tl-item time { font-size: 12px; color: var(--muted); }
.tl-item b { display: block; font-size: 14px; font-weight: 600; }
.tl-item span { font-size: 12px; color: var(--muted); font-family: var(--font-body); }
.tl-item .ui-ico { width: 32px; height: 32px; border-radius: 10px; }
.tl-item .ui-ico svg { width: 16px; height: 16px; }

/* Vault artwork */
.vault-doc { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); margin-bottom: 8px; }
.vault-doc b { display: block; font-size: 14px; }
.vault-doc span { font-size: 12px; color: var(--muted); font-family: var(--font-body); }
.lock-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--teal); padding: 4px 9px; border-radius: 999px; background: rgba(45, 212, 191, 0.1); font-family: var(--font-body); }
.lock-badge svg { width: 12px; height: 12px; }

/* ---------- Photo band ---------- */
.photo-band { position: relative; border-radius: 34px; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; isolation: isolate; }
.photo-band img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; will-change: transform; }
.photo-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 12, 24, 0.2) 0%, rgba(5, 12, 24, 0.75) 45%, rgba(5, 12, 24, 0.96) 90%), linear-gradient(90deg, rgba(5, 12, 24, 0.7), transparent 70%); }
.photo-band-copy { padding: clamp(28px, 5vw, 64px); display: grid; gap: 18px; max-width: 720px; }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-col { border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.compare-col.good { border-color: rgba(45, 212, 191, 0.35); background: linear-gradient(180deg, rgba(45, 212, 191, 0.08), rgba(45, 212, 191, 0.01)); }
.compare-col h3 { margin: 0 0 18px; font-family: var(--font-display); font-size: 22px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare-col li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: var(--muted); }
.compare-col.good li { color: #d4dde9; }
.compare-col li svg { width: 20px; height: 20px; margin-top: 2px; }
.compare-col.bad li svg { color: var(--rose); opacity: 0.8; }
.compare-col.good li svg { color: var(--teal); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.price-grid.three { grid-template-columns: repeat(3, 1fr); }
.price {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px 26px;
  border-radius: 26px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
.price:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.price.featured { border-color: rgba(45, 212, 191, 0.5); background: linear-gradient(180deg, rgba(45, 212, 191, 0.12), rgba(45, 212, 191, 0.02) 60%); box-shadow: 0 40px 80px -40px rgba(45, 212, 191, 0.35); }
.price-badge { position: absolute; top: -12px; left: 26px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--teal); color: var(--teal-ink); font-family: var(--font-display); }
.price h3 { margin: 0; font-family: var(--font-display); font-size: 20px; }
.price .amount { font-family: var(--font-display); font-size: 46px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.price .amount small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price .desc { color: var(--muted); font-size: 15px; margin: 0; min-height: 48px; }
.price ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; flex: 1; }
.price li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14.5px; color: #c9d4e4; }
.price li svg { width: 18px; height: 18px; color: var(--teal); margin-top: 2px; }
.price-note { margin-top: 28px; text-align: center; color: var(--muted); font-size: 15px; }
.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 18px; margin-bottom: 40px;
  background: rgba(45, 212, 191, 0.07); border: 1px solid rgba(45, 212, 191, 0.25); color: #cfe9e5;
}
.notice svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 2px; }

.table-wrap { overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
table.matrix { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.matrix th, .matrix td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.matrix th:first-child, .matrix td:first-child { text-align: left; color: #cbd5e3; }
.matrix thead th { font-family: var(--font-display); font-size: 16px; background: rgba(255, 255, 255, 0.03); position: sticky; top: 0; }
.matrix tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.matrix .grp td { background: rgba(255, 255, 255, 0.025); font-family: var(--font-display); font-weight: 600; color: var(--teal); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.matrix td svg { width: 18px; height: 18px; display: inline-block; vertical-align: middle; }
.yes { color: var(--teal); } .no { color: #3a4a64; }
.matrix td.v { color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.02); transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; position: relative; transition: transform 0.4s var(--ease), background 0.3s; }
.faq summary .plus::before, .faq summary .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--text); transform: translate(-50%, -50%); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); background: var(--teal); border-color: var(--teal); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: var(--teal-ink); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p { margin: 0 0 10px; }

/* ---------- Final CTA ---------- */
.cta-final { position: relative; border-radius: 36px; overflow: hidden; padding: clamp(56px, 9vw, 120px) var(--gutter); text-align: center; isolation: isolate; border: 1px solid var(--line-strong); }
.cta-final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.55; }
.cta-final::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 400px at 50% 100%, rgba(45, 212, 191, 0.25), transparent 70%), linear-gradient(180deg, rgba(5, 12, 24, 0.75), rgba(5, 12, 24, 0.9)); }
.cta-final .h1 { max-width: 900px; margin: 0 auto 20px; }
.cta-final .lead { margin: 0 auto; }
.cta-final .hero-actions { justify-content: center; margin-top: 32px; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { padding: 170px 0 70px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 500px at 50% -10%, rgba(45, 212, 191, 0.18), transparent 65%); }
.page-hero .wrap { display: grid; gap: 22px; justify-items: center; text-align: center; }
.anchor-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.anchor-nav a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 14px; transition: all 0.25s; }
.anchor-nav a:hover { color: var(--text); border-color: var(--teal); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 40px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer p { color: var(--muted); font-size: 15px; max-width: 320px; }
.footer h4 { margin: 0 0 14px; font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 15px; transition: color 0.2s; }
.footer ul a:hover { color: var(--text); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer-word { font-family: var(--font-display); font-weight: 800; font-size: clamp(80px, 21vw, 300px); letter-spacing: -0.06em; line-height: 0.8; margin-top: 56px; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .float-1 { left: -4%; } .float-2 { right: -4%; } .float-3 { left: 0; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta .nav-signin, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .hero { padding-top: 120px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { text-align: left; }
  .split, .stack-card { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
  .split-media { min-height: 380px; }
  .stack-card { min-height: 0; top: calc(84px + var(--i) * 12px); }
  .stack-art { min-height: 300px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-2, .span-3, .span-4 { grid-column: span 1; }
  .span-6, .span-wide-m { grid-column: span 2; }
  .compare { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .bento { grid-template-columns: 1fr; }
  .span-6, .span-wide-m { grid-column: span 1; }
  .price-grid, .price-grid.three { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .float { min-width: 0; padding: 10px 12px 10px 10px; font-size: 12px; }
  .float b { font-size: 13px; }
  .float .ui-ico { width: 30px; height: 30px; }
  .float-1 { left: -2%; top: 8%; } .float-2 { right: -2%; } .float-3 { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stack-card { position: relative; top: 0; margin-bottom: 16px; }
  .photo-band { min-height: 440px; border-radius: 24px; }
  .cta-final { border-radius: 26px; }
}

/* Respect people who turn off motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .reveal, .reveal-scale, .fade-up-load, .split-line > span { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .statement .w { color: var(--text); }
}

/* ---------- Legal pages ---------- */
.legal-updated { color: var(--dim); font-size: 14px; margin: 0; }
.legal { max-width: 760px; margin: 0 auto; color: #c9d4e4; font-size: 16.5px; line-height: 1.75; }
.legal h2 { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.02em; color: var(--text); margin: 48px 0 12px; }
.legal h3 { font-family: var(--font-display); font-size: 18px; color: var(--text); margin: 26px 0 8px; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 8px; }
.legal li::marker { color: var(--teal); }
.legal b { color: var(--text); font-weight: 600; }
.legal a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

.footer-base .credit { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.footer-base .credit:hover { color: var(--teal); }
