/* Znimai — public site (landing, pricing, download, legal, sign-in).
   Direction: a precision optics instrument. Hairlines, crop marks, measurement labels. */

/* ---------- tokens ---------- */
:root {
  --paper: #f6f5f1;
  --paper-2: #eeece5;
  --card: #fffefb;
  --ink: #121318;
  --ink-2: #44474f;
  --ink-3: #85878f;
  --line: rgba(18, 19, 24, .13);
  --line-2: rgba(18, 19, 24, .07);
  --accent: #5468ff;
  --accent-2: #3d4ff0;
  --accent-soft: rgba(84, 104, 255, .11);
  --accent-ink: #ffffff;
  --rec: #ff4d3d;
  --ok: #16a67c;
  --dark: #0c0d11;
  --dark-2: #15171d;
  --on-dark: #eceae4;
  --dot: rgba(18, 19, 24, .16);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 1px 2px rgba(18, 19, 24, .05), 0 18px 40px -24px rgba(18, 19, 24, .28);
  --shadow-mock: 0 40px 80px -40px rgba(18, 19, 24, .55), 0 0 0 1px rgba(18, 19, 24, .08);
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 14px;
  --header-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b0c0f; --paper-2: #111217; --card: #15161b; --ink: #eceae4; --ink-2: #b3b4ba; --ink-3: #7b7e87;
    --line: rgba(236, 234, 228, .13); --line-2: rgba(236, 234, 228, .06); --accent: #7486ff; --accent-2: #8c9bff;
    --accent-soft: rgba(116, 134, 255, .15); --accent-ink: #0b0c0f; --dot: rgba(236, 234, 228, .12);
    --shadow-card: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 20px 50px -30px rgba(0, 0, 0, .9);
    --shadow-mock: 0 40px 90px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(236, 234, 228, .08);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0b0c0f; --paper-2: #111217; --card: #15161b; --ink: #eceae4; --ink-2: #b3b4ba; --ink-3: #7b7e87;
  --line: rgba(236, 234, 228, .13); --line-2: rgba(236, 234, 228, .06); --accent: #7486ff; --accent-2: #8c9bff;
  --accent-soft: rgba(116, 134, 255, .15); --accent-ink: #0b0c0f; --dot: rgba(236, 234, 228, .12);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 20px 50px -30px rgba(0, 0, 0, .9);
  --shadow-mock: 0 40px 90px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(236, 234, 228, .08);
  color-scheme: dark;
}

@property --w { syntax: "<integer>"; inherits: false; initial-value: 0; }
@property --h { syntax: "<integer>"; inherits: false; initial-value: 0; }
@property --t { syntax: "<integer>"; inherits: false; initial-value: 0; }
@property --p { syntax: "<integer>"; inherits: false; initial-value: 0; }
@property --v { syntax: "<integer>"; inherits: false; initial-value: 0; }
@property --ph { syntax: "<integer>"; inherits: false; initial-value: 0; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body.site { margin: 0; font: 16px/1.6 var(--sans); background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.site::before { /* film grain */
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .055; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body.site::before { mix-blend-mode: screen; opacity: .04; } }
/* Low-specificity resets (:where) so component classes always win. */
:where(body.site) a { color: inherit; }
:where(body.site) img { max-width: 100%; }
:where(body.site) :is(h1, h2, h3, h4) { margin: 0; font-weight: 650; }
:where(body.site) p { margin: 0; }
body.site :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--mono); font-feature-settings: "zero"; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: var(--paper) !important; text-decoration: none; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 760px; }
.i { flex: none; vertical-align: middle; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 720; font-size: clamp(42px, 6.4vw, 88px); line-height: .94; letter-spacing: -.045em; font-variation-settings: "opsz" 96; }
.display-sm { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4.2vw, 56px); line-height: 1; letter-spacing: -.04em; font-variation-settings: "opsz" 72; }
.display-xs { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.05; letter-spacing: -.03em; font-variation-settings: "opsz" 48; }
.display em, .display-sm em, .display-xs em { font-style: normal; color: var(--accent); }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 600px; }
.muted-p { color: var(--ink-2); margin-top: 14px !important; max-width: 420px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px !important; }
.eyebrow a { display: inline-flex; align-items: center; gap: 4px; color: var(--accent) !important; text-decoration: none; text-transform: none; letter-spacing: 0; padding-left: 10px; border-left: 1px solid var(--line); }
.eyebrow a:hover { text-decoration: underline; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rec) 18%, transparent); animation: recPulse 1.6s ease-in-out infinite; }
@keyframes recPulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--rec) 0%, transparent); } }

/* ---------- buttons ---------- */
.s-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px;
  border: 1px solid transparent; font: 600 14.5px/1 var(--sans); letter-spacing: -.005em; text-decoration: none !important; cursor: pointer;
  white-space: nowrap; transition: transform .15s ease, background .15s, border-color .15s, box-shadow .15s, color .15s;
}
.s-btn:active { transform: translateY(1px); }
.s-btn-primary { background: var(--accent); color: var(--accent-ink) !important; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 20px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.s-btn-primary:hover { background: var(--accent-2); }
.s-btn-outline { border-color: var(--line); background: color-mix(in srgb, var(--card) 70%, transparent); color: var(--ink) !important; }
.s-btn-outline:hover { border-color: var(--ink-3); background: var(--card); }
.s-btn-quiet { color: var(--ink) !important; background: transparent; }
.s-btn-quiet:hover { background: var(--line-2); }
.s-btn-light { background: #f6f5f1; color: #121318 !important; }
.s-btn-light:hover { background: #fff; }
.s-btn-ghost-light { border-color: rgba(236, 234, 228, .25); color: #eceae4 !important; }
.s-btn-ghost-light:hover { border-color: rgba(236, 234, 228, .6); }
.s-btn-lg { height: 48px; padding: 0 22px; font-size: 15.5px; border-radius: 12px; }
.s-btn-xl { height: 60px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.s-btn-block { width: 100%; }
.s-btn.is-disabled { border-color: var(--line); color: var(--ink-3) !important; background: var(--paper-2); cursor: default; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent) !important; font-weight: 600; text-decoration: none; margin-top: 18px; }
.text-link:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 78%, transparent); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.sh-inner { max-width: 1200px; height: var(--header-h); margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 28px; }
.sh-brand { display: inline-flex; align-items: center; gap: 10px; font: 700 19px/1 var(--display); letter-spacing: -.03em; color: var(--ink) !important; text-decoration: none !important; }
.sh-brand .logo-mark { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25)); }
.sh-nav { display: flex; gap: 2px; }
.sh-link { position: relative; padding: 8px 12px; border-radius: 8px; color: var(--ink-2) !important; font-size: 14.5px; font-weight: 500; text-decoration: none !important; }
.sh-link:hover { color: var(--ink) !important; background: var(--line-2); }
.sh-link.is-active { color: var(--ink) !important; }
.sh-link.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); }
.sh-actions { margin-left: auto; display: flex; gap: 6px; }
.sh-actions .s-btn { height: 36px; font-size: 14px; }
.sh-burger { display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; position: relative; }
.sh-burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .2s, top .2s; }
.sh-burger span:first-child { top: 15px; }
.sh-burger span:last-child { top: 23px; }
.sh-burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.sh-burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
.sh-panel { border-top: 1px solid var(--line); padding: 8px 20px 20px; background: var(--paper); }
.sh-panel nav { display: flex; flex-direction: column; }
.sh-panel nav a { display: flex; align-items: baseline; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line-2); font: 650 22px/1.1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.sh-panel nav a .mono { font-size: 11px; color: var(--ink-3); font-weight: 400; }
.sh-panel nav a.is-active { color: var(--accent); }
.sh-panel-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.sh-panel-actions .s-btn { height: 46px; }
.sh-panel-actions .s-btn:only-child { grid-column: 1 / -1; }
.sh-panel-actions .s-btn-quiet { border-color: var(--line); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 0; padding: 64px 0 28px; }
.sf-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.sf-brand p { color: var(--ink-2); font-size: 14.5px; max-width: 320px; margin-top: 14px; }
.sf-spec { display: block; margin-top: 18px; font-size: 11px; color: var(--ink-3); letter-spacing: .06em; }
.sf-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sf-cols h4 { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 16px; }
.sf-cols a { display: block; padding: 5px 0; color: var(--ink-2) !important; text-decoration: none; font-size: 14.5px; }
.sf-cols a:hover { color: var(--accent) !important; text-decoration: none; }
.sf-base { max-width: 1200px; margin: 48px auto 0; padding: 20px 28px 0; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--ink-3); }

