[hidden] { display: none !important; }
/* Kadar brand, shared by every site variant: tokens, type, the detent wheel, previews, pricing,
   questions and footer. Each variant adds only its own hero and section layout. */
:root {
  --darkroom: #12100d; --darkroom-2: #1b1915; --paper: #f4f1ea; --paper-2: #e9e4d9; --ink: #12100d;
  --dial: #cfc9bd; --stone: #8c877d; --stone-dark: #5b574f; --line-dark: #2c2924; --line-light: #d6d0c4;
  --index: #f5b921;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif; --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 5vw, 72px); --max: 1320px;
  /* Semantic tokens: light values here, dark values below. Photographs and the footer stay as they are. */
  --bg: #f4f1ea; --bg-2: #e9e4d9; --fg: #12100d; --fg-dim: #5b574f; --rule: #d6d0c4;
  --bar-bg: rgba(244, 241, 234, .97); --accent-ink: #8a6200; --feature-bg: #12100d; --phone-shadow: rgba(18, 16, 13, .18);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #12100d; --bg-2: #1c1a16; --fg: #efebe3; --fg-dim: #a8a296; --rule: #312d27;
    --bar-bg: rgba(18, 16, 13, .97); --accent-ink: #f5b921; --feature-bg: #1c1a16; --phone-shadow: rgba(0, 0, 0, .5); color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #12100d; --bg-2: #1c1a16; --fg: #efebe3; --fg-dim: #a8a296; --rule: #312d27;
  --bar-bg: rgba(18, 16, 13, .97); --accent-ink: #f5b921; --feature-bg: #1c1a16; --phone-shadow: rgba(0, 0, 0, .5); color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.6 var(--display); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--index); outline-offset: 3px; border-radius: 3px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.engraved { font: 600 .75rem/1 var(--display); font-stretch: 125%; letter-spacing: .22em; text-transform: uppercase; }
.readout { font: 500 .8125rem/1.4 var(--mono); letter-spacing: .05em; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
.h-xl { font: 650 clamp(3rem, 1.5rem + 6vw, 7.25rem)/.92 var(--display); letter-spacing: -.035em; }
.h-l { font: 650 clamp(2.25rem, 1.4rem + 3.4vw, 4.5rem)/.96 var(--display); letter-spacing: -.028em; }
.h-m { font: 650 clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem)/1.05 var(--display); letter-spacing: -.02em; }
.lede { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); line-height: 1.55; max-width: 36rem; }
.muted { color: var(--fg-dim); }

/* Header */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px); transition: background-color .25s, border-color .25s, color .25s;
       border-bottom: 1px solid transparent; color: #fff; }
