/* resona-app.ru — one stylesheet for every page built by web/build-site.py.
   Warm paper, a large upright serif, the real app window acting out a demo,
   plain lists. House rules (owner, 2026-10-29): no kicker labels above
   headings, no italic accent words, no other companies' product names, none
   of the stock «AI-made site» tricks (gradient blobs, fade-ups, 3-card grids). */

/* ─── fonts (self-hosted, RES-61) ────────────────────────────────────────── */
@font-face { font-family: "Literata"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/literata-normal-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/literata-normal-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/literata-normal-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-normal-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-normal-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-normal-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-normal-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --serif: "Literata", "PT Serif", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  /* the page */
  --paper: #f7f4ee; --paper-2: #efe9de; --card: #fffdf9; --ink: #1b1a17; --ink-2: #47443d; --mute: #736f66;
  --line: #e4ddd0; --red: #e0393e; --red-ink: #c22a2f; --lav: #ece6f8; --lav-ink: #2a2440; --ok: #1f8a5b;
  /* the app's own palette */
  --app-bg: #18181c; --app-panel: #1f1f25; --app-line: rgba(255, 255, 255, .07); --app-ink: #ececef; --app-mute: #8d8d96;
  --app-them: #a68cf5; --app-me: #6f9bff; --app-bubble: #26262c; --app-bubble-me: #1d2436;
  --app-violet: #b9a3ff; --app-violet-bg: #231f33; --app-red: #ff453a; --app-green: #3ecf8e;
}

/* ─── base ───────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; } /* a #link lands below the sticky header */
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 450; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.3vw, 58px); line-height: 1.06; font-variation-settings: "opsz" 48; }
h2 { font-size: clamp(32px, 3.9vw, 52px); line-height: 1.08; font-variation-settings: "opsz" 48; }
h3 { font-size: clamp(25px, 2.3vw, 31px); line-height: 1.15; font-variation-settings: "opsz" 36; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.more { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.more:hover { color: var(--red-ink); }
.nw { white-space: nowrap; }
.fine { margin-top: 18px; font-size: 14.5px; color: var(--mute); }
.note { font-size: 15px; color: var(--mute); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ─── nav ────────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(247, 244, 238, .84); background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .9s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font: 600 19px/1 var(--serif); text-decoration: none; letter-spacing: -.01em; flex: none; }
.logo .mk { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(224, 57, 62, .35); display: grid; place-items: center; }
.logo .mk::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(224, 57, 62, .65); }
.logo .mk::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.nav nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--ink-2); }
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--ink); }
.nav .lang { font: 600 13px/1 var(--sans); text-decoration: none; color: var(--ink-2); border: 1px solid var(--line); border-radius: 99px; padding: 8px 10px; letter-spacing: .02em; }
.nav .lang:hover { color: var(--ink); border-color: var(--ink-2); }
/* phones: the same links in a plain menu, no script */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 18px; height: 18px; }
.menu[open] summary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.menu .drop { position: absolute; right: 0; top: 50px; min-width: 230px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: 0 24px 60px -24px rgba(40, 30, 10, .35); }
.menu .drop a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; font-size: 16px; }
.menu .drop a:hover { background: var(--paper-2); }

