/* Vaka Studio home. Light by default, dark by system setting or toggle. Nothing moves on its own. */

@font-face { font-family: "Geist"; font-weight: 400; font-display: swap; src: url("/assets/fonts/geist-400.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 500; font-display: swap; src: url("/assets/fonts/geist-500.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #1a1a1a;
  --text-2: #605f5f;
  --text-3: #8d8c8c;
  --line: rgba(0, 0, 0, 0.07);
  --card-top: #ffffff;
  --card-mid: #f4f4f4;
  --card-end: #fafafa;
  --surface: #ffffff;
  --surface-2: #f6f6f7;
  --shadow-pill: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-float: 5px 10px 20px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.04);
  --ink: #000000;
  --on-ink: #ffffff;
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.1);
  --on-accent: #ffffff;
  --track: #e7e8ee;
  --sky-1: #a8cbee;
  --sky-2: #d4e6f7;
  --sky-3: #ffffff;
  --cloud-opacity: 1;
  --cloud: #ffffff;
  --cloud-shade: #a9c3e0;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, "Geist", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.4; letter-spacing: -0.02em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: 999px; background: var(--ink); color: var(--on-ink); }
.skip:focus { top: 16px; }


.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons, pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 40px; border: 0; font: inherit; font-size: 16px; font-weight: 500; letter-spacing: -0.02em; cursor: pointer; white-space: nowrap; transition: transform 0.2s var(--ease), opacity 0.2s; }
.btn:active { transform: scale(0.97); }
.btn-ink { background: var(--ink); color: var(--on-ink); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); }
.btn-plain { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn:hover { opacity: 0.88; }
.tag { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 40px; background: var(--surface); box-shadow: var(--shadow-pill); color: var(--text-2); font-size: 14px; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 20px; pointer-events: none; }
.nav-bar { pointer-events: auto; max-width: 1140px; margin: 0 auto; height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 10px 0 18px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.78); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(15, 30, 60, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.05); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 500; letter-spacing: -0.04em; justify-self: start; }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; flex: none; }
.logo-mark svg { width: 14px; height: 14px; }
.logo-mark path { stroke: var(--on-ink); }
.links { display: flex; gap: 4px; font-size: 15px; }
.links a { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 12px; color: var(--text-2); transition: background-color 0.2s, color 0.2s; }
.links a:hover { color: var(--text); background: rgba(0, 0, 0, 0.04); }
.links a[aria-current="page"] { color: var(--text); background: rgba(0, 0, 0, 0.06); }
.nav-right { display: flex; align-items: center; gap: 6px; justify-self: end; }
.nav-right .text-link { display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 12px; color: var(--text-2); font-size: 15px; transition: background-color 0.2s, color 0.2s; }
.nav-right .text-link:hover { color: var(--text); background: rgba(0, 0, 0, 0.04); }
.nav-right .btn { height: 42px; border-radius: 14px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; width: 42px; height: 42px; border: 0; border-radius: 14px; background: rgba(0, 0, 0, 0.05); color: var(--text); cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .x { display: none; }
.nav.open .menu-btn .bars { display: none; }
.nav.open .menu-btn .x { display: block; }
.menu { display: none; pointer-events: auto; max-width: 1140px; margin: 8px auto 0; padding: 8px; border-radius: 20px; background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 12px 32px rgba(15, 30, 60, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05); }
.menu a { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 16px; border-radius: 14px; font-size: 17px; }
.menu a[aria-current="page"], .menu a:hover { background: rgba(0, 0, 0, 0.04); }
.menu .btn { margin-top: 6px; width: 100%; justify-content: center; height: 50px; border-radius: 14px; }

/* ---------- Sky (hero and closing card) ---------- */
.sky { position: relative; overflow: hidden; background: linear-gradient(to bottom, var(--sky-1) 0%, var(--sky-2) 45%, var(--sky-3) 92%); }
.clouds { position: absolute; left: 0; width: 100%; pointer-events: none; opacity: var(--cloud-opacity); -webkit-mask: linear-gradient(to bottom, #000 55%, transparent); mask: linear-gradient(to bottom, #000 55%, transparent); }
.clouds .c { fill: var(--cloud); }
.clouds .cs { fill: var(--cloud-shade); }

/* ---------- Hero ---------- */
.hero { padding: 186px 0 72px; text-align: center; }
.hero .clouds { bottom: 40px; height: 560px; }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(40px, 5.6vw, 60px); line-height: 1.1; letter-spacing: -0.04em; }
.hero .sub { max-width: 420px; margin: 24px auto 0; color: var(--text-2); font-size: 18px; line-height: 1.4; }
.tilt .float { position: absolute; z-index: 2; text-align: left; }
.chip-ink { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 40px; background: var(--ink); color: var(--on-ink); font-size: 14px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18); white-space: nowrap; }
.chip-ink svg { width: 15px; height: 15px; }
.card-f { padding: 20px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-float); }
.card-f .k { color: var(--text-2); font-size: 15px; }
.card-f .v { font-size: 30px; font-weight: 500; letter-spacing: -0.04em; margin: 12px 0 10px; }
.card-f .meta { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 15px; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 40px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 500; }
.ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 19px; }
.hero-cta { display: flex; justify-content: center; gap: 16px; margin-top: 32px; }

