/* Memory Bridge marketing site. The established technology-company layout, in the brand's
   own colours and typefaces: white page, ink text, deep teal bands, lime for the primary
   action on dark and one highlighter stroke. Quality bar named by the owner: Stripe, Notion. */

@font-face { font-family: 'Tajawal'; font-weight: 400; font-display: swap; src: url('fonts/tajawal-arabic-400-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: 'Tajawal'; font-weight: 500; font-display: swap; src: url('fonts/tajawal-arabic-500-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: 'Tajawal'; font-weight: 700; font-display: swap; src: url('fonts/tajawal-arabic-700-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: 'Tajawal'; font-weight: 800; font-display: swap; src: url('fonts/tajawal-arabic-800-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: 'Unbounded'; font-weight: 500; font-display: swap; src: url('fonts/unbounded-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }

:root {
  --bg: #ffffff;
  --surface: #f4f6f5;
  --surface-2: #e9eeec;
  --line: #d9e0dd;
  --edge: #7b8983;
  --ink: #0a0f0d;
  --muted: #55625e;
  --teal: #0b2a2a;
  --teal-2: #11524e;
  --teal-line: #24403e;
  --on-teal: #ffffff;
  --on-teal-muted: #b8cbc7;
  --lime: #d0f94a;
  --lime-soft: #e4fba6;
  --error-on-teal: #ff8f84;

  --ar: 'Tajawal', 'Inter', system-ui, sans-serif;
  --en: 'Inter', 'Tajawal', system-ui, sans-serif;
  --display-en: 'Unbounded', 'Inter', system-ui, sans-serif;

  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 9vw, 136px);
  --nav-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); scrollbar-color: var(--teal-2) var(--surface); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--ar); font-size: 1.125rem; line-height: 1.75; overflow-x: clip; }
html[lang='en'] body { font-family: var(--en); font-size: 1rem; line-height: 1.65; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { flex: none; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 3px; border-radius: 4px; }
.on-teal :focus-visible { outline-color: var(--lime); }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.skip { position: absolute; inset-block-start: -80px; inset-inline-start: 12px; z-index: 40; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { inset-block-start: 12px; }

/* Type */
h1, h2 { text-wrap: balance; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.9rem); line-height: 1.14; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.2; }
h3 { font-size: 1.45rem; line-height: 1.35; font-weight: 700; text-wrap: balance; }
html[lang='en'] h1, html[lang='en'] h2 { font-family: var(--display-en); font-weight: 500; letter-spacing: -0.035em; }
html[lang='en'] h1 { font-size: clamp(2.1rem, 4.5vw, 4rem); line-height: 1.1; }
html[lang='en'] h2 { font-size: clamp(1.6rem, 2.9vw, 2.5rem); line-height: 1.15; }
html[lang='en'] h3 { font-weight: 600; font-size: 1.2rem; }
.lead { font-size: 1.3rem; line-height: 1.75; color: var(--muted); max-width: 36em; }
html[lang='en'] .lead { font-size: 1.15rem; }
.mark { background-image: linear-gradient(var(--lime), var(--lime)); background-repeat: no-repeat; background-size: 100% 100%; color: var(--ink); padding-inline: 0.14em; border-radius: 0.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding-inline: 26px; border: 0; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color 150ms var(--out), translate 150ms var(--out); }
html[lang='en'] .btn { font-weight: 600; }
.btn:hover { background: var(--teal-2); }
.btn:active { translate: 0 1px; }
.btn.sm { min-height: 44px; padding-inline: 20px; font-size: 0.95rem; }
.btn.lime { background: var(--lime); color: var(--ink); }
.btn.lime:hover { background: var(--lime-soft); }
.btn svg, .more svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: translate 180ms var(--out); }
html[dir='rtl'] .btn svg, html[dir='rtl'] .more svg { scale: -1 1; }
.btn:hover svg, .more:hover svg { translate: 4px 0; }
html[dir='rtl'] .btn:hover svg, html[dir='rtl'] .more:hover svg { translate: -4px 0; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal-2); text-decoration: none; }
html[lang='en'] .more { font-weight: 600; }
.more:hover { text-decoration: underline; }

/* Navigation */
.nav { position: sticky; inset-block-start: 0; z-index: 30; background: rgb(255 255 255 / 0.92); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-block-end: 1px solid transparent; transition: border-color 200ms var(--out); }
.nav[data-stuck] { border-block-end-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); min-height: var(--nav-h); }
.nav .logo svg { display: block; height: 36px; width: auto; }
.nav-links { display: flex; gap: clamp(14px, 2.2vw, 30px); margin-inline-end: auto; }
.nav a.link { font-size: 0.98rem; font-weight: 500; color: var(--muted); text-decoration: none; padding-block: 8px; }
.nav a.link:hover, .nav a.link[aria-current='true'] { color: var(--ink); }
.nav .lang { text-decoration: none; font-size: 0.95rem; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; color: var(--ink); min-height: 40px; display: inline-flex; align-items: center; }
.nav .lang:hover { background: var(--surface); }
.btn .short { display: none; }
.menu, .menu:first-of-type { display: none; position: relative; border: 0; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; place-content: center; gap: 0; border: 1px solid var(--line); border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: none; }
.menu summary svg { display: block; width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; }
.menu[open] summary { background: var(--surface); }
.menu-panel { position: absolute; inset-block-start: calc(100% + 10px); inset-inline-end: 0; min-width: 230px; display: grid; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: 0 24px 48px -24px rgb(11 42 42 / 0.4); }
.menu-panel a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; text-align: start; }
.menu-panel a:hover { background: var(--surface); }