/* ---------- sections ---------- */
.site-main { display: block; }
.section { padding: 110px 0; position: relative; }
.section-tight { padding-top: 24px; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.page-hero { padding: 96px 0 56px; background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 22px 22px; background-position: -11px -11px; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.page-hero .lede { margin-top: 22px; }
.center-link { text-align: center; margin-top: 36px; }
.center-link a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; text-decoration: none; }
.center-link a:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero-title { margin-bottom: 26px; }
.hero-mark { position: relative; display: inline-block; padding: 0 .08em; color: var(--ink); white-space: nowrap; }
.hero-mark span { position: relative; z-index: 1; }
.hero-mark i { position: absolute; inset: -.04em -.06em .02em; border: 1.5px solid var(--accent); background: var(--accent-soft); transform-origin: 0 0; animation: markDraw 1.1s cubic-bezier(.6, 0, .2, 1) .45s both; }
.hero-mark i::before, .hero-mark i::after { content: ""; position: absolute; width: 7px; height: 7px; background: var(--card); border: 1.5px solid var(--accent); }
.hero-mark i::before { left: -4.5px; top: -4.5px; }
.hero-mark i::after { right: -4.5px; bottom: -4.5px; }
.hero-mark b { position: absolute; right: -.06em; top: calc(100% + 8px); font-size: 11px; font-weight: 500; letter-spacing: .02em; color: #fff; background: var(--accent); padding: 3px 7px; border-radius: 5px; animation: fadeUp .4s ease 1.5s both; }
@keyframes markDraw { from { clip-path: inset(0 100% 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }
.hero-copy > * { animation: fadeUp .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-spec { display: flex; flex-wrap: wrap; gap: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.hero-spec div { padding: 14px 22px 0 0; margin-right: 22px; border-right: 1px solid var(--line-2); }
.hero-spec div:last-child { border-right: 0; }
.hero-spec dt { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hero-spec dd { margin: 4px 0 0; font-size: 13.5px; color: var(--ink); }
.hero-visual { animation: fadeUp 1s cubic-bezier(.2, .7, .2, 1) .2s both; }
.hero-strip { display: flex; justify-content: space-between; gap: 14px; margin-top: 72px !important; padding-top: 18px !important; border-top: 1px solid var(--line); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); overflow: hidden; }
.hero-strip span { white-space: nowrap; }
.hero-strip span::before { content: "+ "; color: var(--accent); }

/* ---------- features ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line-2); }
.feature:first-of-type { border-top: 0; }
.feature.flip .feature-copy { order: 2; }
.feature-copy h3 { margin-bottom: 18px; }
.feature-copy > p:not(.eyebrow) { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.feat-n { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); }
.specs { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.specs li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.specs li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border: 1.5px solid var(--accent); border-radius: 3px; background: linear-gradient(var(--accent), var(--accent)) center / 4px 4px no-repeat; }

.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.fg-item { position: relative; padding: 30px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; }
.fg-item:hover { background: var(--card); }
.fg-item:hover .fg-icon { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.fg-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); color: var(--accent); margin-bottom: 20px; transition: all .2s; }
.fg-item h4 { font: 700 19px/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.fg-item p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

.shortcuts-band { background: var(--dark); color: var(--on-dark); --line: rgba(236, 234, 228, .14); --line-2: rgba(236, 234, 228, .07); --ink-2: #b3b4ba; --ink-3: #7b7e87; }
.shortcuts-band .eyebrow { color: #b3b4ba; }
.shortcuts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(236, 234, 228, .12); border: 1px solid rgba(236, 234, 228, .12); border-radius: var(--r); overflow: hidden; }
.sc-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; background: var(--dark); font-weight: 550; }
.keycaps { display: inline-flex; gap: 6px; }
kbd { font-family: var(--sans); }
.keycaps kbd, .keys kbd { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 8px; background: linear-gradient(#2a2c33, #1d1f25); border: 1px solid rgba(255, 255, 255, .12); border-bottom-width: 3px; color: #f2f1ec; font-size: 15px; font-weight: 600; }
.how { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: how; }
.how li { padding-top: 18px; border-top: 1px solid rgba(236, 234, 228, .2); }
.how .mono { font-size: 11px; color: var(--accent); letter-spacing: .1em; }
.how b { display: block; margin: 8px 0 6px; font: 700 22px/1.1 var(--display); letter-spacing: -.02em; }
.how p { color: #b3b4ba; font-size: 15px; }

/* ---------- final cta ---------- */
.final-cta { background: var(--dark); color: var(--on-dark); padding: 110px 0; overflow: hidden; position: relative; }
.final-cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(236, 234, 228, .09) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 20% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 20% 50%, #000, transparent 70%); }
.final-inner { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; }
.final-cta .display { font-size: clamp(36px, 5vw, 68px); }
.final-cta .display em { color: #9aa6ff; }
.final-cta .lede { color: #b3b4ba; margin-top: 18px; }
.iris { width: 100%; height: auto; display: block; }
.iris-ring { fill: none; stroke: rgba(236, 234, 228, .18); stroke-width: 1; stroke-dasharray: 2 5; }
.iris-blades path { fill: rgba(116, 134, 255, .16); stroke: rgba(154, 166, 255, .65); stroke-width: .8; }
.iris-blades { transform-origin: 100px 100px; animation: irisSpin 40s linear infinite; }
.iris-hole { fill: #0c0d11; stroke: #9aa6ff; stroke-width: 1.2; }
@keyframes irisSpin { to { transform: rotate(360deg); } }

/* ---------- pricing ---------- */
.pricing { --cols: 3; }
.interval { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: max-content; margin: 0 auto 40px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.interval button { position: relative; z-index: 1; height: 38px; padding: 0 18px; border: 0; background: none; border-radius: 999px; font: 600 14px/1 var(--sans); color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; justify-content: center; transition: color .2s; }
.interval button[aria-checked="true"] { color: var(--paper); }
.interval-badge { font: 500 10.5px/1 var(--mono); letter-spacing: .02em; padding: 4px 6px; border-radius: 6px; background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.interval button[aria-checked="true"] .interval-badge { background: rgba(255, 255, 255, .18); color: inherit; }
.interval-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
.pricing[data-interval="year"] .interval-thumb { transform: translateX(100%); }
.pc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pc { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow-card); }
.pc header h3 { font: 700 24px/1 var(--display); letter-spacing: -.03em; }
.pc-tag { margin-top: 8px !important; color: var(--ink-2); font-size: 14.5px; min-height: 2.9em; }
.pc-price { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; }
.pc-amount { font: 720 56px/1 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.pc-per { font-size: 14px; color: var(--ink-2); }
.pc-note { margin-top: 8px !important; font: 12.5px/1.4 var(--mono); color: var(--ink-3); min-height: 1.4em; }
.pc .s-btn { margin-top: 24px; height: 46px; }
.pc-list { list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 10px; font-size: 14.5px; }
.pc-list li { display: flex; gap: 10px; align-items: flex-start; }
.pc-list .i { color: var(--accent); margin-top: 3px; }
.pc-popular { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -30px color-mix(in srgb, var(--accent) 60%, transparent); }
.pc-flag { position: absolute; top: -12px; left: 26px; padding: 5px 10px; border-radius: 7px; background: var(--accent); color: var(--accent-ink); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.pc-tick { position: absolute; width: 14px; height: 14px; border-color: var(--ink-3); border-style: solid; opacity: .6; }
.pc-tick.tl { top: 10px; right: 10px; border-width: 1px 1px 0 0; }
.pc-tick.br { bottom: 10px; left: 10px; border-width: 0 0 1px 1px; }
.seats { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 12px; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line-2); }
.seats-label { font-size: 13px; font-weight: 600; }
.stepper { justify-self: end; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--card); overflow: hidden; }
.stepper button { width: 32px; height: 32px; border: 0; background: none; color: var(--ink); font-size: 18px; cursor: pointer; }
.stepper button:hover { background: var(--line-2); }
.stepper input { width: 44px; height: 32px; border: 0; border-inline: 1px solid var(--line); background: transparent; color: var(--ink); text-align: center; font: 600 14px var(--mono); -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.seats-total { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-2); }
.pricing-foot { margin-top: 22px !important; text-align: center; font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; }

.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.cmp { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 14px 20px; text-align: center; border-bottom: 1px solid var(--line-2); }
.cmp thead th { position: sticky; top: 0; padding-top: 22px; padding-bottom: 18px; font: 700 18px/1 var(--display); letter-spacing: -.02em; background: var(--card); border-bottom: 1px solid var(--line); }
.cmp th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink); width: 40%; }
.cmp .is-pro { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.cmp thead th.is-pro { color: var(--accent); }
.cmp-group th { text-align: left !important; padding-top: 26px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); background: transparent !important; }
.cmp-yes { color: var(--accent); display: inline-grid; }
.cmp-no { color: var(--ink-3); }
.cmp tbody:last-child tr:last-child td, .cmp tbody:last-child tr:last-child th { border-bottom: 0; }

/* ---------- faq ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: 40px 1fr 24px; gap: 8px; align-items: center; padding: 22px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-n { font-size: 11px; color: var(--ink-3); }
.faq-q { font: 650 19px/1.3 var(--display); letter-spacing: -.015em; }
.faq-x { position: relative; width: 18px; height: 18px; justify-self: end; }
.faq-x::before, .faq-x::after { content: ""; position: absolute; left: 2px; right: 2px; top: 8px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.faq-x::after { transform: rotate(90deg); }
.faq-item[open] .faq-x::after { transform: rotate(0); }
.faq-item summary:hover .faq-q { color: var(--accent); }
.faq-a { padding: 0 32px 24px 48px; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.faq-item[open] .faq-a { animation: fadeUp .3s ease both; }

/* ---------- download ---------- */
.dl-hero { padding-bottom: 40px; }
.dl-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.dl-card { margin-top: 36px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow-card); max-width: 560px; }
.dl-card .s-btn-xl { width: 100%; }
.dl-meta { display: grid; grid-template-columns: repeat(4, auto); gap: 18px; margin: 22px 0 0; }
.dl-meta dt, .req dt { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.dl-meta dd, .req dd { margin: 4px 0 0; font-size: 13.5px; }
.dl-sha { margin-top: 18px !important; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 11px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-art { max-width: 340px; justify-self: center; width: 100%; padding: 24px; border-radius: 50%; background: var(--dark); box-shadow: var(--shadow-mock); }
.dl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.dl-block h2 { margin-bottom: 22px; }
.dl-req-h { margin-top: 48px; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.steps .mono { font-size: 12px; color: var(--accent); padding-top: 3px; }
.steps b { font-size: 16.5px; }
.steps p { color: var(--ink-2); font-size: 14.5px; margin-top: 3px; }
.steps code, .legal code { font-family: var(--mono); font-size: .88em; padding: 1px 5px; border-radius: 5px; background: var(--paper-2); word-break: break-all; }
.notes-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.notes-list li { position: relative; padding-left: 22px; color: var(--ink-2); }
.notes-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border: 1.5px solid var(--accent); border-radius: 2px; }
.req { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; }

/* ---------- legal ---------- */
.legal h2 { font: 700 22px/1.2 var(--display); letter-spacing: -.02em; margin: 36px 0 10px; }
.legal p { color: var(--ink-2); line-height: 1.7; }
.legal-date { margin-top: 48px !important; font-size: 12px; color: var(--ink-3) !important; }

/* ---------- public changelog (app styles inside the site shell) ---------- */
body.page-changelog .public-changelog { font-size: 14px; }
body.page-changelog .cl-hero h1 { font: 720 clamp(36px, 5vw, 60px)/1 var(--display); letter-spacing: -.04em; }
body.page-changelog .changelog { padding-top: 72px; }

/* =====================================================================
   Mockups. A 960×600 stage scaled to its figure (--k, set by site.js).
   Every .a element loops over --loop; reduced motion freezes at --freeze.
   ===================================================================== */
.mock { position: relative; margin: 0; aspect-ratio: 960 / 600; border-radius: 16px; }
.feature-visual { padding-bottom: 34px; }
.mock-stage { position: absolute; left: 0; top: 0; width: 960px; height: 600px; transform: scale(var(--k, .55)); transform-origin: 0 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-mock); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--sans); color: #1c1d22; isolation: isolate; }
.mock .tick { position: absolute; width: 18px; height: 18px; border: 0 solid var(--ink-3); opacity: .7; pointer-events: none; }
.mock .t1 { left: -12px; top: -12px; border-width: 1px 0 0 1px; }
.mock .t2 { right: -12px; top: -12px; border-width: 1px 1px 0 0; }
.mock .t3 { left: -12px; bottom: -12px; border-width: 0 0 1px 1px; }
.mock .t4 { right: -12px; bottom: -12px; border-width: 0 1px 1px 0; }
.mock-cap { position: absolute; left: 0; right: 0; top: calc(100% + 18px); display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.mock .a { animation-duration: var(--loop); animation-iteration-count: infinite; animation-timing-function: linear; animation-fill-mode: both; animation-play-state: running; }
.mock.is-paused .a { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .mock .a { animation-play-state: paused !important; animation-delay: var(--freeze) !important; }
  .hero-mark i, .hero-mark b, .hero-copy > *, .hero-visual, .iris-blades, .rec-dot { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* desktop + menubar + windows */
.desk { position: absolute; inset: 0; overflow: hidden; }
.wall-1 { background: radial-gradient(120% 90% at 10% 0%, #8fa2ff 0%, transparent 55%), radial-gradient(90% 80% at 100% 100%, #ff9a7a 0%, transparent 60%), linear-gradient(135deg, #3b3f8f, #7a5ea8 55%, #e08a7a); }
.wall-2 { background: radial-gradient(100% 80% at 90% 10%, #7fd4c1 0%, transparent 55%), radial-gradient(90% 90% at 0% 100%, #4a5bd8 0%, transparent 60%), linear-gradient(160deg, #1f3a5c, #2f6f7a); }
.wall-3 { background: radial-gradient(90% 80% at 20% 10%, #ffcf8a 0%, transparent 55%), radial-gradient(100% 90% at 100% 90%, #d0587a 0%, transparent 60%), linear-gradient(135deg, #6b3a74, #c76a5c); }
.wall-4 { background: radial-gradient(90% 80% at 80% 0%, #9cc3ff 0%, transparent 55%), linear-gradient(170deg, #26304d, #4b5a8a 60%, #8a9ad0); }
.wall-5 { background: radial-gradient(100% 80% at 0% 0%, #b9a5ff 0%, transparent 55%), radial-gradient(80% 80% at 100% 100%, #72d1b8 0%, transparent 60%), linear-gradient(150deg, #2c2b55, #43406f); }
.wall-hero { background: radial-gradient(120% 90% at 0% 0%, #a6b2ff 0%, transparent 50%), radial-gradient(100% 90% at 100% 100%, #ffb38f 0%, transparent 55%), linear-gradient(140deg, #303786 0%, #6d58a8 50%, #e2907e 100%); }
.mb { position: absolute; left: 0; right: 0; top: 0; z-index: 20; height: 26px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; background: rgba(255, 255, 255, .28); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: #111; font-size: 13px; }
.mb-l, .mb-r { display: flex; align-items: center; gap: 16px; }
.mb-l b { font-weight: 700; }
.mb-iris { display: block; border-radius: 50%; }
.mb-iris-on { display: grid; place-items: center; width: 28px; height: 22px; border-radius: 5px; background: rgba(255, 255, 255, .5); }
.win { position: absolute; background: #fbfbfc; border-radius: 12px; overflow: hidden; box-shadow: 0 34px 70px -24px rgba(10, 10, 30, .6), 0 0 0 .5px rgba(0, 0, 0, .25); }
.win-bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: #eeeef1; border-bottom: 1px solid #dedee3; font-size: 12px; color: #6a6b72; }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; flex: none; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { flex: 1; text-align: center; margin-right: 54px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-body { position: absolute; top: 30px; left: 0; right: 0; bottom: 0; overflow: hidden; background: #fff; }

/* skeleton page */
.doc { padding: 18px 22px; background: #fff; }
.doc-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.doc-nav span { height: 8px; width: 46px; border-radius: 4px; background: #e2e3e8; }
.doc-nav .doc-logo { width: 22px; height: 22px; border-radius: 7px; background: #1c1d22; }
.doc-nav .doc-btn { margin-left: auto; width: 70px; height: 24px; border-radius: 7px; background: #5468ff; }
.doc-h { width: 58%; height: 22px; border-radius: 6px; background: #1c1d22; margin-bottom: 12px; }
.doc-l { height: 9px; border-radius: 5px; background: #e4e5ea; margin: 0 0 10px; }
.doc .w50 { width: 50%; } .doc .w60 { width: 60%; } .doc .w70 { width: 70%; } .doc .w75 { width: 75%; } .doc .w80 { width: 80%; } .doc .w85 { width: 85%; } .doc .w90 { width: 90%; }
.notes .doc-l { margin: 0 0 14px; } .notes { padding: 22px; } .notes .w50 { width: 50%; } .notes .w60 { width: 60%; } .notes .w70 { width: 70%; } .notes .w75 { width: 75%; } .notes .w85 { width: 85%; } .notes .w90 { width: 90%; }
.doc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.doc-card { height: 96px; border-radius: 10px; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.doc-card span { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .75); width: 70%; }
.doc-card span + span { width: 45%; background: rgba(255, 255, 255, .45); }
.doc-a .c1 { background: linear-gradient(135deg, #5468ff, #8a7dff); } .doc-a .c2 { background: linear-gradient(135deg, #16a67c, #5fd3a8); } .doc-a .c3 { background: linear-gradient(135deg, #f59e0b, #ffc65c); }
.doc-b .c1 { background: linear-gradient(135deg, #ec4899, #f9a8d4); } .doc-b .c2 { background: linear-gradient(135deg, #7c3aed, #b794ff); } .doc-b .c3 { background: linear-gradient(135deg, #0ea5e9, #7dd3fc); }
.doc-c .c1 { background: linear-gradient(135deg, #22c55e, #86efac); } .doc-c .c2 { background: linear-gradient(135deg, #f97316, #fdba74); } .doc-c .c3 { background: linear-gradient(135deg, #5468ff, #a5b4fc); }

/* macOS arrow cursor */
.cursor { position: absolute; left: 0; top: 0; z-index: 30; width: 22px; height: 32px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 32'%3E%3Cpath d='M2 2v23l6-6 4 10 4-2-4-9h8z' fill='%23000' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }

/* ---- hero mock: menu-bar menu ---- */
.mock-hero .mock-stage { border-radius: 22px; }
.hero-win { left: 40px; top: 96px; width: 560px; height: 430px; }
.hero-menu { position: absolute; z-index: 25; left: 588px; top: 30px; width: 300px; padding: 6px; border-radius: 12px; background: rgba(246, 246, 248, .86); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); box-shadow: 0 24px 60px -16px rgba(10, 10, 30, .55), 0 0 0 .5px rgba(0, 0, 0, .25); font-size: 13.5px; }
.hm-item { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; }
.hm-item kbd { font: 13px -apple-system, var(--sans); color: #77787f; letter-spacing: .06em; }
.hm-sep { height: 1px; margin: 5px 10px; background: rgba(0, 0, 0, .1); }
.hm-hl { position: absolute; z-index: 0; left: 6px; right: 6px; top: 6px; height: 28px; border-radius: 6px; background: #5468ff; animation-name: hmMove; animation-timing-function: steps(1, end) !important; }
@keyframes hmMove {
  0% { transform: translateY(0); } 16% { transform: translateY(28px); } 28% { transform: translateY(56px); }
  40% { transform: translateY(123px); } 54% { transform: translateY(179px); } 68% { transform: translateY(246px); } 84% { transform: translateY(274px); } 100% { transform: translateY(0); }
}
.hero-sel { position: absolute; z-index: 4; left: 96px; top: 168px; width: 400px; height: 250px; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2), 0 0 0 2000px rgba(8, 9, 20, .18); }
.hero-sel span { position: absolute; right: 0; top: calc(100% + 8px); padding: 3px 7px; border-radius: 5px; background: rgba(12, 13, 17, .78); color: #fff; font-size: 12px; }
.hero-sel::before, .hero-sel::after { content: ""; position: absolute; width: 8px; height: 8px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
.hero-sel::before { left: -5px; top: -5px; }
.hero-sel::after { right: -5px; bottom: -5px; }

/* ---- a) capture area ---- */
.cap-win { left: 60px; top: 62px; width: 610px; height: 420px; }
.cap-win2 { left: 560px; top: 200px; width: 340px; height: 320px; }
.cap-sel { position: absolute; z-index: 10; left: 150px; top: 118px; width: 0; height: 0; border: 1px solid #fff; box-shadow: 0 0 0 3000px rgba(8, 9, 16, .42); animation-name: capSel; }
@keyframes capSel {
  0% { opacity: 0; width: 0; height: 0; }
  4% { opacity: 1; width: 0; height: 0; }
  14% { width: 0; height: 0; animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  50% { width: 520px; height: 332px; }
  60% { opacity: 1; width: 520px; height: 332px; }
  61%, 100% { opacity: 0; width: 520px; height: 332px; }
}
.cap-sel .h { position: absolute; width: 7px; height: 7px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
.cap-sel .tl { left: -4px; top: -4px; } .cap-sel .tr { right: -4px; top: -4px; } .cap-sel .bl { left: -4px; bottom: -4px; } .cap-sel .br { right: -4px; bottom: -4px; }
.cap-wh { position: absolute; left: calc(100% + 10px); top: calc(100% + 8px); padding: 4px 8px; border-radius: 6px; background: rgba(12, 13, 17, .82); color: #fff; font-size: 13px; white-space: nowrap; counter-reset: w var(--w) h var(--h); animation-name: capWH; }
.cap-wh::after { content: counter(w) " × " counter(h); }
@keyframes capWH { 0%, 14% { --w: 0; --h: 0; animation-timing-function: cubic-bezier(.45, 0, .25, 1); } 50%, 100% { --w: 1040; --h: 664; } }
.cap-x { position: absolute; z-index: 12; left: 0; top: 0; width: 0; height: 0; animation-name: capX; }
.cap-x::before, .cap-x::after { content: ""; position: absolute; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .6); }
.cap-x::before { left: -13px; top: -.5px; width: 26px; height: 1.5px; }
.cap-x::after { left: -.5px; top: -13px; width: 1.5px; height: 26px; }
@keyframes capX {
  0% { transform: translate(720px, 470px); opacity: 0; }
  4% { opacity: 1; animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  13% { transform: translate(150px, 118px); }
  14% { transform: translate(150px, 118px); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  50%, 60% { transform: translate(670px, 450px); opacity: 1; }
  61%, 100% { transform: translate(670px, 450px); opacity: 0; }
}
.cap-flash { position: absolute; inset: 0; z-index: 15; background: #fff; pointer-events: none; animation-name: capFlash; }
@keyframes capFlash { 0%, 60% { opacity: 0; } 61.5% { opacity: .85; } 70%, 100% { opacity: 0; } }
.cap-thumb { position: absolute; z-index: 16; right: 22px; bottom: 22px; width: 210px; height: 149px; border-radius: 12px; padding: 5px; background: rgba(255, 255, 255, .9); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .55); animation-name: capThumb; }
.cap-thumb-img { width: 100%; height: 100%; border-radius: 8px; background: linear-gradient(180deg, #eeeef1 0 12px, #fff 12px), #fff; overflow: hidden; position: relative; }
.cap-thumb-img::before { content: ""; position: absolute; left: 10px; right: 10px; top: 24px; height: 50px; border-radius: 6px; background: linear-gradient(90deg, #5468ff 0 32%, transparent 32% 34%, #16a67c 34% 66%, transparent 66% 68%, #f59e0b 68%); }
.cap-thumb-img::after { content: ""; position: absolute; left: 10px; right: 40px; top: 86px; height: 7px; border-radius: 4px; background: #e4e5ea; box-shadow: 0 14px 0 #e4e5ea, -0px 28px 0 #e4e5ea; }
@keyframes capThumb { 0%, 63% { transform: translateX(260px); } 70%, 90% { transform: translateX(0); animation-timing-function: cubic-bezier(.5, 0, .7, .2); } 97%, 100% { transform: translateX(260px); } }

/* ---- b) quick access ---- */
.qa-win { left: 70px; top: 58px; width: 640px; height: 430px; }
.qa-card { position: absolute; z-index: 10; right: 22px; bottom: 22px; width: 210px; height: 149px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px -14px rgba(0, 0, 0, .6), 0 0 0 .5px rgba(0, 0, 0, .3); animation-name: qaCard; }
@keyframes qaCard { 0%, 8% { transform: translateX(260px); animation-timing-function: cubic-bezier(.2, .8, .2, 1); } 15%, 88% { transform: translateX(0); animation-timing-function: cubic-bezier(.6, 0, .8, .3); } 95%, 100% { transform: translateX(260px); } }
.qa-shot { position: absolute; inset: 0; overflow: hidden; }
.qa-shot .doc { width: 600px; transform: scale(.35); transform-origin: 0 0; }
.qa-hover { position: absolute; inset: 0; background: rgba(12, 13, 20, .42); backdrop-filter: blur(1.5px); animation-name: qaHover; }
@keyframes qaHover { 0%, 27% { opacity: 0; } 31%, 58% { opacity: 1; } 60%, 100% { opacity: 0; } }
.qa-round { position: absolute; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: #1c1d22; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.qa-round.tl { left: 8px; top: 8px; } .qa-round.tr { right: 8px; top: 8px; } .qa-round.bl { left: 8px; bottom: 8px; } .qa-round.br { right: 8px; bottom: 8px; animation-name: qaClick; }
@keyframes qaClick { 0%, 48% { transform: scale(1); background: rgba(255, 255, 255, .95); color: #1c1d22; } 52% { transform: scale(1.18); background: #5468ff; color: #fff; } 56% { transform: scale(.92); background: #5468ff; color: #fff; } 60%, 100% { transform: scale(1); background: #5468ff; color: #fff; } }
.qa-pills { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; gap: 7px; }
.qa-pill { display: grid; place-items: center; width: 78px; height: 27px; border-radius: 999px; background: rgba(255, 255, 255, .96); color: #1c1d22; font-size: 12.5px; font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.qa-done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; background: rgba(12, 13, 20, .55); backdrop-filter: blur(3px); color: #fff; font-size: 14px; animation-name: qaDone; }
.qa-check { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 6px rgba(34, 197, 94, .25); }
@keyframes qaDone { 0%, 59% { opacity: 0; transform: scale(1.04); } 62%, 86% { opacity: 1; transform: scale(1); } 89%, 100% { opacity: 0; } }
.qa-size { position: absolute; z-index: 9; right: 22px; bottom: 181px; padding: 3px 7px; border-radius: 5px; background: rgba(12, 13, 17, .75); color: #fff; font-size: 11.5px; animation-name: qaSize; }
@keyframes qaSize { 0%, 14% { opacity: 0; transform: translateY(4px); } 18%, 26% { opacity: 1; transform: none; } 30%, 100% { opacity: 0; } }
.qa-cursor { animation-name: qaCursor; }
@keyframes qaCursor {
  0%, 18% { transform: translate(470px, 300px); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
  28%, 44% { transform: translate(830px, 500px); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
  50%, 64% { transform: translate(916px, 556px); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
  80%, 100% { transform: translate(600px, 360px); }
}

/* ---- c) annotate ---- */
.editor { position: absolute; inset: 0; background: #1b1c21; }
.ed-bar { position: absolute; left: 0; right: 0; top: 0; height: 50px; display: flex; align-items: center; gap: 22px; padding: 0 16px; background: #26272d; border-bottom: 1px solid #000; color: #d8d9de; }
.ed-lights { display: flex; gap: 7px; }
.ed-lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.ed-lights i:nth-child(2) { background: #febc2e; } .ed-lights i:nth-child(3) { background: #28c840; }
.ed-tools { position: relative; display: flex; gap: 4px; padding: 3px; border-radius: 9px; background: #1b1c21; }
.ed-tool { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 30px; border-radius: 7px; }
.ed-tool-hl { position: absolute; z-index: 0; left: 3px; top: 3px; width: 34px; height: 30px; border-radius: 7px; background: #5468ff; animation-name: edTool; animation-timing-function: steps(1, end) !important; }
@keyframes edTool { 0% { transform: translateX(0); } 22% { transform: translateX(38px); } 33% { transform: translateX(114px); } 44% { transform: translateX(0); } 58% { transform: translateX(76px); } 72% { transform: translateX(152px); } 100% { transform: translateX(0); } }
.ed-colors { display: flex; gap: 8px; }
.ed-colors i { width: 16px; height: 16px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 2px #26272d, 0 0 0 3.5px #ff3b30; }
.ed-colors i.c2 { background: #ffb020; box-shadow: none; } .ed-colors i.c3 { background: #5468ff; box-shadow: none; }
.ed-done { margin-left: auto; padding: 6px 14px; border-radius: 8px; background: #3a3b42; font-size: 13px; font-weight: 600; }
.ed-canvas { position: absolute; left: 0; right: 0; top: 50px; bottom: 0; background-color: #202127; background-image: linear-gradient(45deg, #24252b 25%, transparent 25% 75%, #24252b 75%), linear-gradient(45deg, #24252b 25%, transparent 25% 75%, #24252b 75%); background-size: 20px 20px; background-position: 0 0, 10px 10px; }
.ed-shot { position: absolute; left: 100px; top: 66px; width: 760px; height: 420px; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .7); }
.ed-shot .doc { width: 760px; }
.ed-form { position: absolute; left: 362px; top: 180px; width: 230px; padding: 10px 12px; border-radius: 10px; background: #f6f6f8; border: 1px solid #e3e3e8; font-size: 11px; }
.ed-field { display: flex; flex-direction: column; margin-bottom: 8px; }
.ed-field span { color: #8a8b92; font-size: 10px; }
.ed-field b { font-size: 12px; color: #1c1d22; }
.ed-submit { height: 22px; border-radius: 6px; background: #5468ff; color: #fff; display: grid; place-items: center; font-weight: 600; }
.ed-pixel { position: absolute; left: 374px; top: 205px; width: 172px; height: 15px; border-radius: 2px; background: repeating-conic-gradient(#b9bbc6 0 25%, #d8d9e0 0 50%) 0 0 / 12px 12px, #ccc; background-blend-mode: multiply; animation-name: edPixel; }
@keyframes edPixel { 0%, 73% { opacity: 0; clip-path: inset(0 100% 0 0); } 80%, 94% { opacity: 1; clip-path: inset(0 0 0 0); } 98%, 100% { opacity: 0; } }
.ed-svg { position: absolute; left: 100px; top: 66px; width: 760px; height: 420px; overflow: visible; }
.ed-arrow { fill: #ff3b30; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }
.ed-arrow.alt { fill: #ffb020; }
.ed-reveal { fill: none; stroke: #fff; stroke-width: 48; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.ed-reveal.r1 { animation-name: edDraw1; }
.ed-reveal.r2 { animation-name: edDraw2; }
@keyframes edDraw1 { 0%, 4% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: cubic-bezier(.5, 0, .3, 1); } 20%, 94% { stroke-dashoffset: 0; opacity: 1; } 98%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes edDraw2 { 0%, 46% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: cubic-bezier(.5, 0, .3, 1); } 57%, 94% { stroke-dashoffset: 0; opacity: 1; } 98%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.ed-rect { fill: none; stroke: #ff3b30; stroke-width: 4; stroke-dasharray: 1 1; stroke-dashoffset: 1; animation-name: edRect; }
@keyframes edRect { 0%, 22% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: cubic-bezier(.5, 0, .3, 1); } 32%, 94% { stroke-dashoffset: 0; opacity: 1; } 98%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.ed-badge { transform-box: fill-box; transform-origin: center; }
.ed-badge circle { fill: #ff3b30; stroke: #fff; stroke-width: 2.5; }
.ed-badge text { fill: #fff; font: 700 16px -apple-system, var(--sans); text-anchor: middle; }
.ed-badge.b1 { animation-name: edBadge1; }
.ed-badge.b2 { animation-name: edBadge2; }
@keyframes edBadge1 { 0%, 34% { transform: scale(0); } 37% { transform: scale(1.25); } 40%, 94% { transform: scale(1); opacity: 1; } 98%, 100% { transform: scale(1); opacity: 0; } }
@keyframes edBadge2 { 0%, 39% { transform: scale(0); } 42% { transform: scale(1.25); } 45%, 94% { transform: scale(1); opacity: 1; } 98%, 100% { transform: scale(1); opacity: 0; } }
.ed-label rect { fill: #ff3b30; }
.ed-label text { fill: #fff; font: 600 16px -apple-system, var(--sans); text-anchor: middle; }
.ed-label { animation-name: edLabel; }
@keyframes edLabel { 0%, 60% { clip-path: inset(0 100% 0 0); opacity: 1; } 70%, 94% { clip-path: inset(0 0 0 0); opacity: 1; } 98%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }

/* ---- d) screen recording ---- */
.rec-win { left: 110px; top: 66px; width: 740px; height: 450px; }
.rec-frame { position: absolute; z-index: 5; left: 150px; top: 92px; width: 660px; height: 396px; border: 2px dashed #ff4d3d; box-shadow: 0 0 0 3000px rgba(8, 9, 16, .38); border-radius: 2px; }
.rec-size { position: absolute; left: -2px; bottom: calc(100% + 8px); padding: 3px 8px; border-radius: 5px; background: #ff4d3d; color: #fff; font-size: 11.5px; }
.rec-pill { position: absolute; z-index: 12; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px 0 7px; border-radius: 999px; background: rgba(22, 23, 28, .9); backdrop-filter: blur(10px); color: #f2f1ec; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .6); }
.rec-stop { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ff4d3d; color: #fff; animation: recPulse 1.6s ease-in-out infinite; }
.rec-time { font-size: 15px; font-weight: 500; min-width: 46px; counter-reset: s var(--t); animation-name: recTime; animation-timing-function: steps(8, end) !important; }
.rec-time::after { content: "0:" counter(s, decimal-leading-zero); }
@keyframes recTime { from { --t: 0; } to { --t: 8; } }
.rec-sep { width: 1px; height: 20px; background: rgba(255, 255, 255, .2); }
.rec-ic { display: grid; place-items: center; color: #c8c9cf; }
.ripple { position: absolute; z-index: 11; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; border: 3px solid #ffc94a; background: rgba(255, 201, 74, .25); opacity: 0; }
.ripple.p1 { left: 312px; top: 196px; animation-name: rip1; }
.ripple.p2 { left: 590px; top: 330px; animation-name: rip2; }
.ripple.p3 { left: 420px; top: 430px; animation-name: rip3; }
@keyframes rip1 { 0%, 14% { opacity: 0; transform: scale(.2); } 15% { opacity: 1; transform: scale(.3); } 24%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes rip2 { 0%, 44% { opacity: 0; transform: scale(.2); } 45% { opacity: 1; transform: scale(.3); } 54%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes rip3 { 0%, 72% { opacity: 0; transform: scale(.2); } 73% { opacity: 1; transform: scale(.3); } 82%, 100% { opacity: 0; transform: scale(1.5); } }
.rec-cursor { animation-name: recCursor; }
@keyframes recCursor {
  0% { transform: translate(470px, 300px); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
  12%, 18% { transform: translate(312px, 196px); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
  42%, 48% { transform: translate(590px, 330px); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
  70%, 78% { transform: translate(420px, 430px); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
  100% { transform: translate(470px, 300px); }
}
.keys { position: absolute; z-index: 12; left: 172px; bottom: 132px; display: flex; gap: 6px; padding: 8px; border-radius: 14px; background: rgba(22, 23, 28, .82); backdrop-filter: blur(8px); animation-name: recKeys; }
.keys kbd { min-width: 42px; height: 42px; font-size: 19px; }
@keyframes recKeys { 0%, 28% { opacity: 0; transform: translateY(10px) scale(.96); } 31%, 56% { opacity: 1; transform: none; } 60%, 100% { opacity: 0; transform: translateY(-6px); } }

/* ---- e) scrolling capture ---- */
.sc-dim { position: absolute; inset: 0; background: rgba(8, 9, 16, .32); }
.sc-frame { position: absolute; z-index: 5; left: 196px; top: 64px; width: 420px; height: 420px; border: 1px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 30px 60px -20px rgba(0, 0, 0, .6); }
.sc-viewport { position: absolute; inset: 0; overflow: hidden; background: #fff; }
.sc-page { animation-name: scPage; }
@keyframes scPage { 0%, 8% { transform: translateY(0); } 86%, 94% { transform: translateY(-930px); } 100% { transform: translateY(0); } }
.sc-badge { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; background: rgba(12, 13, 17, .8); color: #fff; font-size: 11.5px; }
.sc-badge i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d3d; animation: recPulse 1.4s infinite; }
.sc-preview { position: absolute; z-index: 5; left: 640px; top: 64px; width: 128px; }
.sc-preview-clip { width: 128px; box-sizing: border-box; height: 126px; overflow: hidden; border-radius: 4px; background: #fff; border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .6); animation-name: scPreview; }
@keyframes scPreview { 0%, 8% { height: 126px; } 86%, 94% { height: 405px; } 100% { height: 126px; } }
.sc-preview-page { width: 420px; transform: scale(.3); transform-origin: 0 0; }
.sc-px { display: block; margin-top: 8px; color: #fff; font-size: 11px; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); counter-reset: ph var(--ph); animation-name: scPx; }
.sc-px::after { content: "840 × " counter(ph); }
@keyframes scPx { 0%, 8% { --ph: 840; } 86%, 94% { --ph: 2700; } 100% { --ph: 840; } }
.sc-actions { position: absolute; z-index: 6; left: 196px; top: 500px; width: 420px; display: flex; justify-content: center; gap: 10px; }
.sc-actions span { padding: 8px 18px; border-radius: 9px; background: rgba(22, 23, 28, .85); color: #f2f1ec; font-size: 13px; font-weight: 600; }
.sc-actions .primary { background: #5468ff; color: #fff; }
.lp { width: 420px; background: #fff; }
.lp-hero { height: 190px; padding: 26px 22px; background: linear-gradient(135deg, #5468ff, #9b7bff); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.lp-hero span { height: 16px; width: 70%; border-radius: 5px; background: rgba(255, 255, 255, .9); }
.lp-hero span + span { height: 9px; width: 50%; background: rgba(255, 255, 255, .55); }
.lp-row { height: 150px; display: flex; gap: 16px; padding: 16px 20px; border-bottom: 1px solid #eee; }
.lp-img { width: 120px; flex: none; border-radius: 10px; background: linear-gradient(135deg, #16a67c, #7ee0bd); }
.lp-row.r1 .lp-img { background: linear-gradient(135deg, #f59e0b, #ffd27a); }
.lp-row.r2 .lp-img { background: linear-gradient(135deg, #ec4899, #f9a8d4); }
.lp-txt { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.lp-txt span { height: 9px; border-radius: 5px; background: #e4e5ea; }
.lp-txt span:first-child { height: 13px; background: #1c1d22; }
.lp-txt .w60 { width: 60%; } .lp-txt .w80 { width: 80%; } .lp-txt .w90 { width: 90%; }
.lp-foot { height: 110px; background: #1c1d22; }

/* ---- f) cloud ---- */
.cloud-stage { position: absolute; inset: 0; background: radial-gradient(90% 90% at 0% 0%, #2b3270, transparent 60%), radial-gradient(80% 80% at 100% 100%, #5a2f5f, transparent 60%), #121321; }
.cloud-stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.2px); background-size: 22px 22px; }
.cl-up { position: absolute; left: 56px; top: 130px; width: 340px; }
.cl-thumb { position: relative; height: 222px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.cl-thumb .doc { width: 680px; transform: scale(.5); transform-origin: 0 0; }
.cl-ring { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(12, 13, 20, .5); backdrop-filter: blur(2px); animation-name: clRing; }
@keyframes clRing { 0%, 44% { opacity: 1; } 50%, 96% { opacity: 0; } 100% { opacity: 1; } }
.cl-ring svg { grid-area: 1 / 1; width: 96px; height: 96px; transform: rotate(-90deg); }
.cl-ring circle { fill: none; stroke-width: 5; }
.cl-ring .track { stroke: rgba(255, 255, 255, .2); }
.cl-ring .bar { stroke: #fff; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; animation-name: clBar; }
@keyframes clBar { 0%, 5% { stroke-dashoffset: 1; animation-timing-function: cubic-bezier(.3, .1, .3, 1); } 36%, 100% { stroke-dashoffset: 0; } }
.cl-pct { grid-area: 1 / 1; color: #fff; font-size: 17px; font-weight: 500; counter-reset: p var(--p); animation-name: clPct; }
.cl-pct::after { content: counter(p) "%"; }
@keyframes clPct { 0%, 5% { --p: 0; opacity: 1; animation-timing-function: cubic-bezier(.3, .1, .3, 1); } 36% { --p: 100; opacity: 1; } 38%, 100% { --p: 100; opacity: 0; } }
.cl-ok { grid-area: 1 / 1; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #22c55e; color: #fff; animation-name: clOk; }
@keyframes clOk { 0%, 37% { opacity: 0; transform: scale(.6); } 40%, 100% { opacity: 1; transform: scale(1); } }
.cl-pill { display: flex; align-items: center; gap: 9px; width: max-content; margin-top: 18px; height: 40px; padding: 0 6px 0 14px; border-radius: 999px; background: #fff; color: #1c1d22; font-size: 13.5px; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .6); animation-name: clPill; }
.cl-pill b { color: #5468ff; font-weight: 600; }
.cl-copied { padding: 6px 10px; border-radius: 999px; background: #22c55e; color: #fff; font-size: 12px; font-weight: 600; }
@keyframes clPill { 0%, 38% { opacity: 0; transform: translateY(12px); } 43%, 95% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
.cl-browser { position: absolute; left: 440px; top: 66px; width: 470px; height: 470px; border-radius: 12px; overflow: hidden; background: #f4f4f6; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .8), 0 0 0 .5px rgba(255, 255, 255, .2); animation-name: clBrowser; }
@keyframes clBrowser { 0%, 48% { opacity: 0; transform: translateX(40px) scale(.97); animation-timing-function: cubic-bezier(.2, .8, .2, 1); } 56%, 95% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
.br-bar { height: 40px; display: flex; align-items: center; gap: 16px; padding: 0 14px; background: #e9e9ed; border-bottom: 1px solid #dcdce1; }
.br-lights { display: flex; gap: 7px; }
.br-lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .br-lights i:nth-child(2) { background: #febc2e; } .br-lights i:nth-child(3) { background: #28c840; }
.br-url { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 26px; border-radius: 7px; background: #fff; font-size: 12px; color: #55565c; }
.br-body { padding: 16px 20px; }
.br-top { display: flex; justify-content: space-between; align-items: center; }
.br-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.br-brand img { border-radius: 50%; }
.br-btn { padding: 6px 12px; border-radius: 7px; background: #5468ff; color: #fff; font-size: 12px; font-weight: 600; }
.br-title { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 12px; font-size: 14px; }
.br-views { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: #e9e9f0; color: #55565c; font-size: 12px; }
.br-count { counter-reset: v var(--v); animation-name: brCount; }
.br-count::after { content: counter(v) " views"; }
@keyframes brCount { 0%, 56% { --v: 0; } 92%, 100% { --v: 128; } }
.br-img { height: 330px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .35); }
.br-img .doc { width: 860px; transform: scale(.5); transform-origin: 0 0; }

/* ---- g) capture history ---- */
.hist { position: absolute; left: 56px; top: 74px; width: 848px; height: 470px; padding: 18px; border-radius: 16px; background: rgba(28, 29, 34, .9); backdrop-filter: blur(24px); box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .7), 0 0 0 .5px rgba(255, 255, 255, .15); color: #f2f1ec; }
.hist-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 15px; }
.hist-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, .08); font-size: 12.5px; }
.hist-tabs span { padding: 5px 12px; border-radius: 7px; color: #b3b4ba; }
.hist-tabs .on { background: rgba(255, 255, 255, .16); color: #fff; }
.hist-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hist-item { animation-name: histDrop; animation-delay: calc(var(--i) * .18s); }
@keyframes histDrop { 0% { opacity: 0; transform: translateY(-36px) scale(.96); } 8% { opacity: 1; transform: translateY(4px); } 11%, 84% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(10px); } }
.hist-thumb { position: relative; height: 150px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.hist-thumb .doc { width: 520px; transform: scale(.5); transform-origin: 0 0; }
.hist-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(12, 13, 20, .55); color: #fff; font-size: 14px; padding-left: 3px; }
.hist-copied { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; background: #22c55e; color: #fff; font-size: 11px; font-weight: 600; }
.hist-meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: #b3b4ba; }

/* =====================================================================
   Sign in / register / password reset
   ===================================================================== */
body.auth-page { min-height: 100vh; }
.auth-split { min-height: 100vh; display: grid; grid-template-columns: minmax(340px, 5fr) 7fr; }
.auth-aside { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; padding: 36px 44px; background: var(--dark); color: var(--on-dark); overflow: hidden; }
.auth-aside::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(236, 234, 228, .08) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.auth-aside > * { position: relative; }
.sh-brand.on-dark { color: #eceae4 !important; }
.auth-aside-art { width: min(300px, 70%); align-self: center; }
.auth-quote { font: 650 clamp(22px, 2.2vw, 30px)/1.15 var(--display); letter-spacing: -.025em; }
.auth-quote em { font-style: normal; color: #9aa6ff; }
.auth-specs { list-style: none; margin: 22px 0 0; padding: 0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #b3b4ba; }
.auth-specs li { padding: 9px 0; border-top: 1px solid rgba(236, 234, 228, .12); }
.auth-specs li::before { content: "+ "; color: #9aa6ff; }
.auth-aside-foot { font-size: 11px; color: #7b7e87; letter-spacing: .08em; }
.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 48px 28px 28px; background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 22px 22px; }
.auth-mobile-brand { display: none !important; }
.auth-box { position: relative; width: 100%; max-width: 420px; padding: 36px 34px 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: var(--shadow-card); }
.auth-box::before, .auth-box::after { content: ""; position: absolute; width: 16px; height: 16px; border: 0 solid var(--ink-3); opacity: .7; }
.auth-box::before { left: -10px; top: -10px; border-width: 1px 0 0 1px; }
.auth-box::after { right: -10px; bottom: -10px; border-width: 0 1px 1px 0; }
.auth-box .eyebrow { margin-bottom: 12px !important; }
.auth-sub { margin-top: 10px !important; color: var(--ink-2); font-size: 15px; }
.auth-switch { margin-top: 22px !important; text-align: center; color: var(--ink-2); font-size: 14.5px; }
.auth-switch a, .auth-fine a { color: var(--accent); font-weight: 600; text-decoration: none; }
.auth-switch a:hover, .auth-fine a:hover { text-decoration: underline; }
.auth-fine { margin-top: 14px !important; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.auth-legal { display: flex; gap: 18px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.auth-legal a { color: var(--ink-3); text-decoration: none; }
.auth-legal a:hover { color: var(--ink); }
.s-form { display: grid; gap: 16px; margin-top: 26px; }
.s-field { display: grid; gap: 7px; }
.s-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; font-weight: 600; }
.s-label-link { font-weight: 500; font-size: 13px; color: var(--accent); text-decoration: none; }
.s-label-link:hover { text-decoration: underline; }
.s-label-hint { font-weight: 400; font-size: 12.5px; color: var(--ink-3); }
.s-field input, .site-input { width: 100%; height: 46px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 15px var(--sans); outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.s-field input:hover { border-color: var(--ink-3); }
.s-field input:focus { border-color: var(--accent); background: var(--card); box-shadow: 0 0 0 4px var(--accent-soft); }
.s-form .s-btn { margin-top: 6px; }
.s-alert { margin-top: 18px; padding: 11px 14px; border-radius: 10px; background: color-mix(in srgb, var(--rec) 12%, transparent); color: color-mix(in srgb, var(--rec) 85%, var(--ink)); font-size: 14px; font-weight: 550; border: 1px solid color-mix(in srgb, var(--rec) 35%, transparent); }
.s-notice { margin-top: 18px; padding: 11px 14px; border-radius: 10px; background: color-mix(in srgb, var(--ok) 12%, transparent); color: color-mix(in srgb, var(--ok) 80%, var(--ink)); font-size: 14px; font-weight: 550; border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); }
.auth-plan { margin-top: 20px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); background: var(--accent-soft); }
.auth-plan-k { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
.auth-plan b { font-size: 16px; }
.auth-plan-price { text-align: right; }
.auth-plan-price b { font: 720 24px/1 var(--display); letter-spacing: -.03em; }
.auth-plan-price span { color: var(--ink-2); font-size: 13px; margin-left: 4px; }
.auth-plan p { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); margin-top: 6px !important; }
.auth-plan a { color: var(--accent); font-weight: 600; }
.auth-state { display: grid; place-items: center; margin-bottom: 18px; }
.auth-state-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); font-size: 24px; font-weight: 700; }
.auth-state.ok .auth-state-icon { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.auth-state.bad .auth-state-icon { background: color-mix(in srgb, var(--rec) 14%, transparent); color: var(--rec); }
.auth-box > .s-btn { margin-top: 24px; }
.auth-box h1 + .auth-sub + .s-btn { margin-top: 24px; }

/* ---------- connect page (Mac app sign-in) shares the auth look ---------- */

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 720px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .feature-copy { order: 0; }
  .feature-copy { max-width: 640px; }
  .pc-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pc-tag { min-height: 0; }
  .faq-layout, .dl-cols { grid-template-columns: 1fr; gap: 32px; }
  .final-inner { grid-template-columns: 180px 1fr; gap: 36px; }
  .dl-grid { grid-template-columns: 1fr; }
  .dl-art { display: none; }
}
@media (max-width: 900px) {
  .sh-nav, .sh-actions { display: none; }
  .sh-burger { display: block; }
  .site-header.menu-open { background: var(--paper); }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .shortcuts { grid-template-columns: 1fr 1fr; }
  .how { grid-template-columns: 1fr; gap: 20px; }
  .sf-inner { grid-template-columns: 1fr; gap: 36px; }
  .auth-split { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-mobile-brand { display: inline-flex !important; }
  .auth-main { justify-content: flex-start; padding-top: 32px; }
}
@media (max-width: 640px) {
  .wrap, .sh-inner, .sf-inner, .sf-base { padding-left: 16px; padding-right: 16px; }
  .section { padding: 72px 0; }
  .hero { padding-top: 40px; }
  .page-hero { padding: 56px 0 32px; }
  .hero-mark { white-space: normal; }
  .hero-mark b { display: none; }
  .hero-spec div { padding-right: 14px; margin-right: 14px; }
  .hero-strip { display: none; }
  .hero-ctas .s-btn { flex: 1 1 100%; }
  .fgrid { grid-template-columns: 1fr; }
  .shortcuts { grid-template-columns: 1fr; }
  .final-inner { grid-template-columns: 1fr; }
  .final-cta .iris-art { width: 120px; }
  .sf-cols { grid-template-columns: 1fr 1fr; }
  .sf-base { flex-direction: column; }
  .interval button { padding: 0 12px; font-size: 13px; }
  .pc { padding: 26px 20px 22px; }
  .pc-amount { font-size: 48px; }
  .dl-meta { grid-template-columns: 1fr 1fr; }
  .req { grid-template-columns: 1fr; }
  .faq-item summary { grid-template-columns: 30px 1fr 20px; }
  .faq-a { padding: 0 0 22px 38px; }
  .faq-q { font-size: 17px; }
  .mock .tick { display: none; }
  .mock-cap { font-size: 10px; top: calc(100% + 10px); }
  .feature { padding: 40px 0 56px; }
  .auth-box { padding: 28px 20px 24px; }
  .auth-box::before, .auth-box::after { display: none; }
  .auth-main { padding: 24px 16px; }
  .cmp th, .cmp td { padding: 12px 12px; }
}

/* The highlighted "share themselves." never wraps (it's a selection box), so size the
   headline from the copy column's width: the phrase is ~7.45em wide. */
.hero-copy { container-type: inline-size; }
.hero-title { font-size: min(88px, 13cqi); }

/* language switch (УКР / ENG) */
.lang-switch { display: inline-flex; padding: 2px; border-radius: 999px; border: 1px solid var(--line, rgba(127, 127, 127, .25)); font: 600 11px/1 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .06em; }
.lang-switch a { padding: 6px 9px; border-radius: 999px; color: var(--ink-3, #888); text-decoration: none; transition: color .15s, background .15s; }
.lang-switch a:hover { color: var(--ink, inherit); }
.lang-switch a.on { color: var(--ink, inherit); background: color-mix(in srgb, currentColor 10%, transparent); }
.sh-actions { align-items: center; }
.sh-lang { margin-right: 4px; }
@media (max-width: 900px) { .sh-lang { display: none; } }
.sh-panel-actions .prefs { grid-column: 1 / -1; justify-self: start; }
.auth-main { position: relative; }
.auth-lang { position: absolute; top: 20px; right: 24px; }
@media (max-width: 900px) { .auth-lang { position: static; align-self: flex-end; } }

/* ---------- legal pages ---------- */
.legal-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 48px; padding-bottom: 80px; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.ln-group { display: grid; gap: 2px; }
.ln-label { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.legal-nav a { padding: 6px 10px; margin-left: -10px; border-radius: 8px; font-size: 14px; color: var(--ink-2); text-decoration: none; transition: background .15s, color .15s; }
.legal-nav a:hover { color: var(--ink); background: color-mix(in srgb, currentColor 6%, transparent); }
.legal-nav a.on { color: var(--ink); font-weight: 600; background: color-mix(in srgb, currentColor 9%, transparent); }
.legal-doc { max-width: 760px; min-width: 0; }
.legal-title { font: 800 clamp(34px, 5vw, 52px)/1.02 var(--display); letter-spacing: -.035em; margin: 8px 0 12px; }
.legal-meta { font-size: 12px; color: var(--ink-3); margin: 0 0 18px; }
.legal-lede { margin-bottom: 26px; }
.legal-toc { margin: 0 0 28px; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 14px; }
.legal-toc summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.legal-toc ul { margin: 10px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 28px; font-size: 14px; line-height: 1.8; }
.legal-toc a { color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { color: var(--ink); text-decoration: underline; }
.legal section { scroll-margin-top: calc(var(--header-h) + 20px); }
.legal ul, .legal ol { color: var(--ink-2); line-height: 1.7; padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal strong { color: var(--ink); }
.legal a { color: var(--accent, #5468ff); }
.legal-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--ink-3); }
.legal-foot a { color: inherit; }
.legal-todo { margin-bottom: 22px; padding: 12px 16px; border-radius: 12px; border: 1px dashed rgba(214, 138, 0, .55); background: rgba(255, 181, 71, .1); font-size: 14px; }
.legal-hub-h { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 36px 0 12px; }
.legal-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.legal-card { display: grid; gap: 6px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-2); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.legal-card:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.legal-card b { font-size: 16px; }
.legal-card span { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
@media (max-width: 900px) {
  .legal-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px 16px; }
  .ln-group { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
  .ln-label { width: 100%; margin: 0; }
  .legal-toc ul { columns: 1; }
}
@media print { .site-header, .site-footer, .legal-nav, .legal-toc { display: none !important; } .legal-wrap { display: block; } }

/* theme button (public/theme.js) next to УКР / ENG */
.prefs { display: inline-flex; align-items: center; gap: 6px; }
.theme-toggle { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); background: transparent; color: inherit; opacity: .75; cursor: pointer; transition: opacity .15s, background .15s; }
.theme-toggle:hover { opacity: 1; background: color-mix(in srgb, currentColor 8%, transparent); }
.theme-toggle svg { grid-area: 1 / 1; transition: transform .25s, opacity .2s; }
.theme-toggle:not([data-mode="auto"]) .ti-auto, .theme-toggle:not([data-mode="light"]) .ti-light, .theme-toggle:not([data-mode="dark"]) .ti-dark { opacity: 0; transform: rotate(-60deg) scale(.6); }
.theme-switching, .theme-switching * { transition: background-color .3s, color .3s, border-color .3s, fill .3s !important; }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] body.site::before { mix-blend-mode: screen; opacity: .04; }
