/* 0xweb landing. Light mode only. Tokens follow the ploy.ai brief. */

/* Latin and Cyrillic come from different files, split by unicode-range, so each letter
   uses the right one. Plus Jakarta Sans has no basic Cyrillic: the Russian headings
   use Manrope, the closest match. Geist and Geist Mono ship their own Cyrillic. */
@font-face { font-family: "Plus Jakarta Sans Variable"; src: url("/fonts/plus-jakarta-sans.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans Variable"; src: url("/fonts/manrope-cyrillic.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geist Variable"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Variable"; src: url("/fonts/geist-cyrillic.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geist Mono Variable"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono Variable"; src: url("/fonts/geist-mono-cyrillic.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  color-scheme: light;
  --bg: #ffffff;
  --band: #f5f6f8;
  --ink: oklch(0.18 0.025 265);
  --ink-2: oklch(0.47 0.02 265);
  --accent: #2f5bff;
  --accent-press: oklch(0.5 0.24 266);
  --tint: oklch(0.95 0.03 266);
  --green: oklch(0.72 0.17 150);
  --line: oklch(0.92 0.006 265);
  --line-2: oklch(0.88 0.01 265);

  --r-btn: 10px;
  --r-card: 14px;
  --r-input: 8px;
  --shadow-card: 0 1px 2px oklch(0.18 0.025 265 / 0.04), 0 8px 24px -12px oklch(0.18 0.025 265 / 0.12);
  --shadow-product: 0 48px 90px -36px oklch(0.18 0.025 265 / 0.34), 0 14px 34px -14px oklch(0.18 0.025 265 / 0.18);

  --f-head: "Plus Jakarta Sans Variable", "Plus Jakarta Sans", system-ui, sans-serif;
  --f-body: "Geist Variable", Geist, system-ui, -apple-system, "Segoe UI", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  --f-mono: "Geist Mono Variable", "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1296px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.mono { font-family: var(--f-mono); font-feature-settings: "tnum"; }
.muted { color: var(--ink-2); }
.small { font-size: 0.85em; }

.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-lg { width: 36px; height: 36px; }
.ic-xl { width: 44px; height: 44px; }
.ic-accent { color: var(--accent); }

/* Type */
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; word-spacing: 0.07em; text-wrap: balance; }
h1 { font-size: clamp(46px, 5.3vw, 76px); }
h2 { font-size: clamp(32px, 3.3vw, 46px); }
.eyebrow { font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow-dim { color: oklch(0.8 0.04 266); }
.section-sub { color: var(--ink-2); font-size: 17px; max-width: 420px; }
.section-sub-lg { color: var(--ink); font-size: 19px; max-width: 460px; margin-top: 26px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-btn); border: 1px solid transparent; font-weight: 500; font-size: 15px; line-height: 1; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-press); }
.btn-ghost { background: var(--band); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--line-2); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--tint); }

