/* ساعد · Saed landing pages (/saed, /saed/en). The privacy page and 404 keep site.css.
   One world: the brand ink as the ground. Colour is information:
   wadi teal = what Saed handles, sand = what reaches you, coral = complaints. */
@font-face {
  font-family: "Readex Pro"; font-style: normal; font-weight: 160 700; font-display: swap;
  src: url(/saed/assets/fonts/readex-pro-arabic.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Readex Pro"; font-style: normal; font-weight: 160 700; font-display: swap;
  src: url(/saed/assets/fonts/readex-pro-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --g0: #0a201f; --g1: #0f2b2a; --g2: #143533; --g3: #1b403d;
  --line: #24504c; --line-soft: #1a3c3a;
  --ink: #ecf3f0; --ink-2: #a9c0bb; --ink-3: #84a19c;
  --wadi: #3cc8bd; --wadi-hi: #6ed8cf; --on-wadi: #052220; --wadi-wash: #134542;
  --sand: #e0b171; --on-sand: #2a1b07; --sand-wash: #3a3423;
  --coral: #ff8a78; --coral-wash: #43302b;
  --shadow: 0 24px 48px -16px #020c0bcc, 0 2px 6px #020c0b66;
  --r-s: 8px; --r-m: 12px; --r-l: 20px; --r-xl: 28px;
  --font: "Readex Pro", "Noto Sans Arabic", system-ui, sans-serif;
  --gutter: 16px; --max: 1200px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--g1); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.75; font-weight: 340; -webkit-font-smoothing: antialiased; }
html[lang="en"] body { line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
a { color: var(--wadi); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--wadi-hi); }
::selection { background: var(--wadi); color: var(--on-wadi); }
:focus-visible { outline: 2px solid var(--wadi); outline-offset: 3px; border-radius: var(--r-s); }
p, h1, h2, h3, ol, ul, dl, dd, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; }
p { text-wrap: pretty; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--wadi); color: var(--on-wadi); padding: 8px 16px; border-radius: var(--r-s); z-index: 20; }
.skip:focus { top: 8px; }
.skip:hover { color: var(--on-wadi); }
html { scrollbar-color: var(--line) var(--g0); -webkit-tap-highlight-color: transparent; }
a, button, summary { touch-action: manipulation; }