/* ─── buttons ────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 16px/1 var(--sans); text-decoration: none; border-radius: 99px; padding: 16px 24px; border: 0; cursor: pointer;
  transition: transform .15s ease, background-color .3s, color .3s; white-space: nowrap; background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn:hover { background: color-mix(in srgb, var(--ink) 86%, var(--paper)); }
.btn-sm { padding: 11px 18px; font-size: 14.5px; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.cta-row { display: flex; align-items: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.micro { font-size: 14px; color: var(--mute); margin-top: 16px; }
.notmac { display: none; margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.not-mac .notmac { display: block; }

/* ─── hero ───────────────────────────────────────────────────────────────── */
.hero { padding: 64px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: 1.14fr .86fr; gap: 52px; align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero h1 { margin-bottom: 24px; font-size: clamp(36px, 3.6vw, 50px); }
.hero .lead { max-width: 30em; }
/* the app window over a quiet panel; the call hangs under it and never covers a line of text */
.stage { position: relative; padding: 28px 28px 82px; }
.stage::before { content: ""; position: absolute; inset: 0 0 36px 0; border-radius: 26px; background: var(--paper-2); }
.stage .app { position: relative; height: 446px; }
.stage .pip { right: -14px; bottom: 0; width: 196px; display: grid; grid-template-columns: 1fr 1fr; z-index: 1; }
.stage .pip .face { height: 64px; }
.stage .pip .face + .face { border-top: 0; border-left: 1px solid rgba(255,255,255,.06); }
.stage .pip .face i { width: 34px; height: 34px; font-size: 13px; }
.stage .pip .bar { grid-column: 1 / -1; }
.pip .them i { background: #7c5cd6; } .pip .me i { background: #3d6fe0; }

/* ─── four plain promises ────────────────────────────────────────────────── */
.promises { padding: 28px 0 24px; }
.promises .wrap { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pr { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 30px 0; }
.pr + .pr { border-left: 1px solid var(--line); padding-left: 24px; }
.pr svg { width: 32px; height: 32px; flex: none; color: var(--ink); }
.pr h3 { font: 600 17px/1.4 var(--sans); letter-spacing: 0; margin-bottom: 4px; }
.pr p { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }

/* ─── before / during / after ────────────────────────────────────────────── */
.story { padding: 96px 0 40px; }
.story > .wrap > .lead { margin-top: 18px; max-width: 34em; }
.step { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--line); }
.step > * { min-width: 0; }
.step:nth-child(even) .copy { order: 2; }
.step h3 { margin-bottom: 14px; }
.step .copy p { color: var(--ink-2); max-width: 28em; }
.step .copy p + p { margin-top: 12px; }
.step .app { min-height: 330px; }
.story .after { padding-top: 40px; }

/* ─── a section with copy on one side and a window on the other ──────────── */
.split { padding: 110px 0 40px; }
.split .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .wrap > * { min-width: 0; }
.split .lead { margin-top: 20px; }
.split ul.plain { list-style: none; margin: 28px 0 0; padding: 0; }
.split ul.plain li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.split ul.plain li b { color: var(--ink); font-weight: 600; }
.split .more { display: inline-block; margin-top: 26px; }
.split .app { min-height: 336px; }

/* memory band */
.memory { background: var(--lav); color: var(--lav-ink); padding: 100px 0; margin-top: 70px; }
.memory .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.memory .wrap > * { min-width: 0; }
.memory h2 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.04; }
.memory .lead { color: #4b4562; margin-top: 22px; max-width: 26em; }
.memory .app { min-height: 300px; }

/* ─── compared with the transcript a call app makes ──────────────────────── */
.compare { padding: 110px 0 40px; }
.compare .lead { margin-top: 18px; max-width: 36em; }
.cmp { width: 100%; margin-top: 44px; border-collapse: separate; border-spacing: 0; font-size: 15.5px; line-height: 1.5; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px 18px; border-top: 1px solid var(--line); }
.cmp thead th { border-top: 0; font: 600 14px/1.3 var(--sans); color: var(--mute); padding-top: 0; }
.cmp thead th.us { color: var(--ink); }
.cmp tbody th { font-weight: 600; width: 22%; color: var(--ink); }
.cmp td { color: var(--ink-2); width: 39%; }
.cmp td.us { color: var(--ink); background: var(--card); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.cmp tbody tr:last-child td.us { border-bottom: 1px solid var(--line); border-radius: 0 0 16px 16px; }
.cmp thead th.us { background: var(--card); border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; padding-top: 16px; }
.cmp .no { color: var(--mute); }
.compare .fine { max-width: 46em; }

/* ─── second brain ───────────────────────────────────────────────────────── */
.brain .fine { margin-top: 18px; }

/* ─── privacy ────────────────────────────────────────────────────────────── */
.privacy { padding: 110px 0 40px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.col { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 30px 26px; }
.col h3 { margin: 0 0 16px; font: 600 19px/1.3 var(--sans); letter-spacing: 0; display: flex; gap: 10px; align-items: center; }
.col h3 svg { width: 22px; height: 22px; flex: none; }
.col ul { margin: 0; padding: 0; list-style: none; }
.col li { padding: 11px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.col li:first-child { border-top: 0; }
.col li b { color: var(--ink); font-weight: 600; }

/* ─── pricing ────────────────────────────────────────────────────────────── */
.pricing { padding: 110px 0 40px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px 28px; display: flex; flex-direction: column; }
.plan.main { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan h3 { font: 600 15px/1 var(--sans); letter-spacing: 0; color: var(--mute); }
.plan.main h3, .plan.main .per { color: #b8b2a6; }
.plan .price { font: 450 54px/1 var(--serif); letter-spacing: -.02em; margin: 18px 0 4px; }
.plan .per { font-size: 14.5px; color: var(--mute); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; flex: 1; }
.plan li { padding: 7px 0 7px 26px; position: relative; font-size: 15.5px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: .55; }
.plan .btn { width: 100%; }
.plan.main .btn { background: var(--paper); color: var(--ink); }
.pay-note { margin-top: 18px; font-size: 14.5px; color: var(--mute); }

/* ─── questions ──────────────────────────────────────────────────────────── */
.faq { padding: 110px 0 40px; }
.faq .list { margin-top: 36px; border-top: 1px solid var(--line); max-width: 860px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; gap: 18px; justify-content: space-between; align-items: baseline; padding: 22px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: clamp(21px, 1.9vw, 25px); line-height: 1.25; }
.qa summary::after { content: "+"; font: 400 26px/1 var(--sans); color: var(--mute); flex: none; transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa .ans { padding: 0 0 24px; color: var(--ink-2); max-width: 44em; }
.qa .ans p + p { margin-top: 10px; }

/* ─── the maker ──────────────────────────────────────────────────────────── */
.maker { padding: 110px 0 30px; }
.maker figure { margin: 0; }
.maker blockquote { margin: 0; max-width: 30em; font: 400 clamp(23px, 2.4vw, 31px)/1.4 var(--serif); letter-spacing: -.01em; font-variation-settings: "opsz" 36; text-wrap: pretty; }
.maker figcaption { margin-top: 24px; color: var(--ink-2); font-size: 15.5px; }

/* ─── download: the last call to action, and what a phone or a PC gets ───── */
.final { padding: 120px 0 110px; text-align: center; }
.final h2 { font-size: clamp(38px, 4.8vw, 66px); }
.final .lead { margin: 20px auto 0; max-width: 30em; }
.final .cta-row { justify-content: center; }
.final .ver { margin-top: 14px; font-size: 14px; color: var(--mute); }
.final .ver a { color: var(--mute); }
.away { display: none; max-width: 560px; margin: 34px auto 0; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px 26px 22px; }
.not-mac .away { display: block; }
.not-mac .final .mac-only { display: none; }
.away p { color: var(--ink-2); }
.away p b { color: var(--ink); }
.away .btn { margin-top: 16px; }
.away .anyway { display: inline-block; margin-top: 18px; font-size: 14.5px; color: var(--mute); }
.status { min-height: 1.5em; margin-top: 10px; font-size: 15px; color: var(--ink); }
.status.bad { color: var(--red-ink); }
.waitlist { display: none; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.on-windows .waitlist { display: block; }
.row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.row .input { flex: 1 1 220px; }

/* form fields */
.input, .area { width: 100%; font: 16px/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; }
.input:focus, .area:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.area { min-height: 150px; resize: vertical; }
.field { display: block; margin-top: 14px; }
.field span { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ─── contact ────────────────────────────────────────────────────────────── */
.contact { padding: 40px 0 120px; }
.contact .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact .wrap > * { min-width: 0; }
.contact .lead { margin-top: 18px; max-width: 26em; }
.contact form { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px 28px 28px; }
.contact .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact .btn { margin-top: 18px; }
.contact .fine { margin-top: 14px; }
.contact .alt { margin-top: 22px; color: var(--ink-2); font-size: 15.5px; }

/* ─── footer ─────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; font-size: 14.5px; color: var(--mute); }
footer .cols4 { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
footer h2 { font: 600 13.5px/1.3 var(--sans); letter-spacing: 0; color: var(--ink); margin-bottom: 12px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 7px 0; }
footer a { color: var(--mute); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .about p { max-width: 22em; margin-top: 12px; }
footer .base { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
footer .base .sp { flex: 1; }

/* ─── reading pages: one column of text, wide figures between ────────────── */
.article { padding: 72px 0 40px; }
.article .wrap { max-width: 760px; }
.article h1 { font-size: clamp(36px, 4.6vw, 56px); }
.byline { margin-top: 22px; display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 15.5px; }
.byline i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 600 13px/1 var(--sans); font-style: normal; flex: none; }
.prose { margin-top: 40px; }
.prose > p, .prose > ul, .prose > ol { font-size: 18.5px; line-height: 1.7; color: var(--ink-2); max-width: 36em; }
.prose > p + p { margin-top: 18px; }
.prose > p.lead { font-size: clamp(19px, 1.7vw, 22px); color: var(--ink); line-height: 1.6; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin: 64px 0 18px; }
.prose ul, .prose ol { margin: 18px 0 0; padding-left: 1.2em; }
.prose li { margin: 10px 0; padding-left: 4px; }
.prose li b, .prose p b { color: var(--ink); font-weight: 600; }
.prose a { text-underline-offset: 3px; }
.prose .pull { margin: 34px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--red); font: 400 clamp(22px, 2.3vw, 28px)/1.4 var(--serif); color: var(--ink); max-width: 30em; }
.fig { margin: 40px -100px; }
.fig .app { min-height: 0; }
.fig figcaption { margin-top: 12px; font-size: 14.5px; color: var(--mute); text-align: center; }
.rules { list-style: none; padding: 0 !important; counter-reset: r; }
.rules li { counter-increment: r; position: relative; padding: 16px 0 16px 52px !important; margin: 0 !important; border-top: 1px solid var(--line); }
.rules li::before { content: counter(r); position: absolute; left: 0; top: 16px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 600 14px/1 var(--sans); color: var(--ink); background: var(--card); }
.flow { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; align-items: stretch; gap: 14px; }
.flow .arr { align-self: center; font: 400 26px/1 var(--sans); color: var(--mute); }
.flow > * { min-width: 0; }
.flow .box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.flow .box h3 { margin: 0 0 8px; font: 600 15px/1.3 var(--sans); letter-spacing: 0; color: var(--ink); }
.flow .box ul { list-style: none; margin: 0; padding: 0; font-size: 14.5px; color: var(--ink-2); }
.flow .box li { padding: 5px 0; border-top: 1px solid var(--line); }
.flow .box li:first-child { border-top: 0; }
.flow .box.folder { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.flow .box.folder h3 { color: var(--paper); }
.flow .box.folder ul { color: #cfc9bd; }
.flow .box.folder li { border-top-color: rgba(255, 255, 255, .1); }

/* ─── audience pages (/for/…) ─────────────────────────────────────────────── */
.moments { padding: 90px 0 30px; }
.moments ol { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: m; border-top: 1px solid var(--line); }
.moments li { counter-increment: m; display: grid; grid-template-columns: 70px 1fr 1.2fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.moments li::before { content: counter(m, decimal-leading-zero); font: 400 30px/1 var(--serif); color: var(--mute); }
.moments li h3 { font-size: clamp(23px, 2vw, 28px); }
.moments li p { color: var(--ink-2); }
.howto { padding: 70px 0 30px; }
.howto ol { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.howto li { border-top: 2px solid var(--ink); padding-top: 18px; }
.howto li h3 { font: 600 18px/1.35 var(--sans); letter-spacing: 0; margin-bottom: 8px; }
.howto li p { color: var(--ink-2); font-size: 15.5px; }
.howto .price-line { margin-top: 36px; color: var(--ink-2); }

/* ─── one working day (/how-it-works/) ────────────────────────────────────── */
[data-day-theme="morning"] { --paper: #f6f1e7; }
[data-day-theme="day"] { --paper: #f2f0ec; }
[data-day-theme="afternoon"] { --paper: #f1e2c8; --paper-2: #e9d6b6; --card: rgba(255, 255, 255, .55); --line: rgba(29, 27, 23, .14); }
[data-day-theme="evening"] { --paper: #1b1a23; --paper-2: #262431; --card: rgba(255, 255, 255, .05); --ink: #f1efe9; --ink-2: #c4c1ba; --mute: #8f8c96; --line: rgba(255, 255, 255, .12); }
.day-themed { background: var(--paper); color: var(--ink); transition: background-color .9s ease, color .9s ease; }
[data-day-theme="evening"] .input, [data-day-theme="evening"] .area { background: rgba(255,255,255,.06); }
.roles { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 30px; }
.roles button { font: 600 14px/1 var(--sans); color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 99px; padding: 11px 13px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.roles button:hover { border-color: var(--ink-2); }
.roles button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.agenda { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px 22px 12px; box-shadow: 0 30px 70px -40px rgba(60, 40, 10, .35); }
.agenda .dt { font: 600 15px/1 var(--sans); color: var(--ink-2); margin-bottom: 14px; }
.agenda ul { list-style: none; margin: 0; padding: 0; }
.agenda li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.agenda li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.agenda li span { color: var(--ink-2); min-width: 0; }
.agenda li em { font: 600 11.5px/1 var(--sans); font-style: normal; padding: 5px 8px; border-radius: 99px; background: rgba(29, 27, 23, .06); color: var(--ink-2); white-space: nowrap; }
.agenda li em.rec { background: rgba(224, 57, 62, .12); color: var(--red-ink); }
.day { position: relative; padding: 24px 0 0; }
.day-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; }
.day-grid > * { min-width: 0; }
.day-step { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; padding: 60px 0; }
.day-time { font: 400 clamp(64px, 7vw, 104px)/1 var(--serif); letter-spacing: -.03em; font-variant-numeric: lining-nums; font-variation-settings: "opsz" 72; }
.day-step h3 { margin-top: 18px; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.12; }
.day-step p { margin-top: 14px; color: var(--ink-2); max-width: 27em; }
.day-step .note { color: var(--mute); }
.day-slot { display: none; margin-top: 26px; }
.day-visual { position: sticky; top: calc(50vh - 220px); height: 440px; }
.day-visual .app { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.day-visual .app.active { opacity: 1; transform: none; }
.day-progress { position: absolute; left: -36px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.day-progress i { position: absolute; left: 0; top: 0; width: 2px; background: var(--red); height: 0; transition: height .3s ease; }
.outro { padding: 130px 0 120px; text-align: center; }
.outro h2 { font-size: clamp(38px, 5vw, 68px); max-width: 13em; margin: 0 auto; }
.outro .lead { max-width: 32em; margin: 22px auto 0; }
.outro .cta-row { justify-content: center; }
.outro .price-line { margin-top: 18px; color: var(--mute); font-size: 15px; }
.role-more { margin-top: 10px; }

/* ─── /buy/ ───────────────────────────────────────────────────────────────── */
.buy { padding: 64px 0 100px; }
.buy .wrap { max-width: 860px; }
.buy h1 { font-size: clamp(36px, 4.4vw, 54px); }
.buy .lead { margin-top: 18px; }
.buy-step { margin-top: 44px; }
.buy-step h2 { font: 600 19px/1.3 var(--sans); letter-spacing: 0; margin-bottom: 10px; }
.buy-step p { color: var(--ink-2); max-width: 40em; }
.buy-step .input { max-width: 460px; margin-top: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; }
.buy-hint { font-size: 14px; color: var(--ink-2); margin-top: 8px; min-height: 20px; }
.buy-hint.bad { color: var(--red-ink); }
.buy-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.buy-plan { display: block; cursor: pointer; position: relative; }
.buy-plan input { position: absolute; opacity: 0; }
.buy-plan .card { height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; transition: border-color .15s, box-shadow .15s; }
.buy-plan .card b { font: 600 14.5px/1.3 var(--sans); color: var(--ink-2); }
.buy-plan .card p { font-size: 14.5px; margin-top: 6px; }
.buy-plan input:checked + .card { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.buy-plan input:focus-visible + .card { outline: 2px solid var(--red); outline-offset: 2px; }
.buy-price { font: 450 30px/1.1 var(--serif); color: var(--ink); margin: 10px 0 4px; font-variant-numeric: tabular-nums; }
.buy-consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 6px; color: var(--ink-2); font-size: 15px; line-height: 1.5; cursor: pointer; max-width: 640px; }
.buy-consent input { margin: 3px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--ink); }
.buy-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 14px; }

/* ─── 404 ────────────────────────────────────────────────────────────────── */
.lost { padding: 120px 0 140px; }
.lost .lead { margin-top: 20px; max-width: 30em; }
.lost ul { list-style: none; padding: 0; margin: 30px 0 0; }
.lost li { margin: 10px 0; }

/* ─── the app window, as the real app draws it ───────────────────────────── */
.app {
  position: relative; background: var(--app-bg); color: var(--app-ink);
  border-radius: 14px; overflow: hidden; font: 14px/1.5 var(--sans);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 80px -20px rgba(20, 16, 10, .45), 0 10px 30px -10px rgba(20, 16, 10, .35);
  border: 1px solid rgba(0,0,0,.35); text-align: left; isolation: isolate;
  container-type: inline-size;
}
/* doubled class: outranks page rules such as ".step p" */
.app.app p, .app.app h5, .app.app h6, .app.app ul, .app.app dl { max-width: none; color: inherit; letter-spacing: normal; margin: 0; }
.app-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--app-line); background: #16161a; }
.app-dots { display: flex; gap: 7px; flex: none; }
.app-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; display: block; }
.app-dots i:nth-child(2) { background: #febc2e; } .app-dots i:nth-child(3) { background: #28c840; }
.app-title { flex: 1; min-width: 0; font-size: 13px; color: var(--app-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-title b { color: var(--app-ink); font-weight: 600; }
.app-rec { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--sans); font-variant-numeric: tabular-nums; color: #ffb0aa;
  background: rgba(255, 69, 58, .12); padding: 6px 10px; border-radius: 99px; flex: none; }
.app-rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--app-red); animation: rec 1.4s ease-in-out infinite; }
.app-rec.off { color: var(--app-mute); background: rgba(255,255,255,.06); }
.app-rec.off::before { background: var(--app-mute); animation: none; }
.app-rec .rl::after { content: " · "; }
@keyframes rec { 50% { opacity: .35; } }
.app-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
/* a live transcript in a window of fixed height scrolls like a chat: old lines leave at the top */
.app.chat .app-body { height: calc(100% - 44px); justify-content: flex-end; overflow: hidden; }
.app.chat.done .app-body { justify-content: flex-start; }
@container (max-width: 440px) {
  .app-sub, .app-rec .rl { display: none; }
  .app.chat.done .ln { display: none !important; }
}
/* transcript lines: a line takes no room until it is said */
.app .ln { display: none; flex-direction: column; gap: 4px; max-width: 86%; }
.app .ln.on { display: flex; animation: lnIn .35s ease both; }
@keyframes lnIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.app .ln .ln-who { font-size: 12px; color: var(--app-mute); display: flex; gap: 8px; align-items: baseline; }
.app .ln .ln-who b { font-weight: 600; color: var(--app-them); }
.app .ln .bubble { background: var(--app-bubble); padding: 9px 13px; border-radius: 13px; font-size: 14px; line-height: 1.45; }
.app .ln.me { align-self: flex-end; align-items: flex-end; }
.app .ln.me .ln-who b { color: var(--app-me); }
.app .ln.me .bubble { background: var(--app-bubble-me); }
/* a recording with one sound source (a file, a meeting in the room): plain lines with the time */
.app .pl { display: none; grid-template-columns: 44px 1fr; gap: 10px; font-size: 14px; line-height: 1.5; }
.app .pl.on { display: grid; animation: lnIn .35s ease both; }
.app .pl .t { color: var(--app-mute); font-size: 12px; font-variant-numeric: tabular-nums; padding-top: 2px; }
.app .caret::after { content: ""; display: inline-block; width: 2px; height: 1em; background: currentColor; opacity: .6; margin-left: 2px; vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.app .room { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--app-mute); }
.app .room svg { width: 15px; height: 15px; flex: none; color: var(--app-ink); }
/* buttons inside the window */
.app .app-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.app .app-btn svg { width: 14px; height: 14px; flex: none; }
.app .app-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; font: 600 12.5px/1 var(--sans); color: #fff; padding: 9px 13px; border-radius: 99px;
  background: linear-gradient(90deg, #875ffa, #b36bf5); transition: transform .2s ease, box-shadow .3s ease; }
.app .app-btn.ghost { background: rgba(255,255,255,.07); color: var(--app-ink); }
.app .app-btn.press { transform: scale(.96); box-shadow: 0 0 0 6px rgba(166, 140, 245, .25); }
/* the summary card */
.app .sum { background: var(--app-violet-bg); border: 1px solid rgba(166, 140, 245, .28); border-radius: 13px; padding: 14px 16px 12px; }
.app .sum h6 { margin: 0 0 10px; font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--app-violet); display: flex; align-items: center; gap: 8px; }
.app .sum h6 svg { width: 14px; height: 14px; }
.app .sum .grp { margin: 10px 0 4px; font: 700 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: rgba(185, 163, 255, .75); }
.app .sum ul { margin: 0; padding: 0; list-style: none; }
.app .sum li { position: relative; padding-left: 14px; margin: 5px 0; font-size: 13.5px; line-height: 1.45; opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; }
.app .sum li::before { content: ""; position: absolute; left: 1px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: #9b82f0; }
.app .sum li.on, .app .sum .grp.on, .app .sum h6.on { opacity: 1; transform: none; }
.app .sum .grp, .app .sum h6 { opacity: 0; transition: opacity .3s ease; }
.app .sum li b { font-weight: 650; }
.app .sum li .due { color: var(--app-mute); }
/* ask across meetings */
.app .ask-field { display: flex; align-items: center; gap: 10px; background: var(--app-panel); border: 1px solid var(--app-line); border-radius: 12px; padding: 12px 14px; font-size: 15px; min-height: 48px; }
.app .ask-field svg { width: 16px; height: 16px; color: var(--app-mute); flex: none; }
.app .ask-found { font-size: 12px; color: var(--app-mute); margin: 4px 2px 0; opacity: 0; transition: opacity .3s; }
.app .ask-found.on { opacity: 1; }
.app .quote { background: var(--app-panel); border: 1px solid var(--app-line); border-radius: 12px; padding: 11px 14px; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.app .quote.on { opacity: 1; transform: none; }
.app .quote q { display: block; font-size: 14px; line-height: 1.45; quotes: "«" "»"; }
.app .quote q mark { background: rgba(166, 140, 245, .25); color: inherit; border-radius: 3px; padding: 0 2px; }
.app .quote .src { margin-top: 6px; font-size: 12px; color: var(--app-mute); display: flex; gap: 8px; flex-wrap: wrap; }
.app .quote .src b { color: var(--app-me); font-weight: 600; }
html[lang="en"] .app .quote q { quotes: "“" "”"; }
/* copilot card */
.app .hint { background: var(--app-violet-bg); border: 1px solid rgba(166, 140, 245, .28); border-radius: 13px; padding: 13px 15px; }
.app .hint h6 { margin: 0 0 8px; font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--app-violet); }
.app .hint p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; display: flex; gap: 8px; opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; }
.app .hint p.on { opacity: 1; transform: none; }
/* before the meeting (PreMeetingBrief.swift) */
.app .brief { background: var(--app-panel); border: 1px solid var(--app-line); border-radius: 13px; padding: 14px 16px; }
.app .brief .brief-eyebrow { font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #ffb0aa; display: flex; gap: 8px; align-items: center; }
.app .brief .brief-eyebrow span { color: var(--app-mute); }
.app .brief h5 { margin: 8px 0 2px; font: 600 16px/1.3 var(--sans); }
.app .brief .brief-meta { font-size: 12.5px; color: var(--app-mute); }
.app .brief .brief-meta + .brief-meta { margin-top: 2px; }
.app .brief dl { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 13.5px; }
.app .brief dt { color: var(--app-mute); white-space: nowrap; }
.app .brief dd { margin: 0; }
.app .brief dt, .app .brief dd { opacity: 0; transition: opacity .3s ease; }
.app .brief .on { opacity: 1; }
/* no internet */
.app .offline { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #c9f3dd; background: rgba(62, 207, 142, .12); border: 1px solid rgba(62, 207, 142, .3); padding: 8px 12px; border-radius: 10px; }
.app .offline svg { width: 15px; height: 15px; flex: none; }
/* a file being transcribed */
.app .file { display: flex; align-items: center; gap: 12px; background: var(--app-panel); border: 1px solid var(--app-line); border-radius: 12px; padding: 12px 14px; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.app .file.on { opacity: 1; transform: none; }
.app .file svg { width: 22px; height: 22px; flex: none; color: var(--app-violet); }
.app .file b { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app .file span { display: block; font-size: 12px; color: var(--app-mute); }
.app .file > div { min-width: 0; }
.app .prog { font-size: 12.5px; color: var(--app-mute); opacity: 0; transition: opacity .3s; }
.app .prog.on { opacity: 1; }
.app .prog .track { margin-top: 7px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.app .prog .track i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #875ffa, #b36bf5); transition: width .25s linear; }
.app .prog .lbl { display: flex; justify-content: space-between; gap: 10px; }
/* a light window: the visitor's own AI assistant, deliberately not Resona's dark one */
.app.light { background: #fbfaf7; color: #1d1c19; border: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 30px 70px -30px rgba(40, 30, 10, .35), 0 8px 24px -12px rgba(40, 30, 10, .2); }
.app.light .app-bar { background: #f0ede6; border-bottom-color: rgba(0,0,0,.07); }
.app.light .app-title { color: #7a766d; }
.app.light .app-title b { color: #1d1c19; }
.app .as-me { align-self: flex-end; max-width: 82%; min-height: 1.45em; background: #e8e3d8; padding: 9px 13px; border-radius: 13px; font-size: 14px; line-height: 1.45; }
.app .as-ctx { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: #7a766d; opacity: 0; transition: opacity .3s; }
.app .as-ctx .chip { display: inline-flex; align-items: center; gap: 5px; background: #efeadf; border: 1px solid rgba(0,0,0,.06); border-radius: 99px; padding: 4px 9px; color: #47443d;
  opacity: 0; transform: translateY(3px); transition: opacity .3s ease, transform .3s ease; }
.app .as-ctx .chip svg { width: 12px; height: 12px; flex: none; }
.app .as-ctx.on, .app .as-ctx .chip.on { opacity: 1; transform: none; }
.app .as-draft { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: 12px 14px 6px; font-size: 14px; line-height: 1.5; opacity: 0; transition: opacity .3s; }
.app .as-draft.on { opacity: 1; }
.app.app .as-draft p { margin: 0 0 7px; opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; }
.app.app .as-draft p.on { opacity: 1; transform: none; }
/* Settings → «Second brain» */
.app .sb-step { display: flex; gap: 12px; background: var(--app-panel); border: 1px solid var(--app-line); border-radius: 12px; padding: 12px 14px; }
.app .sb-n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 600 12px/1 var(--sans); font-style: normal;
  background: rgba(255,255,255,.08); color: var(--app-ink); transition: background .3s, color .3s; }
.app .sb-n.ok { background: rgba(62, 207, 142, .18); color: var(--app-green); }
.app .sb-step b { display: block; font-weight: 600; font-size: 14px; }
.app .sb-text { display: block; font-size: 12.5px; line-height: 1.45; color: var(--app-mute); margin-top: 2px; }
.app .sb-path { display: inline-block; margin-top: 7px; font-size: 12.5px; color: var(--app-ink); background: rgba(255,255,255,.06); border-radius: 7px; padding: 4px 8px; opacity: 0; transition: opacity .3s; }
.app .sb-path.on { opacity: 1; }
.app .sb-btn { display: inline-block; margin-top: 8px; font: 600 12.5px/1 var(--sans); padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,.1); transition: transform .2s, box-shadow .3s; }
.app .sb-btn.press { transform: scale(.96); box-shadow: 0 0 0 5px rgba(166, 140, 245, .25); }
.app .sb-field { display: flex; align-items: center; margin-top: 8px; min-height: 34px; border: 1.5px solid rgba(255, 69, 58, .7); border-radius: 9px; padding: 6px 10px; font-size: 13px; }
/* the call picture-in-picture: drawn people, no photos */
.pip { position: absolute; width: 132px; border-radius: 14px; overflow: hidden; background: #0d0d10; box-shadow: 0 18px 40px -12px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.08); }
.pip .face { height: 84px; display: grid; place-items: center; position: relative; }
.pip .face + .face { border-top: 1px solid rgba(255,255,255,.06); }
.pip .face i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 600 15px/1 var(--sans); color: #fff; font-style: normal; }
.pip .face.talk i { box-shadow: 0 0 0 3px rgba(62, 207, 142, .55); }
.pip .face small { position: absolute; left: 8px; bottom: 6px; font: 500 10.5px/1 var(--sans); color: rgba(255,255,255,.75); }
.pip .bar { display: flex; justify-content: center; gap: 6px; padding: 7px 0 8px; background: #0a0a0c; }
.pip .bar span { width: 22px; height: 14px; border-radius: 99px; background: rgba(255,255,255,.12); }
.pip .bar span:last-child { background: #ff453a; }

/* ─── motion and sizes ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav, .btn, .day-themed, .day-visual .app { transition: none; }
  .app .ln.on, .app .pl.on { animation: none; }
  .app .sum li, .app .sum .grp, .app .sum h6, .app .quote, .app .hint p, .app .brief dt, .app .brief dd, .app .ask-found, .app .file, .app .prog, .app .prog .track i,
  .app .as-ctx, .app .as-ctx .chip, .app .as-draft, .app .as-draft p, .app .sb-path, .app .sb-n { transition: none !important; }
  .app-rec::before, .app .caret::after { animation: none !important; }
}
@media (max-width: 1080px) {
  .promises .wrap { grid-template-columns: 1fr 1fr; }
  .pr:nth-child(3) { border-left: 0; padding-left: 0; }
  .pr:nth-child(n+3) { border-top: 1px solid var(--line); }
  footer .cols4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) { .fig { margin-left: 0; margin-right: 0; } }
@media (max-width: 960px) {
  .hero .wrap, .step, .memory .wrap, .split .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 36px; }
  .step:nth-child(even) .copy { order: 0; }
  .cols, .plans { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .nav .lang { margin-left: auto; }
  .menu { display: block; }
  .day-grid { grid-template-columns: 1fr; gap: 0; }
  .day-visual-col { display: none; }
  .day-step { min-height: 0; padding: 52px 0; border-top: 1px solid var(--line); }
  .day-slot { display: block; }
  .day-slot .app { position: relative; opacity: 1; transform: none; min-height: 340px; }
  .moments li { grid-template-columns: 54px 1fr; }
  .moments li p { grid-column: 2; }
  .howto ol { grid-template-columns: 1fr; gap: 26px; }
  .buy-plans { grid-template-columns: 1fr; }
  /* the comparison reads as cards: what, then them, then Resona */
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp thead { display: none; }
  .cmp tbody tr { border-top: 1px solid var(--line); padding: 18px 0; }
  .cmp tbody th, .cmp td { width: auto; border: 0 !important; padding: 4px 0; background: none !important; border-radius: 0 !important; }
  .cmp td::before { content: attr(data-h) ": "; font-weight: 600; color: var(--mute); }
  .cmp td.us::before { color: var(--ink); }
}
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; }
  .flow .arr { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 640px) {
  .promises .wrap { grid-template-columns: 1fr; }
  .pr, .pr + .pr { border-left: 0; padding: 22px 0; }
  .pr + .pr { border-top: 1px solid var(--line); }
  .pr { flex-direction: row; gap: 16px; }
  .contact .two { grid-template-columns: 1fr; gap: 0; }
  footer .cols4 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav .wrap { gap: 12px; }
  .hero { padding-top: 34px; }
  .stage { padding: 16px 16px 24px; }
  .stage::before { inset: 0; }
  .stage .app { height: 440px; }
  .stage .pip { display: none; }
  .btn:not(.btn-sm) { width: 100%; }
  .roles button { padding: 10px 13px; font-size: 14.5px; }
  .story { padding-top: 70px; }
  .step { padding: 48px 0; }
  .memory { padding: 70px 0; }
  .split, .privacy, .pricing, .maker, .compare, .faq, .moments { padding-top: 80px; }
  .final { padding: 90px 0 90px; }
  .plan .price { font-size: 46px; }
  .day-time { font-size: 60px; }
  .contact form { padding: 8px 18px 22px; }
  .away { padding: 20px 18px 18px; }
}
/* a 320 px phone: logo, language, menu and «Download» fit one row */
@media (max-width: 374px) {
  .nav .wrap { gap: 8px; }
  .logo { gap: 8px; font-size: 18px; }
  .nav .lang { padding: 8px; }
  .menu summary { width: 36px; height: 36px; }
  .nav .btn-sm { padding: 10px 12px; }
}