/* ---------- Sections ---------- */
.sec { padding-top: 150px; }
.sec-head { text-align: center; margin-bottom: 60px; }
.sec-head h2, .h2 { margin-top: 16px; font-size: clamp(34px, 4.4vw, 48px); line-height: 1.2; letter-spacing: -0.05em; }

/* ---------- Feature cards ---------- */
.feat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.fc { grid-column: span 2; position: relative; overflow: hidden; min-height: 360px; padding: 32px; border-radius: 20px; background: linear-gradient(var(--card-top) 0%, var(--card-mid) 70%, var(--card-end) 100%); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.fc.wide { grid-column: span 3; min-height: 240px; flex-direction: row; align-items: center; gap: 24px; }
.fc h3 { font-size: 26px; line-height: 1.3; letter-spacing: -0.03em; }
.fc p { margin-top: 8px; color: var(--text-2); max-width: 260px; line-height: 1.4; }
.fc .viz { flex: 1; position: relative; display: grid; place-items: center; margin-top: 18px; }
.fc.wide .viz { margin: 0; min-height: 170px; flex: 0 0 270px; }
.fc.wide > div:first-child { flex: 1 1 auto; min-width: 0; }

/* LastMark-style mini UI */
.mini { position: relative; z-index: 1; padding: 16px 18px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-float); text-align: left; }
.mini-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.mini .emo { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 18px; }
.mini .nm { font-weight: 500; font-size: 15px; }
.mini .dt { color: var(--text-2); font-size: 13px; white-space: nowrap; }
.mini .ct { font-family: var(--round); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; line-height: 1; text-align: right; }
.mini .done { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; margin-top: 14px; border-radius: 40px; background: var(--surface-2); color: var(--text-3); font-size: 13px; font-weight: 500; }
.mini .done svg { width: 13px; height: 13px; }
.stack { position: relative; width: 92%; }
.stack .behind { position: absolute; left: 8%; right: 8%; top: -12px; height: 40px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-float); opacity: 0.6; }
.toast { position: absolute; left: 50%; bottom: -50px; transform: translateX(-50%); display: inline-flex; gap: 10px; align-items: center; height: 34px; padding: 0 6px 0 14px; border-radius: 40px; background: var(--ink); color: var(--on-ink); font-size: 13px; white-space: nowrap; }
.toast b { padding: 4px 8px; font-weight: 500; color: #a5b4fc; }

.bars { width: 90%; display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: 24px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; }
.bar i { display: block; height: 10px; border-radius: 10px; background: var(--track); position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 10px; background: var(--accent); opacity: var(--o, 1); }
.bar b { font-family: var(--round); text-align: right; font-size: 15px; }

.wdg { position: relative; width: 100%; height: 176px; }
.wdg .w { position: absolute; top: 10px; width: 134px; height: 134px; padding: 14px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-float); display: flex; flex-direction: column; justify-content: space-between; text-align: left; }
.wdg .w:first-child { left: 10%; transform: rotate(-7deg); }
.wdg .w:last-child { right: 10%; transform: rotate(6deg); top: 26px; }
.wdg .w b { font-family: var(--round); font-size: 42px; font-weight: 700; line-height: 1; color: var(--accent); }
.wdg .w small { display: block; color: var(--text-2); font-size: 12px; margin-top: 3px; }
.wdg .emo { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 15px; }