/* Display type: Readex Pro's width axis, stretched on headings only */
.display { font-weight: 700; font-variation-settings: "HEXP" 62; letter-spacing: 0; }
html[lang="en"] .display { font-variation-settings: "HEXP" 30; letter-spacing: -0.02em; }
.h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.3; font-weight: 650; font-variation-settings: "HEXP" 40; }
html[lang="en"] .h2 { font-variation-settings: "HEXP" 18; letter-spacing: -0.015em; line-height: 1.2; }
.intro { margin-top: 16px; color: var(--ink-2); font-size: 18px; max-width: 38em; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: var(--g1); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.top.scrolled { border-bottom-color: var(--line-soft); background: var(--g0); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand img { height: 36px; width: auto; }
.top nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.top nav .links { display: none; gap: 4px; margin-inline-end: 12px; }
.navlink { color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 10px 12px; border-radius: var(--r-s); min-height: 44px; display: inline-flex; align-items: center; }
.navlink:hover { color: var(--ink); background: var(--g2); }

/* Buttons */
.btn { font: inherit; font-size: 16px; font-weight: 550; line-height: 20px; min-height: 52px; padding: 0 24px; border-radius: var(--r-m); border: 1px solid var(--line); background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.btn:hover { background: var(--g2); border-color: var(--ink-3); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-wadi { background: var(--wadi); border-color: var(--wadi); color: var(--on-wadi); }
.btn-wadi:hover { background: var(--wadi-hi); border-color: var(--wadi-hi); color: var(--on-wadi); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }

/* Hero */
.hero { padding-block: 40px 0; }
.hero-copy { display: grid; gap: 28px; align-items: end; }
.hero h1 { font-size: clamp(46px, 8.4vw, 104px); line-height: 1.12; }
html[lang="en"] .hero h1 { line-height: 1.02; }
.hero .lede { font-size: 19px; line-height: 1.8; color: var(--ink-2); max-width: 32em; }
.hero .lede strong { color: var(--ink); font-weight: 500; }
html[lang="en"] .hero .lede { line-height: 1.6; }
.hero .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .fine { margin-top: 16px; font-size: 14px; line-height: 1.7; color: var(--ink-3); max-width: 34em; }

/* Opening moment: the headline settles into its width */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 { animation: settle 1.1s var(--ease) both; }
  .js .hero-side { animation: lift .9s .25s var(--ease) both; }
  .js .console { animation: lift 1s .4s var(--ease) both; }
}
@keyframes settle { from { font-variation-settings: "HEXP" 0; opacity: 0; filter: blur(6px); } to { opacity: 1; filter: none; } }
@keyframes lift { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Console: inbox, conversation, and what Saed does behind it */
.console { margin-top: 48px; background: var(--g0); border: 1px solid var(--line-soft); border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden; }
.con-bar { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); font-size: 14px; line-height: 20px; color: var(--ink-2); }
.con-bar b { color: var(--ink); font-weight: 550; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wadi); box-shadow: 0 0 0 3px var(--wadi-wash); }
.con-bar .note { margin-inline-start: auto; font-size: 13px; color: var(--ink-3); }
.con-body { display: grid; grid-template-columns: 1fr; }

.inbox { display: flex; gap: 6px; padding: 12px; overflow-x: auto; border-bottom: 1px solid var(--line-soft); scrollbar-width: none; }
html:not(.js) .inbox { display: none; }
.inbox button { flex: 1 0 auto; font: inherit; display: flex; align-items: center; gap: 10px; text-align: start; padding: 8px 12px 8px 14px; min-height: 52px; border: 1px solid transparent; border-radius: var(--r-m); background: transparent; color: var(--ink-2); cursor: pointer; transition: background-color .2s, border-color .2s; }
.inbox button:hover { background: var(--g2); color: var(--ink); }
.inbox button[aria-selected="true"] { background: var(--g2); border-color: var(--line); color: var(--ink); }
.inbox .who { display: grid; line-height: 20px; }
.inbox .who b { font-weight: 550; font-size: 14px; }
.inbox .who small { display: none; font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 22ch; }
.inbox .flag { margin-inline-start: auto; width: 8px; height: 8px; border-radius: 50%; background: transparent; flex: none; }
.inbox .flag.ok { background: var(--wadi); }
.inbox .flag.you { background: var(--sand); }
.inbox .flag.urgent { background: var(--coral); }

.av { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--sand); color: var(--on-sand); display: grid; place-items: center; font-weight: 600; font-size: 16px; line-height: 1; }

.con-panel { display: grid; grid-template-columns: 1fr; }
.con-panel[hidden] { display: none; }

.thread { display: flex; flex-direction: column; min-width: 0; }
.thread-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); }
.thread-head b { display: block; font-size: 15px; line-height: 22px; font-weight: 550; }
.thread-head small { display: block; font-size: 13px; line-height: 18px; color: var(--ink-3); }
.thread-head .ch { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.thread-head .ch svg { width: 16px; height: 16px; }
.chat { display: flex; flex-direction: column; gap: 8px; padding: 18px 16px 24px; min-height: 430px; }
.day { align-self: center; font-size: 12px; line-height: 16px; color: var(--ink-3); background: var(--g2); border-radius: var(--r-s); padding: 3px 10px; margin-bottom: 4px; }
.b { max-width: 88%; padding: 10px 14px; font-size: 15px; line-height: 1.7; border-radius: 18px; }
html[lang="en"] .b { line-height: 1.55; }
.b time { display: block; margin-top: 2px; font-size: 11px; line-height: 16px; color: var(--ink-3); text-align: end; font-variant-numeric: tabular-nums; }
.b.c { align-self: flex-start; background: var(--g2); border-end-start-radius: 4px; }
.b.s { align-self: flex-end; background: var(--wadi-wash); border-end-end-radius: 4px; }
.b.s time { color: #8fc4bd; }
.b .pv { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; line-height: 20px; color: var(--wadi-hi); }
.b .pv svg { width: 14px; height: 14px; flex: none; }
.typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 14px 16px; background: var(--wadi-wash); border-radius: 18px; border-end-end-radius: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--wadi); animation: dots 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-2px); } }

