/*
 * withhalo.app's styles: the landing page (saas/prototypes/site-landing.html, carried over as it
 * is), its demo (a pretend Mac with Chrome, and Halo's own UI as the extension draws it), and the
 * plain pages (privacy, terms, thanks, AppSumo). Light and dark follow the system unless the nav's
 * switch picked one (theme.js). Inter is served from /fonts.
 */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #fbfbfa; --bg-2: #f4f3f0; --card: #ffffff; --ink: #15161c; --ink-2: #4a4e5a; --muted: #6f7381; --faint: #a3a6b0;
  --line: #e9e7e2; --line-2: #dedbd4; --btn: #15161c; --btn-ink: #ffffff; --soft: #f1efea;
  --accent: #c98a12; --accent-2: #f4c45a; --accent-soft: rgba(244, 196, 90, .22);
  --wall-a: #ffd9a8; --wall-b: #f7c9dc; --wall-c: #c9dcff; --wall-d: #fdf3e7;
  --win: #ffffff; --win-bar: #eef0f3; --win-bar-2: #f7f8fa; --win-line: #dcdfe5; --win-ink: #1d1d22; --win-muted: #80838e; --win-fill: #e8eaee; --win-fill-2: #f5f6f8;
  --glass: rgba(255, 255, 255, .45); --glass-line: rgba(255, 255, 255, .72); --glass-ink: #15161c;
  --page: #ffffff; --page-ink: #1b1d22; --page-mute: #6d717c; --page-line: #ececef;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0c0b0f; --bg-2: #131217; --card: #17161c; --ink: #f0eff4; --ink-2: #bdbbc6; --muted: #8e8c99; --faint: #5f5e69;
  --line: #24232b; --line-2: #2f2e38; --btn: #f0eff4; --btn-ink: #0c0b0f; --soft: #1b1a21;
  --accent: #f4c45a; --accent-2: #ffe7a3; --accent-soft: rgba(244, 196, 90, .16);
  --wall-a: #5a3a10; --wall-b: #4e1f3e; --wall-c: #14305a; --wall-d: #0f0d14;
  --win: #202024; --win-bar: #2b2b31; --win-bar-2: #26262b; --win-line: #3a3a42; --win-ink: #ececf2; --win-muted: #8f909b; --win-fill: #36363e; --win-fill-2: #2a2a30;
  --glass: rgba(40, 38, 48, .42); --glass-line: rgba(255, 255, 255, .2); --glass-ink: #f4f3f8;
  --page: #17171b; --page-ink: #ececf1; --page-mute: #9a9ba6; --page-line: #2a2a31;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0b0f; --bg-2: #131217; --card: #17161c; --ink: #f0eff4; --ink-2: #bdbbc6; --muted: #8e8c99; --faint: #5f5e69;
    --line: #24232b; --line-2: #2f2e38; --btn: #f0eff4; --btn-ink: #0c0b0f; --soft: #1b1a21;
    --accent: #f4c45a; --accent-2: #ffe7a3; --accent-soft: rgba(244, 196, 90, .16);
    --wall-a: #5a3a10; --wall-b: #4e1f3e; --wall-c: #14305a; --wall-d: #0f0d14;
    --win: #202024; --win-bar: #2b2b31; --win-bar-2: #26262b; --win-line: #3a3a42; --win-ink: #ececf2; --win-muted: #8f909b; --win-fill: #36363e; --win-fill-2: #2a2a30;
    --glass: rgba(40, 38, 48, .42); --glass-line: rgba(255, 255, 255, .2); --glass-ink: #f4f3f8;
    --page: #17171b; --page-ink: #ececf1; --page-mute: #9a9ba6; --page-line: #2a2a31;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