.gauge { position: relative; width: 260px; height: 150px; }
.gauge svg { width: 260px; height: 140px; overflow: visible; }
.gauge b { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-family: var(--round); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.gauge small { position: absolute; left: 0; right: 0; bottom: -12px; text-align: center; color: var(--text-2); font-size: 13px; }
.lock-c { position: absolute; left: 50%; bottom: 8px; width: 52px; height: 52px; margin-left: -26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-float); color: var(--accent); }
.lock-c svg { width: 22px; height: 22px; }

/* ---------- Built-in arc ---------- */
.arc { position: relative; height: 330px; max-width: 760px; margin: 0 auto; }
.arc::before { content: ""; position: absolute; left: 50%; top: 70px; width: 640px; height: 640px; margin-left: -320px; border-radius: 50%; background: radial-gradient(circle at 50% 22%, var(--accent-soft), transparent 58%); }
.tile { position: absolute; width: 88px; height: 88px; margin-left: -44px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-float); display: grid; place-items: center; color: var(--accent); }
.tile svg { width: 34px; height: 34px; }
.tile span { position: absolute; top: calc(100% + 12px); left: 50%; white-space: nowrap; font-size: 13px; color: var(--text-2); }
.t1 { left: 12%; top: 196px; transform: rotate(-22deg); } .t1 span { transform: translateX(-50%) rotate(22deg); }
.t2 { left: 30%; top: 84px; transform: rotate(-11deg); } .t2 span { transform: translateX(-50%) rotate(11deg); }
.t3 { left: 50%; top: 42px; } .t3 span { transform: translateX(-50%); }
.t4 { left: 70%; top: 84px; transform: rotate(11deg); } .t4 span { transform: translateX(-50%) rotate(-11deg); }
.t5 { left: 88%; top: 196px; transform: rotate(22deg); } .t5 span { transform: translateX(-50%) rotate(-22deg); }