/* The trace: what Saed did, in order */
.trace { border-top: 1px solid var(--line-soft); padding: 16px 20px 24px; background: linear-gradient(var(--g0), var(--g0)) padding-box; }
.trace-h { font-size: 14px; line-height: 20px; font-weight: 550; color: var(--ink-2); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.trace-h svg { width: 16px; height: 16px; color: var(--wadi); }
.trace ol { list-style: none; padding: 0; display: grid; gap: 0; position: relative; }
.t { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 16px; font-size: 14px; line-height: 1.65; }
.t::before { content: ""; position: absolute; inset-inline-start: 13.5px; top: 28px; bottom: 0; width: 1px; background: var(--line); }
.t:last-child::before { display: none; }
.t .ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--g2); color: var(--wadi); border: 1px solid var(--line); }
.t .ic svg { width: 14px; height: 14px; }
.t.you .ic { color: var(--sand); }
.t.urgent .ic { color: var(--coral); }
.t b { font-weight: 550; color: var(--ink); }
.t p { color: var(--ink-2); }
.chip { display: inline-block; font-size: 12px; line-height: 18px; font-weight: 550; padding: 1px 8px; border-radius: 6px; margin-inline-start: 6px; vertical-align: 1px; }
.chip.q { background: var(--wadi-wash); color: var(--wadi-hi); }
.chip.you { background: var(--sand-wash); color: var(--sand); }
.chip.urgent { background: var(--coral-wash); color: var(--coral); }
.doc { margin-top: 6px; display: block; background: var(--g1); border: 1px solid var(--line-soft); border-radius: var(--r-s); padding: 8px 12px; font-size: 13px; line-height: 1.7; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.doc mark { background: none; color: var(--wadi-hi); box-shadow: inset 0 -0.45em 0 #3cc8bd26; padding-inline: 1px; }
.doc .src { display: block; color: var(--ink-3); font-size: 12px; }
.alert { margin-top: 2px; background: var(--g2); border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; font-size: 14px; line-height: 1.65; }
.alert.you { border-color: #e0b17166; }
.alert.urgent { border-color: #ff8a7866; }
.alert.ok { border-color: #3cc8bd55; }
.alert-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; font-size: 13px; color: var(--ink-2); }
.alert-top b { font-weight: 550; color: var(--ink); }
.replay { font: inherit; font-size: 13px; color: var(--ink-3); background: none; border: 0; padding: 10px 0; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.replay:hover { color: var(--wadi); }
.replay[hidden] { display: none; }

/* Playback: steps wait hidden until their turn, then arrive */
.js .console [data-seq] { display: none; }
.js .console [data-seq].on { display: block; animation: arrive .45s var(--ease) both; }
.js .console .t[data-seq].on { display: grid; }
.js .console .typing[data-seq].on { display: inline-flex; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.js .b.s .w { opacity: 0; animation: tok .35s var(--ease) forwards; animation-delay: calc(var(--i) * 32ms); }
.js .b.s:not(.on) .w { animation: none; }
@keyframes tok { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }
.js .doc mark { transition: box-shadow .6s .3s var(--ease); }
.js .t:not(.on) .doc mark { box-shadow: inset 0 0 0 #3cc8bd00; }

/* Season */
.season { margin-top: 72px; border-block: 1px solid var(--line-soft); background: var(--g0); }
.season-in { display: grid; gap: 20px; padding-block: 32px; align-items: center; }
.season h2 { font-size: 24px; line-height: 1.5; font-weight: 600; color: var(--sand); }
.season p { margin-top: 6px; color: var(--ink-2); max-width: 46em; }

/* Sections */
.band { padding-block: 88px; }
.band + .band { border-top: 1px solid var(--line-soft); }

/* How it works: one route, two outcomes */
.route { list-style: none; padding: 0; margin-top: 48px; display: grid; gap: 0; counter-reset: s; }
.route > li { counter-increment: s; position: relative; display: grid; grid-template-columns: 48px 1fr; align-content: start; gap: 20px; padding-bottom: 36px; }
.route > li::before { content: counter(s); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--g2); color: var(--ink); font-weight: 600; font-size: 18px; display: grid; place-items: center; font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.route > li::after { content: ""; position: absolute; inset-inline-start: 23.5px; top: 48px; bottom: 0; width: 1px; background: var(--line); }
.route > li:last-child::after { display: none; }
.route h3 { font-size: 21px; line-height: 1.5; padding-top: 8px; }
.route p { margin-top: 6px; color: var(--ink-2); max-width: 30em; }
.outcomes { margin-top: 16px; display: grid; gap: 10px; }
.outcome { display: grid; grid-template-columns: 10px 1fr; gap: 12px; align-items: baseline; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.outcome::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--wadi); transform: translateY(1px); }
.outcome.you::before { background: var(--sand); }
.outcome b { color: var(--ink); font-weight: 550; }

/* The route draws itself once, in order, when it scrolls in */
@media (prefers-reduced-motion: no-preference) {
  .js .route > li::before { transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease); }
  .js .route > li::after { transform-origin: top; transition: transform .9s var(--ease); }
  .js .route:not(.in) > li::after { transform: scaleY(0); }
  .js .route > li > div { transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .route:not(.in) > li > div { opacity: 0; transform: translateY(10px); }
  .js .route > li:nth-child(2) > div, .js .route > li:nth-child(1)::after { transition-delay: .35s; }
  .js .route > li:nth-child(3) > div, .js .route > li:nth-child(2)::after { transition-delay: .7s; }
  .js .route > li:nth-child(2)::before { transition-delay: .5s; }
  .js .route > li:nth-child(3)::before { transition-delay: .85s; }
  .js .route.in > li::before { background: var(--wadi-wash); border-color: var(--wadi); color: var(--wadi-hi); }
  .js .route.in > li:nth-child(3)::before { background: var(--sand-wash); border-color: var(--sand); color: var(--sand); }
}

/* Capabilities: a ruled spec list, plan noted on each row */
.caps { list-style: none; padding: 0; margin-top: 48px; display: grid; border-top: 1px solid var(--line-soft); }
.caps li { display: grid; grid-template-columns: 28px 1fr; gap: 18px; padding-block: 24px; border-bottom: 1px solid var(--line-soft); }
.caps svg { width: 24px; height: 24px; color: var(--wadi); margin-top: 4px; }
.caps h3 { font-size: 20px; line-height: 1.55; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.caps p { margin-top: 4px; color: var(--ink-2); max-width: 34em; }
.plan-tag { font-size: 13px; line-height: 20px; font-weight: 500; color: var(--sand); }

/* Who */
.who-list { list-style: none; padding: 0; margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.who-list li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: 16px; line-height: 24px; color: var(--ink); }
.who-list li:last-child { border-style: dashed; color: var(--ink-2); }

/* Trust: the path a message takes, as one track */
.path { list-style: none; padding: 0; margin-top: 48px; display: grid; border: 1px solid var(--line-soft); border-radius: var(--r-l); background: var(--g0); overflow: hidden; }
.path li { position: relative; padding: 24px; display: grid; gap: 8px; align-content: start; }
.path li + li { border-top: 1px solid var(--line-soft); }
.path .k { display: flex; align-items: center; gap: 10px; font-weight: 550; font-size: 17px; line-height: 1.5; }
.path .k svg { width: 22px; height: 22px; color: var(--wadi); flex: none; }
.path li.you .k svg { color: var(--sand); }
.path p { color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.trust { margin-top: 56px; display: grid; gap: 40px; }
.trust h3 { font-size: 22px; line-height: 1.5; }
.trust ul { margin-top: 12px; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink-2); }
.trust li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; }
.trust li svg { width: 18px; height: 18px; color: var(--wadi); margin-top: 6px; }
.trust .more { display: inline-block; margin-top: 16px; font-weight: 500; }

/* Plans */
.plans { list-style: none; padding: 0; margin-top: 48px; display: grid; gap: 16px; }
.plan { border: 1px solid var(--line-soft); border-radius: var(--r-l); padding: 28px 24px; display: flex; flex-direction: column; background: var(--g1); }
.plan-top { background: var(--g2); border-color: var(--wadi); box-shadow: var(--shadow); }
.plan-soon { border-style: dashed; border-color: var(--line); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; min-height: 30px; }
.plan-head h3 { font-size: 20px; line-height: 30px; }
.plan-badge { font-size: 13px; font-weight: 550; line-height: 20px; padding: 3px 10px; border-radius: 6px; background: var(--g3); color: var(--ink-2); }
.plan-top .plan-badge { background: var(--wadi); color: var(--on-wadi); }
.price { margin-top: 20px; color: var(--ink-2); font-size: 15px; line-height: 1.3; }
.price b { font-size: 56px; line-height: 1; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; font-variation-settings: "HEXP" 50; margin-inline-end: 6px; }
.plan-meta { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.plan ul { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; line-height: 1.65; }
.plan li svg { width: 18px; height: 18px; margin-top: 4px; color: var(--wadi); }
.plan-notes { margin-top: 32px; display: grid; gap: 10px; font-size: 15px; line-height: 1.8; color: var(--ink-2); max-width: 54em; }
.plan-notes b { color: var(--ink); font-weight: 550; }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--line-soft); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; font-size: 19px; line-height: 1.55; font-weight: 550; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--wadi-hi); }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--ink-3); transition: transform .35s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--wadi); }
.faq .a { padding-bottom: 24px; color: var(--ink-2); max-width: 44em; }
.faq .a p + p { margin-top: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .a { animation: lift .4s var(--ease) both; }
}

/* Closing */
.close { padding-block: 104px; border-top: 1px solid var(--line-soft); background: var(--g0); }
.close h2 { font-size: clamp(34px, 5.6vw, 68px); line-height: 1.2; max-width: 14em; }
html[lang="en"] .close h2 { line-height: 1.08; }
.close .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.foot { border-top: 1px solid var(--line-soft); padding-block: 40px 48px; font-size: 14px; line-height: 1.7; color: var(--ink-3); background: var(--g0); }
.foot-in { display: grid; gap: 24px; }
.foot-brand img { height: 32px; width: auto; }
.foot-brand p { margin-top: 12px; max-width: 32em; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--wadi); text-decoration: underline; }