kbd { font: 600 .78em/1 Inter, ui-sans-serif, system-ui, sans-serif; display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 .4em; border-radius: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: var(--card); color: var(--ink); margin: 0 1px; vertical-align: .08em; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
h1, h2, h3 { letter-spacing: -.025em; margin: 0; font-weight: 650; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; }
.lede { color: var(--ink-2); font-size: 17px; max-width: 600px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px 0 14px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn img { width: 24px; height: 24px; }
.btn.small { height: 36px; padding: 0 14px 0 9px; font-size: 13.5px; gap: 7px; }
.btn.small img { width: 20px; height: 20px; }

/* ---------- Nav ---------- */
nav.top { position: sticky; top: 0; z-index: 9000; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
nav.top.scrolled { border-bottom-color: var(--line); }
nav.top .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 650; font-size: 16px; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 24px; height: 24px; }
.links { display: flex; gap: 22px; font-size: 14px; color: var(--ink-2); margin-left: 8px; }
.links a { text-decoration: none; }
.links a:hover { color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.theme-btn { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.theme-btn svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 92px 0 0; }
.hero h1 { font-size: clamp(40px, 5.6vw, 58px); line-height: 1.02; letter-spacing: -.04em; margin-top: 14px; }
.hero .lede { margin: 20px auto 0; }
.hero .cta { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero .cta small { color: var(--muted); font-size: 13px; }

/* ---------- The pretend Mac ---------- */
.desk { position: relative; width: min(1760px, 100%); margin: 28px auto 0; padding: 0 0 96px; }
.wall { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 20% 30%, var(--wall-a), transparent 70%),
    radial-gradient(50% 60% at 80% 22%, var(--wall-b), transparent 70%),
    radial-gradient(70% 70% at 62% 88%, var(--wall-c), transparent 70%),
    var(--wall-d);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 86%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 86%, transparent); mask-composite: intersect; }
.screen-fit { position: relative; width: min(1200px, 100% - 32px); margin: 0 auto; }
.desk { -webkit-user-select: none; user-select: none; }
.screen { position: absolute; left: 0; top: 0; width: 1200px; height: 680px; transform-origin: 0 0; font: 13px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, sans-serif; color: var(--win-ink); user-select: none; -webkit-user-select: none; touch-action: none; }
.screen img { -webkit-user-drag: none; }

.menubar { position: absolute; z-index: 6000; top: 0; left: 0; right: 0; height: 28px; display: flex; align-items: center; gap: 18px; padding: 0 16px; font-size: 13px; color: var(--glass-ink);
  background: var(--glass); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); }
.menubar .apple { width: 14px; height: 14px; opacity: .9; }
.menubar b { font-weight: 700; }
.menubar .mb-menu { opacity: .88; }
.menubar .mb-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.menubar .mb-end svg { width: 16px; height: 16px; }
.menubar .mb-time { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Chrome */
.cw { position: absolute; left: 262px; top: 42px; width: 920px; height: 556px; border-radius: 11px; background: var(--win); border: .5px solid var(--win-line); box-shadow: 0 30px 70px -18px rgba(0,0,0,.5), 0 2px 10px rgba(0,0,0,.14); overflow: hidden; }
.cw-tabs { height: 38px; display: flex; align-items: flex-end; gap: 6px; padding: 0 10px 0 14px; background: var(--win-bar); }
.cw-lights { display: flex; gap: 7px; align-self: center; margin-right: 12px; }
.cw-lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.cw-lights i:nth-child(2) { background: #febc2e; } .cw-lights i:nth-child(3) { background: #28c840; }
.cw-tab { height: 30px; width: 236px; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 12px; border-radius: 9px 9px 0 0; background: var(--win); font-size: 12px; color: var(--win-ink); }
.cw-tab span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-tab .fav { width: 16px; height: 16px; border-radius: 4px; background: #2f6d4f; color: #fff; display: grid; place-items: center; font: 700 10px Georgia, serif; }
.cw-tab em { font-style: normal; color: var(--win-muted); }
.cw-plus { color: var(--win-muted); font-size: 18px; align-self: center; padding-left: 4px; }
.cw-bar { height: 40px; display: flex; align-items: center; gap: 12px; padding: 0 12px; background: var(--win); border-bottom: .5px solid var(--win-line); color: var(--win-muted); }
.cw-bar svg { width: 16px; height: 16px; flex: none; }
.omni { flex: 1; height: 30px; border-radius: 15px; background: var(--win-fill-2); display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 12.5px; color: var(--win-ink); }
.omni small { color: var(--win-muted); font-size: 12.5px; }
.cw-ext { position: relative; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 0; background: none; padding: 0; }
.cw-ext:hover, .cw-ext.open { background: var(--win-fill); }
.cw-ext img { width: 18px; height: 18px; }
.cw-dl { position: relative; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--win-muted); }
.cw-dl.busy::after { content: ""; position: absolute; inset: 1px; border-radius: 50%; border: 2px solid transparent; border-top-color: #1a73e8; animation: spin .8s linear infinite; }
.cw-dl.new { color: #1a73e8; }
@keyframes spin { to { transform: rotate(360deg); } }
.cw-me { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #f5a96b, #d46a8c); color: #fff; display: grid; place-items: center; font: 600 10px Inter, sans-serif; }

/* The page in Chrome: a photo journal */
.pg { position: absolute; inset: 78px 0 0 0; overflow-y: auto; overflow-x: hidden; background: var(--page); color: var(--page-ink); scrollbar-width: thin; }
.fn-art { padding: 24px 40px 40px; }
.fn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fn-fig { margin: 0; position: relative; cursor: grab; }
.fn-fig:active { cursor: grabbing; }
.fn-fig img, .fn-fig video { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: 6px; pointer-events: none; }
.fn-fig.wide { grid-column: span 2; }
.fn-fig.wide video { height: 312px; }
.fn-fig.tall img { height: 312px; }
.fn-fig figcaption { font-size: 11px; color: var(--page-mute); margin-top: 5px; font-style: italic; font-family: Georgia, serif; }
.fn-fig .vtag { position: absolute; left: 10px; top: 10px; padding: 3px 8px; border-radius: 99px; background: rgba(0,0,0,.55); color: #fff; font-size: 10.5px; font-weight: 600; }
.fn-body { max-width: 580px; margin-top: 22px; font: 14px/1.7 Georgia, "Times New Roman", serif; color: color-mix(in srgb, var(--page-ink) 85%, transparent); }
.fn-body p { margin: 0 0 12px; }

/* The Dock */
.dock-row { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; z-index: 5000; }
.dock { display: flex; align-items: flex-end; gap: 4px; padding: 4px 6px 6px; border-radius: 18px; background: var(--glass); border: .5px solid var(--glass-line); box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); }
.d-app { position: relative; width: 46px; height: 46px; transition: transform .12s ease-out; cursor: default; }
.d-app:hover { transform: translateY(-4px) scale(1.12); }
.d-app img { position: absolute; inset: -4px; width: 54px; height: 54px; pointer-events: none; }
.d-app.running::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--glass-ink); opacity: .75; }
.d-sep { width: 1px; height: 40px; margin: 0 4px 3px; background: var(--glass-line); }
.d-app.bounce { animation: bounce .7s cubic-bezier(.3,.7,.3,1); }
@keyframes bounce { 30% { transform: translateY(-16px); } 55% { transform: translateY(0); } 72% { transform: translateY(-6px); } }
.d-stack { cursor: pointer; }
.d-stack .st { position: absolute; inset: 3px 4px 4px; }
.d-stack .st img { position: absolute; inset: auto; left: 50%; top: 50%; width: auto; height: auto; max-width: 38px; max-height: 38px; transform: translate(-50%, -50%) rotate(var(--r, 0deg)); border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.35); background: #fff; }
.d-tip { position: absolute; bottom: 62px; left: 50%; transform: translateX(-50%); padding: 3px 9px; border-radius: 6px; background: color-mix(in srgb, var(--win) 88%, transparent); border: .5px solid var(--glass-line); font-size: 12px; white-space: nowrap; color: var(--win-ink); opacity: 0; pointer-events: none; transition: opacity .1s; }
.d-app:hover .d-tip { opacity: 1; }
.stack-pop { position: absolute; z-index: 5600; bottom: 74px; width: 330px; padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--win) 86%, transparent); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: .5px solid var(--glass-line); box-shadow: 0 18px 50px -10px rgba(0,0,0,.45); display: none; }
.stack-pop.show { display: block; }
.stack-pop h4 { margin: 0 0 8px; font-size: 13px; display: flex; justify-content: space-between; }
.stack-pop h4 small { color: var(--win-muted); font-weight: 500; }
.stack-pop .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; }
.stack-pop .f { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 10.5px; }
.stack-pop .f .th { width: 72px; height: 54px; display: grid; place-items: center; }
.stack-pop .f .th img { max-width: 72px; max-height: 54px; border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.stack-pop .f .th img.cut { box-shadow: none; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.stack-pop .f span { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stack-pop .empty { color: var(--win-muted); font-size: 12px; padding: 10px 0; text-align: center; }
.fly { position: absolute; z-index: 9500; width: 56px; height: 40px; object-fit: cover; border-radius: 4px; box-shadow: 0 6px 16px rgba(0,0,0,.35); pointer-events: none; transition: transform .7s cubic-bezier(.5,0,.2,1), opacity .7s; }

/* The sticky note */
.sticky { position: absolute; z-index: 4000; left: 26px; top: 64px; width: 214px; padding: 14px 16px 16px; background: #fff3a6; color: #3b3415; border-radius: 3px; box-shadow: 0 14px 28px -10px rgba(0, 0, 0, .35), 0 2px 4px rgba(0, 0, 0, .12); transform: rotate(-2.4deg); font: 13px/1.45 Inter, sans-serif; }
.sticky > b { display: block; font-size: 14.5px; margin-bottom: 6px; }
.sticky ul { margin: 0; padding: 0 0 0 16px; display: grid; gap: 6px; }
.sticky kbd { background: rgba(255, 255, 255, .6); border-color: rgba(59, 52, 21, .25); color: inherit; }
.sticky li.done { text-decoration: line-through; opacity: .55; }
.sticky p { margin: 10px 0 0; font-size: 12px; opacity: .75; }

/* ---------- Halo's own UI, as the extension draws it (content/index.js, windows.js) ---------- */
.halo-ui { position: absolute; inset: 0; z-index: 7000; pointer-events: none;
  --bg: rgba(255,255,255,.94); --line: rgba(0,0,0,.08); --edge: rgba(0,0,0,.07); --ink: #2c2c33; --mute: #6c6c76;
  --shadow: 0 10px 34px rgba(30,30,50,.2), 0 1px 3px rgba(0,0,0,.1); --lens: rgba(255,255,255,.34);
  --acc-a: #ffe7a3; --acc-b: #f3b83f; --acc-ink: #3a2a00; --acc-ring: #f4c45a; --acc-glow: rgba(246,190,70,.75); --acc-strong: #9a6a00;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.halo-ui[data-mode="dark"] { --bg: rgba(30,30,38,.94); --line: rgba(255,255,255,.1); --edge: rgba(255,255,255,.12); --ink: #ecebf2; --mute: #a9a8b4; --lens: rgba(16,16,22,.42);
  --shadow: 0 10px 34px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.4); --acc-strong: var(--acc-a); }
.halo-ui[data-accent="pearl"] { --acc-a: #ffffff; --acc-b: #e8dcff; --acc-ink: #2b2440; --acc-ring: #d9c3ff; --acc-glow: rgba(214,190,255,.8); --acc-strong: #6a4fb0; }
.halo-ui[data-accent="ice"] { --acc-a: #d9e9ff; --acc-b: #8bb8ff; --acc-ink: #0c2350; --acc-ring: #8cbcff; --acc-glow: rgba(120,175,255,.8); --acc-strong: #2c5fb8; }
.halo-ui[data-mode="dark"][data-accent] { --acc-strong: var(--acc-a); }
.halo-ui * { box-sizing: border-box; }
.hint { position: absolute; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 16px;
  background: var(--bg); color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--edge); backdrop-filter: blur(16px);
  font-size: 12px; font-weight: 500; transform: translate(-50%, -100%); white-space: nowrap; animation: pop .16s ease-out; }
.hint.compact { padding: 4px; border-radius: 14px; }
.key { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 46px; height: 34px;
  border-radius: 10px; background: linear-gradient(var(--acc-a), var(--acc-b)); color: var(--acc-ink); font-size: 8.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; line-height: 1; box-shadow: 0 0 12px var(--acc-glow), inset 0 -2px 0 rgba(0,0,0,.12); animation: tap 1.2s ease-in-out infinite; }
.key b { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
@keyframes tap { 0%, 60%, 100% { transform: translateY(0); } 75% { transform: translateY(2px); } }
@keyframes pop { from { opacity: 0; scale: .94; } }
.ghost { position: absolute; width: 132px; display: flex; flex-direction: column; align-items: center; gap: 4px; opacity: .92; z-index: 2; }
.ghost img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 3px 10px rgba(0,0,0,.22); }
.ghost span { max-width: 132px; padding: 1px 8px; border-radius: 9px; background: var(--acc-b); color: var(--acc-ink); font-size: 11px; font-weight: 600; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wheel { position: absolute; width: 0; height: 0; }
.wheel.hold { pointer-events: auto; }
.tabs { position: absolute; left: 0; transform: translate(-50%, 0); display: flex; gap: 2px; padding: 4px; border-radius: 99px;
  background: var(--bg); border: 1px solid var(--edge); box-shadow: var(--shadow); backdrop-filter: blur(16px);
  font-size: 9.5px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); white-space: nowrap; z-index: 1; pointer-events: auto; }
.tab { padding: 5px 12px; border-radius: 99px; cursor: pointer; }
.tab.on { background: var(--acc-b); color: var(--acc-ink); }
.tab kbd { font: inherit; opacity: .75; margin-left: 5px; border: 0; background: none; color: inherit; min-width: 0; height: auto; padding: 0; }
svg.halo { position: absolute; overflow: visible; }
.lens { position: absolute; border-radius: 50%; background: var(--lens); backdrop-filter: blur(7px) saturate(1.05); -webkit-backdrop-filter: blur(7px) saturate(1.05); box-shadow: inset 0 0 0 1px var(--edge); }
.halo-sweep { transition: transform .16s cubic-bezier(.2,.8,.2,1), opacity .12s; }
.toast { position: absolute; width: 260px; padding: 10px 12px 12px; border-radius: 14px; background: var(--bg); color: var(--ink);
  border: 1px solid var(--edge); box-shadow: var(--shadow); backdrop-filter: blur(16px); font-size: 12px; pointer-events: auto; animation: pop2 .18s ease-out; }
@keyframes pop2 { from { opacity: 0; transform: translateY(6px); } }
.toast .row { display: flex; align-items: center; gap: 8px; }
.toast .title { flex: 1; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast .x { cursor: pointer; color: var(--mute); border: 0; background: none; font-size: 14px; line-height: 1; padding: 0 2px; }
.toast .sub { margin-top: 3px; color: var(--mute); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast .bar { margin-top: 8px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.toast .bar i { display: block; height: 100%; width: 0; background: var(--acc-ring); box-shadow: 0 0 6px var(--acc-glow); transition: width .15s; }
.toast a { color: var(--acc-strong); cursor: pointer; text-decoration: none; font-weight: 600; }
.toast.locked .sub { white-space: normal; }
.toast.locked .bar { display: none; }
.toast .act { margin-top: 9px; width: 100%; padding: 7px 10px; border: 0; border-radius: 9px; cursor: pointer; font: inherit; font-weight: 600; color: #1c1c24; background: var(--acc-ring); box-shadow: 0 0 10px var(--acc-glow); }
.toast .sw { display: flex; gap: 4px; margin-top: 8px; }
.toast .sw i { flex: 1; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }

/* Halo's toolbar popup (popup/App.vue) */
.hpop { position: absolute; z-index: 7600; top: 112px; right: 26px; width: 300px; padding: 12px 0 14px; border-radius: 12px; background: var(--win); border: .5px solid var(--win-line); box-shadow: 0 18px 50px -10px rgba(0,0,0,.45); color: var(--win-ink); font: 12.5px/1.4 -apple-system, Inter, sans-serif; display: none; pointer-events: auto; }
.hpop.show { display: block; }
.hpop .hp-head { display: flex; align-items: center; gap: 9px; padding: 0 14px 8px; }
.hpop .hp-head img { width: 26px; height: 26px; }
.hpop .hp-head b { display: block; font-size: 14px; }
.hpop .hp-head small { color: var(--win-muted); font-size: 11px; }
.hpop .hp-status { margin: 2px 14px 0; padding: 10px 11px; border-radius: 11px; background: var(--win-fill-2); }
.hpop .hp-keys { display: flex; gap: 10px; margin-top: 6px; color: var(--win-muted); font-size: 11px; }
.hpop .hp-keys kbd { font-size: 10px; min-width: 18px; height: 17px; margin-right: 3px; background: var(--win); border-color: var(--win-line); color: var(--win-ink); }
.hpop .hp-lic { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; padding-top: 8px; border-top: 1px solid var(--win-line); color: var(--win-muted); font-size: 11px; }
.hpop .hp-lic button { border: 0; border-radius: 7px; padding: 4px 10px; font: 650 11.5px Inter, sans-serif; background: #f4c45a; color: #1c1c24; cursor: pointer; }
.hpop h5 { margin: 12px 14px 5px; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--win-muted); }
.hpop .hp-seg { margin: 0 14px; display: flex; gap: 3px; padding: 3px; border-radius: 9px; background: var(--win-fill-2); }
.hpop .hp-seg button { flex: 1; border: 0; background: none; padding: 5px; border-radius: 7px; font: 600 11.5px Inter, sans-serif; color: var(--win-ink); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.hpop .hp-seg button[aria-pressed="true"] { background: var(--win); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex: none; }
.dot.gold { background: radial-gradient(circle at 35% 35%, #ffe7a3, #f3b83f); }
.dot.pearl { background: conic-gradient(#ffc8e4, #e2ccff, #c6e8ff, #c9f5df, #ffe2c4, #ffc8e4); }
.dot.ice { background: radial-gradient(circle at 35% 35%, #d9e9ff, #8bb8ff); }

/* Tool windows (content/windows.js WINDOW_CSS) */
.hw { --w-bg: rgba(255,255,255,.94); --w-edge: rgba(0,0,0,.08); --w-ink: #2c2c33; --w-mute: #6c6c76; --w-faint: rgba(40,40,60,.07); --w-stage: #e9e8ee; --w-track: rgba(40,40,60,.12); --w-field: rgba(40,40,60,.06);
  position: absolute; width: 410px; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; pointer-events: auto;
  background: var(--w-bg); color: var(--w-ink); border: 1px solid var(--w-edge); backdrop-filter: blur(24px) saturate(1.25); -webkit-backdrop-filter: blur(24px) saturate(1.25);
  box-shadow: 0 10px 30px rgba(20,20,40,.18), 0 1px 3px rgba(20,20,40,.08); animation: winpop .22s cubic-bezier(.2,.8,.2,1); font: 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; z-index: 3; }
.hw.big { width: 640px; }
.halo-ui[data-mode="dark"] .hw { --w-bg: rgba(28,28,36,.94); --w-edge: rgba(255,255,255,.1); --w-ink: #ecebf2; --w-mute: #a3a2ad; --w-faint: rgba(255,255,255,.07); --w-stage: #07070a; --w-track: rgba(255,255,255,.13); --w-field: rgba(255,255,255,.07); box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 1px 3px rgba(0,0,0,.3); }
@keyframes winpop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.hw > header { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; padding: 12px 12px 8px; }
.hw > header h3 { margin: 0; text-align: center; font-size: 14.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; letter-spacing: 0; }
.hw svg.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hw .hb { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--w-faint); color: var(--w-ink); cursor: pointer; font-size: 14px; display: grid; place-items: center; padding: 0; }
.hw .hb svg.i { width: 14px; height: 14px; stroke-width: 2; }
.hw .body { padding: 2px 14px 12px; display: flex; flex-direction: column; gap: 12px; }
.hw .prev { position: relative; border-radius: 16px; overflow: hidden; background: var(--w-stage); display: grid; place-items: center; }
.hw .prev > img, .hw .prev > canvas, .hw .prev > video { display: block; max-width: 100%; }
.hw .row { display: flex; align-items: center; gap: 8px; }
.hw .between { justify-content: space-between; }
.hw .lbl { font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--w-mute); }
.hw .val { font-variant-numeric: tabular-nums; color: var(--w-mute); font-size: 12px; }
.hw .val b { color: var(--w-ink); }
.hw .hint2 { font-size: 11.5px; color: var(--w-mute); margin: 0; }
.hw > footer { display: flex; align-items: center; gap: 8px; padding: 10px 14px 12px; border-top: 1px solid var(--w-faint); }
.hw > footer .grow { flex: 1; }
.hw .pill { border: 0; border-radius: 999px; padding: 7px 16px; font: inherit; font-size: 12px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
  background: linear-gradient(var(--acc-a), var(--acc-b)); color: var(--acc-ink); box-shadow: 0 0 14px var(--acc-glow), 0 1px 0 rgba(255,255,255,.5) inset; }
.hw .wbtn { border: 1px solid var(--w-edge); background: var(--w-faint); color: var(--w-ink); border-radius: 999px; padding: 6px 13px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.hw .ib { width: 31px; height: 31px; border-radius: 10px; border: 0; background: var(--w-faint); color: var(--w-ink); cursor: pointer; display: grid; place-items: center; padding: 0; }
.hw .ib svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hw .ib[aria-pressed="true"] { background: linear-gradient(var(--acc-a), var(--acc-b)); color: var(--acc-ink); box-shadow: 0 0 10px var(--acc-glow); }
.hw .ib:disabled { opacity: .32; cursor: default; }
.hw .seg { display: flex; padding: 3px; border-radius: 999px; background: var(--w-faint); border: 1px solid var(--w-edge); gap: 2px; }
.hw .seg button { flex: 1; border: 0; background: none; color: var(--w-mute); font: inherit; font-size: 10.5px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.hw .seg button[aria-pressed="true"] { background: var(--acc-b); color: var(--acc-ink); box-shadow: 0 0 10px var(--acc-glow); }
.hw input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: none; cursor: pointer; margin: 0; }
.hw input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--acc-ring) var(--fill, 50%), var(--w-track) var(--fill, 50%)); }
.hw input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 0 10px var(--acc-glow); }
.hw .slider { display: grid; grid-template-columns: 82px 1fr 46px; align-items: center; gap: 8px; font-size: 12.5px; }
.hw .slider output { text-align: right; font-variant-numeric: tabular-nums; color: var(--w-mute); font-size: 12px; }
.hw .swatch { width: 24px; height: 24px; border-radius: 8px; border: 1px solid var(--w-edge); cursor: pointer; padding: 0; }
.hw .swatch[aria-pressed="true"] { outline: 2px solid var(--acc-ring); outline-offset: 2px; }
.hw .checker { background-image: conic-gradient(#d9d8df 25%, #f4f4f7 0 50%, #d9d8df 0 75%, #f4f4f7 0); background-size: 16px 16px; }
.halo-ui[data-mode="dark"] .hw .checker { background-image: conic-gradient(#26262e 25%, #1b1b22 0 50%, #26262e 0 75%, #1b1b22 0); }
.hw .croparea { padding: 16px; }
.hw .cropwrap { position: relative; touch-action: none; cursor: crosshair; }
.hw .cropwrap img { display: block; max-width: 100%; max-height: 240px; }
.hw .shade { position: absolute; background: rgba(0,0,0,.6); pointer-events: none; }
.hw .cropbox { position: absolute; outline: 1px solid rgba(255,255,255,.9); cursor: move; }
.hw .cropbox i { position: absolute; width: 20px; height: 20px; border: 3px solid var(--acc-ring); filter: drop-shadow(0 0 4px var(--acc-glow)); }
.hw .cropbox i[data-h="nw"] { left: -3px; top: -3px; border-right: 0; border-bottom: 0; cursor: nwse-resize; }
.hw .cropbox i[data-h="ne"] { right: -3px; top: -3px; border-left: 0; border-bottom: 0; cursor: nesw-resize; }
.hw .cropbox i[data-h="sw"] { left: -3px; bottom: -3px; border-right: 0; border-top: 0; cursor: nesw-resize; }
.hw .cropbox i[data-h="se"] { right: -3px; bottom: -3px; border-left: 0; border-top: 0; cursor: nwse-resize; }
.hw .thirds { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to right, transparent calc(33.33% - .5px), rgba(255,255,255,.35) 0 calc(33.33% + .5px), transparent 0 calc(66.66% - .5px), rgba(255,255,255,.35) 0 calc(66.66% + .5px), transparent 0),
  linear-gradient(to bottom, transparent calc(33.33% - .5px), rgba(255,255,255,.35) 0 calc(33.33% + .5px), transparent 0 calc(66.66% - .5px), rgba(255,255,255,.35) 0 calc(66.66% + .5px), transparent 0); }
.hw .strip { position: relative; height: 54px; border-radius: 12px; overflow: hidden; display: flex; touch-action: none; background: #1a1a20; }
.hw .strip img.film { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hw .strip .dim { position: absolute; top: 0; bottom: 0; background: rgba(0,0,0,.6); pointer-events: none; }
.hw .strip .sel { position: absolute; top: 0; bottom: 0; border: 2.5px solid var(--acc-ring); border-left-width: 11px; border-right-width: 11px; border-radius: 10px; pointer-events: none; box-shadow: 0 0 10px var(--acc-glow); }
.hw .strip .sel::before, .hw .strip .sel::after { content: ''; position: absolute; top: 50%; width: 3px; height: 16px; margin-top: -8px; border-radius: 2px; background: rgba(0,0,0,.4); }
.hw .strip .sel::before { left: -7px; } .hw .strip .sel::after { right: -7px; }
.hw .strip .head { position: absolute; top: -2px; bottom: -2px; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 5px rgba(0,0,0,.6); pointer-events: none; }
.hw .strip .cut { position: absolute; top: -3px; bottom: -3px; width: 3px; margin-left: -1.5px; background: var(--acc-ring); box-shadow: 0 0 8px var(--acc-glow); pointer-events: none; }
.hw .ticks { display: flex; justify-content: space-between; font-size: 10px; color: var(--w-mute); margin-top: -6px; }
.hw .ticks span.on { color: var(--w-ink); font-weight: 700; }

/* on a phone: no desktop, the ring on its own */
.demo-phone { display: none; }

/* ---------- Facts ---------- */
.facts { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -40px; }
.fact { padding: 30px 28px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 40px -28px rgba(20, 22, 40, .3); }
.fact .big { font-size: 48px; font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.fact p { margin: 12px auto 0; color: var(--muted); font-size: 14.5px; max-width: 280px; }

section.block { padding: 120px 0 0; scroll-margin-top: 40px; }
.head { max-width: 660px; }
.head p { color: var(--ink-2); margin: 14px 0 0; font-size: 17px; }

/* ---------- Feature rows ---------- */
.rows { margin-top: 40px; }
.feat > * { min-width: 0; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.feat h3 { font-size: 24px; line-height: 1.2; }
.feat p { color: var(--ink-2); margin: 12px 0 0; max-width: 460px; }
.art { position: relative; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); padding: 34px; min-height: 280px; display: grid; place-items: center; overflow: hidden; }
.art.walled { background: radial-gradient(70% 80% at 30% 30%, var(--wall-a), transparent 70%), radial-gradient(60% 70% at 80% 80%, var(--wall-c), transparent 70%), var(--wall-d); }
/* the original */
.orig { display: flex; align-items: center; gap: 22px; }
.orig figure { margin: 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.orig img { display: block; border-radius: 8px; box-shadow: 0 12px 26px -12px rgba(0,0,0,.45); margin: 0 auto 10px; }
.orig .small img { width: 92px; height: 61px; object-fit: cover; }
.orig .large img { width: 250px; height: 167px; object-fit: cover; }
.orig b { color: var(--ink); font-weight: 600; }
.orig .arrow { color: var(--muted); font-size: 24px; }
/* video pieces */
.pieces { display: flex; align-items: center; gap: 26px; }
.chips { display: grid; grid-template-columns: repeat(4, auto); gap: 6px; }
.chips span { white-space: nowrap; font: 600 10.5px/1 ui-monospace, Menlo, monospace; color: var(--ink-2); background: var(--card); border: 1px solid var(--line-2); border-radius: 7px; padding: 7px 7px; text-align: center; }
.chips span.a { border-color: #b9d4ff; color: #2b62c4; }
.pieces .arrow { color: var(--muted); font-size: 24px; }
.pieces figure { margin: 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.pieces figure img { width: 84px; height: 84px; display: block; margin: 0 auto 6px; }
.pieces b { color: var(--ink); }
/* cut-out */
.cutart { position: relative; width: 300px; height: 220px; border-radius: 14px; overflow: hidden; background-image: conic-gradient(#e2e1e6 25%, #f7f7f9 0 50%, #e2e1e6 0 75%, #f7f7f9 0); background-size: 18px 18px; box-shadow: 0 16px 34px -18px rgba(0,0,0,.45); }
:root[data-theme="dark"] .cutart { background-image: conic-gradient(#2a2a32 25%, #1f1f26 0 50%, #2a2a32 0 75%, #1f1f26 0); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cutart { background-image: conic-gradient(#2a2a32 25%, #1f1f26 0 50%, #2a2a32 0 75%, #1f1f26 0); } }
.cutart img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.cutart .chip { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 99px; background: linear-gradient(#ffe7a3, #f3b83f); color: #3a2a00; font: 750 10px/1.4 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 0 12px rgba(246,190,70,.7); }
/* transcript */
.yt { width: 100%; max-width: 380px; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 16px 34px -20px rgba(0,0,0,.4); }
.yt .yt-frame { height: 120px; background: url(/demo/canoe.webp) center/cover; position: relative; }
.yt .yt-frame::after { content: "▶"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46px; height: 32px; border-radius: 9px; background: #ff0033; color: #fff; display: grid; place-items: center; font-size: 13px; }
.yt ol { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 7px; font-size: 13px; color: var(--ink-2); }
.yt li b { display: inline-block; width: 40px; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
/* keys */
.keys-art { display: flex; gap: 14px; }
.keys-art div { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.keys-art kbd { font-size: 24px; min-width: 70px; height: 64px; border-radius: 14px; border-bottom-width: 4px; }
.keys-art b { color: var(--ink); font-weight: 600; }
/* tool window still */
.art .hw { position: relative; animation: none; transform: scale(.86); }

/* ---------- Looks ---------- */
.looks { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: center; margin-top: 48px; }
.look-list { display: grid; gap: 8px; }
.look { display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.look:hover { background: var(--soft); }
.look[aria-pressed="true"] { background: var(--card); border-color: var(--line-2); box-shadow: 0 8px 24px -14px rgba(0,0,0,.25); }
.look b { display: block; font-size: 15.5px; font-weight: 600; }
.look span { color: var(--muted); font-size: 14px; }
.look .sw { width: 46px; height: 46px; border-radius: 50%; }
.look .sw.gold { background: radial-gradient(circle at 35% 35%, #ffe7a3, #f3b83f); }
.look .sw.pearl { background: conic-gradient(#ffc8e4, #e2ccff, #c6e8ff, #c9f5df, #ffe2c4, #ffc8e4); }
.look .sw.ice { background: radial-gradient(circle at 35% 35%, #d9e9ff, #8bb8ff); }
.ringseg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--soft); margin-top: 10px; }
.ringseg button { border: 0; background: none; padding: 7px 16px; border-radius: 9px; font: 600 14px Inter, sans-serif; color: var(--ink); cursor: pointer; }
.ringseg button[aria-pressed="true"] { background: var(--card); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.look-stage { position: relative; height: 440px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.look-stage .wall { position: absolute; inset: 0; -webkit-mask-image: none; mask-image: none; }
.look-stage .lens-c { position: absolute; left: 50%; top: 50%; width: 42%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255,255,255,.34); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
:root[data-theme="dark"] .look-stage .lens-c { background: rgba(16,16,22,.42); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .look-stage .lens-c { background: rgba(16,16,22,.42); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); } }
.look-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.look-stage p { position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; text-align: center; font-size: 13px; color: var(--glass-ink); opacity: .8; }

/* ---------- Privacy ---------- */
.privacy { margin-top: 120px; background: #0e0d12; color: #f0eff4; border-radius: 28px; padding: 72px 64px; position: relative; overflow: hidden; scroll-margin-top: 84px; }
:root[data-theme="dark"] .privacy { background: #17161d; border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .privacy { background: #17161d; border: 1px solid var(--line); } }
.privacy::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 3px solid rgba(244,196,90,.35); box-shadow: 0 0 80px rgba(244,196,90,.18), inset 0 0 80px rgba(244,196,90,.08); pointer-events: none; }
.privacy .eyebrow { color: #8e8c99; }
.privacy h2 { max-width: 620px; margin-top: 12px; }
.privacy > p { color: #bdbbc6; max-width: 580px; margin: 16px 0 0; font-size: 17px; }
.pv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 52px; }
.pv-grid div { border-top: 1px solid #2c2b34; padding-top: 22px; }
.pv-grid b { display: block; font-size: 16px; }
.pv-grid span { display: block; margin-top: 8px; color: #9e9caa; font-size: 14.5px; }
.privacy a.more { display: inline-block; margin-top: 40px; color: #bdbbc6; font-size: 14px; text-underline-offset: 4px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 780px; margin: 48px auto 0; }
.plan { border: 1px solid var(--line-2); border-radius: 20px; padding: 30px; background: var(--card); display: flex; flex-direction: column; text-align: left; }
.plan.best { border-color: var(--accent-2); box-shadow: 0 0 0 1px var(--accent-2), 0 20px 50px -30px rgba(244,196,90,.9); }
.plan .p-name { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.plan .p-name em { font-style: normal; font-size: 12px; font-weight: 600; color: #3a2a00; background: linear-gradient(#ffe7a3, #f3b83f); border-radius: 999px; padding: 3px 10px; }
.plan .p-price { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.plan .p-price b { font-size: 48px; font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.plan .p-price span { color: var(--muted); font-size: 14px; }
.plan .p-note { color: var(--muted); font-size: 13px; margin-top: 8px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent); }
.center { text-align: center; }
.center .head { margin: 0 auto; }
.after-plans { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 36px; color: var(--muted); font-size: 13px; }

/* ---------- Questions ---------- */
.faq { max-width: 760px; margin: 40px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: -6px 0 22px; color: var(--ink-2); max-width: 640px; }

.last { text-align: center; padding: 130px 0 110px; }
.last > img { width: 96px; height: 96px; display: block; margin: 0 auto 26px; filter: drop-shadow(0 12px 28px rgba(244,196,90,.35)); }
.last h2 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.035em; }
.last .btn { margin-top: 30px; }
.last .btn img { width: 24px; height: 24px; }
.last small { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; }
footer.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 13.5px; color: var(--muted); }
footer.foot .wrap { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
footer.foot a { text-decoration: none; }
footer.foot .grow { flex: 1; }

/* Sections fade in as they scroll into view, only when scripts run (theme.js marks html.js). */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* On a phone the headline wraps where it fits, not at the line break. */
@media (max-width: 600px) { .hero h1 br { display: none; } .hero h1 { text-wrap: balance; } }
@media (max-width: 1000px) { .looks { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .links { display: none; }
  .screen-fit, .desk .wall { display: none; }
  .desk { padding: 0; }
  .demo-phone { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; color: var(--muted); font-size: 14px; padding: 0 16px; }
  .demo-phone .look-stage { width: 100%; max-width: 420px; height: 400px; }
  .feat { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .feat .art { order: 2; }
  .facts { grid-template-columns: 1fr; margin-top: 40px; }
  .pv-grid { grid-template-columns: 1fr; gap: 22px; }
  .privacy { padding: 48px 26px; border-radius: 22px; }
  .plans { grid-template-columns: 1fr; }
  .plan.best { order: -1; }
  section.block { padding-top: 88px; }
  .orig .large img { width: 180px; height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Not in the prototype: the sprite and the plain pages ---------- */
.sprite { position: absolute; width: 0; height: 0; }
.btn.btn-primary { background: linear-gradient(#ffe7a3, #f3b83f); color: #3a2a00; padding: 0 20px; }
.btn.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line-2); padding: 0 18px; }
.page { max-width: 720px; padding: 64px 0 96px; }
.page h1 { font-size: clamp(32px, 4.4vw, 42px); letter-spacing: -.035em; line-height: 1.08; margin: 0 0 10px; }
.page .lead { font-size: 18px; color: var(--ink-2); margin: 0 0 30px; }
.prose { color: var(--ink-2); }
.prose p { line-height: 1.7; }
.prose h2 { color: var(--ink); font-size: 21px; margin: 34px 0 8px; }
.prose b, .prose strong { color: var(--ink); }
.prose a:not(.btn) { color: var(--accent); }
.prose li { margin: 4px 0; }
.prose code { font: 14px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--soft); padding: 2px 6px; border-radius: 6px; }
.keybox { display: flex; gap: 10px; align-items: center; padding: 12px 12px 12px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.keybox code { flex: 1; font-size: 16px; word-break: break-all; background: none; color: var(--ink); }
.oneclick { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 18px 0; }