/* ---------- Steps (sticky stack) ---------- */
.steps { display: grid; grid-template-columns: 1fr 600px; gap: 48px; align-items: start; }
.steps-head { position: sticky; top: 140px; }
.step-cards { display: grid; gap: 24px; }
.step { position: sticky; min-height: 380px; padding: 32px; border-radius: 24px; background: linear-gradient(var(--card-top), var(--card-mid)); box-shadow: inset 0 0 0 1px var(--line), 0 -12px 30px rgba(0, 0, 0, 0.05); }
.step:nth-child(1) { top: 120px; } .step:nth-child(2) { top: 140px; } .step:nth-child(3) { top: 160px; }
.step-top { display: flex; gap: 20px; align-items: flex-start; }
.step-ic { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
.step-ic svg { width: 17px; height: 17px; }
.step h3 { font-size: 26px; letter-spacing: -0.03em; }
.step p { color: var(--text-2); margin-top: 6px; }
.step .n { position: absolute; right: 24px; bottom: 24px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text-3); font-size: 13px; }
.step .viz { display: grid; place-items: center; height: 230px; margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 440px; }
.chips span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 40px; background: var(--surface); box-shadow: var(--shadow-float); font-size: 15px; }
.chips span.on { background: var(--accent); color: var(--on-accent); }
.bigcount { text-align: center; }
.bigcount b { display: block; font-family: var(--round); font-size: 104px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.bigcount span { color: var(--text-2); font-size: 18px; }
.resetbox { display: grid; gap: 22px; justify-items: center; }
.resetbox .btn { height: 52px; padding: 0 64px; font-size: 17px; }
.resetbox .toast { position: static; transform: none; }

/* ---------- Stats ---------- */
.stats { display: flex; justify-content: center; }
.stat { padding: 0 56px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 56px; font-weight: 500; letter-spacing: -0.05em; line-height: 1.1; }
.stat span { color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.faq-head p { color: var(--text-2); margin: 20px 0 32px; font-size: 17px; }
.faq-tray { padding: 20px; border-radius: 24px; background: var(--surface-2); display: grid; gap: 16px; }
.faq details { border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-float); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 70px; padding: 0 24px; cursor: pointer; list-style: none; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1.3px; background: var(--text-3); transition: transform 0.3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .ans { padding: 0 24px 22px; color: var(--text-2); line-height: 1.5; }
.faq .ans a { color: var(--accent); }

/* ---------- Closing card ---------- */
.cta { margin-top: 150px; padding: 80px 40px 96px; border-radius: 28px; text-align: center; box-shadow: inset 0 0 0 1px var(--line); }
.cta > * { position: relative; }
.cta .h2 { margin: 16px auto 0; max-width: 620px; }
.cta p.lead { color: var(--text-2); margin: 16px auto 32px; max-width: 440px; font-size: 17px; }
.waitlist { max-width: 460px; margin: 0 auto; }
.wl { display: flex; gap: 8px; padding: 6px; border-radius: 40px; background: var(--surface); box-shadow: var(--shadow-pill); }
.wl input { flex: 1; min-width: 0; height: 42px; padding: 0 16px; border: 0; background: none; color: var(--text); font: inherit; font-size: 16px; outline: none; }
.wl input::placeholder { color: var(--text-3); }
.wl-note { margin-top: 12px; color: var(--text-2); font-size: 14px; min-height: 1.4em; }
.wl-note[data-state="error"] { color: #c2410c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-done { display: none; justify-content: center; align-items: center; gap: 10px; height: 54px; border-radius: 40px; background: var(--surface); box-shadow: var(--shadow-pill); font-weight: 500; }
.wl-done svg { width: 18px; height: 18px; color: var(--accent); }
.waitlist.done .wl { display: none; }
.waitlist.done .wl-done { display: flex; }

/* ---------- Footer ---------- */
footer { margin-top: 150px; padding: 80px 0 0; background: linear-gradient(var(--surface-2), #eef3fa); border-top: 1px solid var(--line); overflow: hidden; }
.foot { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot .tagline { margin-top: 18px; max-width: 320px; font-size: 18px; line-height: 1.45; color: var(--text-2); letter-spacing: -0.02em; }
.foot .mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; height: 40px; padding: 0 16px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line); font-size: 15px; transition: transform 0.2s var(--ease); }
.foot .mail:hover { transform: translateY(-1px); }
.foot .mail svg { width: 16px; height: 16px; color: var(--accent); }
.foot-cols { display: flex; gap: 72px; }
.foot h4 { margin: 0 0 16px; font-weight: 500; color: var(--text); font-size: 15px; }
.foot li + li { margin-top: 10px; }
.foot li a { color: var(--text-2); font-size: 15px; transition: color 0.2s; }
.foot li a:hover { color: var(--text); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
.wordmark { margin-top: 24px; font-size: clamp(64px, 15.5vw, 230px); font-weight: 500; line-height: 0.8; letter-spacing: -0.06em; text-align: center; white-space: nowrap; user-select: none;
  background: linear-gradient(to bottom, rgba(26, 26, 26, 0.09), rgba(26, 26, 26, 0.015) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(12%); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .links, .nav-right .text-link { display: none; }
  .nav-bar { grid-template-columns: 1fr auto; }
  .menu-btn { display: grid; }
  .nav.open .menu { display: block; }
  .feat { grid-template-columns: 1fr 1fr; }
  .fc, .fc.wide { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .steps-head { position: static; }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { top: 10px; padding: 0 12px; }
  .nav-bar { height: 58px; padding: 0 8px 0 14px; }
  .nav-right .btn { padding: 0 14px; height: 40px; font-size: 14px; }
  .logo { font-size: 18px; }
  .hero { padding-top: 140px; }
      .hero-cta { flex-direction: column; align-items: center; gap: 10px; }
  .sec { padding-top: 110px; }
  .fc { padding: 24px; min-height: 320px; }
  .fc.wide { flex-direction: column; align-items: flex-start; }
  .fc.wide > div:first-child { flex: none; }
  .fc.wide .viz { width: 100%; flex: none; }
  .arc { height: 250px; transform: scale(0.7); transform-origin: 50% 0; }
  .step { padding: 24px; min-height: 340px; }
  .bigcount b { font-size: 76px; }
  .stats { flex-direction: column; gap: 32px; }
  .stat + .stat { border-left: 0; }
  .cta { padding: 56px 20px 72px; margin-top: 110px; }
  .wl { flex-direction: column; border-radius: 26px; }
  .wl .btn { width: 100%; }
  .foot-cols { gap: 48px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.001ms !important; } }

/* ---------- Apps grid ---------- */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.app-card { position: relative; display: flex; align-items: center; gap: 20px; padding: 28px; border-radius: 20px; background: linear-gradient(var(--card-top), var(--card-mid) 70%, var(--card-end)); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
a.app-card:hover { box-shadow: inset 0 0 0 1px var(--line), var(--shadow-float); transform: translateY(-2px); }
.app-card img { width: 64px; height: 64px; border-radius: 15px; flex: none; box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25); }
.app-card h3 { font-size: 22px; letter-spacing: -0.03em; }
.app-card p { margin-top: 4px; color: var(--text-2); }
.app-card .status { margin-left: auto; align-self: flex-start; }
.app-card.next { box-shadow: inset 0 0 0 1px var(--line); background: transparent; }
.next-icon { width: 64px; height: 64px; border-radius: 15px; flex: none; border: 1.5px dashed var(--text-3); opacity: 0.6; }
.status { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 40px; font-size: 13px; font-weight: 500; white-space: nowrap; background: var(--surface-2); color: var(--text-2); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.live { background: rgba(22, 163, 74, 0.12); color: #15803d; }
.status.soon { background: var(--accent-soft); color: var(--accent); }

/* ---------- App badge (above page titles) ---------- */
.app-badge { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px 0 6px; margin-bottom: 26px; border-radius: 40px; background: var(--surface); box-shadow: var(--shadow-pill); font-weight: 500; }
.app-badge img { width: 40px; height: 40px; border-radius: 10px; }
.app-badge .status { margin-left: 4px; }

/* ---------- Detail split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lead-2 { margin-top: 20px; max-width: 460px; color: var(--text-2); font-size: 18px; line-height: 1.5; }
.ticks { margin-top: 28px; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.ticks svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* ---------- Closing card extras ---------- */
.cta-icon { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 17px; box-shadow: 0 10px 24px rgba(79, 70, 229, 0.3); }
.btn-lg { height: 52px; padding: 0 28px; font-size: 17px; }

/* ---------- Inner page header ---------- */
.page-head { padding: 170px 0 90px; text-align: center; }
.page-head .wrap { position: relative; }
.page-head h1 { margin-top: 18px; font-size: clamp(40px, 5.6vw, 60px); line-height: 1.1; letter-spacing: -0.04em; }
.page-head .app-badge + h1 { margin-top: 0; }
.page-head .sub { max-width: 520px; margin: 22px auto 0; color: var(--text-2); font-size: 18px; line-height: 1.45; }
.page-head .meta { margin-top: 16px; color: var(--text-3); font-size: 14px; }
.page-head.lost { min-height: 72vh; display: flex; align-items: center; }
.page-head.lost .wrap { width: 100%; }
.narrow { max-width: 780px; }
.statement { font-size: clamp(26px, 3vw, 36px); line-height: 1.3; letter-spacing: -0.035em; }
.pr-card { min-height: 220px; align-items: flex-end; }
.pr-card .num { display: block; color: var(--text-3); font-size: 15px; margin-bottom: 52px; }
.pr-card p { max-width: 360px; }

/* ---------- Policy text ---------- */
.doc h2 { margin: 56px 0 14px; font-size: 30px; letter-spacing: -0.04em; }
.doc h3 { margin: 26px 0 8px; font-size: 19px; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--text-2); font-size: 17px; line-height: 1.6; }
.doc p + p { margin-top: 12px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--accent); text-underline-offset: 3px; }
.doc strong { color: var(--text); font-weight: 500; }
.callout { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 20px; background: var(--accent-soft); }
.callout svg { width: 24px; height: 24px; flex: none; color: var(--accent); }
.callout p { color: var(--text); }

/* ---------- Contact card ---------- */
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 48px; border-radius: 28px; background: linear-gradient(var(--card-top), var(--card-mid)); box-shadow: inset 0 0 0 1px var(--line); }
.contact-card .h2 { margin: 0; }
.contact-card p { margin-top: 8px; color: var(--text-2); font-size: 17px; }

@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .apps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .app-card { padding: 20px; gap: 14px; flex-wrap: wrap; }
  .app-card .status { margin-left: 0; }
      .page-head { padding: 130px 0 64px; }
  .contact-card { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .contact-card .btn { width: 100%; }
  .pr-card .num { margin-bottom: 28px; }
}
.page-head + .sec { padding-top: 48px; }

/* ---------- Hero facts ---------- */
.facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1080px; margin: 72px auto 0; text-align: left; }
.fact { padding: 24px; border-radius: 20px; background: color-mix(in srgb, var(--surface) 82%, transparent); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line); }
.fact-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 36px; background: var(--accent-soft); color: var(--accent); }
.fact-ic svg { width: 19px; height: 19px; }
.fact b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; }
.fact p { margin-top: 6px; color: var(--text-2); font-size: 15px; line-height: 1.4; }
@media (max-width: 980px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .hero { padding-bottom: 56px; } .facts { grid-template-columns: 1fr; margin-top: 48px; } .fact { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 18px; } .fact-ic { grid-row: span 2; margin: 0; } .fact b { font-size: 19px; } }

/* ---------- Item detail panel (mirrors the app's detail screen) ---------- */
.split-panel { display: flex; justify-content: center; padding: 48px 24px; border-radius: 28px; background: linear-gradient(var(--card-top), var(--card-mid)); box-shadow: inset 0 0 0 1px var(--line); }
.detail { width: 100%; max-width: 380px; padding: 32px 24px 24px; border-radius: 28px; background: var(--surface-2); box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line); text-align: center; }
.d-emo { font-size: 44px; line-height: 1; }
.d-name { margin-top: 10px; font-size: 20px; font-weight: 500; }
.d-count { margin-top: 6px; font-family: var(--round); font-size: 76px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.d-unit { color: var(--text-2); font-size: 18px; }
.d-date { margin-top: 4px; color: var(--text-2); font-size: 14px; }
.d-btn { display: grid; place-items: center; height: 46px; margin-top: 20px; border-radius: 40px; background: var(--accent); color: var(--on-accent); font-weight: 500; }
.d-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.d-stats div { padding: 12px 6px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.d-stats b { display: block; font-size: 16px; font-weight: 500; }
.d-stats span { font-size: 12px; color: var(--text-2); }
.d-h { margin: 20px 0 8px 8px; text-align: left; color: var(--text-2); font-size: 14px; font-weight: 500; }
.d-list { border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
.d-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; font-size: 15px; }
.d-list li + li { border-top: 1px solid var(--line); }
.d-list li span:last-child { color: var(--text-2); }
.d-list .add { justify-content: flex-start; color: var(--accent); }
.d-list .add svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .split-panel { padding: 24px 12px; } .d-count { font-size: 64px; } }

.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 640px) { .contact-actions { width: 100%; } .contact-actions .btn { flex: 1 1 100%; } }
.contact-card > div:first-child { max-width: 440px; }
.contact-actions { flex-wrap: nowrap; }
@media (max-width: 980px) { .contact-card { flex-direction: column; align-items: flex-start; } .contact-card > div:first-child { max-width: none; } .contact-actions { flex-wrap: wrap; justify-content: flex-start; } }