/* Logo */
.logo { font-family: var(--f-head); font-weight: 800; font-size: 30px; letter-spacing: -0.04em; line-height: 1; }
.logo span { color: var(--accent); }
.logo-light { color: #fff; }
.logo-sm { font-size: 1.5em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; height: 80px; gap: 20px; }
.nav { display: flex; gap: clamp(24px, 2.9vw, 42px); margin-left: clamp(24px, 9vw, 130px); }
.nav a { font-size: 16px; color: var(--ink); }
.nav a:hover { color: var(--accent); }
.header-cta { margin-left: auto; }
.menu-btn { display: none; margin-left: 4px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-btn); background: #fff; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { padding: 48px 0 88px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); align-items: center; gap: 32px; }
.lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; max-width: 440px; margin: 28px 0 36px; }
.hero-visual { container-type: inline-size; perspective: 2400px; margin-right: calc(-0.45 * var(--gutter)); padding: 24px 0; }
.screen { font-size: 1.7cqw; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 1.3em; box-shadow: var(--shadow-product); overflow: hidden; transform: rotateX(5deg) rotateY(-11deg) rotateZ(1.2deg); transform-origin: 20% 50%; }
.screen-bar { display: flex; align-items: center; gap: 0.55em; height: 3.2em; padding: 0 1.2em; background: var(--band); border-bottom: 1px solid var(--line); }
.dot { width: 0.85em; height: 0.85em; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.screen-url { margin-left: 1.2em; height: 1.9em; width: 20em; max-width: 60%; display: flex; align-items: center; padding: 0 0.9em; border-radius: 0.55em; background: #fff; border: 1px solid var(--line); font-family: var(--f-mono); font-size: 0.82em; color: var(--ink-2); }
.screen-body { display: grid; grid-template-columns: 12.6em 1fr; }
.screen-side { padding: 1.5em 1em; border-right: 1px solid var(--line); }
.screen-side .logo { margin: 0 0 1.5em 0.4em; }
.screen-side li { display: flex; align-items: center; gap: 0.7em; white-space: nowrap; padding: 0.65em 0.8em; margin-bottom: 0.25em; border-radius: 0.6em; color: var(--ink-2); font-size: 1em; }
.screen-side li.on { background: var(--tint); color: var(--accent); font-weight: 500; }
.screen-main { padding: 1.7em 1.8em 1.6em; min-width: 0; }
.screen-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1em; }
.screen-head h3 { font-size: 1.85em; letter-spacing: -0.03em; }
.screen-head p { color: var(--ink-2); font-size: 1em; margin-top: 0.3em; }
.ui-select { display: inline-flex; align-items: center; gap: 0.7em; padding: 0.55em 0.9em; border: 1px solid var(--line); border-radius: 0.55em; color: var(--ink-2); font-size: 0.95em; background: #fff; white-space: nowrap; }
.ui-select .ic { width: 1.1em; height: 1.1em; }
.screen-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.1em; margin-top: 1.5em; }
.ui-card { background: #fff; border: 1px solid var(--line); border-radius: 0.9em; padding: 1.1em 1.2em; box-shadow: var(--shadow-card); }
.tweet-top { display: flex; align-items: center; gap: 0.7em; margin-bottom: 0.6em; }
.avatar { width: 2.5em; height: 2.5em; border-radius: 50%; background: var(--tint); color: var(--accent); display: grid; place-items: center; font-weight: 600; font-size: 0.85em; flex: none; }
.avatar.sm { width: 2.3em; height: 2.3em; }
.link { color: var(--accent); }
.tweet p, .draft p { font-size: 1em; line-height: 1.45; }
.tweet-stats { display: flex; gap: 1.5em; color: var(--ink-2); font-size: 0.88em; margin-top: 1em; }
.tweet-stats span { display: inline-flex; align-items: center; gap: 0.5em; }
.tweet-stats .ic { width: 1.15em; height: 1.15em; }
.draft { background: var(--tint); border-color: transparent; box-shadow: none; }
.draft b { display: block; margin-bottom: 0.5em; }
.ui-split { display: flex; margin-top: 0.8em; background: var(--accent); color: #fff; border-radius: 0.65em; font-weight: 500; overflow: hidden; }
.ui-split > span:first-child { flex: 1; text-align: center; padding: 0.85em 1em; }
.ui-split-caret { display: grid; place-items: center; padding: 0 1em; border-left: 1px solid rgba(255, 255, 255, 0.28); }
.ui-split-caret .ic { width: 1.1em; height: 1.1em; }
.pacing { margin-top: 1.6em; }
.pacing-row { display: flex; justify-content: space-between; align-items: baseline; }
.pacing .small { margin: 0.2em 0 0.6em; }
.bar { height: 0.5em; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; background: oklch(0.5 0.13 150); border-radius: 99px; }
.recent { margin-top: 1.6em; }
.recent h4 { font-family: var(--f-head); font-size: 1.1em; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.4em; }
.recent li { display: flex; align-items: center; gap: 0.9em; padding: 0.75em 0; border-bottom: 1px solid var(--line); }
.recent li:last-child { border-bottom: 0; }
.recent li span:last-child { margin-left: auto; font-size: 0.88em; }
.status { width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--line-2); flex: none; }
.status.ok { background: var(--green); }

/* Trust row under the hero button */
.trust { margin-top: 44px; }
.trust-row { display: flex; align-items: center; gap: 16px; }
.trust-row p { font-size: 14.5px; line-height: 1.35; color: var(--ink-2); }
.trust-avatars { display: flex; }
.trust-avatars span { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; margin-left: -12px; display: grid; place-items: center; overflow: hidden; }
.trust-avatars span:first-child { margin-left: 0; }
.trust-avatars .ic { width: 30px; height: 30px; margin-top: 8px; stroke-width: 0; fill: currentColor; }
.tone-1 { background: oklch(0.86 0.03 266); color: oklch(0.55 0.05 266); }
.tone-2 { background: oklch(0.82 0.04 60); color: oklch(0.5 0.06 60); }
.tone-3 { background: oklch(0.8 0.03 200); color: oklch(0.48 0.05 200); }
.trust-logos { display: flex; align-items: center; gap: 34px; margin-top: 38px; color: oklch(0.72 0.01 265); flex-wrap: wrap; }
.trust-logos li { display: flex; align-items: center; gap: 8px; }
.trust-logos svg { width: 28px; height: 28px; }
.trust-logos span { font-size: 24px; line-height: 1; }
.w-poly { font-family: var(--f-head); font-weight: 600; letter-spacing: -0.02em; }
.w-base { font-family: var(--f-head); font-weight: 700; letter-spacing: -0.03em; }
.w-sol { font-family: var(--f-head); font-weight: 800; font-size: 22px; letter-spacing: 0.02em; }

/* Sections */
.band { background: var(--band); padding: 88px 0; }
.section { padding: 88px 0; }
.section-tight { padding: 8px 0 0; }
.section-head { margin-bottom: 44px; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head.split .section-sub { padding-bottom: 6px; }

/* Feature cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.feature { padding: 28px 24px 26px; display: flex; flex-direction: column; }
.feature h3, .who h3 { font-size: 19px; letter-spacing: -0.02em; margin: 18px 0 8px; line-height: 1.2; }
.feature > p, .who p { color: var(--ink-2); font-size: 16px; line-height: 1.45; }
.mini { margin-top: 28px; font-size: 13.5px; }
.mini b { font-weight: 600; }
.mini-tabs { display: flex; gap: 18px; padding-bottom: 12px; font-size: 12.5px; }
.mini-tabs b { font-family: var(--f-mono); font-weight: 500; margin-left: 4px; }
.mini-tweet { display: flex; gap: 10px; padding: 16px 0 12px; }
.mini-tweet p { margin: 4px 0 0; line-height: 1.4; }
.mini-draft { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mini-draft b { display: block; font-size: 12.5px; margin-bottom: 4px; }
.mini-draft p { line-height: 1.4; }
.ui-split-sm { font-size: 13px; margin-top: 10px; border-radius: 8px; }
.ui-split-sm > span:first-child { padding: 9px 10px; }
.ui-select-sm { padding: 5px 10px; font-size: 12px; gap: 6px; }
.mini-row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mini-table th { text-align: left; font-weight: 500; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mini-table td { padding: 11px 0; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.mini-table td:last-child, .mini-table th:last-child { text-align: right; }
.mini-table tr:last-child td { border-bottom: 0; }
.tabs-line { gap: 0; padding: 0; border-bottom: 1px solid var(--line); margin-bottom: 18px; font-size: 13px; }
.tabs-line span { padding: 8px 14px 10px 0; margin-right: 14px; }
.tabs-line .on { border-bottom: 2px solid var(--accent); margin-bottom: -1px; font-weight: 500; }
.donut-row { display: flex; align-items: center; gap: 18px; }
.donut { width: 84px; height: 84px; flex: none; }
.legend { flex: 1; font-size: 13px; }
.legend li { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.legend li span { margin-left: auto; }
.sw { width: 9px; height: 9px; border-radius: 50%; }
.sw-a { background: oklch(0.66 0.16 150); } .sw-b { background: oklch(0.9 0.005 265); } .sw-c { background: oklch(0.66 0.18 25); }
.mini-h { display: block; margin: 20px 0 8px; font-size: 13.5px; }
.topics li { display: flex; align-items: center; gap: 12px; padding: 5px 0; }
.topics li span:last-child { margin-left: auto; }
.topics .n { width: 22px; height: 22px; border-radius: 50%; background: var(--band); display: grid; place-items: center; font-size: 11.5px; color: var(--ink-2); }
.feature-soon { background: var(--band); box-shadow: none; color: var(--ink-2); }
.feature-soon h3 { color: var(--ink-2); }
.feature-soon .ic-lg { color: var(--ink-2); }
.soon-body { margin-top: 28px; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-top: 6px; }
.skel { display: block; width: 100%; height: 9px; border-radius: 99px; background: var(--line); margin-bottom: 6px; }
.skel-s { width: 55%; align-self: flex-start; }
.soon-body .ic-xl { margin-top: 44px; }
.soon-body b { font-size: 17px; font-weight: 600; margin-top: 4px; }
.soon-body span { font-size: 15px; max-width: 220px; }

/* Safety */
.safety-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; margin-top: 40px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.check { width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.check .ic { width: 17px; height: 17px; stroke-width: 2.4; }
.checks b { display: block; font-weight: 600; font-size: 16px; }
.checks span:not(.check) { display: block; color: var(--ink-2); font-size: 14.5px; margin-top: 2px; }
.session { padding: 26px 28px 20px; max-width: 580px; margin-left: auto; width: 100%; }
.session-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 17px; }
.session-head b { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.badge-run { background: oklch(0.95 0.06 150); color: oklch(0.42 0.12 150); font-family: var(--f-mono); font-size: 13px; padding: 5px 12px; border-radius: 99px; }
.session-log { position: relative; }
.session-log::before { content: ""; position: absolute; left: 19px; top: 28px; bottom: 28px; width: 1px; background: var(--line); }
.session-log li { position: relative; display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.session-log li:last-child { border-bottom: 0; }
.session-log li div { flex: 1; min-width: 0; }
.session-log li > span:last-child { font-size: 14px; white-space: nowrap; }
.session-log small { display: block; color: var(--ink-2); font-size: 14.5px; }
.log-ic { position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%; background: var(--tint); color: var(--accent); display: grid; place-items: center; flex: none; }
.log-ic .ic { width: 19px; height: 19px; }
.log-ic-solid { background: var(--accent); color: #fff; border-radius: 10px; }
.log-ic-off { background: var(--band); color: var(--ink-2); }
.log-ic-ok { background: oklch(0.95 0.06 150); color: oklch(0.5 0.14 150); }

/* Who */
.who-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.who { padding: 28px 26px; box-shadow: none; }

/* Pricing */
.seg { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--band); border: 1px solid var(--line); }
.seg-btn { border: 0; background: transparent; padding: 14px 24px; border-radius: 99px; font-weight: 500; font-size: 16px; display: inline-flex; align-items: center; gap: 10px; }
.seg-btn.on { background: var(--accent); color: #fff; }
.seg-tag { font-family: var(--f-mono); font-size: 12px; background: #fff; color: var(--ink); border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 34px 28px 28px; display: flex; flex-direction: column; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: var(--f-head); font-size: 48px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--ink-2); font-size: 15px; }
.bill { color: var(--ink-2); font-size: 12.5px; margin: 4px 0 12px; min-height: 16px; }
.plan h3 { font-size: 22px; letter-spacing: -0.02em; }
.plan-sub { color: var(--ink-2); margin: 6px 0 22px; font-size: 16px; }
.plan-list { display: grid; gap: 12px; margin-bottom: 30px; flex: 1; }
.plan-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.plan-list .ic { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.2; }
.plan-featured { background: var(--accent); border-color: var(--accent); color: #fff; margin-block: -10px; padding-top: 46px; padding-bottom: 38px; box-shadow: 0 30px 60px -28px oklch(0.56 0.24 266 / 0.55); }
.plan-featured .price span, .plan-featured .bill, .plan-featured .plan-sub { color: rgba(255, 255, 255, 0.82); }
.plan-featured .plan-list .ic { color: var(--accent); background: #fff; border-radius: 50%; padding: 3px; width: 20px; height: 20px; }
.plan-tag { position: absolute; top: 12px; left: 28px; font-size: 12.5px; background: rgba(255, 255, 255, 0.18); padding: 3px 10px; border-radius: 99px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { color: var(--ink-2); padding: 0 0 22px; max-width: 560px; font-size: 16px; }
.faq details a { color: var(--accent); }

/* Contact + footer */
.dark { background: var(--ink); color: #fff; padding: 76px 0 40px; }
.dark h2 { font-size: clamp(34px, 3.4vw, 48px); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 48px; align-items: center; }
.contact-text { color: rgba(255, 255, 255, 0.82); font-size: 16.5px; max-width: 360px; }
.contact-actions { display: grid; gap: 16px; justify-items: start; }
.contact-mail { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 15px; }
.contact-mail a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-mail a:hover { color: oklch(0.8 0.08 266); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 64px; }
.foot-nav { display: flex; gap: 38px; flex-wrap: wrap; }
.foot-nav a { color: #fff; font-size: 15.5px; }
.foot-nav a:hover { color: oklch(0.8 0.08 266); }

/* Russian: longer words, so a smaller headline (two lines, as in English) and equal-height plan captions */
html[lang="ru"] h1 { font-size: clamp(40px, 4.45vw, 64px); }
html[lang="ru"] .plan-sub { min-height: 3em; }

/* Motion */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes show { from { opacity: 0; } to { opacity: 1; } }
.js .hero-copy > * { animation: rise .7s ease both; }
.js .hero-copy > :nth-child(2) { animation-delay: .1s; }
.js .hero-copy > :nth-child(3) { animation-delay: .2s; }
.js .hero-visual { animation: show .9s .15s ease both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero-copy > *, .js .hero-visual { animation: none; }
}

/* Responsive */
@media (max-width: 1200px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 80px; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 16px; background: #fff; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .header-cta { margin-left: auto; }
  .menu-btn { display: block; }
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { margin-right: 0; }
  .screen { transform: rotateX(3deg) rotateY(-8deg) rotateZ(0.8deg); }
  .feature-grid, .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .safety-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .session { margin-left: 0; max-width: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .band, .section { padding: 72px 0; }
  .hero { padding-bottom: 56px; }
  .header-row { height: 68px; }
  .nav { top: 68px; }
  .header-cta { padding: 0 16px; min-height: 44px; font-size: 14px; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .feature-grid, .who-grid, .plans { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .plan-featured { margin-block: 0; }
  .screen-url { display: none; }
  .screen { font-size: 1.9cqw; transform: none; }
  .screen-body { grid-template-columns: 1fr; }
  .screen-side { display: none; }
  .foot-row { margin-top: 56px; }
}
@media (max-width: 420px) {
  .btn-lg { width: 100%; }
  .seg { width: 100%; }
  .seg-btn { flex: 1; justify-content: center; padding: 14px 10px; }
  .screen-cols { grid-template-columns: 1fr; }
}

/* Article pages (/en/twitter-scraper and the like): reuse the landing blocks, add a few of their own */
.page-hero { padding: 56px 0 80px; }
.page-hero h1 { max-width: 14em; }
.page-hero .lead { max-width: 660px; margin: 26px 0 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 60px; padding-top: 32px; border-top: 1px solid var(--line); }
.facts b { display: block; font-family: var(--f-head); font-weight: 700; font-size: 26px; letter-spacing: -0.03em; line-height: 1.15; }
.facts span { display: block; color: var(--ink-2); font-size: 15.5px; margin-top: 6px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.split-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.split-2 .checks { grid-template-columns: 1fr; gap: 24px; margin-top: 0; }
.step-num { color: var(--accent); font-size: 14px; font-weight: 500; }
.step-num + h3 { margin-top: 12px; }
.spec-card { padding: 8px 28px; }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 34%; padding-right: 20px; font-weight: 600; }
.spec td { color: var(--ink-2); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.cta-band { text-align: center; }
.cta-band .section-sub-lg { margin-inline: auto; }
.cta-band .cta-row { justify-content: center; margin-top: 34px; }
@media (max-width: 1100px) {
  .split-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-hero { padding: 32px 0 56px; }
  .facts { grid-template-columns: 1fr; gap: 18px; margin-top: 44px; }
  .spec th { width: 38%; }
}

/* Auto reply page: text links, example pairs, a note under a table */
.text-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--accent-press); }
.split-2 .checks-stack { margin-top: 36px; }
.example { padding: 22px 28px 10px; }
.example-label { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2); margin-bottom: 6px; }
.pair { padding: 16px 0; border-bottom: 1px solid var(--line); }
.pair:last-child { border-bottom: 0; }
.pair p { font-size: 16px; line-height: 1.45; }
.pair p + p { margin-top: 6px; }
.pair .mono { display: inline-block; width: 52px; font-size: 12.5px; text-transform: uppercase; color: var(--ink-2); }
.pair p + p .mono { color: var(--accent); }
.note { color: var(--ink-2); font-size: 14.5px; margin-top: 16px; max-width: 520px; }