/* Hero */
.hero { padding-block-start: clamp(48px, 7vw, 104px); text-align: center; }
.hero .lead { margin: 26px auto 0; }
.hero h1 { max-width: 15em; margin-inline: auto; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 26px; margin-block-start: 34px; }
.actions .more { color: var(--ink); text-decoration: underline; }
.stage { position: relative; margin-block-start: clamp(44px, 6vw, 84px); padding-block-end: clamp(48px, 7vw, 104px); }
.stage::before { content: ''; position: absolute; inset-inline: 0; inset-block: 34% 0; background: var(--teal); }

/* The product window */
.window { position: relative; text-align: start; background: var(--bg); border-radius: 20px; box-shadow: 0 40px 80px -32px rgb(11 42 42 / 0.45), 0 16px 32px -18px rgb(11 42 42 / 0.3); overflow: hidden; }
.win-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; background: var(--surface); border-block-end: 1px solid var(--line); }
.win-title { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 700; color: var(--ink); min-width: 0; }
html[lang='en'] .win-title { font-weight: 600; }
.win-title svg { width: 26px; height: 26px; }
.seg { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 999px; }
.seg button { border: 0; background: none; min-height: 40px; padding-inline: 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 700; color: var(--muted); white-space: nowrap; transition: background-color 150ms var(--out), color 150ms var(--out); }
html[lang='en'] .seg button { font-weight: 600; font-size: 0.85rem; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed='true'] { background: var(--teal); color: #fff; }
.win-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pane { padding: clamp(20px, 3vw, 40px); min-width: 0; }
.pane + .pane { border-inline-start: 1px solid var(--line); background: var(--surface); }
.pane h2 { font-size: clamp(1.35rem, 2.1vw, 1.8rem); line-height: 1.3; }
html[lang='en'] .pane h2 { font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.25; }
.pane-intro { margin-block-start: 12px; font-size: 1rem; line-height: 1.7; color: var(--muted); }
.cap { display: flex; justify-content: space-between; gap: 12px; font-size: 0.8125rem; color: var(--muted); }
.note { margin-block-start: 22px; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px 14px; background: var(--bg); }
.note-title { margin-block-start: 6px; font-size: 1.2rem; font-weight: 700; }
html[lang='en'] .note-title { font-weight: 600; font-size: 1.05rem; }
.lines li { padding-block: 9px; border-block-end: 1px solid var(--line); font-size: 1.0625rem; line-height: 1.6; }
html[lang='en'] .lines li { font-size: 1rem; }
.lines span { padding-inline: 0.14em; border-radius: 0.1em; background-image: linear-gradient(var(--lime), var(--lime)); background-repeat: no-repeat; background-position: 100% 0; background-size: 0% 100%; transition: background-size 420ms var(--out); }
html[dir='ltr'] .lines span { background-position: 0 0; }
.lines li[data-on] span { background-size: 100% 100%; }
.note-meta { margin-block-start: 10px; font-size: 0.8125rem; color: var(--muted); }
.ask-label { font-size: 0.8125rem; color: var(--muted); }
.ask { margin-block-start: 4px; padding: 12px 16px; border-radius: 14px; background: var(--teal); color: #fff; font-size: 1rem; line-height: 1.6; }
.draft { margin-block-start: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.draft .cap { padding: 10px 16px; border-block-end: 1px solid var(--line); }
.dline { display: block; width: 100%; text-align: start; border: 0; border-block-start: 1px solid var(--line); background: none; padding: 12px 16px; min-height: 48px; font-size: 1rem; line-height: 1.6; color: var(--ink); transition: background-color 150ms var(--out); }
.draft li:first-child .dline { border-block-start: 0; }
.dline:hover, .dline:focus-visible, .dline[aria-pressed='true'] { background: var(--lime-soft); }
.dline small { display: block; font-size: 0.8125rem; color: var(--muted); }
.after { margin-block-start: 14px; font-size: 0.95rem; line-height: 1.7; color: var(--muted); }
.swap { transition: opacity 180ms var(--out), translate 300ms var(--out); }
.swap[data-leaving] { opacity: 0; translate: 0 8px; }

/* Facts strip */
.facts { border-block-end: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { display: flex; align-items: center; gap: 12px; padding: 26px clamp(10px, 2vw, 28px); font-weight: 700; font-size: 1rem; line-height: 1.5; border-inline-start: 1px solid var(--line); }
html[lang='en'] .facts li { font-weight: 600; font-size: 0.95rem; }
.facts li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts svg { width: 26px; height: 26px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.facts svg circle { fill: var(--lime); stroke: none; }

/* Sections */
.section { padding-block: var(--section); }
.section-head { max-width: 44rem; margin-block-end: clamp(32px, 4.5vw, 60px); }
.section-head .lead { margin-block-start: 16px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.card { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 2.6vw, 36px); background: var(--bg); min-width: 0; }
.card { transition: border-color 200ms var(--out); }
.card:hover { border-color: var(--edge); }
.card.wide { grid-column: span 4; }
.card.tint { background: var(--surface); }
.card p { color: var(--muted); max-width: 34em; }
.card .more { padding-block-start: 8px; }
.card .visual { margin-block: 10px auto; }
.moments { display: grid; margin-block-start: 6px; }
.moments li { display: grid; grid-template-columns: 11.5em minmax(0, 1fr); gap: 6px 24px; padding-block: 16px; border-block-start: 1px solid var(--line); }
.moments .when { justify-self: start; align-self: start; font-weight: 700; font-size: 0.9rem; color: var(--ink); background: var(--lime); border-radius: 999px; padding: 2px 14px; white-space: nowrap; }
html[lang='en'] .moments .when { font-weight: 600; }
.moments q { quotes: none; font-weight: 700; font-size: 1.15rem; line-height: 1.5; color: var(--ink); }
html[lang='en'] .moments q { font-weight: 600; font-size: 1.05rem; }
.moments span.a { grid-column: 2; color: var(--muted); font-size: 1rem; }
.mini { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px 12px; background: var(--surface); }
.mini li { padding-block: 9px; border-block-end: 1px solid var(--line); font-size: 1rem; line-height: 1.6; color: var(--ink); }
.mini .cap { padding-block-end: 4px; }
.mini .cap span:first-child { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.edit del { color: var(--muted); text-decoration-thickness: 2px; }
.edit ins { text-decoration: none; background: var(--lime); padding-inline: 0.14em; border-radius: 0.1em; }
.files { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--en); font-size: 0.9rem; font-weight: 500; }
.files span { border: 1px solid var(--line); background: var(--bg); border-radius: 8px; padding: 6px 12px; }
.files span:first-child { background: var(--lime); border-color: var(--lime); }
.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.slot { border-radius: 12px; padding: 18px 20px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; background: var(--bg); border: 1px solid var(--line); }
.slot.open { background: none; border: 2px dashed var(--edge); }
.slot strong { font-size: 1.1rem; font-weight: 700; color: var(--ink); }
html[lang='en'] .slot strong { font-weight: 600; font-size: 1rem; }
.slot span { font-size: 0.9rem; color: var(--muted); }

/* Problem: the same request without and with memory */
figure { margin: 0; }
.pair { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.say { border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 2.2vw, 28px); display: grid; gap: 14px; }
.say.with { background: var(--surface); }
.say .ask { margin: 0; justify-self: start; }
.ask.long { background: var(--surface-2); color: var(--ink); }
.say .after { margin: 0; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.9rem; }
.chips li { background: var(--lime); color: var(--ink); border-radius: 999px; padding: 2px 14px; font-weight: 700; }
html[lang='en'] .chips li { font-weight: 600; }
.chips .chips-label { background: none; padding-inline: 0; font-weight: 400; color: var(--muted); }

/* Saved lines carry their source */
.lines li { display: grid; gap: 2px; }
.lines li span { justify-self: start; }
.lines small { font-size: 0.8125rem; color: var(--muted); }

/* Problem pair: one question, two answers */
.pair-ask { display: inline-block; margin-block-end: 20px; max-width: 44em; font-size: 1.125rem; }
.answer { margin: 0; font-size: 1.125rem; line-height: 1.75; color: var(--ink); }
.answer.dim { color: var(--muted); }
html[lang='en'] .answer, html[lang='en'] .pair-ask { font-size: 1.0625rem; }

/* Where Memory Bridge sits */
.hub { display: grid; gap: 0; max-width: 980px; margin-inline: auto; }
.hub-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hub-tools li { border: 1.5px dashed var(--edge); border-radius: 999px; padding: 8px 20px; font-family: var(--en); font-weight: 600; font-size: 0.95rem; background: var(--bg); color: var(--ink); }
.hub-tools li.on { border-style: solid; border-color: var(--teal); }
.hub-tools li.more { font-family: inherit; font-weight: 400; color: var(--muted); border-color: transparent; background: none; }
.hub-link { position: relative; display: grid; place-items: center; height: 76px; }
.hub-link::before { content: ''; position: absolute; inset-block: 0; inset-inline-start: 50%; border-inline-start: 2px solid var(--teal); }
.hub-link span { position: relative; background: var(--lime); color: var(--ink); border-radius: 999px; padding: 4px 16px; font-family: var(--en); font-weight: 600; font-size: 0.85rem; }
.hub-core { background: var(--teal); color: #fff; border-radius: 20px; padding: clamp(22px, 3vw, 40px); }
.hub-name svg { display: block; height: 36px; width: auto; margin-block-end: 22px; }
.hub-core ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hub-core li { border: 1px solid var(--teal-line); border-radius: 12px; padding: 14px 16px; font-weight: 500; font-size: 1rem; line-height: 1.5; background: rgb(255 255 255 / 0.04); }
.hub-base { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-block-start: 10px; }
.hub-base li { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; background: var(--bg); font-size: 0.95rem; color: var(--muted); text-align: center; }
.hub-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-block-start: 22px; font-size: 0.875rem; color: var(--muted); }
.hub-legend span::before { content: ''; display: inline-block; width: 22px; height: 12px; margin-inline-end: 8px; border: 1.5px dashed var(--edge); border-radius: 999px; vertical-align: -1px; }
.hub-legend span.on::before { border-style: solid; border-color: var(--teal); }

/* What happens on every request */
.pipe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.pipe li { padding-block-start: 22px; border-block-start: 2px solid var(--teal); }
.pipe .n { display: block; font-family: var(--display-en); font-weight: 500; font-size: 0.85rem; color: var(--teal-2); margin-block-end: 12px; }
.pipe h3 { font-size: 1.2rem; }
html[lang='en'] .pipe h3 { font-size: 1.05rem; }
.pipe p { margin-block-start: 8px; color: var(--muted); font-size: 1rem; line-height: 1.7; }

/* Engine cards */
.find { display: grid; gap: 12px; justify-items: start; }
.find .ask, .card .ask { margin: 0; color: #fff; }
.find .hit { justify-self: stretch; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; background: var(--surface); color: var(--ink); font-size: 1rem; }
.hit small { display: block; font-size: 0.8125rem; color: var(--muted); margin-block-end: 4px; }
.rows li { display: flex; justify-content: space-between; gap: 12px; padding-block: 11px; border-block-start: 1px solid var(--line); font-size: 1rem; color: var(--ink); }
.rows li span:last-child { color: var(--muted); }
.rows li.now span:first-child { background: var(--lime); border-radius: 999px; padding-inline: 12px; font-weight: 700; }

/* Supported tools */
.toolset { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); }
.toolset h3 { font-size: 1rem; color: var(--muted); font-weight: 500; margin-block-end: 14px; }
.logos { display: flex; flex-wrap: wrap; gap: 10px; }
html[dir='rtl'] .logos { justify-content: flex-end; }
.logos li { border: 1.5px dashed var(--edge); border-radius: 12px; padding: 12px 20px; font-family: var(--en); font-weight: 600; font-size: 1rem; }
.logos.on li { border-style: solid; border-color: var(--teal); background: var(--teal); color: #fff; }

/* Comparison with memory built into the tools */
.vs { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 1.0625rem; }
.vs th, .vs td { text-align: start; vertical-align: top; padding: 18px clamp(14px, 2vw, 26px); border-block-end: 1px solid var(--line); }
.vs tbody tr:last-child > * { border-block-end: 0; }
.vs thead th { background: var(--surface); font-weight: 700; font-size: 1rem; }
html[lang='en'] .vs thead th, html[lang='en'] .vs tbody th { font-weight: 600; }
.vs thead .vh { color: var(--muted); font-weight: 400; }
.vs tbody th { font-weight: 700; width: 24%; }
.vs td { color: var(--muted); width: 38%; }
.vs td:last-child { color: var(--ink); font-weight: 500; background: var(--surface); }
.vs thead th:last-child { background: var(--teal); color: #fff; }
.vs-note { margin-block-start: 24px; max-width: 46em; color: var(--muted); }

/* Steps */
.band { background: var(--surface); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.5vw, 56px); }
.step { position: relative; padding-block-start: 30px; border-block-start: 2px solid var(--teal); }
.step .n { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: var(--lime); font-family: var(--display-en); font-weight: 500; font-size: 0.95rem; color: var(--ink); margin-block-end: 22px; }
.step p { margin-block-start: 10px; color: var(--muted); font-size: 1.0625rem; max-width: 26em; }

/* Questions */
.faq { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(24px, 6vw, 96px); }
details { border-block-end: 1px solid var(--line); }
details:first-of-type { border-block-start: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 20px; font-size: 1.2rem; font-weight: 700; }
html[lang='en'] summary { font-weight: 600; font-size: 1.0625rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: none; width: 12px; height: 12px; border-inline-end: 2px solid var(--teal); border-block-end: 2px solid var(--teal); rotate: 45deg; translate: 0 -3px; transition: rotate 220ms var(--out), translate 220ms var(--out); }
details[open] summary::after { rotate: -135deg; translate: 0 3px; }
details p { padding-block-end: 22px; max-width: 40em; color: var(--muted); }
@keyframes answer-in { from { opacity: 0; translate: 0 -6px; } }
details[open] p { animation: answer-in 260ms var(--out); }
summary:hover { color: var(--teal-2); }

/* Request access */
.cta { background: var(--teal); color: var(--on-teal); }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.cta-copy p { margin-block-start: 16px; color: var(--on-teal-muted); max-width: 28em; }
.cta form { display: grid; gap: 14px; }
.cta label { display: grid; gap: 6px; font-size: 0.95rem; font-weight: 700; color: #fff; }
html[lang='en'] .cta label { font-weight: 600; }
.cta input { min-height: 56px; border: 1px solid transparent; border-radius: 12px; background: #fff; color: var(--ink); padding-inline: 16px; caret-color: var(--teal-2); }
.cta input::placeholder { color: var(--muted); }
.cta :focus-visible { outline-color: var(--lime); }
.cta .btn { margin-block-start: 6px; justify-self: start; min-height: 56px; padding-inline: 32px; }
.cta .fine { font-size: 0.875rem; color: var(--on-teal-muted); }
.status { font-weight: 700; font-size: 0.95rem; color: var(--lime); }
.status:empty { display: none; }
.status[data-kind='error'] { color: var(--error-on-teal); }

/* Footer */
footer { background: var(--teal); color: var(--on-teal-muted); font-size: 0.95rem; }
footer .wrap { border-block-start: 1px solid var(--teal-line); padding-block: 56px 36px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px clamp(20px, 4vw, 64px); }
.foot-top svg { display: block; height: 36px; width: auto; }
.foot-top p { margin-block-start: 16px; max-width: 22em; }
.foot-col strong { display: block; color: #fff; font-weight: 700; margin-block-end: 12px; }
html[lang='en'] .foot-col strong { font-weight: 600; }
.foot-col a { display: block; padding-block: 5px; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer :focus-visible { outline-color: var(--lime); }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-block-start: 44px; padding-block-start: 22px; border-block-start: 1px solid var(--teal-line); font-size: 0.875rem; }

/* One authored entrance: the product window settles into place */
@keyframes window-in { from { translate: 0 36px; opacity: 0; } }
@keyframes copy-in { from { translate: 0 14px; opacity: 0; } }
.js .hero h1, .js .hero .lead, .js .hero .actions { animation: copy-in 600ms var(--out) both; }
.js .hero .lead { animation-delay: 70ms; }
.js .hero .actions { animation-delay: 140ms; }
.js .window { animation: window-in 820ms var(--out) 200ms both; }

@media (max-width: 1000px) {
  .nav-links, .nav .signin { display: none; }
  .nav .logo { margin-inline-end: auto; }
  .menu, .menu:first-of-type { display: block; }
  .win-body { grid-template-columns: minmax(0, 1fr); }
  .pane + .pane { border-inline-start: 0; border-block-start: 1px solid var(--line); }
  .win-bar { flex-direction: column; align-items: stretch; }
  .seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 16px; }
  .seg button { min-height: 48px; padding-inline: 6px; white-space: normal; line-height: 1.25; font-size: 0.85rem; border-radius: 12px; }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { padding-inline: 0 12px; border-inline-start: 0; padding-block: 16px; }
  .facts li:nth-child(n + 3) { border-block-start: 1px solid var(--line); }
  .card, .card.wide { grid-column: span 6; }
  .steps, .faq, .cta .wrap { grid-template-columns: minmax(0, 1fr); }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .pipe { grid-template-columns: minmax(0, 1fr); }
  .toolset { grid-template-columns: minmax(0, 1fr); }
  .hub-core ul, .hub-base { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top > div:first-child { grid-column: span 2; }
  .foot-col a { padding-block: 11px; }
}
@media (max-width: 620px) {
  body { font-size: 1.0625rem; }
  :root { --nav-h: 64px; }
  .nav .logo svg { height: 30px; }
  .nav .lang { display: none; }
  .nav .wrap { position: relative; }
  .menu, .menu:first-of-type { position: static; }
  .menu-panel { inset-inline: var(--gutter); inset-block-start: calc(100% - 4px); min-width: 0; }
  .menu-panel a { padding-block: 14px; font-size: 1.0625rem; }
  .btn .long { display: none; }
  .btn .short { display: inline; }
  .nav .wrap { gap: 10px; }
  .hero .lead { font-size: 1.125rem; }
  .actions .btn { width: 100%; }
  .stage::before { inset-block-start: 18%; }
  .window { border-radius: 16px; }
  .facts ul { grid-template-columns: minmax(0, 1fr); }
  .facts li:nth-child(n + 2) { border-block-start: 1px solid var(--line); }
  .moments li { grid-template-columns: minmax(0, 1fr); }
  .moments span.a { grid-column: 1; }
  .slots { grid-template-columns: minmax(0, 1fr); }
  .hub-core ul, .hub-base { grid-template-columns: minmax(0, 1fr); }
  .vs, .vs tbody, .vs tr, .vs tbody th, .vs td { display: block; width: auto; }
  .vs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .vs tbody th { background: var(--surface); border-block-end: 0; padding-block: 12px; }
  .vs td { padding-block: 12px; }
  .vs td::before { content: attr(data-label); display: block; font-size: 0.8125rem; color: var(--muted); font-weight: 400; }
  .vs td:last-child { background: none; border-block-end: 1px solid var(--line); }
  .vs tbody tr:last-child td:last-child { border-block-end: 0; }
  .vs tbody tr:last-child td:first-of-type { border-block-end: 1px solid var(--line); }
}

/* ---- Fifth draft: presentation with small labels, product screens and tool marks ---- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.center { text-align: center; }
.center .section-head { margin-inline: auto; }
.center .lead { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-block-end: 16px; font-size: 0.875rem; font-weight: 700; color: var(--teal-2); }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
html[lang='en'] .eyebrow { font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; }
.section-head .lead { font-size: 1.1875rem; }
html[lang='en'] .section-head .lead { font-size: 1.0625rem; }
.tiny { margin-block-start: 18px; font-size: 0.8125rem; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; font-size: 0.75rem; font-weight: 700; color: var(--muted); background: var(--bg); }
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--edge); }
.chip.on { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.chip.on::before { background: var(--ink); }
html[lang='en'] .chip { font-weight: 600; }

/* Tool marks */
.marks { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.marks li { display: grid; place-items: center; color: var(--ink); }
.marks svg { width: 26px; height: 26px; display: block; }
.marks.big, .marks.tiles { justify-content: center; gap: 12px; }
.marks.big li, .marks.tiles li { width: 60px; height: 60px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.marks.big { gap: 8px; }
.marks.big li { width: 50px; height: 50px; border-radius: 14px; }
.marks.big svg { width: 22px; height: 22px; }
.marks.tiles { max-width: 520px; margin-inline: auto; gap: 14px; }
.marks.tiles li { width: 88px; height: 88px; border-radius: 20px; transition: border-color 200ms var(--out), translate 200ms var(--out); }
.marks.tiles li:hover { border-color: var(--teal); translate: 0 -2px; }
.marks.tiles svg { width: 36px; height: 36px; }

/* Hero: copy beside a small product demo */
.hero { text-align: start; padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-inline: 0; max-width: none; font-size: clamp(2.5rem, 5vw, 4.4rem); }
html[lang='en'] .hero h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
.hero-sub { margin-block-start: 22px; font-size: 1.3rem; font-weight: 700; color: var(--ink); }
html[lang='en'] .hero-sub { font-size: 1.15rem; font-weight: 600; }
.hero .lead { margin: 10px 0 0; font-size: 1.125rem; max-width: 30em; }
html[lang='en'] .hero .lead { font-size: 1.0625rem; }
.hero .actions { justify-content: flex-start; margin-block-start: 28px; }
.fine-print { margin-block-start: 14px; font-size: 0.8125rem; color: var(--muted); }
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 40px); text-align: center; box-shadow: 0 40px 80px -40px rgb(11 42 42 / 0.35); }
.demo-h { font-size: 1.9rem; font-weight: 800; line-height: 1.3; color: var(--ink); }
html[lang='en'] .demo-h { font-family: var(--display-en); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.03em; }
.demo-p { font-size: 0.9rem; color: var(--muted); }
.demo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-block-start: 24px; text-align: start; }
.mini-chat { display: flex; flex-direction: column; gap: 10px; min-height: 150px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.mini-tool { display: inline-flex; align-items: center; gap: 6px; font-family: var(--en); font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.mini-tool svg { width: 14px; height: 14px; }
.mini-chat p { font-size: 0.9rem; line-height: 1.6; color: var(--ink); margin-block-end: auto; }
.strip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-block-start: clamp(36px, 5vw, 64px); padding-block-start: 22px; border-block-start: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.js .demo { animation: window-in 820ms var(--out) 200ms both; }

/* Dark bands */
.dark { background: var(--teal); color: var(--on-teal); }
.dark .eyebrow { color: var(--lime); }
.dark .lead { color: var(--on-teal-muted); }
.dark :focus-visible { outline-color: var(--lime); }
.loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; max-width: 900px; margin-inline: auto; counter-reset: loop; }
.loop li { position: relative; counter-increment: loop; font-weight: 700; font-size: 1.0625rem; line-height: 1.6; }
html[lang='en'] .loop li { font-weight: 600; font-size: 1rem; }
.loop li::before { content: '0' counter(loop); display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 999px; border: 1px solid var(--teal-line); font-family: var(--display-en); font-weight: 500; font-size: 0.8rem; color: var(--lime); direction: ltr; }
.loop li + li::after { content: '\2192'; position: absolute; inset-block-start: 10px; inset-inline-start: -34px; color: var(--on-teal-muted); font-family: var(--en); }
html[dir='rtl'] .loop li + li::after { content: '\2190'; }
.punch { margin-block-start: clamp(36px, 5vw, 64px); font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 800; line-height: 1.4; text-wrap: balance; }
html[lang='en'] .punch { font-family: var(--display-en); font-weight: 500; font-size: clamp(1.25rem, 2.2vw, 1.8rem); letter-spacing: -0.03em; }
.pledges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-width: 1000px; margin-inline: auto; border-block: 1px solid var(--teal-line); }
.pledges li { display: grid; justify-items: center; gap: 10px; padding: 26px 14px; font-weight: 700; font-size: 1rem; line-height: 1.5; }
html[lang='en'] .pledges li { font-weight: 600; font-size: 0.95rem; }
.pledges li + li { border-inline-start: 1px solid var(--teal-line); }
.pledges svg { width: 26px; height: 26px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pledges svg circle { fill: var(--lime); stroke: none; }
.proof { margin-block-start: 26px; font-size: 0.95rem; color: var(--on-teal-muted); }

/* Product screens: small type inside a framed window */
.screen { text-align: start; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -36px rgb(11 42 42 / 0.4); min-width: 0; }
.screen-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface); border-block-end: 1px solid var(--line); }
.screen-bar i { width: 8px; height: 8px; border-radius: 999px; background: var(--line); }
.screen-bar span { margin-inline-start: 8px; font-family: var(--en); font-size: 0.75rem; color: var(--muted); }
html[dir='rtl'] .screen-bar span:not(.ltr) { font-family: var(--ar); }
.screen-body { display: flex; flex-direction: column; gap: 8px; padding: 18px; font-size: 0.9375rem; line-height: 1.65; }
.who { font-size: 0.75rem; font-weight: 700; color: var(--muted); }
html[lang='en'] .who { font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.6875rem; }
.bubble { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 0.9375rem; line-height: 1.65; }
.bubble.soft { background: none; border: 1px solid var(--line); }
.bubble.dim { color: var(--muted); }
.bubble.win { background: var(--lime-soft); border: 1px solid var(--lime); }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: center; max-width: 1040px; margin-inline: auto; }
.duo-mid { display: grid; justify-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.duo-mid svg { width: 44px; height: 44px; }
.screen.wide { max-width: 1040px; margin-inline: auto; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block-end: 1px solid var(--line); margin: -18px -18px 10px; }
.stats li { padding: 16px 18px; display: grid; gap: 2px; }
.stats li + li { border-inline-start: 1px solid var(--line); }
.stats strong { font-family: var(--display-en); font-weight: 500; font-size: 1.7rem; line-height: 1.2; color: var(--ink); text-align: start; }
html[dir='rtl'] .stats strong { text-align: end; }
.stats span { font-size: 0.8125rem; color: var(--muted); }
.recall { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 22px; }
.found ol { margin-block-start: 8px; border-inline-start: 2px solid var(--line); }
.found li { position: relative; padding: 8px 14px; font-size: 0.875rem; line-height: 1.6; color: var(--ink); }
.found li::before { content: ''; position: absolute; inset-inline-start: -5px; inset-block-start: 15px; width: 8px; height: 8px; border-radius: 999px; background: var(--teal); }
.found small { display: block; font-size: 0.75rem; color: var(--muted); }
.found b { font-family: var(--en); font-weight: 600; color: var(--teal-2); }
.answers { display: flex; flex-direction: column; gap: 8px; }

/* The examples window keeps product-size type */
.pane h3 { font-size: 1.35rem; line-height: 1.35; }
html[lang='en'] .pane h3 { font-size: 1.15rem; }
.pane-intro { font-size: 0.9375rem; }
.lines li, html[lang='en'] .lines li { font-size: 0.9375rem; }
.lines small, .note-meta, .cap, .ask-label { font-size: 0.75rem; }
.note-title, html[lang='en'] .note-title { font-size: 1rem; }
.ask, .dline { font-size: 0.9375rem; }
.dline small { font-size: 0.75rem; }
.after { font-size: 0.8125rem; }
.band .window { box-shadow: 0 30px 60px -36px rgb(11 42 42 / 0.4); border: 1px solid var(--line); }

/* Position diagram */
.hub { max-width: 900px; }
.hub-link { height: 64px; }
.hub-core { text-align: start; }
.hub-core li { font-size: 0.9375rem; }
.card .bubble { align-self: flex-start; color: var(--ink); }
.find .bubble { justify-self: start; }
.rows li, .moments span.a { font-size: 0.9375rem; }
.moments q, html[lang='en'] .moments q { font-size: 1.0625rem; }
.card p { font-size: 1rem; }
.vs { font-size: 0.9375rem; background: var(--bg); }
.vs td:last-child { background: var(--lime-soft); }

@media (max-width: 1000px) {
  .hero-grid, .recall { grid-template-columns: minmax(0, 1fr); }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .duo-mid { grid-auto-flow: column; justify-content: center; align-items: center; }
  .loop { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .loop li + li::after { content: none; }
  .pledges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pledges li:nth-child(3) { border-inline-start: 0; }
  .pledges li:nth-child(n + 3) { border-block-start: 1px solid var(--teal-line); }
}
@media (max-width: 620px) {
  .demo-pair { grid-template-columns: minmax(0, 1fr); }
  .mini-chat { min-height: 0; }
  .marks.tiles li { width: 68px; height: 68px; border-radius: 16px; }
  .marks.big li { width: 44px; height: 44px; border-radius: 12px; }
  .marks { gap: 16px; }
  .stats strong { font-size: 1.3rem; }
  .stats li { padding: 12px; }
}

/* ---- Sixth draft: tool marks with names, problem cards, side-by-side chats ---- */
.tools { display: flex; flex-wrap: wrap; }
.tools li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-family: var(--en); font-weight: 600; white-space: nowrap; }
.tools svg { display: block; flex: none; }
.tools.inline { gap: 8px; }
.tools.inline li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; font-size: 0.8125rem; background: var(--bg); }
.tools.inline svg { width: 16px; height: 16px; }
.strip { align-items: flex-start; }
.strip > span { padding-block-start: 6px; flex: none; }
.strip .tools { flex: 1 1 0; min-width: 0; }
.tools.hubrow, .tools.tiles { justify-content: center; gap: 10px; }
.tools.hubrow { max-width: 860px; margin-inline: auto; }
.tools.hubrow li, .tools.tiles li { flex-direction: column; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); font-size: 0.75rem; white-space: normal; text-align: center; line-height: 1.25; }
.tools.hubrow li { width: 96px; height: 84px; }
.tools.hubrow svg { width: 24px; height: 24px; }
.tools.tiles { max-width: 720px; margin-inline: auto; gap: 14px; }
.tools.tiles li { width: 128px; height: 112px; border-radius: 20px; font-size: 0.875rem; transition: border-color 200ms var(--out), translate 200ms var(--out); }
.tools.tiles li:hover { border-color: var(--teal); translate: 0 -2px; }
.tools.tiles svg { width: 32px; height: 32px; }
.hub { max-width: 1100px; }
.hub-core { max-width: 900px; margin-inline: auto; }
.hub-link { height: 84px; }
.hub-link svg { position: relative; width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 6px var(--surface); }
.mini-reply { border: 1px solid var(--lime); background: var(--lime-soft); border-radius: 10px; padding: 6px 10px; font-size: 0.8125rem !important; margin-block-end: 0 !important; }
.mini-chat p:first-of-type { margin-block-end: 0; }
.mini-chat .chip { margin-block-start: auto; }

/* Problem: three plain cards joined by arrows */
.loop { display: flex; align-items: stretch; justify-content: center; gap: 0; max-width: 1000px; }
.loop li { flex: 1 1 0; }
html[dir] .loop li::before, html[dir] .loop li + li::after { content: none; }
.loop li:not(.to) { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 20px; border: 1px solid var(--teal-line); border-radius: 16px; background: rgb(255 255 255 / 0.04); }
.loop .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--lime); color: var(--ink); font-family: var(--display-en); font-weight: 500; font-size: 1rem; }
.loop p { font-weight: 700; font-size: 1.0625rem; line-height: 1.6; color: #fff; }
html[lang='en'] .loop p { font-weight: 600; font-size: 1rem; }
.loop .to { flex: 0 0 56px; display: grid; place-items: center; }
.loop .to svg { width: 22px; height: 22px; stroke: var(--on-teal-muted); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[dir='rtl'] .loop .to svg { scale: -1 1; }

/* Two chats side by side, named by tool */
.screen-name { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 8px; font-size: 0.8125rem; color: var(--ink); }
.screen-name svg { width: 15px; height: 15px; }
.screen-name b { font-family: var(--en); font-weight: 600; }
.who.ltr-name { font-family: var(--en); direction: ltr; text-align: end; }
html[dir='ltr'] .who.ltr-name { text-align: start; }
.duo { align-items: stretch; }
.duo .screen { display: flex; flex-direction: column; }
.duo .screen-body { flex: 1; }
.duo .chip { margin-block-start: auto; }
.duo-mid { align-content: center; }

@media (max-width: 1000px) {
  .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .duo-mid { display: none; }
  .loop { flex-direction: column; align-items: stretch; max-width: 520px; margin-inline: auto; }
  .loop .to { flex-basis: 40px; }
  .loop .to svg, html[dir='rtl'] .loop .to svg { rotate: 90deg; scale: 1; }
}
@media (max-width: 620px) {
  .duo .screen-body { padding: 12px 10px; gap: 6px; }
  .duo .bubble { font-size: 0.8125rem; padding: 8px 10px; line-height: 1.6; }
  .duo .chip { font-size: 0.6875rem; padding: 2px 8px; }
  .duo .screen-bar { padding: 8px 10px; }
  .duo .screen-bar i { display: none; }
  .duo .screen-name { margin-inline-start: 0; }
  .tools.hubrow li { width: 76px; height: 72px; font-size: 0.6875rem; border-radius: 14px; }
  .tools.tiles li { width: 100px; height: 96px; font-size: 0.8125rem; }
  .strip { flex-direction: column; }
}

/* ---- Inner pages: guides, tool pages, comparisons (seventh draft, 6 October 2026) ---- */
.nav a.link, .nav .signin { white-space: nowrap; }
.prose, .answer { max-width: 46rem; }
.page-hero h1 { max-width: 18em; }
.section.tight { padding-block: clamp(44px, 6vw, 84px); }
.page-hero { padding-block: clamp(28px, 4vw, 56px) clamp(36px, 5vw, 64px); border-block-end: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.2; }
.page-hero .lead { margin-block-start: 20px; font-size: 1.25rem; max-width: 40em; }
.page-hero .actions { justify-content: flex-start; margin-block-start: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 22px; font-size: 0.875rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.updated { margin-block-start: 16px; font-size: 0.875rem; color: var(--muted); }
.prose { display: grid; gap: 18px; font-size: 1.125rem; line-height: 1.85; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); margin-block-end: 4px; }
.prose p { color: var(--ink); max-width: 44em; }
.prose a, .vs a, .terms a, .card p a, details p a { color: var(--teal-2); font-weight: 700; text-underline-offset: 3px; }
.prose.after { margin-block-start: 28px; }
.answer { border: 1px solid var(--lime); background: var(--lime-soft); border-radius: 16px; padding: 22px 26px; display: grid; gap: 6px; }
.answer strong { font-size: 0.875rem; color: var(--teal-2); }
.answer p { font-size: 1.1875rem; font-weight: 500; }
.checks { display: grid; gap: 12px; padding: 0; list-style: none; }
.checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.checks svg { width: 24px; height: 24px; margin-block-start: 5px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.checks svg circle { fill: var(--lime); stroke: none; }
.linklist { display: grid; gap: 0; padding: 0; list-style: none; border-block-start: 1px solid var(--line); }
.linklist li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-block: 14px; border-block-end: 1px solid var(--line); }
.linklist span { color: var(--muted); font-size: 1rem; }
.steps.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.inner .step h3 { font-size: 1.25rem; }
.grid.tri .card { grid-column: span 2; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; }
.inner .card h3 { font-size: 1.25rem; }
.table-scroll { overflow-x: auto; }
.vs.c2 tbody th { width: 34%; }
.vs.c2 td { width: 66%; }
.vs.c4 tbody th { width: 19%; }
.vs.c4 td { width: 27%; }
.vs.plain td:last-child { background: none; color: var(--muted); font-weight: 400; }
.vs.plain thead th:last-child { background: var(--surface); color: var(--ink); }
.tools.tiles.linked li { padding: 0; }
.tools.tiles.linked a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; color: inherit; text-decoration: none; border-radius: inherit; }
.terms { display: grid; gap: 0; margin: 0; border-block-start: 1px solid var(--line); }
.terms > div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 8px 32px; padding-block: 22px; border-block-end: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 16px); }
.terms dt { font-weight: 800; font-size: 1.1875rem; }
.terms dd { margin: 0; color: var(--muted); max-width: 44em; }
.center-text { text-align: center; }
.cta.end .wrap { grid-template-columns: minmax(0, 1.4fr) auto; }
.cta.end .btn { margin: 0; }
.section-head + .prose { margin-block-start: 0; }
.cta .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 1240px) {
  .nav-links, .nav .signin { display: none; }
  .nav .logo { margin-inline-end: auto; }
  .menu, .menu:first-of-type { display: block; }
}
@media (max-width: 1000px) {
  .grid.tri .card { grid-column: span 6; }
  .steps.n2, .steps.n4 { grid-template-columns: minmax(0, 1fr); }
  .cta.end .wrap { grid-template-columns: minmax(0, 1fr); }
  .terms > div { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .prose { font-size: 1.0625rem; }
  .page-hero .lead { font-size: 1.125rem; }
}

/* Explainer video on the home page: one framed player, poster first, plays on request. */
#watch { padding-block-start: 0; }
.film { max-width: 1040px; margin: 0 auto; border-radius: 20px; overflow: hidden; background: var(--ink); border: 1px solid var(--line); box-shadow: 0 40px 80px -32px rgb(11 42 42 / 0.45), 0 16px 32px -18px rgb(11 42 42 / 0.3); }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink); }
.film p { padding: 16px; color: var(--bg); }
.film a { color: var(--lime); }
@media (max-width: 620px) { .film { border-radius: 12px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .lines span { transition-duration: 200ms !important; }
}
