/* linqoo.io: always dark, on Inoova's site (inoova.io): its ground, hairline frame, wells and
   type. Inside the wells, Linqoo's own dark screens (DESIGN.md, Apple's greys). */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --lit { syntax: "<length>"; inherits: false; initial-value: 0px; }

:root {
  color-scheme: dark;
  --ground: #0b0b0d; --well: #0f0f12; --frame: #1f1f23; --line: #2e2e33; --rim: #3a3a40;
  --ink: #f4f4f5; --ink-2: #d4d4d8; --mute: #a1a1aa; --dim: #7f7f89;
  --card: #1c1c1e; --up: #2c2c2e; --up-2: #3a3a3c; --hair: #38383a; --quiet: #98989f;
  --ease: cubic-bezier(.16, 1, .3, 1); --move: cubic-bezier(.77, 0, .175, 1);
  --gut: clamp(20px, 4.7vw, 64px);
  --sans: "Inter", "Noto Sans Arabic", system-ui, sans-serif;
  accent-color: #fff; caret-color: #3b82f6;
}
* { box-sizing: border-box; }
html { background: var(--ground); scroll-behavior: smooth; scroll-padding: 69px 0 16px; scrollbar-color: #3a3a40 var(--ground); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font: 400 16px/1.55 var(--sans); font-optical-sizing: auto; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: #3f638b; color: #fff; }
:is(h1, h2, h3, p, ul, dl, dd, figure) { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 2px solid #3b82f6; outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 30; padding: 10px 14px; border-radius: 8px; background: #fff; color: #000; }

/* ── Type ── */
.display, h1 { font-size: clamp(42px, 5.8vw, 84px); line-height: 1.02; font-weight: 600; letter-spacing: -.04em; text-wrap: balance; }
:is(.display, h1) span { display: block; color: var(--dim); }
.title { max-width: 19em; font-size: clamp(32px, 3.8vw, 55px); line-height: 1.06; font-weight: 600; letter-spacing: -.038em; text-wrap: balance; }
.title span { display: block; color: var(--dim); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1px solid #fff; border-radius: 10px; background: #fff; color: #000; font-size: 16px; line-height: 1.2; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, scale .12s; }
.btn.quiet { border-color: var(--line); background: #18181b; color: var(--ink); font-weight: 500; }
.btn.small { min-height: 36px; padding: 0 14px; border-radius: 8px; font-size: 14px; }
.btn:active { scale: .97; }
@media (hover: hover) { .btn:hover { background: #e2e2e6; border-color: #e2e2e6; } .btn.quiet:hover { background: #26262a; border-color: var(--rim); } }
.icon { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--mute); }
.icon svg { width: 16px; height: 16px; }
@media (hover: hover) { .icon:hover { background: var(--up); color: #fff; } }

/* ── The bar ── */
.top { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #222226; background: var(--ground); }
.top-in { display: flex; align-items: center; gap: 12px; width: min(1360px, 100% - 2 * clamp(0px, 2.8vw, 40px)); height: 68px; margin: auto; padding: 0 40px; }
.home svg { width: 99px; height: 27px; }
.links { display: flex; gap: 2px; margin-inline: 22px auto; }
.links a, .signin { padding: 8px 10px; border-radius: 8px; font-size: 14.5px; line-height: 1.2; color: var(--mute); text-decoration: none; transition: color .15s; }
@media (hover: hover) { :is(.links a, .signin):hover { color: #fff; } }
.langs { display: flex; padding: 2px; border: 1px solid var(--line); border-radius: 9px; background: #141416; }
.langs button { min-width: 36px; height: 28px; padding: 0 8px; border: 1px solid transparent; border-radius: 7px; background: none; font-size: 13px; line-height: 1; color: var(--mute); }
.langs [lang="ar"] { padding-bottom: 6px; font-family: "Noto Sans Arabic"; font-size: 14px; }
.langs [aria-pressed="true"] { border-color: var(--rim); background: #26262a; color: #fff; }
/* One white button at a time: the bar's turns white once the page's own has gone */
#top-start:not(.on) { border-color: var(--line); background: #18181b; color: var(--ink); }

/* ── The frame ── */
.frame { width: min(1360px, 100% - 2 * clamp(0px, 2.8vw, 40px)); margin: auto; border-inline: 1px solid var(--frame); }
.frame > section + section { border-top: 1px solid var(--frame); }
.frame > section > .title { padding: clamp(72px, 7.8vw, 112px) var(--gut) clamp(36px, 3.9vw, 56px); max-width: calc(19em + 2 * var(--gut)); }
.well { border-top: 1px solid var(--frame); background: var(--well); padding: clamp(20px, 4.4vw, 64px) clamp(12px, 3.9vw, 56px); }

/* ── Hero: the networks go round the words ── */
.hero { position: relative; overflow: clip; padding: 58px 0 52px; text-align: center; }
.hero-words { position: relative; width: min(830px, 100% - 40px); margin: auto; pointer-events: none; }
.hero-words a { pointer-events: auto; }
.lead { max-width: 37em; margin: 20px auto 0; font-size: 18.5px; line-height: 1.5; color: var(--mute); text-wrap: balance; }
.acts { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
/* Measured up from the card, so the lowest network always sits just above it */
.orbit { --rx: 590px; --ry: 336px; position: absolute; left: 50%; bottom: calc(426px + var(--ry)); }
.rings { position: absolute; left: -700px; top: -460px; width: 1400px; height: 920px; fill: none; stroke: #34343a; mask-image: linear-gradient(transparent 34%, #000 72%); }
.rings ellipse + ellipse { stroke: #232328; }
.node { --s: 1; position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: none;
  transform: translate(calc(sin(var(--a)) * var(--rx)), calc(cos(var(--a)) * var(--ry))) scale(var(--s));
  transition: --a .9s var(--move), transform .9s var(--move), opacity .45s ease; }
.node.jump { transition: none; }
.node > svg { position: absolute; }
.node .mark { inset: 5px; width: 42px; height: 42px; border-radius: 11px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .55)); }
.node:is(.x, .tiktok, .threads) .mark { box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
.node::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; background: var(--ground); opacity: 0; transition: opacity .3s; }
.node .turn { inset: -8px; width: 68px; height: 68px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; rotate: 90deg; opacity: 0; }
/* It fills from the bottom round to the bottom, where its light leaves for the card */
.node .light { stroke-dasharray: 100 200; stroke-dashoffset: 100; }
.node[aria-pressed="true"]::before, .node[aria-pressed="true"] .turn { opacity: 1; }
[data-step="read"]:not(.held) .node::before { opacity: 0; }
.node[aria-pressed="true"] .light { animation: fill var(--fill) linear forwards; }
[data-step="send"] .node[aria-pressed="true"] .light { animation: pour .6s cubic-bezier(.5, .1, .5, .9) forwards; }
[data-step="read"] .node[aria-pressed="true"] .light { animation: read var(--read) linear forwards; }
.held .node[aria-pressed="true"] .light { animation: none; stroke-dashoffset: 0; }
.resting:not([data-step="send"]) .light { animation-play-state: paused; }
@keyframes fill { to { stroke-dashoffset: 0; } }
@keyframes pour { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -101; } }
@keyframes read { from, to { stroke-dashoffset: -101; } }
@media (hover: hover) { .node:not([aria-pressed="true"]):hover { --s: 1.14; } }

.shape-row { position: relative; margin-top: 152px; }
.drop { position: absolute; left: 50%; bottom: 100%; translate: -50%; fill: none; stroke: #fff; stroke-width: 2; }
.drop path { stroke-dasharray: 150 400; stroke-dashoffset: 151; }
.drop.go path { animation: run-down .75s cubic-bezier(.5, .1, .5, .9); }
@keyframes run-down { to { stroke-dashoffset: -101; } }
.shape { position: relative; display: grid; grid-template-columns: 300px 1fr; width: min(740px, 100vw - 40px); margin: auto; overflow: clip; border: 1px solid var(--line); border-radius: 18px; background: var(--card); text-align: start; }
/* The light lands on the card's top edge and runs both ways along it */
.shape::after { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: 17px; opacity: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 0, transparent calc(var(--lit) - 150px), #fff var(--lit), transparent calc(var(--lit) + 1px)); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.shape.lit::after { animation: along 1s cubic-bezier(.3, .6, .4, 1); }
@keyframes along { from { --lit: 0px; opacity: 1; } 55% { opacity: 1; } to { --lit: 560px; opacity: 0; } }
.shape-pic { display: grid; place-items: center; height: 300px; border-inline-end: 1px solid var(--line); background: #141416; }
.pic { position: relative; width: var(--w); height: var(--h); overflow: clip; border-radius: 10px; transition: width .7s var(--move), height .7s var(--move); }
.pic .over { position: absolute; display: grid; place-items: center; }
.pic .play { top: 9px; right: 9px; width: 26px; height: 26px; border-radius: 50%; background: #101013; }
.pic .play svg { width: 13px; height: 13px; }
.shape-words { display: flex; flex-direction: column; min-width: 0; padding: 18px 20px 18px 24px; }
.shape-words header { display: flex; align-items: center; gap: 10px; margin-inline-end: -8px; font-size: 15px; line-height: 1.3; } .shape-words header b { flex: 1; font-weight: 600; } .shape-words header small { display: block; font-size: 13px; font-weight: 400; color: var(--quiet); } .shape-words .tile { width: 36px; height: 36px; border-radius: 50%; }
.does { display: flex; gap: 16px; padding-bottom: 14px; color: #d5d5da; } .does svg { width: 22px; height: 22px; } .does i { flex: 1; } .does { align-items: center; } .does b { width: 6px; height: 6px; margin-inline-start: -11px; border-radius: 50%; background: #55555c; } .does i + b { margin: 0; background: #0a84ff; }
#caption { flex: 1; margin-top: 14px; font-size: 17px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.shape-words footer { display: flex; justify-content: space-between; gap: 12px; padding-top: 13px; border-top: 1px solid var(--hair); font-size: 13.5px; color: var(--quiet); font-variant-numeric: tabular-nums; }
.in { animation: in .5s .12s var(--ease) backwards; }
@keyframes in { from { opacity: 0; filter: blur(5px); translate: 0 6px; } }

/* ── The calendar, as the app draws it ── */
.cal-well { padding-top: clamp(20px, 2.8vw, 36px); }
.pick { display: flex; justify-content: center; gap: 8px; margin-bottom: clamp(18px, 2.4vw, 32px); }
.pick button { display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 14px 0 8px; border: 1px solid transparent; border-radius: 12px; background: none; font-size: 15px; font-weight: 500; color: var(--mute); transition: color .15s, background-color .15s; }
.pick [aria-pressed="true"] { border-color: var(--line); background: var(--card); color: #fff; }
@media (hover: hover) { .pick button:hover { color: #fff; } }
.tile.logo { background: #fafafa; color: #101013; } .tile.logo svg { width: 64%; height: 64%; }
.tile { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--tone); }
.tile.made { color: var(--ink); } .tile.made svg { width: 78%; height: 78%; }
.app { overflow: clip; width: 100%; max-width: 1200px; margin: auto; padding: 0 12px 12px; border: 1px solid #2a2a2e; border-radius: 22px; background: #000; box-shadow: 0 40px 80px -40px #000; font-size: 14px; line-height: 1.4; }
.app-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; padding: 0 8px; }
.app-at { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; white-space: nowrap; }
.app-at > svg { flex: none; width: 27px; height: 27px; }
.app-at i { width: 1px; height: 22px; background: var(--hair); }
.app-at em { font: 300 20px/1 var(--sans); color: #636366; }
.whose { display: flex; align-items: center; gap: 8px; }
.app-at .tile { width: 25px; height: 25px; border-radius: 7px; }
.dock { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid var(--hair); border-radius: 16px; background: var(--card); }
.dock svg { width: 36px; height: 36px; }
.dock i { width: 1px; height: 22px; margin: 0 4px; background: var(--hair); }
.app-me { justify-self: end; } .app-me .av { display: block; width: 32px; height: 32px; }
.band { display: flex; align-items: center; gap: 6px; width: fit-content; max-width: 100%; margin: 6px auto -1px; padding: 5px 8px 6px; border: 1px solid var(--hair); border-bottom: 0; border-radius: 14px 14px 0 0; background: var(--card); color: var(--quiet); font-weight: 500; white-space: nowrap; }
.band > * { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 7px; }
.band b { padding: 0 12px 0 2px; border-radius: 0; border-inline-end: 1px solid var(--hair); color: #fff; font-weight: 600; }
.band b svg { width: 22px; height: 22px; }
.band span svg { width: 16px; height: 16px; }
.band .on { background: #636366; color: #fff; }
.week { padding: 22px 24px 0; border: 1px solid var(--hair); border-radius: 18px; background: var(--card); }
.week-top { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.week-top b { margin-inline-end: auto; font-size: 19px; font-weight: 600; letter-spacing: -.018em; }
.week-top span { display: grid; place-items: center; height: 36px; padding: 0 13px; border: 1px solid #48484a; border-radius: 8px; background: var(--up); font-weight: 500; }
.week-top .new { grid-auto-flow: column; gap: 6px; border-color: #fff; background: #fff; color: #000; }
.week-top .new svg { width: 16px; height: 16px; }
.grid { --row: 43px; display: grid; grid-template-columns: 48px repeat(7, minmax(0, 1fr)); border: 1px solid var(--hair); border-bottom: 0; border-radius: 12px 12px 0 0; overflow: clip; }
.grid .d { padding: 7px 0; border-bottom: 1px solid var(--hair); text-align: center; font-size: 12px; color: var(--quiet); }
.grid .d b { display: block; width: 28px; margin: 1px auto 0; border-radius: 99px; font-size: 16.5px; line-height: 28px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.grid .d.now { color: #ff6961; } .grid .d.now b { background: #ff453a; }
.grid .col, .grid .hours { position: relative; height: calc(var(--row) * 10 + 12px); border-inline-start: 1px solid var(--hair); background: repeating-linear-gradient(transparent 0 calc(var(--row) - 1px), #2b2b2d calc(var(--row) - 1px) var(--row)); }
.grid .hours { border: 0; background: none; font-size: 11px; line-height: 1; color: #8e8e93; text-align: center; font-variant-numeric: tabular-nums; }
.hours span { position: absolute; inset-inline: 0; top: calc(var(--row) * var(--i) - 6px); }
.ev { position: absolute; inset-inline: 4px; top: calc(var(--row) * var(--i) + 3px); display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 0 8px; align-items: center; height: 37px; padding: 0 5px; border: 1px solid var(--ring); border-radius: 7px; background: var(--fill); color: var(--words); font-size: 11px; line-height: 14px; font-weight: 500; }
.swap .ev { animation: land .5s calc(var(--n) * 40ms) var(--ease) backwards; }
@keyframes land { from { opacity: 0; translate: 0 10px; } }
.ev > svg { grid-row: 1 / 3; width: 25px; height: 25px; padding: 5px; border-radius: 6px; background: color-mix(in srgb, var(--words) 20%, transparent); }
.ev .w { display: flex; align-items: center; gap: 2px; font-variant-numeric: tabular-nums; }
.ev .w b { font-weight: 600; white-space: nowrap; } .ev .w i { flex: 1; }
.ev .w svg { flex: none; width: 11px; height: 11px; }
.ev p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev.out { --fill: #1d3a26; --ring: #2c6b40; --words: #8fe3aa; }
.ev.next { --fill: #17304d; --ring: #1d5ba0; --words: #8cc0ff; }
.ev.wait { --fill: #46331a; --ring: #875a14; --words: #ffc163; }
.ev.draft { --fill: #2f2f32; --ring: #515155; --words: #c9c9ce; }
.ev.bad { --fill: #482524; --ring: #93413d; --words: #ff9d97; }

/* ── The client's yes ── */
.yes-well { position: relative; display: grid; grid-template-columns: minmax(0, 500px) minmax(40px, 240px) 340px; justify-content: center; align-items: center;
  background: radial-gradient(circle, #26262b 1px, transparent 1.2px) 0 0 / 14px 14px var(--well); }
.who-sees { margin-bottom: 12px; font-size: 14px; color: var(--mute); }
/* What Leila asks for hangs under the card, which stays where it is */
.sheet { align-self: stretch; display: grid; grid-template-rows: minmax(0, 1fr) auto auto minmax(0, 1fr); } .sheet .who-sees { align-self: end; }
.asks { align-self: start; overflow-y: auto; max-height: 176px; border: 1px solid var(--hair); border-top: 0; border-radius: 0 0 16px 16px; background: var(--card); scrollbar-width: thin; scrollbar-color: #48484d transparent; }
.asks:empty { display: none; } .sheet:has(.ask) dl { border-radius: 0; }
.ask { display: flex; align-items: center; gap: 12px; padding: 9px 18px; font-size: 14.5px; line-height: 1.35; transition: opacity .25s, transform .25s cubic-bezier(.23, 1, .32, 1); }
.ask + .ask { border-top: 1px solid #2b2b2d; } .ask b { font-weight: 600; } .ask time { margin-inline-start: 4px; font-size: 13px; color: var(--quiet); }
@starting-style { .ask { opacity: 0; transform: translateY(8px); } }
.sheet-post { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--hair); border-bottom: 0; border-radius: 16px 16px 0 0; background: var(--card); font-size: 16px; line-height: 1.35; }
.sheet-post b { display: block; font-weight: 600; } .sheet-post span { font-size: 14px; color: var(--quiet); }
.thumb { position: relative; flex: none; width: 52px; height: 65px; overflow: clip; border-radius: 8px; }
.sheet dl { padding: 8px 18px 12px; border: 1px solid var(--hair); border-radius: 0 0 16px 16px; background: var(--card); font-size: 14.5px; }
.sheet dl div { display: flex; align-items: center; min-height: 42px; }
.sheet dt { display: flex; align-items: center; gap: 8px; flex: 0 0 120px; color: var(--quiet); } .sheet dt svg { width: 16px; height: 16px; }
.sheet dd { display: flex; align-items: center; gap: 5px; min-width: 0; font-weight: 500; }
.net { width: 16px; height: 16px; } .sheet .net + :not(svg) { margin-inline-start: 4px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 99px; font-size: 13px; font-weight: 500; transition: background-color .3s, color .3s; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.amber { background: #49361a; color: #ffb340; } .chip.blue { background: #18314b; color: #6db3ff; }
.thread { width: 100%; height: 300px; fill: none; stroke: #55555c; stroke-width: 1.5; overflow: visible; }
.thread path { stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; transition: stroke .4s; }
.said-yes .thread path { stroke: #a98fe0; animation: back .9s linear 3; }
@keyframes back { to { stroke-dashoffset: 33; } }
.phone-in { padding: 18px 14px 14px; border: 1px solid #3a3a3f; border-radius: 34px; background: #000; box-shadow: 0 30px 60px -30px #000; }
.phone header { display: flex; align-items: center; gap: 9px; padding: 0 6px; font-size: 14.5px; }
.phone h3 { margin: 12px 6px 10px; font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.phone-pic { position: relative; aspect-ratio: 1; overflow: clip; border-radius: 16px 16px 0 0; }
.phone-in > p { padding: 12px 14px 14px; border-radius: 0 0 16px 16px; background: var(--card); font-size: 15px; line-height: 1.45; }
.phone-acts { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 12px; min-height: 104px; align-content: start; }
.phone-acts .btn { border-radius: 13px; }
.phone-acts p { padding: 12px 6px 4px; font-size: 15px; line-height: 1.45; color: var(--ink-2); text-align: center; }
/* The stamp, on the paper it needs over a picture (the app's own) */
.paper { position: absolute; z-index: 2; bottom: 20px; right: 14px; border-radius: 9px; background: #fff; transform: rotate(-7deg); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5); animation: press .38s cubic-bezier(.23, 1, .32, 1); }
.paper[hidden] { display: none; }
@keyframes press { from { opacity: 0; scale: 1.6; } }
.stamp { display: block; padding: 7px 13px 8px; border: 3px solid #4b2e83; border-radius: 8px; color: #4b2e83; font: 800 24px/1.05 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .12em; text-transform: uppercase; text-align: center; filter: url(#ink); }
.stamp small { display: block; margin-top: 3px; font-size: 12px; font-weight: 700; letter-spacing: .07em; }

/* ── Ask for the week ── */
.ai { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 520px) 1fr; align-items: center; min-height: 600px; padding: 72px clamp(16px, 4.7vw, 64px); overflow: clip; }
.flow { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--line); }
.flow .run { stroke: #fff; stroke-width: 1.5; stroke-dasharray: 5 200; stroke-dashoffset: 5; animation: run 5s var(--d) linear infinite; }
@keyframes run { 45%, to { stroke-dashoffset: -100; } }
.minds { position: relative; display: grid; gap: 26px; justify-items: start; font-size: 14px; color: var(--mute); }
.minds li { display: flex; align-items: center; gap: 12px; padding-inline-end: 12px; background: var(--ground); }
.mind { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--rim); border-radius: 14px; background: var(--tone, #18181b); color: #fff; } .mind svg { width: 28px; height: 28px; } .mind svg:has([href="#i-mcp"]) { width: 34px; height: 34px; }
.ai-words { position: relative; padding: 24px 0; text-align: center; }
.ai-words .title { margin: auto; }
.ai-words > p { max-width: 31em; margin: 18px auto 0; font-size: 17px; color: var(--mute); text-wrap: balance; }
.ai-words .prompt { max-width: 26em; padding: 14px 18px; border: 1px solid var(--line); border-radius: 18px; background: #18181b; color: var(--ink); line-height: 1.45; text-wrap: balance; }
.drafts { position: relative; display: grid; gap: 12px; justify-items: end; }
.drafts li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 12px; align-items: center; width: min(250px, 100%); padding: 9px 12px 9px 9px; border: 1px solid var(--hair); border-radius: 12px; background: var(--card); font-size: 13.5px; line-height: 1.35; }
.drafts li > svg { width: 40px; height: 40px; padding: 10px; border-radius: 8px; background: var(--up); color: #c9c9ce; }
.drafts b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; } .drafts span { display: flex; align-items: center; gap: 9px; color: var(--quiet); font-size: 13px; }
.drafts .to { gap: 4px; margin-inline-start: auto; } .to svg { width: 14px; height: 14px; }

/* ── The team ── */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--frame); }
.trio article { padding: clamp(20px, 3.3vw, 48px) clamp(20px, 3.3vw, 48px) 44px; }
.trio article + article { border-inline-start: 1px solid var(--frame); }
.trio h3 { margin-top: 28px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; }
.trio article > p { margin-top: 8px; color: var(--mute); text-wrap: pretty; }
.mock { height: 292px; overflow: clip; border: 1px solid var(--hair); border-radius: 16px; background: var(--card); font-size: 14px; line-height: 1.35; }
.row { display: flex; align-items: center; gap: 11px; height: 58px; padding: 0 14px; }
#best .row { height: 52px; } #best .first { height: 82px; } #best .thumb { width: 50px; height: 62px; } .per > svg { flex: none; width: 24px; height: 24px; }
.row + .row { border-top: 1px solid #2b2b2d; }
.row > div:not(.thumb) { flex: 1; min-width: 0; } .row b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; } .row small { font-size: 13px; color: var(--quiet); }
.av { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #393150; object-fit: cover; }
.row .thumb { width: 34px; height: 42px; border-radius: 6px; }
.row .tile { width: 26px; height: 26px; } .row .tiles { display: flex; gap: 4px; }
.row .n { text-align: end; font-weight: 600; font-variant-numeric: tabular-nums; } .row .n small { font-weight: 400; }
.library { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; align-content: start; }
.library .thumb { width: auto; height: auto; aspect-ratio: 4 / 5; }

/* ── Questions ── */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; padding: clamp(72px, 10vw, 144px) var(--gut); }
.frame > .faq > .title { padding: 0; max-width: 8em; }
details { border-bottom: 1px solid var(--line); } details:first-child { border-top: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 4px; font-size: 18px; line-height: 1.35; font-weight: 500; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary svg { flex: none; width: 20px; height: 20px; color: var(--mute); transition: rotate .25s var(--ease); }
[open] summary svg { rotate: 45deg; }
details p { max-width: 62ch; padding: 0 48px 24px 4px; color: var(--mute); text-wrap: pretty; } details a { color: var(--ink); text-underline-offset: 3px; }

/* ── The close: what the clients posted ── */
.close { overflow: clip; padding: clamp(72px, 8.5vw, 120px) 20px clamp(80px, 10vw, 144px); text-align: center; }
.fan { --w: min(12.3vw, 178px); --turn: 3.9deg; position: relative; height: calc(var(--w) * 2.1); margin-bottom: 56px; }
.fan > div { position: absolute; z-index: calc(4 - var(--far)); left: 50%; top: calc(var(--w) * .06); width: var(--w); aspect-ratio: 9 / 16; margin-left: calc(var(--w) / -2); transform-origin: 50% 905%; transform: rotate(calc(var(--k) * var(--turn))); transition: transform 1.1s var(--ease), translate .35s var(--ease); }
.fan.shut > div { transform: rotate(calc(var(--k) * 1.2deg)); }
@media (hover: hover) { .fan > div:hover { translate: 0 -14px; } }
/* A post, as its network shows it: 1em is a nineteenth of its width */
.fp { display: flex; flex-direction: column; overflow: clip; border-radius: 1.4em; background: #fff; color: #101013; font: 400 calc(var(--w) / 19)/1.32 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: start; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .7); }
.fp header { display: flex; align-items: center; gap: .7em; padding: .8em .9em .7em; } .fp header p { flex: 1; min-width: 0; padding: 0; line-height: 1.2; }
.fp b { font-weight: 650; } .fp small { display: flex; align-items: center; gap: .25em; font-size: .84em; color: #65676b; } .fp small svg { width: 1.05em; height: 1.05em; }
.fp-me { flex: none; display: grid; place-items: center; overflow: clip; width: 2.5em; height: 2.5em; border-radius: 50%; } .fp-me svg { width: 68%; height: 68%; } .fp-me .all { width: 100%; height: 100%; }
.fp-net { flex: none; width: 1.7em; height: 1.7em; }
.fp > p { padding: 0 .9em .8em; text-wrap: pretty; }
.fp-pic { position: relative; flex: 1; min-height: 0; overflow: clip; }
.fp-acts { display: flex; align-items: center; justify-content: space-between; gap: .9em; padding: .75em .9em; color: #24262b; font-size: .92em; font-weight: 550; } .fp-acts span { display: flex; align-items: center; gap: .3em; } .fp-acts svg { width: 1.75em; height: 1.75em; } .fp-acts i { flex: 1; }
.instagram .fp-me { outline: .16em solid #d6249f; outline-offset: .14em; width: 2.2em; height: 2.2em; } .instagram .fp-acts { justify-content: start; padding-bottom: .45em; }
:is(.threads, .x) .fp-pic { margin: 0 .9em; border-radius: 1em; } .linkedin .fp-me { border-radius: .3em; } .linkedin .fp-acts { gap: .5em; font-size: .86em; }
.reel { color: #fff; background: #0b0b0d; } .reel .fp-pic { position: absolute; inset: 0; border-radius: inherit; } .reel .fp-net { position: absolute; top: 1em; right: 1em; }
/* The apps darken the foot of a video, so its words read */
.reel .fp-pic::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .62)); }
.tiktok .fp-net { right: auto; left: 1em; }
.fp-side { position: absolute; right: .9em; bottom: 1.4em; display: grid; gap: 1.15em; } .fp-side > svg { width: 2.3em; height: 2.3em; } .reel .fp-me { width: 2.4em; height: 2.4em; outline: .14em solid #fff; } .reel .fp-me svg { width: 84%; height: 84%; } .reel footer .fp-me { width: 1.9em; height: 1.9em; margin-inline-end: -.1em; }
.reel footer { text-shadow: 0 1px 2px rgba(0, 0, 0, .45); position: absolute; left: 1em; right: 4.4em; bottom: 1.2em; } .reel footer b { display: flex; align-items: center; gap: .6em; margin-bottom: .3em; } .reel footer em { padding: .3em .8em; border-radius: 9em; background: #fff; color: #101013; font-style: normal; font-size: .84em; }
.reel footer > span { display: flex; align-items: center; gap: .3em; margin-top: .4em; font-size: .92em; } .reel footer > span > svg { width: 1.2em; height: 1.2em; }
.close .acts { margin-top: 32px; }

/* ── Foot ── */
.foot { border-top: 1px solid #222226; color: #8b8b94; font-size: 14.5px; }
.foot-in { width: min(1280px, 100% - 40px); margin: auto; }
.foot-in { display: grid; grid-template-columns: 1fr 200px 200px; gap: 40px; padding: 64px 0; }
.foot .langs { width: max-content; margin-top: 22px; } .foot .langs button { padding-inline: 11px; } .foot .langs [lang="ar"] { padding-bottom: 0; }
.foot-logo { width: 106px; height: 29px; color: var(--ink); } .foot-in p { max-width: 30em; margin-top: 14px; text-wrap: pretty; }
.foot nav { display: grid; align-content: start; } .foot b { margin-bottom: 8px; color: var(--ink); font-weight: 600; }
.foot nav a { padding: 6px 0; text-decoration: none; } @media (hover: hover) { .foot nav a:hover { color: #fff; } }

.toast { position: fixed; z-index: 40; left: 50%; bottom: 24px; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; background: var(--up-2); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 16px 32px -12px #000; font-size: 14.5px; line-height: 1.4; translate: -50% 20px; opacity: 0; pointer-events: none; transition: opacity .2s, translate .25s var(--ease); }
.toast.on { opacity: 1; translate: -50% 0; }

/* ── Smaller windows ── */
@media (max-width: 1180px) {
  .orbit { --rx: 46vw; } .rings { display: none; }
  .top-in { padding: 0 24px; } .links { margin-inline-start: 8px; } .links a { padding-inline: 8px; }
  .app-top { grid-template-columns: 1fr auto; } .app-me { display: none; }
  .ai { grid-template-columns: 1fr; gap: 36px; min-height: 0; } .flow { display: none; } .ai-words { padding: 0; }
  .minds { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; } .drafts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; width: 100%; margin: auto; } .drafts li { width: 100%; }
  .yes-well { grid-template-columns: minmax(0, 1fr) 48px 320px; }
}
@media (max-width: 900px) {
  .links, .top-in .langs { display: none; } .signin { margin-inline-start: auto; white-space: nowrap; }
  .fan { --w: 17.5vw; }
  .yes-well { grid-template-columns: minmax(0, 460px); gap: 36px; } .thread { display: none; } .phone { order: -1; width: min(340px, 100%); margin: auto; }
  .sheet { display: block; }
  .trio { grid-template-columns: minmax(0, 1fr); } .trio article + article { border-inline-start: 0; border-top: 1px solid var(--frame); }
  .trio article { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0 36px; align-items: end; padding-block: 36px; } .trio article > p { align-self: start; } .mock { grid-row: 1 / 3; } .mock.library { height: auto; padding-bottom: 12px; } .trio h3 { margin: 0; }
  .faq { grid-template-columns: 1fr; } .foot-in { grid-template-columns: 1fr 1fr; } .foot-in > div { grid-column: 1 / -1; }
  .dock i, .dock i ~ svg, .band span:nth-child(n + 4) { display: none; }
  .grid { grid-template-columns: 44px repeat(4, minmax(0, 1fr)); } .grid .wkend { display: none; }
}
@media (max-width: 680px) {
  .frame { width: 100%; border: 0; }
  .top-in { gap: 6px; height: 60px; padding: 0 20px; } html { scroll-padding-top: 60px; }
  .hero { padding-top: 44px; } .lead { font-size: 17px; } .acts { flex-wrap: wrap; }
  .minds { display: grid; grid-template-columns: auto auto; gap: 12px 16px; } .minds li { padding: 0; }
  /* The networks pass under the words instead of round them */
  .orbit { --rx: min(42vw, 232px); --ry: 120px; position: relative; bottom: 0; height: 118px; margin-top: -4px; width: 0; } .hero { display: flex; flex-direction: column; } .hero-words { order: -1; }
  .shape-row { margin-top: 74px; }
  .shape { grid-template-columns: 1fr; margin: auto; } .shape-pic { height: 276px; border: 0; border-bottom: 1px solid var(--line); } .shape-words { padding: 14px 18px; } #caption { min-height: 7.5em; font-size: 16px; } .does { margin-top: 10px; }
  .pick { justify-content: flex-start; overflow-x: auto; margin-inline: -12px; padding: 2px 12px; scrollbar-width: none; } .pick button { flex: none; }
  .app { padding: 0 6px 6px; border-radius: 18px; } .dock { display: none; } .app-top { height: 54px; }
  .week { padding: 14px 10px 0; border-radius: 14px; } .week-top span:not(.new) { display: none; }
  .grid { grid-template-columns: 38px repeat(2, minmax(0, 1fr)); } .grid .mid { display: none; } .grid .col, .grid .hours { height: calc(var(--row) * 8); } .hours span:nth-child(n + 8), .ev .w svg + svg { display: none; }
  .sheet dt { flex-basis: 104px; } .sheet dd { font-size: 14px; } .trio article { display: block; } .trio h3 { margin-top: 24px; }
  .drafts { grid-template-columns: 1fr; }
  .fan { --w: min(56vw, 250px); --turn: 4.1deg; margin-inline: -20px; } .fan > div:is(:nth-child(-n + 2), :nth-child(n + 6)) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .flow .run, .drop { display: none; }
}

/* The smallest phones: the workspace keeps its logo, the client its name */
@media (max-width: 374px) { .app-at i + .whose { gap: 0; font-size: 0; } }
