/* MicJot website stylesheet (source of truth; scripts/make-site.sh copies it to /assets/style.<hash>.css). The look is
   website design v5, locked 2026-10-30 (design/redesign-2026-10-30/website-final/project/Main.dc.html for the desktop,
   Home-Mobile.dc.html for the phone): night bands for the hero, the privacy card and the closing panel, light sections
   between. The design's container queries are media queries here (760 px → 47.5rem, 1040 px → 65rem), and every
   inline style of the design is a class, because the Content-Security-Policy forbids style attributes.
   scripts/build-app.sh also copies this file into the app bundle next to the bundled policy pages, whose markup is
   <header><span class="brand"> … <main class="doc"> … <footer> without wrapper classes; the "body:not(.site)" rules
   at the end keep those pages readable. Light theme only. System font stack on purpose (ui-rounded for headings, as in
   the app); nothing is loaded from a third party. qa/site-tests/contrast.py reads the hex tokens of the :root block
   below and checks every text pair at 4.5:1. Every keyframe is prefixed mm- and defined once. */

:root {
  color-scheme: light;
  --bg: #fcfcfc;
  --surface: #ffffff;
  --surface-2: #f3f4f5;
  --ink: #111112;
  --muted: #5c5f66;
  --muted-2: #767c86; /* the design's grey second line of the privacy title: large text, 4.2:1 on white */
  --line: rgba(0, 0, 0, 0.10);
  --line-soft: rgba(0, 0, 0, 0.06);
  --accent: #0064d4;
  --accent-hover: #0052ad; /* hover and pressed: darker, so white labels keep 7.5:1 */
  --accent-bright: #1793ff; /* decorative only (waveform bars, gradients): never under or as text */
  --accent-ink: #ffffff;
  --accent-soft: #e6f7ff;
  --bar: #111112;
  --bar-ink: #ffffff;
  --night: #0b1220;
  --night-2: #111a2e;
  --night-ink: #c9d2e0;
  --night-dim: #8f9bb0;
  --wave: #9cc8ff;
  --sky: #5cbfff;
  --deep: #0a3d91;
  --ok: #07b123;
  --ok-ink: #056d17;
  --ok-wash: #e4f7e8;
  --pending: #d98900;
  --danger: #d1242f;
  --danger-ink: #b3161f; /* struck fillers in the cleanup card: 5.36:1 on --danger-wash (contrast.py) */
  --danger-wash: #f0dfe1;
  --wrap: 75rem;
  --narrow: 46rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.3, 1.3, 0.5, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "SF Mono", Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/26px var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 0.6em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem); letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); letter-spacing: -0.035em; }
