/* Games at Ease — company site. Shared by every page in public/. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f3;
  --ink: #0b0c0e;
  --ink-2: #4a4f57;
  --ink-3: #868b93;
  --line: #e9e9e5;
  --line-2: #dcdcd6;
  --dark: #0b0d10;
  --dark-2: #14171c;
  --brand: #ff5a36;
  --brand-2: #ffb23f;

  /* Kinook */
  --k-teal: #2a7178;
  --k-teal-2: #1b4f55;
  --k-coral: #ff8e79;
  --k-soft: #eaf4f2;
  /* Draw n Guess */
  --d-violet: #5b3fd1;
  --d-sky: #3aa0ff;
  --d-orange: #ff8a1f;
  --d-soft: #eef3ff;

  --accent: var(--brand);
  --accent-soft: #fff0eb;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(11, 12, 14, .06);
  --shadow: 0 1px 2px rgba(11, 12, 14, .05), 0 8px 24px -8px rgba(11, 12, 14, .12);
  --shadow-screen: 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 80px -24px rgba(0, 0, 0, .55), 0 18px 36px -18px rgba(0, 0, 0, .45);

  --sans: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --max: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 88px); letter-spacing: -.045em; }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; line-height: 1.12; }
h4 { font-size: 18px; letter-spacing: -.015em; line-height: 1.3; }
em.serif, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── Header ───────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .78); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 17px; letter-spacing: -.02em; white-space: nowrap; }
.logo img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0 auto; padding: 0; }
.nav-links a { display: block; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { margin-left: 0; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav .nav-cta { display: none; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 12px 16px; display: none; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .15); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 12px; font-size: 17px; border-radius: 10px; }
}

/* ───────── Buttons ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font: 550 15.5px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #26292e; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink-3); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #ececea; }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .18); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(.94); }
.btn .store { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1; }
.btn .store small { font-size: 10px; font-weight: 500; letter-spacing: .06em; opacity: .7; }
.btn .store b { font-weight: 600; font-size: 15px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 420px) { .btn-row .btn { flex: 1 1 auto; } }

/* ───────── Small parts ───────── */
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; box-shadow: var(--shadow-sm); }
.pill b { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.pill:hover { border-color: var(--line-2); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: clamp(18px, 1.55vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.muted { color: var(--ink-3); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 13px; font-weight: 550; background: var(--bg-soft); color: var(--ink-2); white-space: nowrap; }
.tag.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #22a35a; box-shadow: 0 0 0 3px rgba(34, 163, 90, .18); }
.tag.soon::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #e59a22; box-shadow: 0 0 0 3px rgba(229, 154, 34, .18); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section.tight { padding-top: 0; }
.head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.head-split { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.head-split .head { margin: 0; }

/* Screens: an app screen in a slim device bezel */
.screen { position: relative; border-radius: 38px; padding: 8px; background: linear-gradient(160deg, #2a2e35, #0d0f12 40%); box-shadow: var(--shadow-screen); }
.screen::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); pointer-events: none; }
.screen img { width: 100%; border-radius: 30px; background: #fff; }
@media (max-width: 600px) { .screen { border-radius: 28px; padding: 6px; } .screen img { border-radius: 22px; } }

/* Stage: dark rounded panel that screens rise out of */
.stage { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); background: var(--dark); color: #fff; }
.stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%); }
.glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }

/* Float chips on stages */
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .92); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5); font-size: 13.5px; line-height: 1.25; white-space: nowrap; }
.chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip .ic svg { width: 18px; height: 18px; }
.chip img { width: 34px; height: 34px; border-radius: 10px; }
.chip b { display: block; font-weight: 600; }
.chip span { color: var(--ink-3); }