@media (max-width: 639px) {
  .inbox { gap: 4px; padding: 10px; }
  .inbox button { flex: 1 1 0; justify-content: center; gap: 6px; padding: 8px; min-height: 44px; }
  .inbox .av { display: none; }
  .inbox button { position: relative; padding: 8px 6px; }
  .inbox .who b { font-size: 13px; white-space: nowrap; }
  .inbox .flag { position: absolute; top: 6px; inset-inline-end: 6px; width: 6px; height: 6px; }
}
@media (max-width: 379px) { .inbox .who b { font-size: 12px; } }

@media (min-width: 640px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .inbox .who small { display: block; }
}

@media (min-width: 960px) {
  :root { --gutter: 40px; }
  .top nav .links { display: flex; }
  .hero { padding-top: 64px; }
  .hero-copy { grid-template-columns: 1.15fr 1fr; gap: 56px; }
  .console { margin-top: 64px; }
  .con-body { grid-template-columns: 248px 1fr; }
  .inbox { flex-direction: column; overflow: visible; border-bottom: 0; border-inline-end: 1px solid var(--line-soft); padding: 12px; }
  .inbox button { flex: none; padding: 12px; }
  .con-panel { grid-template-columns: 1fr 360px; }
  .trace { border-top: 0; border-inline-start: 1px solid var(--line-soft); padding: 20px 24px; }
  .chat { min-height: 480px; padding: 20px 28px 28px; }
  .b { max-width: 78%; }
  .season-in { grid-template-columns: 1fr auto; gap: 48px; padding-block: 36px; }
  .band { padding-block: 128px; }
  .head-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
  .head-split .intro { margin-top: 0; }
  .route { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .route > li { grid-template-columns: 1fr; gap: 20px; padding-bottom: 0; }
  .route > li::after { inset-inline-start: 64px; inset-inline-end: -16px; top: 23.5px; bottom: auto; width: auto; height: 1px; transform-origin: right; }
  html[dir="ltr"] .route > li::after { transform-origin: left; }
  .js .route:not(.in) > li::after { transform: scaleX(0); }
  .caps { grid-template-columns: 1fr 1fr; column-gap: 64px; border-top: 0; }
  .caps li:nth-child(-n+2) { border-top: 1px solid var(--line-soft); }
  .path { grid-template-columns: repeat(4, 1fr); }
  .path li + li { border-top: 0; border-inline-start: 1px solid var(--line-soft); }
  .path li + li::before { content: ""; position: absolute; top: 34px; inset-inline-start: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--g0); border: 1px solid var(--line); }
  .trust { grid-template-columns: 1fr 1fr; gap: 64px; }
  .plans { grid-template-columns: repeat(4, 1fr); }
  .foot-in { grid-template-columns: 1fr auto; align-items: end; }
  .close { padding-block: 144px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .typing i { animation: none; }
  .js .console [data-seq].on, .js .b.s .w { animation: none; opacity: 1; }
}
