/* jurl.dev home (index.html and es/index.html): one stylesheet for both languages. */
@font-face { font-family: "Inter"; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-display: swap; font-weight: 500; src: url(/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-display: swap; font-weight: 600; src: url(/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-display: swap; font-weight: 600; src: url(/fonts/inter-tight-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-display: swap; font-weight: 700; src: url(/fonts/inter-tight-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-display: swap; font-weight: 600 700; font-style: italic; src: url(/fonts/inter-tight-latin-600-italic.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-display: swap; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }
/* Ciruela: plum ink and yellow on a cool light grey, white cards; dark only when the visitor picks it. Raw colours live here only. */
:root {
  --bg: #F5F5F7; --bg-2: #FFFFFF; --bg-3: #E5E7EB; --bg-line: #E5E7EB;
  --fg: #322153; --fg-2: #4A4460; --fg-3: #62687A;
  --accent: #322153; --em-bg: linear-gradient(transparent 62%, #FACC15 62%, #FACC15 92%, transparent 92%);
  --primary: #322153; --on-primary: #FFFFFF; --primary-hover: #4B3B6D;
  --signal: #FACC15; --soft: #FEF7CD; --soft-2: #FFFBE6; --card-accent: #5B3E99; --glow: rgba(124, 92, 196, .14);
  --card-edge: #E5E7EB; --lift: 0 24px 48px -24px rgba(50, 33, 83, .28);
  --banner: #5B3E99; --on-banner: #FFFFFF; --on-signal: #1F1A2E;
  --white: #FFFFFF; --ink: #1F1A2E; --ink-2: #3F3A4D; --ink-3: #5F5A6B;
  --line: #E8E7EC; --line-2: #D8D6DE; --head: #FAFAFB; --ok: #17703F;
  --s1: #FCEEE5; --i1: #8F3F14; --s2: #E8F0FC; --i2: #1E4FA8; --s3: #E5F4EC; --i3: #166136; --s4: #EFEAFB; --i4: #553199; --s5: #FDF6DE; --i5: #7A5A00; --s6: #FCE8EC; --i6: #9B2340;
  --serif: "Inter Tight", Inter, system-ui, sans-serif; --quote: Georgia, "Times New Roman", serif; --display-weight: 700; --display-track: -.04em;
  --sans: Inter, system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 14px;
  color-scheme: light;
}
/* Dark is a conscious choice from the nav button, never the device setting. */
:root[data-theme="dark"] {
    /* cards go dark too, like the console's dark table: no white slabs on black */
    --white: #1E1E1E; --ink: #F3F4F6; --ink-2: #D1D5DB; --ink-3: #9CA3AF;
    --line: #2D2D2D; --line-2: #3A3A3A; --head: #262626; --ok: #4ADE80;
    --soft: #3A3214; --soft-2: #2C2610; --card-accent: #C4B0F5; --banner: #4B3B6D;
    --s1: #3A2418; --i1: #F2A57A; --s2: #1B2A44; --i2: #93B4F0; --s3: #173022; --i3: #7DD3A0; --s4: #2A2340; --i4: #C4B0F5; --s5: #352C10; --i5: #F0C85A; --s6: #3D1C24; --i6: #E04F6E;
    --bg: #121212; --bg-2: #1E1E1E; --bg-3: #2D2D2D; --bg-line: #2D2D2D;
    --fg: #F9FAFB; --fg-2: #C9CDD4; --fg-3: #9CA3AF;
    --accent: #FACC15; --em-bg: transparent;
    --primary: #FACC15; --on-primary: #121212; --primary-hover: #FDE047;
    --glow: rgba(124, 92, 196, .32); --card-edge: #2D2D2D; --lift: 0 30px 60px -20px rgba(0, 0, 0, .6);
    color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html, body { overflow-x: hidden; overflow-x: clip; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--sans); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
code, pre { font-family: var(--mono); font-variant-ligatures: none; }
::selection { background: var(--signal); color: var(--on-signal); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 9; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* logo: the small silhouette, drawn in the text colour */
.logo { display: inline-flex; align-items: center; gap: 8px; font: 600 26px/1 var(--sans); letter-spacing: -.04em; text-decoration: none; }
.logo i { display: inline-block; width: 16px; height: 34px; background: currentColor; -webkit-mask: url(/img/logo.png) center / contain no-repeat; mask: url(/img/logo.png) center / contain no-repeat; }

/* nav */
nav { position: relative; z-index: 2; display: flex; align-items: center; gap: 28px; padding: 20px 40px; font: 500 14px var(--sans); color: var(--fg-2); }
nav .logo { color: var(--fg); margin-right: auto; }
nav a { text-decoration: none; }
nav a:not(.logo):not(.btn):hover { color: var(--fg); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 10px; font: 500 15px var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, transform .08s; }
.btn:active { transform: scale(.98); }
.btn.p { background: var(--primary); color: var(--on-primary); }
.btn.p:hover { background: var(--primary-hover); }
.btn.g { border-color: var(--bg-line); color: var(--fg); background: transparent; }
.btn.g:hover { background: var(--bg-2); }
.mode { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 -8px; border: 0; border-radius: 10px; background: transparent; color: inherit; cursor: pointer; }
.mode:hover { color: var(--fg); background: var(--bg-3); }
.mode svg { width: 18px; height: 18px; }
.mode .sun, [data-theme="dark"] .mode .moon { display: none; }
[data-theme="dark"] .mode .sun { display: block; }
nav .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
nav .lang { font: 500 12px var(--mono); letter-spacing: .04em; }

/* hero */
.glow { position: absolute; right: -280px; top: -320px; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 65%); pointer-events: none; }
.top { position: relative; overflow: hidden; }
.hero { position: relative; padding-top: 56px; padding-bottom: 64px; }
.hero h1 { text-wrap: balance; }
.hero h1 em { font-style: normal; }
.eyebrow { font: 400 13px var(--mono); color: var(--fg-3); letter-spacing: .02em; }
.eyebrow b { color: var(--accent); font-weight: 400; }
h1, h2 { font-family: var(--serif); font-weight: var(--display-weight); letter-spacing: var(--display-track); }
h1 { margin-top: 20px; font-size: clamp(56px, 7.4vw, 104px); line-height: .94; }
h1 em, h2 em, .case h3 em { color: var(--accent); background: var(--em-bg); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { margin-top: 28px; font-size: 20px; line-height: 1.5; color: var(--fg-2); max-width: 34em; text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; }
.note { margin-top: 14px; font-size: 14px; color: var(--fg-3); }
.tilt { transform: rotate(-2deg); box-shadow: var(--lift); }

/* the claim, drawn: scattered pages flow into jurl and come out as one table you can query */
.ord { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr); align-items: center; padding-bottom: 88px; }
.ord .lab { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.ord .lab span { letter-spacing: 0; text-transform: none; font-family: var(--sans); }
.messy { position: relative; aspect-ratio: 1 / 1; }
.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lines path { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.win, .pdf { position: absolute; background: var(--white); color: var(--ink-3); border: 1px solid var(--card-edge); border-radius: 10px; box-shadow: var(--lift); overflow: hidden; font-size: 13px; line-height: 1.35; }
.win { width: 50%; }
.win .bar { display: flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; background: var(--line); font: 10px var(--mono); color: var(--ink-3); }
.win .bar i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.win .bar span { margin-left: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win .c { display: flex; flex-direction: column; gap: 6px; padding: 9px 10px 10px; }
.win s { display: block; height: 6px; width: 88%; border-radius: 3px; background: var(--line); }
.win s.s2 { width: 64%; }
.win mark { background: var(--soft); color: var(--ink); padding: 1px 4px; border-radius: 4px; font-weight: 500; }
.win .cookie { padding: 5px 7px; border-radius: 6px; background: var(--banner); color: var(--on-banner); font-size: 10px; }
.win .ad { padding: 7px; border-radius: 6px; text-align: center; font: 9px var(--mono); color: var(--ink-3); background: repeating-linear-gradient(45deg, var(--head), var(--head) 6px, var(--line) 6px, var(--line) 12px); }
.w1 { left: 0; top: 3%; transform: rotate(-5deg); }
.w2 { left: 50%; top: 0; transform: rotate(4deg); }
.w3 { left: 2%; top: 38%; transform: rotate(3deg); }
.pdf { left: 74%; top: 31%; width: 24%; padding: 10px; overflow-wrap: anywhere; transform: rotate(7deg); font-size: 11px; display: flex; flex-direction: column; gap: 6px; aspect-ratio: 4 / 5; }
.pdf b { align-self: flex-start; padding: 2px 5px; border-radius: 4px; background: var(--i6); color: var(--on-banner); font: 700 10px var(--mono); }
.w4 { left: 48%; top: 58%; transform: rotate(-4deg); }
.w5 { left: 0; top: 76%; transform: rotate(-2deg); }
.hub { position: relative; display: flex; align-items: center; justify-content: center; width: 116px; height: 116px; margin: 0 64px 0 4px; border-radius: 50%; background: var(--primary); color: var(--on-primary); box-shadow: 0 0 0 12px var(--glow), 0 0 0 26px var(--glow); }
.hub .logo { position: relative; font-size: 26px; }
/* the waves: two rings that leave the hub, like a signal going out */
.hub .wave { position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--glow); opacity: 0; }
.hub .logo i { width: 14px; height: 30px; }
.hub::after { content: ""; position: absolute; left: calc(100% + 30px); top: 50%; width: 22px; height: 3px; background: var(--primary); }
.hub::before { content: ""; position: absolute; left: calc(100% + 48px); top: calc(50% - 7px); border: 8px solid transparent; border-left: 10px solid var(--primary); border-right: 0; height: 0; transform: translateY(-.5px); }
.tbl { box-shadow: var(--lift); }
.tbl .ask { padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.qbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1.5px solid var(--ink); border-radius: 12px; color: var(--ink); }
.qbar span { color: var(--ink-3); }
.tbl .chips span { background: var(--s4); color: var(--i4); }
.tbl table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tbl th { padding: 8px 14px; text-align: left; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--head); border-block: 1px solid var(--line); }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.tbl .n, .tbl td:last-child { white-space: nowrap; }
.tbl .n { text-align: right; }
.tbl .hit td { background: var(--soft); font-weight: 600; }
.tbl .out td { color: var(--ink-3); }
.said { padding: 12px 16px 14px; color: var(--ink-2); }
.said q { font: italic 16px var(--quote); quotes: "“" "”"; }
.said span { display: inline-block; font: 11px var(--mono); color: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
  .lines path { animation: flow 2.4s linear infinite; }
  .hub { box-shadow: none; }
  .hub .logo { animation: beat 3s ease-in-out infinite; }
  .hub .wave { animation: wave 3s ease-out infinite; }
  .hub .wave + .wave { animation-delay: 1.5s; }
  .tbl .hit td { animation: hit 2.4s ease-in-out 3; }
  @keyframes flow { to { stroke-dashoffset: -44; } }
  @keyframes wave { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.75); opacity: 0; } }
  @keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.05); } 24% { transform: scale(1); } }
  @keyframes hit { 0%, 100% { background: var(--soft); } 50% { background: var(--soft-2); } }
}

/* white cards (shared by the hero and the cases) */
.card { background: var(--white); color: var(--ink); border: 1px solid var(--card-edge); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.card .hd { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.card .hd b { font-weight: 600; letter-spacing: -.01em; }
.card .hd span { font-size: 13px; color: var(--ink-3); }
.fresh { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ok) !important; white-space: nowrap; }
.fresh::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 0 20px; min-height: 58px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.site { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site > span:last-child { min-width: 0; }
.mk { flex: none; width: 28px; height: 28px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font: 600 13px var(--sans); }
.m1 { background: var(--s1); color: var(--i1); } .m2 { background: var(--s2); color: var(--i2); } .m3 { background: var(--s3); color: var(--i3); }
.m4 { background: var(--s4); color: var(--i4); } .m5 { background: var(--s5); color: var(--i5); } .m6 { background: var(--s6); color: var(--i6); }
.host { font-weight: 500; }
.sub { display: block; color: var(--ink-3); font-size: 13px; }
.price { font: 600 19px var(--sans); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.was { display: block; font: 500 12px var(--sans); color: var(--card-accent); }
.on { background: var(--soft); }
.on .mk { background: var(--white); }
.flush { border-bottom: 0; }
.after-eyebrow { margin-top: 16px; }
.proof { background: var(--soft); padding: 0 20px 18px; border-bottom: 1px solid var(--line); }
.proof div { background: var(--white); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.proof small { font: 500 11px var(--sans); color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.proof q { font: italic 22px/1.2 var(--quote); quotes: "“" "”"; }
.proof mark { background: var(--soft); color: var(--card-accent); padding: 0 3px; border-radius: 3px; }
.proof span { font: 12px var(--mono); color: var(--ink-3); overflow-wrap: anywhere; }

/* facts under the hero */
.facts { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--bg-line); }
.facts div { padding: 28px 28px 32px 0; }
.facts div + div { padding-left: 28px; border-left: 1px solid var(--bg-line); }
.facts b { display: block; font: var(--display-weight) 26px/1.1 var(--serif); letter-spacing: var(--display-track); }
.facts p { margin-top: 8px; color: var(--fg-2); line-height: 1.5; font-size: 15px; }

/* sections */
.sec { padding: 112px 0 0; }
.sec > .wrap > h2, .sec h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1; max-width: 16ch; }
.sec .intro { margin-top: 18px; font-size: 18px; line-height: 1.5; color: var(--fg-2); max-width: 44em; }

/* how: four steps that light up in turn, three times, then stay lit */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; counter-reset: step; }
.steps li { position: relative; background: var(--bg-2); border: 1px solid var(--bg-line); border-radius: var(--radius); padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.steps li::before { counter-increment: step; content: "0" counter(step); font: 13px var(--mono); color: var(--accent); }
.steps h3 { font: var(--display-weight) 28px/1.05 var(--serif); letter-spacing: var(--display-track); }
.steps p { color: var(--fg-2); line-height: 1.5; font-size: 15px; }
.steps .say { font: italic 19px/1.3 var(--quote); color: var(--fg); border-left: 2px solid var(--signal); padding-left: 10px; }
.steps .chips { margin-top: auto; padding-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font: 12px var(--mono); padding: 5px 9px; border-radius: 999px; background: var(--bg-3); color: var(--fg); }
@media (prefers-reduced-motion: no-preference) {
  .steps li { animation: lit 6s ease-in-out 3 both; }
  .steps li:nth-child(2) { animation-delay: 1.5s; }
  .steps li:nth-child(3) { animation-delay: 3s; }
  .steps li:nth-child(4) { animation-delay: 4.5s; }
  @keyframes lit { 0%, 30%, 100% { border-color: var(--bg-line); } 8%, 22% { border-color: var(--signal); } }
}

/* cases: one tab per team */
.tabs { display: flex; gap: 6px; margin-top: 40px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 8px; }
.tabs button { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--bg-line); background: transparent; color: var(--fg-2); font: 500 14px var(--sans); cursor: pointer; }
.tabs button:hover { color: var(--fg); }
.tabs button[aria-selected="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.case { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 40px; min-height: 440px; }
.case[hidden] { display: none; }
.case .tag { font: 13px var(--mono); color: var(--fg-3); }
.case .tag b { color: var(--accent); font-weight: 400; }
.case h3 { margin-top: 14px; font: var(--display-weight) clamp(36px, 4vw, 52px)/1 var(--serif); letter-spacing: var(--display-track); }
.case h3 em { color: var(--accent); }
.case p { margin-top: 16px; color: var(--fg-2); font-size: 17px; line-height: 1.5; }
.case .who { margin-top: 20px; font-size: 14px; color: var(--fg-3); line-height: 1.5; }
.case .stage { justify-self: end; width: 100%; max-width: 620px; }

/* alert */
.alert .bar { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.alert .bar b { color: var(--ink); font-weight: 600; }
.alert .bar span:last-child { margin-left: auto; white-space: nowrap; }
.bell { flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--soft); color: var(--card-accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.alert .bd { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.alert h4 { font: 600 22px/1.2 var(--sans); letter-spacing: -.02em; }
.alert h4 em { font-style: normal; color: var(--card-accent); }
.rule { font: 13px var(--mono); color: var(--ink-3); background: var(--head); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.acts span { font: 500 14px var(--sans); padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line-2); }
.acts span:first-child { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.chans { margin-top: 14px; }

/* ask */
.pb { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.q { border: 2px solid var(--signal); border-radius: 10px; padding: 11px 14px; font-size: 16px; line-height: 1.4; }
.filt span { background: var(--soft); color: var(--card-accent); border-radius: 6px; }
.lr { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.lr .t { font-weight: 500; min-width: 0; }
.lr .d { color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.lr .v { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; min-width: 56px; }

/* spreadsheet */
.fx { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); font: 13px var(--mono); white-space: nowrap; overflow: hidden; }
.fx b { font: italic 600 14px var(--sans); color: var(--ink-3); }
.fx i { font-style: normal; color: var(--card-accent); }
.xls { width: 100%; border-collapse: collapse; font-size: 14px; }
.xls th { background: var(--head); color: var(--ink-3); font-weight: 500; font-size: 12px; height: 26px; border: 1px solid var(--line); }
.xls td { border: 1px solid var(--line); height: 42px; padding: 0 10px; white-space: nowrap; }
.xls td.n { color: var(--ink-3); background: var(--head); text-align: center; width: 34px; font-size: 12px; }
.xls td.r { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.xls tr.h td { font-weight: 600; background: var(--head); }
.xls td.sel { outline: 2px solid var(--signal); outline-offset: -2px; }
.ft { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 11px 16px; font-size: 13px; color: var(--ink-3); }

/* code */
.code { font: 13px/1.6 var(--mono); }
.code .cb { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--head); }
.code .cb i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.code pre { margin: 0; padding: 16px 18px; white-space: pre; overflow-x: auto; font: inherit; }
.code pre + pre { background: var(--head); border-top: 1px dashed var(--line-2); }
.code .k { color: var(--card-accent); font-weight: 600; } .code .s { color: var(--ok); } .code .c { color: var(--ink-3); } .code .n { color: var(--i2); }

/* chat */
.chat { display: flex; flex-direction: column; gap: 14px; }
.chat .me { align-self: flex-end; max-width: 80%; background: var(--bg-3); color: var(--fg); border-radius: 18px 18px 4px 18px; padding: 14px 18px; font-size: 16px; line-height: 1.4; }
.chat .ai { background: var(--white); color: var(--ink); border: 1px solid var(--card-edge); border-radius: 18px 18px 18px 4px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--lift); }
.tool { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font: 12px var(--mono); color: var(--ink-3); background: var(--head); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; }
.tool::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.chat .ai p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink); }
.cite { font: italic 19px/1.3 var(--quote); color: var(--ink-2); border-left: 2px solid var(--signal); padding-left: 12px; }
.cite span { display: block; font: 12px var(--mono); color: var(--ink-3); margin-top: 4px; font-style: normal; }

/* calendar */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal div { min-height: 64px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 5px; font: 500 11px var(--sans); color: var(--ink-3); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal div:nth-child(7n) { border-right: 0; }
.cal .dow { min-height: 26px; background: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
.cal em { font: 500 10px/1.2 var(--sans); border-radius: 4px; padding: 2px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* history */
.big { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; }
.big div { display: flex; flex-direction: column; }
.big b { font: 600 30px var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.big small { font-size: 12px; color: var(--ink-3); }
.big .up { color: var(--card-accent); }
.hist { display: flex; align-items: flex-end; gap: 6px; height: 150px; margin-top: 18px; }
.hist span { flex: 1; background: var(--line); border-radius: 4px 4px 0 0; }
.hist span.now { background: var(--signal); }
.months { display: flex; gap: 6px; font-size: 11px; color: var(--ink-3); }
.months span { flex: 1; text-align: center; }

/* share */
.toggle { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.toggle i { flex: none; width: 36px; height: 22px; border-radius: 11px; background: var(--ok); position: relative; }
.toggle i::after { content: ""; position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field small { font-size: 12px; color: var(--ink-3); }
.field code { font-size: 13px; background: var(--head); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* own columns */
.own { width: 100%; border-collapse: collapse; font-size: 14px; }
.own th { font: 500 12px var(--sans); color: var(--ink-3); text-align: left; padding: 9px 12px; background: var(--head); border-bottom: 1px solid var(--line); white-space: nowrap; }
.own th.mine { background: var(--soft); color: var(--card-accent); }
.own td { padding: 0 12px; height: 52px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.own td.mine { background: var(--soft-2); }
.ck { display: inline-flex; width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--line-2); align-items: center; justify-content: center; font: 700 11px var(--sans); color: var(--white); }
.ck.on { background: var(--ok); border-color: var(--ok); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--ink-3); padding: 11px 16px; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--head); border: 1px solid var(--line-2); }
.legend span.m::before { background: var(--soft); border-color: var(--signal); }
.scroll { overflow-x: auto; }

/* connect: where the sheet goes */
.outs { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.outs li { background: var(--bg-2); border: 1px solid var(--bg-line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.outs h3 { font: 600 17px var(--sans); letter-spacing: -.01em; }
.outs p { color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.outs code { margin-top: auto; font-size: 12px; color: var(--fg); background: var(--bg); border: 1px solid var(--bg-line); border-radius: 8px; padding: 8px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* cli */
.cli { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 56px; align-items: center; }
.term { background: var(--bg-2); border: 1px solid var(--bg-line); border-radius: var(--radius); font: 13px/1.65 var(--mono); overflow: hidden; }
.term .cb { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--bg-line); }
.term .cb i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-line); }
.term pre { margin: 0; padding: 18px; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; color: var(--fg-2); }
.term .p { color: var(--accent); }
.term .o { color: var(--fg); }
.term .d { color: var(--fg-3); }
.copy { font: 13px var(--mono); }
.copy .p { color: var(--accent); }

/* closing */
.close { text-align: center; padding: 140px 0 96px; }
.close h2 { margin: 0 auto; max-width: 14ch; font-size: clamp(44px, 6vw, 80px); line-height: 1; }
.close .ctas { justify-content: center; }
footer { border-top: 1px solid var(--bg-line); padding: 28px 0 40px; font-size: 13px; color: var(--fg-3); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
footer .logo { font-size: 20px; color: var(--fg); }
footer .logo i { width: 12px; height: 26px; }
footer nav { padding: 0; gap: 20px; font-size: 13px; }
footer .made { margin-left: auto; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; background: var(--white); color: var(--ink); font: 500 14px var(--sans); padding: 10px 16px; border-radius: 10px; transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%); }

@media (max-width: 1120px) {
  .ord { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 44px; }
  .ord .zone { width: 100%; max-width: 620px; }
  .lines { display: none; }
  .messy { max-width: 460px; margin-inline: auto; }
  .hub { margin: 0; }
  .hub::after { left: calc(50% - 1.5px); top: calc(100% + 26px); width: 3px; height: 14px; }
  .hub::before { left: calc(50% - 8px); top: calc(100% + 40px); border: 8px solid transparent; border-top: 10px solid var(--primary); border-bottom: 0; transform: none; }
}
@media (max-width: 1000px) {
  .case, .cli { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .case { min-height: 0; }
  .case .stage { justify-self: stretch; max-width: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  nav { padding: 14px 16px; gap: 16px; }
  nav .hide { display: none; }
  .hero { padding-top: 28px; padding-bottom: 40px; }
  .ord { padding-bottom: 56px; }
  .win { font-size: 12px; }
  .pdf { left: 76%; width: 22%; }
  .hub { width: 92px; height: 92px; }
  .hub .logo { font-size: 22px; }
  .tbl .opt { display: none; }
  .tbl td, .tbl th { padding-inline: 10px; }
  .lead { font-size: 17px; }
  .ctas .btn { flex: 1 1 auto; }
  .tilt { transform: rotate(-1.2deg); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div, .facts div + div { padding: 20px 0; border-left: 0; }
  .facts div + div { border-top: 1px solid var(--bg-line); }
  .sec { padding-top: 80px; }
  .steps, .outs { grid-template-columns: minmax(0, 1fr); }
  .tabs { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .card { font-size: 14px; }
  .row { padding: 0 14px; }
  .proof { padding: 0 14px 14px; }
  .cal div { min-height: 48px; }
  .code { font-size: 12px; }
  .outs li { padding: 18px; }
  .cal em { font-size: 9px; padding: 1px 3px; }
  .close { padding: 96px 0 64px; }
  footer .made { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* the figure builds itself the first time it comes into view (home-story.js); .pre is the state before it plays */
.ord.pre .win, .ord.pre .pdf, .ord.pre .hub, .ord.pre .lines, .ord.pre .tbl, .ord.pre .tbl .chips span, .ord.pre .said { opacity: 0; }
.ord.pre .win, .ord.pre .pdf { translate: 0 12px; }
.ord.pre .tbl { translate: 0 16px; }
.ord.pre .tbl td:not(.in), .ord.pre .qbar { color: transparent; }
.ord.pre .qbar span:first-child { color: var(--ink-3); }
.ord.pre:not(.sorted) .tbl tr td { background: transparent; color: var(--ink); animation: none; }
.ord .in { opacity: 1 !important; translate: 0 0 !important; }
.ord .win, .ord .pdf, .ord .hub, .ord .lines, .ord .tbl, .ord .tbl .chips span, .ord .said { transition: opacity .35s, translate .35s; }
.ord .tbl td { transition: background .4s, color .4s; }
.ord.pre:not(.sorted) .tbl td:not(.in) { color: transparent; }
.ord .win mark.read { background: var(--signal); color: var(--on-signal); transition: background .3s; }
.ord .tbl td.pop { background: var(--signal) !important; color: var(--on-signal) !important; transition-duration: .1s; }
.ord.pre .qbar.typing { color: var(--ink); }
.ord .qbar b { font-weight: inherit; }
.ord .qbar .ch { color: transparent; font-style: normal; }
.ord .qbar .ch.in { color: inherit; }