h3 { font-size: 1.15rem; letter-spacing: -0.015em; margin-bottom: 0.3em; }
p, ul, ol, dl, table, pre, blockquote, figure { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.14em; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.night :focus-visible, .site-header :focus-visible { outline-color: var(--wave); }
code, pre { font-family: var(--mono); font-size: 0.92em; }
code { background: var(--surface-2); padding: 0.12em 0.4em; border-radius: 6px; overflow-wrap: anywhere; }
pre { background: var(--surface-2); padding: 0.9rem 1.1rem; border-radius: 14px; overflow-x: auto; line-height: 1.5; }
pre code { background: none; padding: 0; font-size: 0.9rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.8rem 0.6rem 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
thead th { color: var(--muted); font-size: 0.9rem; }
blockquote { margin: 1rem 0; padding: 0.2rem 1rem; border-left: 3px solid var(--accent); color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
strong, b { font-weight: 650; }
.rd { font-family: var(--round); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mark { width: 1.35rem; height: 1.35rem; fill: currentColor; display: inline-block; vertical-align: -0.3rem; }
svg.g { width: 1em; height: 1em; display: block; flex: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: var(--narrow); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.docs-layout .wrap-narrow { margin: 0; padding-left: 0; padding-right: 0; }
.visually-hidden, .skip:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 60; background: var(--accent); color: var(--accent-ink); padding: 0.5rem 0.8rem; border-radius: 8px; }
/* The skip link lands focus on <main tabindex="-1"> itself; the region is not a control, so it draws no ring. */
main[tabindex="-1"]:focus, main[tabindex="-1"]:focus-visible { outline: none; }
.night { background: var(--night); color: #fff; }

/* ---------------------------------------------------------------------------------------------------------------
   Header: the design's night navigation band. On the home page it lies over the hero, whose background runs under it. */
.site-header { position: relative; z-index: 20; background: var(--night); color: #fff; }
.home .site-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.bar { display: flex; align-items: center; gap: 28px; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.brand-tile { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, #0a3d91, #0064d4 45%, #1793ff 80%, #5cbfff); }
.brand-tile .mark { width: 19px; height: 19px; color: #fff; vertical-align: 0; }
.site-nav { margin-left: 16px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.site-nav a { color: var(--night-ink); text-decoration: none; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.header-cta.btn { margin-left: auto; height: 42px; padding: 0 18px; font-size: 14px; }
/* The menu checkbox exists only where its label does (under 48rem): at desktop widths it is display: none. */
.nav-check { display: none; position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-toggle { display: none; width: 2.6rem; height: 2.6rem; border-radius: 999px; position: relative; cursor: pointer; }
.nav-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.nav-check:focus-visible + .nav-toggle { outline: 2px solid var(--wave); outline-offset: 2px; }
.nav-toggle-bar { position: absolute; left: 0.75rem; right: 0.75rem; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav-toggle-bar.bar-a { top: calc(50% - 4px); }
.nav-toggle-bar.bar-b { top: calc(50% + 3px); }
.nav-check:checked ~ .nav-toggle .bar-a { top: calc(50% - 1px); transform: rotate(45deg); }
.nav-check:checked ~ .nav-toggle .bar-b { top: calc(50% - 1px); transform: rotate(-45deg); }
@media (max-width: 47.99rem) {
  .bar { height: 68px; gap: 12px; }
  .nav-check { display: block; }
  .nav-toggle { display: block; order: 3; }
  .header-cta.btn { height: 38px; padding: 0 14px; }
  .site-nav { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: 64px; margin: 0; }
  .nav-check:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; background: var(--night-2); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px; padding: 8px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7); }
  .site-nav a { display: block; font-size: 17px; padding: 12px 14px; border-radius: 12px; }
  .site-nav a:hover { background: rgba(255, 255, 255, 0.06); }
}

/* ---------------------------------------------------------------------------------------------------------------
   Buttons and shared type */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); color: var(--ink); }
.btn-out { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.btn-out:hover { border-color: #fff; color: #fff; }
.btn-pri, .button { background: var(--accent); color: var(--accent-ink); }
.btn-pri:hover, .button:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
/* Long-form pages (the download button on /download/) keep their own names for the primary button. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.8rem 1.4rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.button-large { padding: 0.95rem 1.6rem; font-size: 1.05rem; }
.actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hint { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.eyebrow { font: 600 13px/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.h2 { margin: 0; font-size: 48px; line-height: 52px; font-weight: 700; letter-spacing: -0.025em; }
.h2-s { font-size: 42px; line-height: 46px; }
.lead { margin: 0; font-size: 19px; line-height: 29px; color: var(--muted); max-width: 640px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; }
.sec { padding-top: 96px; padding-bottom: 40px; scroll-margin-top: 1rem; }
.sec-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.sec-head-c { align-items: center; text-align: center; margin: 0 auto; gap: 14px; }
.kc { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: #fff; box-shadow: 0 2px 0 var(--line); font: 600 13px/1 var(--font); color: var(--ink); white-space: nowrap; }

/* App tiles: a generic glyph on a tint (sitegen/home.py APPS). Never a vendor mark. */
.tile { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 23%; color: #fff; font-size: 19px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.tile .g { width: 58%; height: 58%; }
.t-blue { background: linear-gradient(140deg, #3aa0ff, #0064d4); }
.t-navy { background: linear-gradient(140deg, #2f6fd6, #0a3d91); }
.t-sky { background: linear-gradient(140deg, #7dd3fc, #1793ff); }
.t-plum { background: linear-gradient(140deg, #8e3f8f, #4a154b); }
.t-indigo { background: linear-gradient(140deg, #7b83eb, #4b53bc); }
.t-violet { background: linear-gradient(140deg, #b05ad8, #7719aa); }
.t-red { background: linear-gradient(140deg, #f06a5f, #c5221f); }
.t-clay { background: linear-gradient(140deg, #e08a63, #b4532a); }
.t-green { background: linear-gradient(140deg, #4cd964, #0f7a3d); }
.t-amber { background: linear-gradient(140deg, #ffd25f, #e59400); }
.t-ink { background: linear-gradient(140deg, #3a3a3e, #111112); }
.tile-xs { width: 16px; height: 16px; border-radius: 4px; font-size: 10px; box-shadow: none; }

/* ---------------------------------------------------------------------------------------------------------------
   Hero */
.hero { position: relative; overflow: hidden; padding-top: 84px; background: radial-gradient(55% 60% at 78% 30%, rgba(0, 100, 212, 0.55), transparent 70%), radial-gradient(50% 55% at 10% 100%, rgba(10, 61, 145, 0.7), transparent 70%), var(--night); }
.hero-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 260px; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 100px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.avail { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; height: 32px; padding: 0 14px; margin: 0; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); font: 500 13px/1 var(--font); color: var(--night-ink); }
.avail .dot { width: 7px; height: 7px; border-radius: 50%; background: #30d158; }
.hero-h1 { margin: 0; font-size: 92px; line-height: 88px; font-weight: 800; letter-spacing: -0.045em; color: #fff; }
.hero-h1 span { color: var(--wave); }
.hero-sub { margin: 0; font-size: 21px; line-height: 31px; color: var(--night-ink); max-width: 520px; }
.cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.freeb { position: relative; overflow: hidden; display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; height: 42px; padding: 0 16px 0 6px; border-radius: 999px; background: linear-gradient(90deg, rgba(48, 209, 88, 0.16), rgba(23, 147, 255, 0.16)); border: 1px solid rgba(92, 191, 255, 0.45); color: #d6e6ff; font-size: 15px; text-decoration: none; box-shadow: 0 0 28px -8px rgba(48, 209, 88, 0.55); transition: transform 0.2s, border-color 0.2s; }
.freeb:hover { transform: translateY(-2px); border-color: #fff; color: #fff; }
.freeb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%); transform: translateX(-120%); animation: mm-shine 3.6s ease-in-out infinite; pointer-events: none; }
.freeb b { color: #fff; font-weight: 700; }
.fb-tag { height: 30px; padding: 0 12px; border-radius: 999px; background: #30d158; color: #06210f; font: 800 12px/30px var(--font); letter-spacing: 0.08em; text-transform: uppercase; }
.fb-ar { transition: transform 0.2s; }
.freeb:hover .fb-ar { transform: translateX(3px); }

/* The drawn Mac: a light screen, one app window, the MicJot bar at its real size in points, the Dock. */
.hart { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.screen { width: 100%; max-width: 600px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 0 7px #1a1f2b, 0 0 0 8px rgba(255, 255, 255, 0.08), 0 50px 90px -30px rgba(0, 0, 0, 0.85); }
.mbr { height: 24px; display: flex; align-items: center; gap: 14px; padding: 0 12px; background: rgba(255, 255, 255, 0.9); color: #1d1d1f; border-bottom: 1px solid rgba(0, 0, 0, 0.06); font: 500 12px/1 var(--font); }
.mbr b { font-weight: 700; min-width: 4.5em; }
.mbr-r { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.desk { position: relative; height: 350px; background: radial-gradient(90% 70% at 85% 0%, #e3edff 0%, transparent 60%), radial-gradient(80% 60% at 0% 100%, #efe9ff 0%, transparent 60%), linear-gradient(180deg, #fbfcfe, #f0f3f8); }
.win { display: none; position: absolute; left: 34px; right: 34px; top: 16px; height: 214px; border-radius: 11px; background: #fcfcfc; color: #111112; overflow: hidden; box-shadow: 0 18px 40px -16px rgba(15, 30, 70, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.09); }
.win.is-on { display: block; animation: mm-fade 0.3s var(--ease) both; }
.win-bar { position: relative; height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid rgba(0, 0, 0, 0.06); background: #ececee; color: #1d1d1f; }
.win-bar .d { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win-bar .d + .d { background: #febc2e; }
.win-bar .d + .d + .d { background: #28c840; }
.win-t { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; font: 600 12px/1 var(--font); white-space: nowrap; }
.win-ctx { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 20px; font-size: 12.5px; color: #5c5f66; border-bottom: 1px solid rgba(0, 0, 0, 0.06); white-space: nowrap; overflow: hidden; }
.win-ctx b { color: #111112; font-weight: 600; }
.wbody { position: relative; padding: 14px 18px; height: 148px; font-size: 14.5px; line-height: 22px; }
.wl { min-height: 22px; }
.wtext { animation: mm-paste 0.18s ease-out both; }
.hl { background: #d9e9ff; color: #0045a0; border-radius: 4px; box-shadow: 0 0 0 2px #d9e9ff; font-weight: 600; }
.caret { display: none; width: 1.5px; height: 17px; background: var(--accent); vertical-align: -3px; animation: mm-blink 1.06s steps(1) infinite; }
.win.is-empty .wtext { display: none; }
.win.is-empty .caret { display: inline-block; }
.wsend { position: absolute; right: 12px; bottom: 12px; height: 24px; padding: 0 12px; border-radius: 999px; color: #fff; background: #0064d4; font: 600 11.5px/24px var(--font); }
.w-slack .win-bar { background: #350d36; color: #fff; } .w-slack .wsend { background: #007a5a; }
.w-teams .win-bar { background: #ebebf5; color: #242424; } .w-teams .wsend { background: #5b5fc7; }
.w-gmail .win-bar { background: #f2f6fc; color: #1f1f1f; } .w-gmail .wsend { background: #0b57d0; }
.w-chatgpt .win-bar { background: #f4f4f4; color: #0d0d0d; } .w-chatgpt .wsend { background: #0d0d0d; }
.w-claude .win-bar { background: #f0eee6; color: #3d3929; } .w-claude .wsend { background: #b4532a; }
.w-notion .win-bar { background: #f7f6f3; color: #37352f; } .w-notion .wsend { background: #191919; }
.w-onenote .win-bar { background: #f3eaf8; color: #3b1d4f; } .w-onenote .wsend { background: #7719aa; }
.mbar { position: absolute; left: 50%; bottom: 66px; transform: translateX(-50%); height: 30px; width: 40px; border-radius: 15px; background: rgba(0, 0, 0, 0.92); border: 1px solid #333; display: flex; align-items: center; overflow: hidden; color: #fff; transition: width 0.26s var(--spring), height 0.26s var(--spring), bottom 0.26s var(--spring), background 0.2s, border-color 0.2s; }
.mbar.is-rest { height: 8px; width: 40px; bottom: 77px; background: rgba(0, 0, 0, 0.55); border-color: rgba(0, 0, 0, 0.2); }
.mbar.is-listen { width: 97px; }
.mbar.is-process { width: 122px; }
.mbar.is-done { width: 112px; border: 1.5px solid #4cd964; animation: mm-ring 0.9s ease-out both; }
.bs { display: none; align-items: center; height: 100%; }
.is-listen .bs-listen, .is-process .bs-process, .is-done .bs-done { display: flex; }
.tile-bar { width: 18px; height: 18px; border-radius: 4px; margin: 0 8px; font-size: 11px; box-shadow: none; }
.bs-process .tile-bar { margin-right: 0; margin-left: 7px; }
.bs-done .tile-bar { margin-right: 6px; }
.bw { display: flex; align-items: center; gap: 2px; height: 18px; flex: none; }
.bw i { display: block; width: 2px; height: 5px; border-radius: 1px; background: #fff; animation: mm-wave 0.9s ease-in-out infinite; transform-origin: center; }
.bw i:nth-child(2), .bw i:nth-child(9) { height: 8px; animation-delay: -0.15s; }
.bw i:nth-child(3), .bw i:nth-child(8) { height: 11px; animation-delay: -0.3s; }
.bw i:nth-child(4), .bw i:nth-child(7) { height: 14px; animation-delay: -0.45s; }
.bw i:nth-child(5), .bw i:nth-child(6) { height: 18px; animation-delay: -0.6s; }
.bw.think { margin-left: 4px; }
.bw.think i { animation: mm-think 1s ease-in-out infinite; transform: scaleY(0.45); }
.bx { width: 16px; height: 16px; border-radius: 50%; background: #383838; display: grid; place-items: center; margin-left: 6px; flex: none; font: 700 12px/1 var(--font); }
.bchk { width: 11px; height: 11px; margin-right: 5px; color: #4cd964; flex: none; }
.bt { font: 600 12px/1 var(--font); white-space: nowrap; }
.dpause { position: absolute; right: 10px; bottom: 10px; z-index: 4; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.1); background: rgba(255, 255, 255, 0.85); color: #1d1d1f; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 14px -6px rgba(15, 30, 70, 0.45); transition: transform 0.15s, background 0.15s, color 0.15s; }
.dpause:hover { transform: scale(1.1); background: var(--accent); color: #fff; }
.ic-pause { display: block; width: 10px; height: 11px; border-left: 3.5px solid currentColor; border-right: 3.5px solid currentColor; }
.dpause[aria-pressed="true"] .ic-pause { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.sdock { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px 7px; border-radius: 15px; background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(0, 0, 0, 0.08); box-shadow: 0 10px 26px -14px rgba(15, 30, 70, 0.4); }
.sd { appearance: none; border: 0; background: transparent; padding: 0; cursor: pointer; position: relative; width: 40px; height: 44px; display: flex; justify-content: center; align-items: flex-start; }
.tile-dock { width: 38px; height: 38px; font-size: 22px; transition: transform 0.2s var(--spring); }
.sd:hover .tile-dock { transform: translateY(-6px) scale(1.18); }
.sd .run { position: absolute; bottom: 0; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #1d1d1f; opacity: 0; }
.sd.on .run { opacity: 1; }
.say { width: 100%; max-width: 600px; min-height: 76px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 12px; padding: 10px 4px 0; color: var(--night-ink); font-size: 15px; line-height: 23px; }
.say-l { display: inline-flex; align-items: center; gap: 6px; flex: none; font: 700 11px/23px var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--wave); }
.say-l .g { width: 13px; height: 13px; }
.say-t { flex: 1 1 20rem; }
.sw { display: inline-block; }
.say.is-saying .sw { animation: mm-word 0.25s ease-out both; }
.sw.is-later { visibility: hidden; }
.say-h { color: var(--night-dim); display: none; }
.say.is-hint .say-h { display: inline; }
.say.is-hint .say-t { display: none; }
.said-all .sf { color: #ff9aa8; text-decoration: line-through; text-decoration-color: #ff5a6e; text-decoration-thickness: 2px; }
.ss { text-decoration: underline dotted var(--sky); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.said-all .ss { color: var(--wave); }
.say-key { display: none; flex-basis: 100%; gap: 14px; padding-left: 2px; font-size: 12px; color: var(--night-dim); }
.said-all .say-key { display: flex; }
.say-key span { display: inline-flex; align-items: center; gap: 6px; }
.say-key span::before { content: ""; width: 16px; height: 9px; border-radius: 2px; }
.say-key .k-x::before { background: linear-gradient(transparent 3px, #ff5a6e 3px, #ff5a6e 5px, transparent 5px); }
.say-key .k-s::before { border-bottom: 2px dotted var(--sky); height: 6px; border-radius: 0; }
.say-key .k-h::before { background: #d9e9ff; }
.kb2 { width: 100%; max-width: 600px; display: grid; grid-template-columns: 62px 62px 62px 82px minmax(0, 1fr) 82px 62px; gap: 8px; padding: 14px 16px 16px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.8); }
.k2-rest { display: contents; }
.k2 { appearance: none; height: 52px; border-radius: 9px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 3px; padding: 6px 9px; font: 600 12px/1.1 var(--font); background: #fff; color: #111112; border: 1px solid var(--line); box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1); }
.k2 .kg { font-size: 15px; line-height: 15px; opacity: 0.85; min-height: 15px; }
.k2.fn { cursor: pointer; border-color: var(--accent); box-shadow: 0 3px 0 rgba(0, 100, 212, 0.45); transition: transform 0.06s, background 0.15s, color 0.15s; touch-action: none; user-select: none; -webkit-user-select: none; }
.k2.fn.on { background: var(--accent); color: #fff; border-color: transparent; transform: translateY(2px); animation: mm-glow 1.6s ease-in-out infinite; }

/* ---------------------------------------------------------------------------------------------------------------
   Apps band */
.apps { padding: 56px 0 48px; border-bottom: 1px solid var(--line-soft); overflow: hidden; display: flex; flex-direction: column; gap: 26px; }
.apps-h { margin: 0; text-align: center; font-size: 34px; line-height: 44px; font-weight: 700; letter-spacing: -0.02em; padding: 0 20px; }
.rot { display: inline-flex; align-items: center; gap: 10px; vertical-align: middle; animation: mm-rot 0.45s var(--ease) both; }
.rot.is-b { animation-name: mm-rot-b; }
.tile-rot { width: 40px; height: 40px; font-size: 24px; }
.rc-slack { color: #611f69; } .rc-gmail { color: #c5221f; } .rc-chatgpt { color: #0b7a5e; } .rc-notion, .rc-cursor { color: #191919; }
.rc-teams { color: #4b53bc; } .rc-claude { color: #b4532a; } .rc-onenote { color: #7719aa; } .rc-mail { color: #0064d4; } .rc-whatsapp { color: #0f7a3d; }
.apps-by { color: var(--muted); font-weight: 600; }
.apps-p { margin: -12px 0 0; text-align: center; font-size: 15px; color: var(--muted); padding: 0 20px; }
.mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-t { display: flex; gap: 44px; width: max-content; padding: 8px 0; animation: mm-marquee 48s linear infinite; }
.mq-t.r { animation: mm-marquee-r 54s linear infinite; }
.mq:hover .mq-t { animation-play-state: paused; }
.ap { display: flex; align-items: center; gap: 12px; flex: none; font-size: 16px; font-weight: 600; white-space: nowrap; }
.tile-ap { width: 44px; height: 44px; font-size: 26px; }

/* ---------------------------------------------------------------------------------------------------------------
   How it works */
.how { display: flex; flex-direction: column; gap: 30px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.how-card { padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.how-card h3 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.how-card p { margin: 0; font-size: 14.5px; line-height: 21px; color: var(--muted); }
.how-art { height: 88px; border-radius: 14px; background: var(--surface-2); display: grid; place-items: center; }
.how-key { width: 84px; height: 50px; border-radius: 12px; display: grid; place-items: center; font: 700 18px/1 var(--font); animation: mm-press 4s ease-in-out infinite; }
.how-dark { background: #111112; }
.wv { display: flex; gap: 4px; align-items: center; }
.wv i { display: block; width: 5px; height: 12px; border-radius: 3px; background: var(--wave); animation: mm-wave 1.05s ease-in-out infinite; transform-origin: center; }
.how-wave { gap: 5px; height: 52px; }
.how-wave i:nth-child(1) { height: 16px; } .how-wave i:nth-child(2) { height: 31px; animation-delay: -0.4s; } .how-wave i:nth-child(3) { height: 50px; animation-delay: -0.7s; }
.how-wave i:nth-child(4) { height: 38px; animation-delay: -0.2s; } .how-wave i:nth-child(5) { height: 46px; animation-delay: -0.9s; } .how-wave i:nth-child(6) { height: 25px; animation-delay: -0.5s; } .how-wave i:nth-child(7) { height: 13px; animation-delay: -0.1s; }
.how-type { display: flex; align-items: center; justify-content: flex-start; padding: 0 18px; font-size: 16px; gap: 10px; }
.how-line { display: inline-block; white-space: nowrap; overflow: hidden; animation: mm-type 4s steps(22) infinite; }
.how-ok { width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; animation: mm-pop 4s infinite; }
.how-n { font-size: 28px; line-height: 1; font-weight: 800; color: var(--accent); margin-top: 4px; }
.how .hint { margin: 0; max-width: 760px; }

/* ---------------------------------------------------------------------------------------------------------------
   Messy in, clean out */
.clean { padding-top: 80px; padding-bottom: 60px; }
.demo-card { padding: 40px; display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 40px; background: linear-gradient(180deg, #ffffff, #f7f9fc); }
.clean-side { display: flex; flex-direction: column; gap: 16px; }
.clean-h { margin: 0; font-size: 38px; line-height: 42px; font-weight: 700; letter-spacing: -0.02em; }
.clean-p { margin: 0; font-size: 16px; line-height: 25px; color: var(--muted); }
.try { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font: 700 12px/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }
.try svg, .ci svg, .cv { width: 14px; height: 14px; }
.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ctab { appearance: none; cursor: pointer; position: relative; overflow: hidden; display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 10px 0 8px; border-radius: 12px; border: 1px solid var(--line); background: #fff; box-shadow: 0 2px 0 var(--line); font: 600 13.5px/1.1 var(--font); color: var(--ink); text-align: left; transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s, background 0.2s; }
.ci { width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.cl { flex: 1; min-width: 0; }
.cv { color: var(--muted); opacity: 0.5; flex: none; transition: transform 0.15s, opacity 0.15s; }
.ctab:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 14px -8px rgba(0, 100, 212, 0.5); }
.ctab:hover .cv { opacity: 1; transform: translateX(2px); }
.ctab.on { background: #111112; color: #fff; border-color: #111112; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.55); }
.ctab.on .ci { background: var(--accent); color: #fff; }
.ctab.on .cv { color: var(--wave); opacity: 1; }
.pb { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent-bright); transform: scaleX(0); transform-origin: left; }
.is-auto .ctab.on .pb { animation: mm-fill 5.2s linear both; }
.clean-main { display: flex; flex-direction: column; }
.cpane { display: flex; flex-direction: column; gap: 14px; animation: mm-fade 0.45s var(--ease) both; }
.cpane[hidden] { display: none; }
.c-in { padding: 22px 24px; border-radius: 18px; background: var(--surface-2); }
.c-out { padding: 22px 24px; border-radius: 18px; background: #111112; color: #fff; min-height: 150px; }
.c-lab { display: flex; align-items: center; gap: 8px; font: 600 12px/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.c-lab .g { width: 14px; height: 14px; }
.c-lab-d { color: var(--wave); gap: 10px; }
.c-lab-d .tile { width: 24px; height: 24px; font-size: 14px; border-radius: 6px; }
.ctxt { margin: 0; font-size: 20px; line-height: 32px; white-space: pre-line; }
.ctxt-out { font-size: 22px; line-height: 34px; }
.ctxt .drop { color: var(--danger-ink); background: var(--danger-wash); text-decoration: line-through; border-radius: 5px; padding: 0 4px; }
.sp { border-bottom: 2px dotted var(--accent); }
.swapd { color: var(--wave); background: rgba(23, 147, 255, 0.2); border-radius: 5px; padding: 0 4px; font-weight: 600; }
.cmdchip { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.c-note { margin: 2px 4px 0; font-size: 15px; line-height: 22px; color: var(--muted); }
.beta-note { margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--accent-soft); font-size: 15px; line-height: 22px; color: var(--ink); max-width: 760px; }

/* ---------------------------------------------------------------------------------------------------------------
   Speed */
.speed { padding-top: 60px; padding-bottom: 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.speed-card { padding: 32px; display: flex; flex-direction: column; gap: 26px; }
.sp-row { display: flex; flex-direction: column; gap: 10px; }
.sp-lab { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; }
.sp-lab span { color: var(--muted); }
.sp-bar { height: 22px; border-radius: 11px; background: var(--surface-2); overflow: hidden; }
.sp-bar i { display: block; height: 100%; border-radius: 11px; animation: mm-bar 2.4s ease-out both; }
.sp-talk { width: 100%; background: linear-gradient(90deg, #0064d4, #1793ff); }
.sp-type { width: 27%; background: #9aa1ad; }
.sp-note { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------------------------------------------------------
   Feature deck */
.features { padding-top: 60px; padding-bottom: 100px; }
.deck-grid { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 36px; }
.fhead { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; max-width: 640px; }
.fhead-p { margin: 0; font-size: 16px; line-height: 25px; color: var(--muted); }
.deck { position: relative; width: 100%; max-width: 820px; min-height: 440px; }
.ghost { position: absolute; inset: 14px 0 14px 60px; border-radius: 28px; background: #fff; border: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: flex-end; padding: 18px 24px; font: 600 13px/1 var(--font); color: var(--muted); }
.ghost.g1 { transform: rotate(4deg) translate(6px, 10px); opacity: 0.7; align-items: flex-end; }
.ghost.g2 { transform: rotate(2deg) translate(0, 4px); opacity: 0.95; }
.fronts { position: relative; margin-right: 64px; }
.front { position: relative; border-radius: 28px; background: #111112; color: #fff; min-height: 430px; padding: 32px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45); }
.front[hidden] { display: none; }
.front.is-in { animation: mm-slide 0.5s var(--ease) both; }
.front h3 { margin: 0; font-size: 26px; letter-spacing: -0.01em; }
.front p { margin: 6px 0 0; font-size: 16px; line-height: 24px; color: var(--night-ink); max-width: 520px; }
.stage { flex: 1; border-radius: 20px; background: #1b1b1f; display: flex; align-items: center; justify-content: center; padding: 26px; min-height: 230px; }
.dnav { position: absolute; top: 50%; margin-top: -24px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.4); z-index: 3; transition: transform 0.15s; }
.dnav svg { width: 18px; height: 18px; }
.dnav:hover { transform: scale(1.08); color: var(--accent); }
.dnav.prev { left: -24px; } .dnav.next { right: 40px; }
.fdock-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; }
.fdock { display: flex; gap: 8px; padding: 10px 12px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 22px 40px -26px rgba(0, 0, 0, 0.4); max-width: 100%; overflow-x: auto; }
.fd { appearance: none; border: 0; cursor: pointer; position: relative; overflow: hidden; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--surface-2); color: var(--accent); display: grid; place-items: center; transition: transform 0.25s var(--spring), background 0.2s, color 0.2s; }
.fd svg { width: 20px; height: 20px; }
.fd:hover { transform: translateY(-5px) scale(1.1); }
.fd.on { background: var(--accent); color: #fff; transform: translateY(-6px) scale(1.12); box-shadow: 0 12px 22px -10px rgba(0, 100, 212, 0.75); }
.fd .pb { background: rgba(255, 255, 255, 0.8); }
.is-auto .fd.on .pb { animation: mm-fill 5.5s linear both; }
.fdock-l { margin: 0; font-size: 14px; color: var(--muted); }
.fdock-l b { color: var(--ink); }
.also { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.also li { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--muted); }
.also li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
/* The stage artwork (sitegen/home.py feature_stage) */
.st-col { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 480px; }
.st-cmd { gap: 12px; max-width: 440px; }
.st-sel { align-self: flex-start; font-size: 16px; padding: 6px 10px; border-radius: 8px; background: rgba(23, 147, 255, 0.35); }
.st-ask { align-self: center; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: #fff; color: #111112; font-size: 15px; font-weight: 600; }
.st-out { align-self: flex-end; max-width: 340px; font-size: 16px; line-height: 23px; padding: 12px 16px; border-radius: 14px; background: #fff; color: #111112; }
.st-center { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.st-wide { gap: 16px; width: 100%; max-width: 420px; }
.st-keys { display: flex; gap: 10px; align-items: center; }
.dkc { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 54px; padding: 0 12px; border-radius: 13px; background: #fff; color: #111112; box-shadow: 0 5px 0 var(--deep); font: 700 20px/1 var(--font); }
.dkc-s { min-width: 34px; height: 30px; font-size: 13px; box-shadow: 0 3px 0 var(--deep); }
.st-polish { margin: 0; font-size: 17px; line-height: 28px; }
.st-polish s { color: var(--night-dim); }
.st-polish b, .st-blue { color: var(--wave); }
.st-blue { margin-left: 6px; }
.chips .st-blue { margin-left: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 6px; border-radius: 999px; background: #2a2a30; font: 600 15px/1 var(--font); white-space: nowrap; }
.pill .g { width: 18px; height: 18px; color: var(--wave); margin-left: 10px; }
.pill .tile { width: 36px; height: 36px; font-size: 20px; }
.pill-halo { animation: mm-halo 2.4s ease-in-out infinite; }
.wv-s { height: 22px; gap: 3px; }
.wv-s i { width: 4px; height: 8px; } .wv-s i:nth-child(2) { height: 18px; animation-delay: -0.4s; } .wv-s i:nth-child(3) { height: 22px; animation-delay: -0.7s; } .wv-s i:nth-child(4) { height: 12px; animation-delay: -0.2s; }
.srow { display: flex; align-items: center; gap: 12px; background: #26262b; border-radius: 14px; padding: 7px 14px 7px 7px; font-size: 15px; }
.tile-s { width: 34px; height: 34px; font-size: 20px; }
.srow b { font-size: 12px; padding: 5px 8px; border-radius: 7px; background: rgba(156, 200, 255, 0.16); color: var(--wave); width: 78px; text-align: center; flex: none; }
.st-heard { margin: 0; font-size: 16px; color: var(--night-dim); }
.st-word { margin: 0; font-size: 30px; font-weight: 700; color: var(--wave); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 440px; }
.chip-d { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: #26262b; font-size: 15px; font-weight: 600; }
.st-arrow { color: var(--sky); }
.st-arrow svg { width: 18px; height: 18px; }
.st-card { padding: 14px 18px; border-radius: 14px; background: #fff; color: #111112; font-size: 16px; line-height: 24px; }
.st-card b { color: var(--accent); }
.st-row { display: flex; align-items: center; gap: 28px; text-align: left; }
.wv-lilac { height: 80px; gap: 6px; }
.wv-lilac i { width: 7px; background: #b6a9ff; height: 30px; }
.wv-lilac i:nth-child(2) { height: 52px; animation-delay: -0.3s; } .wv-lilac i:nth-child(3) { height: 34px; animation-delay: -0.6s; } .wv-lilac i:nth-child(4) { height: 66px; animation-delay: -0.9s; }
.wv-lilac i:nth-child(5) { height: 42px; animation-delay: -0.2s; } .wv-lilac i:nth-child(6) { height: 56px; animation-delay: -0.5s; } .wv-lilac i:nth-child(7) { height: 26px; animation-delay: -0.1s; }
.st-big { display: block; font-size: 26px; }
.st-soft { color: var(--night-ink); font-size: 15px; }
.okc { width: 24px; height: 24px; border-radius: 50%; background: #30d158; color: #111112; display: grid; place-items: center; flex: none; }
.okc .g { width: 13px; height: 13px; margin: 0; color: #111112; }
.st-pw { width: 100%; max-width: 300px; background: #26262b; border-radius: 16px; padding: 18px; }
.st-pw-l { font-size: 13px; font-weight: 600; color: #aab6cc; }
.st-pw-f { margin-top: 8px; height: 42px; border-radius: 10px; border: 1.5px solid #3a3a42; display: flex; align-items: center; padding: 0 12px; font-size: 22px; letter-spacing: 4px; }
.st-pw-n { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--wave); }
.st-pw-n .g { width: 16px; height: 16px; }
.st-pre { display: flex; width: 100%; height: 48px; border-radius: 12px; overflow: hidden; background: #26262b; }
.st-pre-a { width: 28%; display: grid; place-items: center; background: rgba(23, 147, 255, 0.35); color: #fff; font-size: 13px; font-weight: 700; }
.st-pre-b { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; font-size: 14px; color: var(--night-ink); }
.ic-pause-b { color: var(--wave); margin-left: 12px; }

/* ---------------------------------------------------------------------------------------------------------------
   Privacy card */
.pv { padding: 110px 0; scroll-margin-top: 0; }
.pcard { position: relative; overflow: hidden; max-width: 980px; margin: 0 auto; padding: 56px 64px 40px; border-radius: 32px; background: #fff; color: #111112; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.75); }
.pcard::before { content: ""; position: absolute; right: -180px; top: -200px; width: 560px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(23, 147, 255, 0.13), rgba(23, 147, 255, 0) 68%); pointer-events: none; }
.pc-top { position: relative; display: flex; align-items: center; gap: 12px; }
.pc-lock { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #e6f0ff; color: var(--accent); }
.pc-lock svg { width: 20px; height: 20px; }
.pc-eb { font: 600 15px/1 var(--font); color: var(--muted); }
.pc-mark { margin-left: auto; color: var(--accent); display: inline-flex; }
.pc-h { position: relative; margin: 52px 0 0; max-width: 640px; font-size: 60px; line-height: 62px; font-weight: 700; letter-spacing: -0.04em; }
.pc-h span { color: var(--muted-2); }
.pc-p { position: relative; margin: 22px 0 0; max-width: 560px; font-size: 19px; line-height: 30px; color: #3d4250; }
.pc-pts { position: relative; list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 30px; }
.pc-pts li { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: #3d4250; }
.pk-i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #f1f4f8; color: var(--deep); }
.pk-i svg { width: 15px; height: 15px; }
.pc-f { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 44px; padding-top: 28px; border-top: 1px solid #e6e8ec; }
.pc-sign { display: inline-flex; align-items: center; gap: 10px; font: 600 17px/1 var(--round); }
.pc-sign svg { color: var(--accent); }
.pc-links { display: flex; gap: 26px; flex-wrap: wrap; }
.pc-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--deep); text-decoration: none; border-bottom: 1.5px solid rgba(10, 61, 145, 0.35); padding-bottom: 3px; }
.pc-links a + a { color: #3d4250; border-color: rgba(61, 66, 80, 0.3); }
.pc-links a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------------------------------------------------------------------------------------------------------------
   Plans (home #pricing and /pricing/) */
.pricing-sec { padding-top: 120px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 36px; align-items: center; }
.plans { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; width: 100%; max-width: 1040px; align-items: stretch; }
.plan { padding: 36px 40px; display: flex; flex-direction: column; gap: 10px; }
.plan-name { margin: 0; font-size: 18px; color: var(--muted); letter-spacing: 0; }
.plan-pro { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -30px rgba(0, 100, 212, 0.45); }
.plan-pro .plan-name { color: var(--accent); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 10px 0 0; }
.plan-free .plan-price { margin-top: 18px; }
.amount { font-size: 60px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; }
.per { font: 500 17px var(--font); color: var(--muted); }
.save { align-self: center; padding: 6px 10px; border-radius: 999px; background: var(--ok-wash); color: var(--ok-ink); font: 700 12.5px/1 var(--font); }
.plan-note { margin: 10px 0 0; font-size: 15px; font-weight: 600; }
.p-monthly { display: none; }
.plan-pro:has(#billing-monthly:checked) .p-monthly, .plan-pro.is-monthly .p-monthly { display: block; }
.plan-pro:has(#billing-monthly:checked) .p-yearly, .plan-pro.is-monthly .p-yearly { display: none; }
.bill { display: inline-flex; margin: 0; padding: 4px; border: 0; border-radius: 999px; background: var(--surface-2); position: relative; }
.bill input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.bill label { padding: 10px 16px; border-radius: 999px; font: 600 14px/1 var(--font); color: var(--muted); cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.bill input:checked + label { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); }
.bill input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.chks { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.chks-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.chks li, .cancel { display: flex; gap: 10px; font-size: 15px; line-height: 22px; }
.chks li::before, .cancel::before { content: "✓"; color: var(--accent); font-weight: 800; }
.plan .btn { margin-top: auto; }
.plan-after { margin: 2px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.cancel { margin: 0; font-size: 14px; color: var(--muted); }
.plan-sale { margin: -24px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.pricing .pricing-sec { padding-top: 72px; padding-bottom: 40px; }

/* ---------------------------------------------------------------------------------------------------------------
   FAQ (home and /pricing/): one open at a time, animated by site.js through grid-template-rows */
.faq-sec { padding-top: 40px; padding-bottom: 100px; max-width: 920px; }
.faq-sec .h2 { margin-bottom: 24px; }
.faq-item { border-top: 1px solid var(--line); padding: 20px 0; }
.faq-item summary { cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; width: 0.5rem; height: 0.5rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); flex: none; margin-right: 0.3rem; transition: transform 0.4s var(--ease); }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-body { display: grid; grid-template-rows: minmax(0, 1fr); transition: grid-template-rows 0.4s var(--ease); }
.faq-item.is-anim .faq-body { grid-template-rows: minmax(0, 0fr); }
.faq-body > p { overflow: hidden; min-height: 0; margin: 10px 0 0; font-size: 16px; line-height: 25px; color: var(--muted); max-width: 760px; }
.faq-sec .fineprint { margin-top: 24px; }

/* ---------------------------------------------------------------------------------------------------------------
   Closing panel */
.final { position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; overflow: hidden; }
.cta-wave { position: absolute; left: 50%; top: 50%; margin: -210px 0 0 -230px; width: 460px; height: 420px; display: flex; gap: 30px; align-items: center; justify-content: center; opacity: 0.16; animation: mm-float 7s ease-in-out infinite; }
.cta-wave i { display: block; width: 40px; height: 120px; border-radius: 20px; background: linear-gradient(180deg, #5cbfff, #1793ff); animation: mm-wave 1.6s ease-in-out infinite; transform-origin: center; }
.cta-wave i:nth-child(2), .cta-wave i:nth-child(6) { height: 220px; animation-delay: -0.25s; }
.cta-wave i:nth-child(3), .cta-wave i:nth-child(5) { height: 320px; animation-delay: -0.5s; }
.cta-wave i:nth-child(4) { height: 400px; animation-delay: -0.75s; }
.fic { position: absolute; width: 58px; height: 58px; font-size: 32px; opacity: 0.55; animation: mm-drift 9s ease-in-out infinite; }
.fic-0 { left: 9%; top: 20%; } .fic-1 { left: 17%; bottom: 16%; animation-delay: -2s; } .fic-2 { left: 27%; top: 9%; animation-delay: -4s; }
.fic-3 { right: 10%; top: 22%; animation-delay: -1s; } .fic-4 { right: 19%; bottom: 14%; animation-delay: -3s; } .fic-5 { right: 28%; top: 8%; animation-delay: -5s; }
.fic-6 { left: 4%; bottom: 40%; animation-delay: -6s; } .fic-7 { right: 4%; bottom: 42%; animation-delay: -7s; }
.final-in { position: relative; padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.final-h { margin: 0; font-size: 72px; line-height: 74px; font-weight: 800; letter-spacing: -0.04em; }
.final-p { margin: 0; font-size: 19px; color: var(--night-ink); }
.final-in .cta-row { justify-content: center; }
.final-note { margin: 0; font-size: 13px; color: var(--night-dim); }

/* ---------------------------------------------------------------------------------------------------------------
   Long-form pages */
.lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }
.banner { background: var(--accent-soft); border-radius: 14px; padding: 0.9rem 1.1rem; margin: 1.25rem 0; max-width: 46rem; text-align: left; }
.banner p { margin: 0; }
.doc { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: 3rem; }
.doc > h1 { margin-bottom: 0.75rem; font-family: var(--round); }
.doc h2 { margin-top: 2.5rem; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); }
.doc h3 { margin-top: 1.75rem; }
.doc ul, .doc ol { padding-left: 1.3rem; }
.doc li { margin-bottom: 0.35rem; }
.doc a { overflow-wrap: anywhere; } /* long source URLs in the legal documents fit a 390 px screen */
.doc img, .doc svg { max-width: 100%; height: auto; }
.doc table { margin: 1rem 0 1.5rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; gap: 0.5rem; font-size: 0.9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.docs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 13rem; gap: 3rem; align-items: start; }
.doc-nav { position: sticky; top: 1.5rem; padding-top: clamp(2.5rem, 6vw, 4.5rem); font-size: 0.92rem; }
.doc-nav h2 { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; font-weight: 600; letter-spacing: 0; }
.doc-nav ol { list-style: none; padding: 0; margin: 0; }
.doc-nav li { padding: 0.3rem 0; border-top: 1px solid var(--line); }
.doc-nav a { color: var(--muted); text-decoration: none; }
.doc-nav a:hover { color: var(--ink); text-decoration: underline; }
.doc-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 52rem) {
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .doc-nav { position: static; padding-top: 0; padding-bottom: 3rem; }
}
.doc-index, .release-list { list-style: none; padding: 0; }
.doc-index li, .release-list li { border-top: 1px solid var(--line); padding: 1rem 0; margin: 0; }
.doc-index a, .release-list a { font-weight: 600; font-size: 1.1rem; }
.doc-index p, .release-list p { margin: 0.3rem 0 0; color: var(--muted); }
.release-list .meta { color: var(--muted); margin-left: 0.75rem; font-size: 0.95rem; }
.source-note { color: var(--muted); font-size: 0.9rem; margin-top: 2.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.status { list-style: none; padding: 0; }
.status li { position: relative; padding: 0.9rem 0 0.9rem 1.6rem; border-top: 1px solid var(--line); margin: 0; }
.status li:last-child { border-bottom: 1px solid var(--line); }
.status li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--pending); }
.status .status-ok::before { background: var(--ok); }
.diagram { margin: 1rem 0 1.5rem; }
.diagram svg { width: 100%; height: auto; display: block; }
.flow .box { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.flow .box.mac { fill: var(--surface); stroke: var(--accent); }
.flow .box.opt { fill: var(--bg); stroke: var(--muted); stroke-dasharray: 5 4; }
.flow .label { fill: var(--ink); font: 500 15px var(--font); }
.flow .label.strong { font-weight: 700; }
.flow .label.small { fill: var(--muted); font-size: 12.5px; font-weight: 400; }
.flow .arrow { stroke: var(--ink); stroke-width: 2; fill: none; }
.flow .arrow.dashed { stroke: var(--muted); stroke-dasharray: 5 4; }
.doc .setup-steps > li { margin-bottom: 0.9rem; }
.doc .setup-steps p { margin: 0 0 0.4rem; }
.doc .setup-steps ul { margin: 0.4rem 0 0; }

/* ---------------------------------------------------------------------------------------------------------------
   Footer: the design's single row */
.site-footer { padding: 40px 0 48px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line-soft); }
.foot { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: baseline; }
.foot-c { margin: 0; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-w { flex-basis: 100%; margin: 8px 0 0; }
.fineprint { font-size: 13px; line-height: 1.5; color: var(--muted); }
.placeholder { color: var(--muted); font-style: italic; border-bottom: 1px dashed var(--line); cursor: help; }

/* Pages the app bundles (scripts/build-app.sh): no wrapper classes, so lay the three landmarks out directly. */
body:not(.site) > header, body:not(.site) > main, body:not(.site) > footer { max-width: 54rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
body:not(.site) > header { padding-top: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
body:not(.site) > header .brand { color: var(--ink); font-size: 1.15rem; }
body:not(.site) > header nav a { margin-left: 1.25rem; color: var(--muted); text-decoration: none; }
body:not(.site) > main.doc { padding-top: 2rem; }
body:not(.site) > footer { border-top: 1px solid var(--line); padding-top: 1.5rem; padding-bottom: 3rem; color: var(--muted); font-size: 0.9rem; margin-top: 2rem; }

/* ---------------------------------------------------------------------------------------------------------------
   Tablet and phone (the design's 1040 px and 760 px container breakpoints) */
@media (max-width: 65rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-copy { max-width: 640px; }
  .hart { max-width: 600px; margin: 0 auto; }
  .demo-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 47.5rem) {
  .h2, .h2-s { font-size: 34px; line-height: 38px; }
  .lead { font-size: 17px; line-height: 26px; }
  .sec { padding-top: 72px; }
  .hero { padding-top: 68px; }
  .hero-grid { gap: 36px; padding-top: 32px; padding-bottom: 70px; }
  .hero-h1 { font-size: 60px; line-height: 60px; }
  .hero-sub { font-size: 18px; line-height: 27px; }
  .btn { height: 48px; padding: 0 20px; font-size: 15px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .freeb { font-size: 13.5px; padding-right: 12px; }
  .mbr span:nth-child(3), .mbr span:nth-child(4), .mbr span:nth-child(5) { display: none; }
  .desk { height: 300px; }
  .win { left: 10px; right: 10px; height: 178px; }
  .wbody { height: 112px; font-size: 13.5px; line-height: 20px; padding: 10px 12px; }
  .mbar { bottom: 58px; } .mbar.is-rest { bottom: 69px; }
  .sdock { gap: 1px; padding: 4px 5px; }
  .sd { width: 32px; height: 36px; }
  .tile-dock { width: 30px; height: 30px; font-size: 18px; }
  .say { font-size: 14px; line-height: 21px; flex-direction: column; gap: 2px; }
  .say-t { flex: none; }
  .kb2 { grid-template-columns: 48px 48px 48px 58px minmax(0, 1fr); gap: 6px; padding: 10px; }
  .k2 { height: 46px; padding: 5px 7px; font-size: 10.5px; }
  .k2.rt { display: none; }
  .apps-h { font-size: 28px; line-height: 38px; }
  .tile-rot { width: 30px; height: 30px; font-size: 18px; }
  .tile-ap { width: 36px; height: 36px; font-size: 21px; }
  .ap { font-size: 14px; }
  .mq-t { gap: 28px; }
  .steps, .speed, .plans { grid-template-columns: minmax(0, 1fr); }
  .speed { gap: 32px; }
  .demo-card { padding: 22px; }
  .tabs { grid-template-columns: minmax(0, 1fr); }
  .ctxt { font-size: 18px; line-height: 28px; }
  .ctxt-out { font-size: 19px; line-height: 29px; }
  .clean-h { font-size: 30px; line-height: 34px; }
  .ghost, .dnav { display: none; }
  .fronts { margin-right: 0; }
  .front { padding: 22px; min-height: 0; }
  .stage { min-height: 200px; padding: 18px; }
  .st-row { gap: 16px; }
  .fd { width: 42px; height: 42px; }
  .fdock { justify-content: flex-start; }
  .pv { padding: 72px 0; }
  .pcard { padding: 30px 22px 24px; border-radius: 24px; }
  .pc-h { margin-top: 34px; font-size: 38px; line-height: 41px; }
  .pc-p { font-size: 17px; line-height: 27px; }
  .pc-pts { flex-direction: column; gap: 12px; }
  .pc-f { flex-direction: column; align-items: flex-start; }
  .pricing-sec { padding-top: 80px; }
  .plan { padding: 28px 24px; }
  .chks-2 { grid-template-columns: minmax(0, 1fr); }
  .faq-sec { padding-bottom: 72px; }
  .final-h { font-size: 40px; line-height: 44px; }
  .final-in { padding-top: 88px; padding-bottom: 88px; }
  .fic { width: 40px; height: 40px; font-size: 22px; opacity: 0.35; }
  .cta-wave { margin: -150px 0 0 -170px; width: 340px; height: 300px; gap: 18px; }
  .cta-wave i { width: 26px; }
}

/* Loops pause when their element is off-screen (site.js) or the tab is hidden. */
.is-paused *, .is-paused *::before, .is-paused *::after, .is-hidden [data-loop] * { animation-play-state: paused !important; }

@keyframes mm-wave { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
@keyframes mm-think { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes mm-type { 0%, 12% { width: 0; } 62%, 100% { width: 100%; } }
@keyframes mm-press { 0%, 8%, 62%, 100% { transform: translateY(0); box-shadow: 0 8px 0 #0a3d91; background: #fff; color: #111112; } 14%, 56% { transform: translateY(6px); box-shadow: 0 2px 0 #0a3d91, 0 0 0 10px rgba(23, 147, 255, 0.25); background: #0064d4; color: #fff; } }
@keyframes mm-halo { 0%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 0 6px rgba(23, 147, 255, 0.18), 0 0 34px 6px rgba(23, 147, 255, 0.35); } 50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 0 10px rgba(23, 147, 255, 0.1), 0 0 52px 12px rgba(23, 147, 255, 0.45); } }
@keyframes mm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mm-marquee-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes mm-float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-16px) scale(1.04); } }
@keyframes mm-drift { 0%, 100% { transform: translate(0, 0) rotate(-5deg); } 33% { transform: translate(8px, -16px) rotate(3deg); } 66% { transform: translate(-6px, -6px) rotate(-1deg); } }
@keyframes mm-bar { from { width: 0; } }
@keyframes mm-pop { 0%, 60% { transform: scale(0.3); opacity: 0; } 70% { transform: scale(1.2); opacity: 1; } 80%, 100% { transform: scale(1); opacity: 1; } }
@keyframes mm-blink { 50% { opacity: 0; } }
@keyframes mm-paste { from { opacity: 0; } to { opacity: 1; } }
@keyframes mm-ring { from { box-shadow: 0 0 12px 2px rgba(76, 217, 100, 0.75); } to { box-shadow: 0 0 0 0 rgba(76, 217, 100, 0); } }
@keyframes mm-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(23, 147, 255, 0.55), 0 2px 0 #0a3d91; } 50% { box-shadow: 0 0 0 9px rgba(23, 147, 255, 0), 0 2px 0 #0a3d91; } }
@keyframes mm-word { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes mm-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes mm-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes mm-slide { from { opacity: 0; transform: translateX(40px) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes mm-rot { from { opacity: 0; transform: translateY(14px); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes mm-rot-b { from { opacity: 0; transform: translateY(14px); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes mm-shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* ---------------------------------------------------------------------------------------------------------------
   Reduced motion: every loop stops in its final state; the marquee becomes a static wrap. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mq { -webkit-mask-image: none; mask-image: none; }
  .mq-t { width: auto; flex-wrap: wrap; justify-content: center; gap: 16px 28px; padding: 8px 20px; }
  .mq-t .ap:nth-child(n+11) { display: none; }
  .mq-t.r .ap:nth-child(n+10) { display: none; }
  .how-line { width: 100%; }
  .freeb::after { display: none; }
}