.bar.solid { background: var(--bar-bg); border-bottom-color: var(--rule); color: var(--fg); }
.bar .in { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.lockup .m svg { width: 32px; height: 32px; border-radius: 7px; display: block; }
.lockup .engraved { font-size: .875rem; }
.bar nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); font-size: .9375rem; }
.bar nav a { text-decoration: none; opacity: .85; } .bar nav a:hover { opacity: 1; }
.bar nav .get { opacity: 1; padding: 9px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; }
.bar.solid nav .get { background: var(--fg); color: var(--bg); }
@media (max-width: 680px) { .bar nav .wide { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; }
.btn.light { background: #fff; color: var(--ink); } .btn.light:hover { background: var(--paper); }
.btn.dark { background: var(--fg); color: var(--bg); } .btn.dark:hover { opacity: .9; }
.btn.ghost { border: 1px solid currentColor; background: transparent; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* The detent wheel (shared/demos.js): ticks pass under a fixed amber index, like the app's wheel */
.kd-wheel { position: relative; height: 64px; overflow: hidden; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
            -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
.kd-wheel.drag { cursor: grabbing; }
.kd-track { position: absolute; left: 50%; top: 0; bottom: 0; display: flex; transition: transform .28s cubic-bezier(.3, 1.35, .5, 1); margin-left: -32px; }
.kd-wheel.drag .kd-track { transition: transform .08s linear; }
.kd-stop { width: 64px; flex: none; display: grid; justify-items: center; align-content: end; gap: 8px; padding-bottom: 10px; cursor: pointer; }
.kd-stop i { width: 2px; height: 12px; background: currentColor; opacity: .5; border-radius: 1px; }
.kd-stop b { font: 500 .75rem/1 var(--mono); opacity: .55; white-space: nowrap; }
.kd-stop.on b { opacity: 1; }
.kd-index { position: absolute; left: 50%; bottom: 8px; width: 3px; height: 24px; margin-left: -1.5px; border-radius: 2px; background: var(--index); }
.kd-loupe { position: absolute; width: 140px; height: 140px; margin: -70px 0 0 -70px; border-radius: 50%; pointer-events: none; opacity: 0; transform: scale(.85);
            transition: opacity .15s, transform .2s; box-shadow: 0 0 0 2px #fff, 0 12px 40px rgba(0,0,0,.35); background-repeat: no-repeat; z-index: 3; }
.kd-loupe.on { opacity: 1; transform: none; }

/* Live demo frames */
.demo { position: relative; overflow: hidden; background: #000; color: #fff; }
.demo img { width: 100%; height: 100%; object-fit: cover; }
.demo picture { display: contents; }
.demo .layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.demo .hud { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px clamp(14px, 3vw, 28px) 10px; display: grid; gap: 4px;
             background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0)); }
.demo .hud .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.demo .hist { width: 128px; height: 40px; color: rgba(255,255,255,.9); background: rgba(0,0,0,.4); border-radius: 8px; padding: 4px; }
.demo .chip { border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.35); color: #fff; border-radius: 999px; padding: 7px 14px; font: 500 .8125rem/1 var(--mono); cursor: pointer; }
.demo .chip[aria-pressed="true"] { background: var(--index); border-color: var(--index); color: #000; }
.split-handle { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.split-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.split-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.looks-row { display: flex; gap: 8px; flex-wrap: wrap; }
.looks-row button { border: 1px solid var(--rule); background: transparent; border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 500; }
.looks-row button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* Previews: the real app screens, by platform */
.previews .tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-2); gap: 2px; }
.previews .tabs button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; cursor: pointer; font-weight: 600; }
.previews .tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 22vw, 300px); gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory;
        padding: 8px var(--gutter) 24px; margin-inline: calc(-1 * var(--gutter)); scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
.reel figure { margin: 0; scroll-snap-align: start; display: grid; gap: 12px; }
.reel .ph { border-radius: 34px; padding: 7px; background: #0d0c0a; box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 18px 50px rgba(18,16,13,.18); }
.reel .ph img { border-radius: 28px; width: 100%; aspect-ratio: 402 / 874; object-fit: cover; }
.reel [data-platform="android"] .ph img { aspect-ratio: 392 / 852; }
.reel figcaption b { display: block; font-weight: 600; }
.reel figcaption span { color: var(--fg-dim); font-size: .9375rem; }

/* Pricing */
.plans { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.plans th, .plans td { text-align: left; vertical-align: baseline; padding: 22px 20px 22px 0; border-bottom: 1px solid var(--rule); }
.plans thead th { padding-top: 0; color: var(--fg-dim); }
.plans tbody th { font: 650 1.625rem/1.1 var(--display); letter-spacing: -.015em; }
.plans .best { color: var(--accent-ink); margin-left: 10px; vertical-align: middle; }
.plans .price { font: 500 1.375rem/1.1 var(--display); white-space: nowrap; }
.plans .price small { font-size: 1rem; color: var(--fg-dim); font-weight: 400; }
.plans td:last-child { color: var(--fg-dim); }
.terms { color: var(--fg-dim); font-size: .875rem; max-width: 52rem; margin: 22px 0 0; }
@media (max-width: 680px) {
  .plans thead { display: none; }
  .plans tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
  .plans th, .plans td { padding: 0; border: 0; }
  .plans td:last-child { grid-column: 1 / -1; }
}

/* Questions */
details { border-bottom: 1px solid var(--rule); }
details:first-of-type { border-top: 1px solid var(--rule); }
summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 1.125rem/1.35 var(--display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -8px; border-right: 2px solid var(--fg-dim); border-bottom: 2px solid var(--fg-dim); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
details p { margin: 0 0 22px; color: var(--fg-dim); max-width: 40rem; }

/* Footer */
.foot { background: var(--darkroom); color: var(--dial); font-size: .875rem; border-top: 1px solid var(--line-dark); }
.foot .in { max-width: var(--max); margin-inline: auto; padding: 48px var(--gutter) 64px; display: flex; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.foot address { font-style: normal; line-height: 1.75; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; } .foot nav a { text-decoration: none; color: var(--paper); }
.foot .lockup { color: var(--paper); margin-bottom: 14px; }

/* Zebra: diagonal stripes seen through the clipping mask set by demos.js; mask and photo share one crop. */
.zebra { position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(45deg, rgba(10,10,10,.78) 0 5px, rgba(255,255,255,.28) 5px 11px);
  -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
/* Pre-blurred layers for the focus demo: scaled up by the browser, faded by demos.js. */
.blur { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: opacity .3s ease; }
/* Sections below the first screen are laid out only when they come near the viewport. */
.defer { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* Theme button in the header (shared/theme.js). It shows the current mode; tapping cycles Auto, Light, Dark. */
.theme-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: -4px -6px; padding: 0; border: 0; border-radius: 999px; background: none; color: inherit; cursor: pointer; opacity: .85; }
.theme-btn:hover { opacity: 1; } .theme-btn svg { width: 20px; height: 20px; }
.theme-btn g { display: none; }
.theme-btn[data-mode="auto"] .i-auto, .theme-btn[data-mode="light"] .i-light, .theme-btn[data-mode="dark"] .i-dark, .theme-btn:not([data-mode]) .i-auto { display: inline; }

/* Official store badges (artwork unaltered; Google's transparent margin trimmed). Same height, as both guidelines ask. */
.ctas.badges { gap: 14px; align-items: center; }
.badge { display: inline-block; line-height: 0; border-radius: 9px; }
.badge img { height: 50px; width: auto; display: block; }
@media (max-width: 360px) { .ctas.badges { gap: 12px; } .badge img { height: 40px; } }
.foot .tm { flex-basis: 100%; margin: 8px 0 0; font-size: .75rem; color: var(--stone); max-width: 60rem; }