/* ───────── Home hero ───────── */
.hero { padding: clamp(48px, 7vw, 88px) 0 0; text-align: center; }
.hero h1 { max-width: 13ch; margin: 28px auto 0; }
.hero h1 .serif { color: var(--brand); }
.hero .lead { margin: 24px auto 0; }
.hero .btn-row { justify-content: center; margin-top: 36px; }
.hero-stage { margin-top: clamp(48px, 6vw, 72px); height: clamp(420px, 52vw, 640px); }
.hero-stage .glow.a { width: 520px; height: 420px; background: #2a8a8f; opacity: .55; left: 6%; bottom: -120px; }
.hero-stage .glow.b { width: 380px; height: 300px; background: #ff7a59; opacity: .26; right: 8%; top: -120px; }
.hero-stage .glow.c { width: 420px; height: 360px; background: #5b3fd1; opacity: .45; right: 18%; bottom: -160px; }
.hero-stage .screen { position: absolute; width: clamp(200px, 22vw, 290px); }
.hero-stage .s1 { left: 50%; transform: translateX(-50%); bottom: -14%; z-index: 2; width: clamp(220px, 25vw, 320px); }
.hero-stage .s2 { left: 13%; bottom: -36%; transform: rotate(-7deg); }
.hero-stage .s3 { right: 13%; bottom: -30%; transform: rotate(7deg); }
.hero-stage .chip.c1 { left: 6%; top: 14%; }
.hero-stage .chip.c2 { right: 6%; top: 22%; }
.hero-stage .chip.c3 { right: 25%; top: 66%; }
@media (max-width: 860px) {
  .hero-stage .s2 { left: -6%; }
  .hero-stage .s3 { right: -6%; }
  .hero-stage .chip.c3 { display: none; }
}
@media (max-width: 560px) {
  .hero-stage { height: 440px; }
  .hero-stage .s1 { width: 220px; bottom: -22%; }
  .hero-stage .s2, .hero-stage .s3 { width: 170px; bottom: -18%; }
  .hero-stage .s2 { left: -18%; }
  .hero-stage .s3 { right: -18%; }
  .hero-stage .chip { font-size: 12px; padding: 8px 10px 8px 8px; }
  .hero-stage .chip .ic, .hero-stage .chip img { width: 28px; height: 28px; }
  .hero-stage .chip.c1 { left: 12px; top: 18px; }
  .hero-stage .chip.c2 { right: 12px; top: 78px; }
}

.platforms { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 40px; padding: 36px 0 0; color: var(--ink-3); font-size: 15px; font-weight: 500; }
.platforms > span { display: inline-flex; align-items: center; gap: 10px; }
.platforms svg { width: 22px; height: 22px; }
.platforms .lbl { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); opacity: .8; }

/* ───────── Product panels (home) ───────── */
.products { display: grid; gap: 24px; }
.product { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); display: grid; grid-template-columns: 1.02fr 1fr; min-height: 640px; }
.product .copy { position: relative; z-index: 2; padding: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; gap: 22px; }
.product .brand { display: flex; align-items: center; gap: 14px; }
.product .brand img { width: 56px; height: 56px; border-radius: 15px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.product .brand b { display: block; font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.product .brand span { font-size: 14px; opacity: .7; }
.product h3 { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.04em; line-height: 1.04; }
.product p.desc { font-size: 17.5px; line-height: 1.6; opacity: .82; max-width: 30em; }
.product ul.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 16px; }
.product ul.points li { display: flex; gap: 10px; align-items: flex-start; }
.product ul.points svg { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.product .actions { margin-top: auto; padding-top: 8px; display: grid; gap: 18px; }
.product .visual { position: relative; }
.product .visual .screen { position: absolute; width: clamp(220px, 21vw, 280px); }
.product .visual .v1 { left: 8%; top: 72px; transform: rotate(-4deg); }
.product .visual .v2 { right: 6%; top: 150px; transform: rotate(4deg); z-index: 2; }

.product.kinook { background: radial-gradient(ellipse 70% 80% at 85% 20%, #3a8f94 0%, transparent 60%), linear-gradient(160deg, #1f5c62 0%, #133c41 100%); color: #f1f8f7; }
.product.kinook ul.points svg { color: var(--k-coral); }
.product.kinook .tag { background: rgba(255, 255, 255, .1); color: #e3efee; }

.product.dng { grid-template-columns: 1fr 1.02fr; background: radial-gradient(ellipse 70% 80% at 15% 15%, #dbe8ff 0%, transparent 60%), linear-gradient(160deg, #f3f6ff 0%, #e6edff 100%); color: #14172b; }
.product.dng .copy { order: 2; }
.product.dng .visual { order: 1; }
.product.dng ul.points svg { color: var(--d-orange); }
.product.dng .tag { background: #fff; }
.product.dng .visual .v1 { left: 10%; }
.product.dng .visual .v2 { right: 8%; }

@media (max-width: 960px) {
  .product, .product.dng { grid-template-columns: 1fr; min-height: 0; }
  .product.dng .copy { order: 1; }
  .product.dng .visual { order: 2; }
  .product .visual { height: 440px; }
  .product .visual .screen { width: 230px; }
  .product .visual .v1, .product.dng .visual .v1 { left: calc(50% - 230px); top: 24px; }
  .product .visual .v2, .product.dng .visual .v2 { right: calc(50% - 230px); top: 70px; }
}
@media (max-width: 560px) {
  .product .visual { height: 360px; }
  .product .visual .screen { width: 180px; }
  .product .visual .v1, .product.dng .visual .v1 { left: calc(50% - 175px); }
  .product .visual .v2, .product.dng .visual .v2 { right: calc(50% - 175px); }
}

/* ───────── Bento ───────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r); background: var(--bg-soft); padding: 32px; display: flex; flex-direction: column; gap: 12px; min-height: 260px; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--accent); box-shadow: var(--shadow-sm); margin-bottom: auto; }
.card .ic svg { width: 22px; height: 22px; }
.card h4 { font-size: 20px; margin-top: 28px; }
.card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
.card.dark { background: var(--dark); color: #fff; }
.card.dark p { color: #a9b0b8; }
.card.dark .ic { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: none; }
.card .art { position: absolute; z-index: -1; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .span-2, .span-3, .span-4 { grid-column: span 1; } .span-6, .bento .wide { grid-column: span 2; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .span-6, .bento .wide { grid-column: span 1; } .card { min-height: 0; } }

/* Ciphertext art for the encryption card */
.cipher { position: absolute; inset: 0; z-index: -1; padding: 28px; font: 500 13px/1.9 ui-monospace, 'Geist Mono', SFMono-Regular, Menlo, monospace; color: rgba(255, 255, 255, .09); word-break: break-all; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 45%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); }
.lockup { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font: 500 13px/1 ui-monospace, 'Geist Mono', Menlo, monospace; color: #cfe9e5; width: max-content; max-width: 100%; }
.lockup svg { width: 16px; height: 16px; color: #8fd3cb; flex: none; }

/* ───────── Statement / about ───────── */
.statement { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.18; letter-spacing: -.035em; font-weight: 500; max-width: 22em; text-wrap: balance; }
.statement .muted { color: #b0b4ba; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.about-grid h4 { margin-bottom: 10px; }
.about-grid p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ───────── CTA band ───────── */
.cta { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); background: var(--dark); color: #fff; padding: clamp(56px, 8vw, 104px) 24px; text-align: center; display: grid; justify-items: center; gap: 22px; }
.cta h2 { max-width: 14ch; }
.cta p { color: #aab1b9; font-size: 18px; max-width: 34em; }
.cta .btn-row { justify-content: center; margin-top: 8px; }
.cta .glow.a { width: 460px; height: 340px; background: var(--brand); opacity: .35; left: -80px; bottom: -160px; }
.cta .glow.b { width: 460px; height: 340px; background: #2a8a8f; opacity: .45; right: -80px; top: -160px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.contact a.mail { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(26px, 3.4vw, 44px); font-weight: 550; letter-spacing: -.035em; text-decoration: none; border-bottom: 2px solid var(--line-2); padding-bottom: 6px; transition: border-color .2s; word-break: break-all; }
.contact a.mail:hover { border-color: var(--ink); }
.contact a.mail svg { width: .7em; height: .7em; flex: none; }
.contact .note { color: var(--ink-2); font-size: 16px; max-width: 30em; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; gap: 24px; } }

/* ───────── App pages ───────── */
.crumbs { font-size: 14px; color: var(--ink-3); padding-top: 24px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

.app-hero { padding: 40px 0 0; }
.app-hero .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.app-id { display: inline-flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border-radius: 999px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; }
.app-id img { width: 36px; height: 36px; border-radius: 10px; }
.app-id b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.app-id span { font-size: 13.5px; color: var(--ink-3); }
.app-hero h1 { font-size: clamp(42px, 5.8vw, 76px); margin-top: 26px; }
.app-hero h1 .serif { color: var(--accent); }
.app-hero .lead { margin-top: 22px; }
.app-hero .btn-row { margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14px; color: var(--ink-3); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--accent); }
.app-stage { height: clamp(520px, 50vw, 640px); }
.app-stage .screen { position: absolute; width: clamp(210px, 19vw, 260px); }
.app-stage .a1 { left: 9%; top: 20%; transform: rotate(-5deg); z-index: 2; }
.app-stage .a2 { right: 8%; top: 31%; transform: rotate(5deg); }
.app-stage .chip.c1 { right: 6%; top: 8%; }
.app-stage .chip.c2 { left: 5%; top: 18%; }
@media (max-width: 960px) {
  .app-hero .grid { grid-template-columns: 1fr; }
  .app-stage { height: 520px; }
  .app-stage .a1 { left: calc(50% - 240px); }
  .app-stage .a2 { right: calc(50% - 240px); }
}
@media (max-width: 560px) {
  .app-stage { height: 440px; }
  .app-stage .screen { width: 180px; }
  .app-stage .a1 { left: calc(50% - 180px); top: 24%; }
  .app-stage .a2 { top: 33%; }
  .app-stage .a2 { right: calc(50% - 180px); }
  .app-stage .chip { font-size: 12px; }
  .app-stage .chip.c1 { right: 12px; top: 14px; }
  .app-stage .chip.c2 { left: 12px; top: 74px; }
}

/* Themes */
.theme-kinook { --accent: var(--k-teal); --accent-soft: var(--k-soft); }
.theme-kinook .app-stage { background: radial-gradient(ellipse 60% 70% at 70% 30%, #2f7f84 0%, transparent 70%), linear-gradient(160deg, #1d575d, #0f2f33); }
.theme-kinook .app-hero h1 .serif { color: #e0664f; }
.theme-dng { --accent: var(--d-violet); --accent-soft: var(--d-soft); }
.theme-dng .app-stage { background: radial-gradient(ellipse 60% 70% at 30% 20%, #5d8bff 0%, transparent 65%), radial-gradient(ellipse 50% 60% at 90% 90%, #ff9a3d 0%, transparent 60%), linear-gradient(160deg, #3c2aa6, #1d1550); }
.theme-dng .app-hero h1 .serif { color: var(--d-orange); }

/* Feature grid (app pages) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { border-radius: var(--r); background: var(--bg-soft); padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--accent); box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h4 { font-size: 19px; }
.feature p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.feature.media { grid-row: span 2; padding-bottom: 0; overflow: hidden; background: var(--accent-soft); }
.feature.media .shot { margin: 18px auto 0; width: min(78%, 280px); border-radius: 30px 30px 0 0; padding: 8px 8px 0; background: #0d0f12; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.feature.media .shot img { border-radius: 23px 23px 0 0; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } .feature.media { grid-row: span 1; grid-column: span 2; } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } .feature.media { grid-column: span 1; } }

/* Gallery of store screenshots */
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 24px 28px; margin: 0 -24px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
@media (max-width: 480px) { .gallery { padding-inline: 16px; margin-inline: -16px; } }
.gallery figure { margin: 0; flex: none; width: clamp(220px, 24vw, 270px); scroll-snap-align: start; }
.gallery img { border-radius: 22px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 20px 40px -24px rgba(0, 0, 0, .35); }
.gallery figcaption { font-size: 14px; color: var(--ink-3); margin-top: 14px; padding-left: 4px; }
.gallery-nav { display: flex; gap: 8px; }
.gallery-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: border-color .15s; }
.gallery-nav button:hover { border-color: var(--ink-3); }
.gallery-nav svg { width: 18px; height: 18px; }

/* Steps / audiences */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { border-top: 1px solid var(--line-2); padding-top: 26px; display: grid; gap: 10px; align-content: start; }
.step::before { counter-increment: step; content: '0' counter(step); font: 500 14px/1 ui-monospace, 'Geist Mono', Menlo, monospace; color: var(--accent); margin-bottom: 10px; }
.step h4 { font-size: 22px; }
.step p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* Dark split band (privacy) */
.band { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); background: var(--dark); color: #fff; padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.band .lead { color: #aab1b9; margin-top: 22px; }
.band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.band li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .1); color: #d6dbe0; font-size: 16px; }
.band li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.band li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: #8fd3cb; }
.band .glow.a { width: 420px; height: 360px; background: #2a8a8f; opacity: .4; left: -120px; top: -120px; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { border-radius: var(--r); border: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.plan .name { font-size: 14px; font-weight: 600; color: var(--accent); }
.plan h4 { font-size: 24px; }
.plan p { color: var(--ink-2); font-size: 15.5px; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--accent); }
.plan.pick { background: var(--dark); color: #fff; border-color: var(--dark); }
.plan.pick p, .plan.pick ul { color: #b6bcc3; }
.plan.pick .name, .plan.pick li svg { color: #8fd3cb; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap .head { margin: 0; position: sticky; top: 100px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 0; font-weight: 550; font-size: 18px; letter-spacing: -.015em; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { padding: 0 40px 26px 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .head { position: static; } }

/* ───────── Footer ───────── */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 36px; font-size: 15px; color: var(--ink-2); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot h5 { margin: 0 0 16px; font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot a { text-decoration: none; transition: color .15s; }
.foot a:hover { color: var(--ink); }
.foot .about p { margin-top: 16px; max-width: 24em; color: var(--ink-3); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .foot .about { grid-column: 1 / -1; } }

/* ───────── Motion ───────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover .arrow { transform: none; }
}
