/* ==========================================================================
   ALL homepage (EN + ES) · "the workbench"
   Graph paper, signal yellow, work orders, stamps and a live work log.
   Standalone: legal, license and security pages keep using styles.css.
   Chat hooks (.live-guide, .is-docked, .is-dock-open, .is-mobile-open,
   .guide-mobile-composing) are driven by app.js. The docked chat is always
   sized to start below the sticky header, never behind it.
   ========================================================================== */

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --paper: #f3f0e8;
  --paper-2: #ebe7dc;
  --card: #fbfaf6;
  --ink: #121211;
  --ink-2: #2f2e2a;
  --muted: #69665d;
  --muted-2: #8f8b80;
  --rule: #dcd7ca;
  --rule-2: #c9c3b4;
  --grid: rgba(18,18,17,.07);
  --grid-strong: rgba(18,18,17,.13);
  --edge: #121211;
  --hard: #121211;
  --signal: #ffd400;
  --signal-2: #ffe45c;
  --on-signal: #121211;
  --stamp: #d8361f;
  --go: #19935f;
  --run: #2f6bff;
  --term: #111110;
  --term-2: #1a1a18;
  --term-rule: #2b2a26;
  --term-text: #e9e6dc;
  --term-muted: #8d897d;
  --on-ink: #f7f5ee;
  --glass: rgba(243,240,232,.86);
  --sans: "Inter Tight", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --header-h: 66px;
  --wrap: 1260px;
  color-scheme: light;
}

/* Follows the phone or computer setting automatically. */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #11110f;
    --paper-2: #171714;
    --card: #1a1a17;
    --ink: #f2efe6;
    --ink-2: #d8d4c8;
    --muted: #a09c90;
    --muted-2: #77736a;
    --rule: #2a2925;
    --rule-2: #3a3833;
    --grid: rgba(255,255,255,.035);
    --grid-strong: rgba(255,255,255,.06);
    --edge: #4a4841;
    --hard: #000000;
    --stamp: #ff6149;
    --go: #3cc98a;
    --run: #6f9bff;
    --term: #0a0a09;
    --term-2: #131311;
    --on-ink: #11110f;
    --glass: rgba(17,17,15,.86);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--signal); color: var(--on-signal); }
:focus-visible { outline: 3px solid var(--run); outline-offset: 3px; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.graph {
  background-image:
    linear-gradient(var(--grid-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 14px;
  background: var(--signal);
  color: var(--on-signal);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Atoms ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font: 500 12px/1.3 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.label b {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 500;
}
.label-signal b { background: var(--signal); color: var(--on-signal); }

mark {
  padding: 0 .12em;
  margin: 0 -.04em;
  background: var(--signal);
  color: var(--on-signal);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 2px solid var(--edge);
  background: var(--signal);
  color: var(--on-signal);
  box-shadow: 4px 4px 0 var(--hard);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--hard); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--hard); }
.btn-plain { background: var(--card); color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14.5px; box-shadow: 3px 3px 0 var(--hard); }
.btn-small:hover { box-shadow: 4px 4px 0 var(--hard); }

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--signal);
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: var(--ink); }

.detail { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.65; }

.section { position: relative; padding: clamp(84px, 10vw, 140px) 0; border-top: 2px solid var(--ink); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.section h2 {
  margin: 20px 0 0;
  font-size: clamp(42px, 5.8vw, 84px);
  line-height: .93;
  font-weight: 800;
  letter-spacing: -.055em;
}
.section h2 em, .section h3 em { font-style: normal; background: var(--signal); color: var(--on-signal); padding: 0 .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { margin: 0; color: var(--ink-2); font-size: clamp(17px, 1.45vw, 19.5px); line-height: 1.6; }
.lede strong { color: var(--ink); font-weight: 700; }

.hazard { height: 10px; background: repeating-linear-gradient(-45deg, var(--signal) 0 14px, #121211 14px 28px); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
}
.site-header-inner { height: var(--header-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; font-size: 23px; letter-spacing: -.05em; }
.brand-icon { display: block; width: auto; height: 34px; filter: drop-shadow(0 2px 3px rgba(120, 70, 0, .25)); }
.brand-word { display: block; width: auto; height: 19px; color: var(--ink); }
.brand:hover .brand-icon { transform: rotate(-4deg) scale(1.04); }
.brand-icon { transition: transform .2s ease; }
.site-nav { display: flex; justify-content: center; gap: 4px; }
.site-nav a {
  padding: 8px 12px;
  color: var(--muted);
  font: 500 13px/1 var(--mono);
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .15s ease, background .15s ease;
}
.site-nav a:hover { color: var(--on-signal); background: var(--signal); }
.site-nav a.nav-account { background: var(--signal); color: #121211; border: 2px solid var(--ink); font-weight: 700; }
.site-nav a.nav-account:hover { background: var(--ink); color: var(--signal); }
.site-actions { display: flex; align-items: center; gap: 14px; }
.account-link { display: none; align-items: center; padding: 8px 12px; background: var(--signal); color: #121211; border: 2px solid var(--ink); font: 700 13px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.account-link:hover { background: var(--ink); color: var(--signal); }
.lang { display: inline-flex; border: 2px solid var(--ink); }
.lang a { padding: 6px 9px; color: var(--muted); font: 500 12px/1 var(--mono); text-decoration: none; }
.lang a.active { background: var(--ink); color: var(--on-ink); }

/* ---------- Hero: ask here, the work happens there ---------- */
.hero { position: relative; padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.hero-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.hero-title {
  margin: 22px 0 0;
  font-size: clamp(54px, 8.6vw, 128px);
  line-height: .88;
  font-weight: 850;
  letter-spacing: -.062em;
}
.hero-title mark { padding: 0 .08em; }
.hero-sub { margin: 0 0 8px; color: var(--ink-2); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; }
.hero-sub strong { font-weight: 700; }

.desk {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 64px minmax(0, .92fr);
  align-items: stretch;
  margin-top: clamp(36px, 5vw, 60px);
}
.pane-label { margin: 0 0 12px; }
.pane-label i { margin-left: 4px; padding: 3px 7px; border: 1px dashed var(--rule-2); color: var(--muted-2); font-style: normal; letter-spacing: .04em; text-transform: none; }
.desk-pane { display: flex; flex-direction: column; min-width: 0; }
.hero-demo { flex: 1; display: flex; min-height: clamp(480px, 62vh, 600px); }
.desk-link { position: relative; display: grid; place-items: center; }
.desk-link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--ink); }
.desk-link span {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--edge);
  background: var(--signal);
  color: var(--on-signal);
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--hard);
  animation: nudge 2.4s ease-in-out infinite;
}
@keyframes nudge { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }

/* Work log (illustrative example, animated by app.js) */
.worklog {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 2px solid var(--edge);
  background: var(--term);
  color: var(--term-text);
  box-shadow: 6px 6px 0 var(--hard);
}
.worklog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--term-rule);
  color: var(--term-muted);
  font: 500 12px/1 var(--mono);
}
.worklog-bar b { display: inline-flex; align-items: center; gap: 8px; color: var(--signal); font-weight: 500; }
.worklog-bar b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.worklog ol { flex: 1; margin: 0; padding: 12px 16px 6px; list-style: none; font: 400 13px/1.45 var(--mono); overflow: hidden; }
.worklog li {
  display: grid;
  grid-template-columns: 46px 64px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--term-rule);
  transition: opacity .35s ease, transform .35s ease;
}
.worklog li time { color: var(--term-muted); }
.worklog li span { font-weight: 500; }
.worklog li .k-read { color: #8fb4ff; }
.worklog li .k-run { color: var(--signal); }
.worklog li .k-edit { color: #ff9d7a; }
.worklog li .k-ok { color: #5fe0a6; }
.worklog li.is-final { border-bottom: 0; color: #121211; background: var(--signal); margin: 6px -8px 0; padding: 9px 8px; }
.worklog li.is-final time, .worklog li.is-final span { color: #121211; }
.worklog.is-playing li:not(.is-in) { opacity: 0; transform: translateY(6px); }
.worklog-foot { padding: 10px 16px 12px; border-top: 1px solid var(--term-rule); color: var(--term-muted); font: 400 11px/1.4 var(--mono); }

.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.hero-facts li { padding: 8px 12px; border: 1.5px solid var(--ink); background: var(--card); font: 500 12.5px/1 var(--mono); }
.hero-facts li:nth-child(2) { background: var(--signal); color: var(--on-signal); border-color: var(--edge); }

/* ---------- Chat (ALL Guide) as a work order ---------- */
.live-guide {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: clamp(480px, 62vh, 600px);
  overflow: hidden;
  border: 2px solid var(--edge);
  background: var(--card);
  box-shadow: 6px 6px 0 var(--hard);
}
.guide-top {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border-bottom: 2px solid #121211;
  background: var(--signal);
  color: #121211;
}
.guide-id { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.guide-brand { margin: 0; font-size: 16px; font-weight: 850; letter-spacing: -.02em; }
.guide-status { font: 500 11.5px/1 var(--mono); letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide-top-actions { display: flex; gap: 6px; }
.guide-reset, .guide-mobile-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid #121211;
  background: #fffbe6;
  color: #121211;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.guide-reset:hover, .guide-mobile-close:hover { background: #121211; color: var(--signal); }
.guide-mobile-close { display: none; font-size: 20px; }

.guide-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 22px clamp(16px, 2.6vw, 26px) 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--rule-2) transparent;
  overscroll-behavior: contain;
}
.guide-message { display: flex; gap: 12px; align-items: flex-start; max-width: 100%; }
.guide-avatar {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid #121211;
  background: #121211 url("/assets/brand/all-icon.svg") center / 74% no-repeat;
  color: transparent;
  font-size: 0;
}
.guide-bubble { min-width: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; overflow-wrap: anywhere; }
.guide-bubble p { margin: 0 0 10px; }
.guide-bubble p:last-child { margin-bottom: 0; }
.guide-bubble ul { margin: 4px 0 10px; padding-left: 20px; }
.guide-bubble li { margin: 4px 0; }
.guide-bubble strong { color: var(--ink); font-weight: 700; }
.guide-message-assistant .guide-bubble { padding-top: 3px; }
.guide-message-user { justify-content: flex-end; }
.guide-message-user .guide-bubble {
  max-width: min(80%, 540px);
  padding: 10px 14px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--on-ink);
  white-space: pre-wrap;
}
.guide-thinking .guide-bubble { display: inline-flex; gap: 5px; padding: 12px 2px; }
.guide-thinking .guide-bubble i { width: 8px; height: 8px; background: var(--ink); animation: think 1s ease-in-out infinite; }
.guide-thinking .guide-bubble i:nth-child(2) { animation-delay: .15s; }
.guide-thinking .guide-bubble i:nth-child(3) { animation-delay: .3s; }
@keyframes think { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
.guide-inline-link { color: var(--ink); text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.guide-action-link {
  display: inline-flex;
  margin: 3px 2px;
  padding: 6px 12px;
  border: 2px solid #121211;
  background: var(--signal);
  color: #121211;
  box-shadow: 2px 2px 0 var(--hard);
  font-size: 14px;
  font-weight: 700;
}
.guide-action-link:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--hard); }

.guide-suggestions { flex: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 6px clamp(16px, 2.6vw, 26px) 12px; }
.guide-suggestions button {
  padding: 7px 11px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 500 12.5px/1.2 var(--mono);
  transition: background .12s ease;
}
.guide-suggestions button::before { content: "+ "; color: var(--muted-2); }
.guide-suggestions button:hover:not(:disabled) { background: var(--signal); color: #121211; }
.guide-suggestions button:disabled { opacity: .45; cursor: wait; }

.guide-form {
  flex: none;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 clamp(12px, 2vw, 18px);
  padding: 6px 6px 6px 14px;
  border: 2px solid var(--ink);
  background: var(--paper);
}
.guide-form:focus-within { box-shadow: 3px 3px 0 var(--signal); }
.guide-form textarea {
  flex: 1;
  min-height: 40px;
  max-height: 100px;
  padding: 9px 0;
  border: 0;
  outline: 0;
  resize: none;
  background: transparent;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.45;
}
.guide-form textarea::placeholder { color: var(--muted-2); }
.guide-form button {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid #121211;
  background: var(--signal);
  color: #121211;
  font-size: 18px;
  font-weight: 900;
}
.guide-form button:hover:not(:disabled) { background: #121211; color: var(--signal); }
.guide-form button:disabled { opacity: .5; cursor: wait; }
.guide-foot { flex: none; padding: 9px 16px 11px; color: var(--muted-2); font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-align: center; text-transform: uppercase; }

/* Companion button + docked chat */
.guide-dock-tab {
  position: fixed;
  z-index: 95;
  right: 22px;
  bottom: 22px;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border: 2px solid #121211;
  background: var(--signal);
  color: #121211;
  box-shadow: 4px 4px 0 #121211;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.guide-dock-tab.is-visible { display: inline-flex; opacity: 1; transform: none; pointer-events: auto; }
.guide-dock-tab:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #121211; }
.guide-dock-tab > b { font-size: 15px; font-weight: 850; letter-spacing: -.02em; }
.dock-icon { display: block; width: 38px; height: 38px; padding: 5px; object-fit: contain; background: #121211; border: 2px solid #121211; }

body > .live-guide.is-docked {
  position: fixed;
  z-index: 96;
  right: 22px;
  bottom: 22px;
  width: min(430px, calc(100vw - 44px));
  height: min(640px, calc(100dvh - var(--header-h) - 44px));
  min-height: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .2s ease, transform .22s ease;
}
body > .live-guide.is-docked.is-dock-open { opacity: 1; transform: none; pointer-events: auto; }
body > .live-guide.is-docked .guide-mobile-close { display: grid; }
body > .live-guide.is-docked .guide-messages { padding: 18px 16px 10px; }
body > .live-guide.is-docked .guide-bubble { font-size: 14.5px; }
body > .live-guide.is-docked .guide-suggestions { flex-wrap: nowrap; overflow-x: auto; padding-inline: 14px; scrollbar-width: none; }
body > .live-guide.is-docked .guide-suggestions::-webkit-scrollbar { display: none; }
body > .live-guide.is-docked .guide-suggestions button { flex: none; }
body > .live-guide.is-docked .guide-form { margin-inline: 12px; }

/* ---------- Why ALL: shift board ---------- */
.parallel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(56px, 7vw, 90px);
  align-items: start;
}
.parallel-copy h3 { margin: 18px 0 0; font-size: clamp(40px, 4.6vw, 64px); line-height: .94; font-weight: 800; letter-spacing: -.05em; }
.parallel-copy > p:not(.label):not(.detail) { margin: 24px 0 16px; color: var(--ink-2); font-size: 17.5px; line-height: 1.62; }

.board { border: 2px solid var(--edge); background: var(--card); box-shadow: 6px 6px 0 var(--hard); }
.board-head { padding: 18px 20px 16px; border-bottom: 2px solid var(--ink); }
.board blockquote { margin: 10px 0 0; font-size: clamp(18px, 1.7vw, 21px); font-weight: 650; line-height: 1.4; letter-spacing: -.015em; }
.board-scale { display: grid; grid-template-columns: 110px 1fr; padding: 8px 20px; border-bottom: 1px solid var(--rule); color: var(--muted-2); font: 500 11px/1 var(--mono); }
.board-scale span { display: flex; justify-content: space-between; }
.repo-list { margin: 0; padding: 0; list-style: none; }
.repo-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px 0; padding: 14px 20px; border-bottom: 1px solid var(--rule); }
.repo-list li:last-child { border-bottom: 0; }
.repo-list span { grid-row: span 2; align-self: center; font: 500 13px/1.2 var(--mono); }
.repo-list p { margin: 0; color: var(--muted); font-size: 14px; }
.repo-list b {
  --start: 0%;
  --len: 50%;
  position: relative;
  display: block;
  height: 16px;
  background: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 25%);
}
.repo-list b::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--start);
  width: 0;
  border: 1.5px solid #121211;
  background: repeating-linear-gradient(-45deg, var(--signal) 0 6px, var(--signal-2) 6px 12px);
  transition: width 1.1s cubic-bezier(.3,.7,.2,1);
}
.board.visible .repo-list b::after { width: var(--len); }
.repo-list li:nth-child(1) b { --start: 0%; --len: 62%; }
.repo-list li:nth-child(2) b { --start: 8%; --len: 48%; }
.repo-list li:nth-child(3) b { --start: 12%; --len: 70%; }
.repo-list li:nth-child(4) b { --start: 58%; --len: 30%; }
.repo-list li:nth-child(5) b { --start: 74%; --len: 24%; }
.repo-list li:nth-child(2) b::after { transition-delay: .15s; }
.repo-list li:nth-child(3) b::after { transition-delay: .3s; }
.repo-list li:nth-child(4) b::after { transition-delay: .6s; }
.repo-list li:nth-child(5) b::after { transition-delay: .8s; }
.board .detail { padding: 12px 20px 16px; border-top: 2px solid var(--ink); }

.usage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  margin-top: clamp(64px, 8vw, 100px);
}
.stamp {
  justify-self: start;
  margin: 0;
  padding: 18px 26px 20px;
  border: 5px double var(--stamp);
  color: var(--stamp);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}
.stamp strong { display: block; margin-top: 6px; font-size: .56em; font-weight: 700; letter-spacing: .01em; }
.usage-note { padding: 22px 24px; border-left: 4px solid var(--signal); background: var(--card); }
.usage-note .detail strong { color: var(--ink); }
.source-link { display: inline-flex; margin-top: 14px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 44px; }
.cta-row > span { color: var(--muted); font: 500 12.5px/1.4 var(--mono); }

/* ---------- Everyday: work tickets ---------- */
.tickets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 28px; margin-top: clamp(48px, 6vw, 80px); }
.ticket {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 2px solid var(--edge);
  background: var(--card);
  box-shadow: 5px 5px 0 var(--hard);
  transition: transform .18s ease;
}
.ticket:nth-child(4n+1) { transform: rotate(-.6deg); }
.ticket:nth-child(4n+2) { transform: rotate(.5deg); }
.ticket:nth-child(4n+3) { transform: rotate(.4deg); }
.ticket:nth-child(4n) { transform: rotate(-.5deg); }
.ticket:hover { transform: rotate(0) translateY(-3px); }
.ticket-top { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 2px solid var(--ink); font: 500 11.5px/1.3 var(--mono); letter-spacing: .06em; }
.ticket-top span:last-child { color: var(--muted-2); }
.ticket h3 { margin: 0; padding: 20px 18px 18px; font-size: clamp(21px, 2vw, 26px); line-height: 1.22; font-weight: 700; letter-spacing: -.025em; }
.ticket h3 small { display: block; margin-bottom: 10px; color: var(--muted-2); font: 500 10.5px/1 var(--mono); letter-spacing: .14em; }
.ticket p { margin: 0; padding: 16px 18px 20px; border-top: 2px dashed var(--rule-2); color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.ticket p small { display: block; margin-bottom: 8px; color: var(--go); font: 500 10.5px/1 var(--mono); letter-spacing: .14em; }

.everyday .after-note { margin-top: 40px; max-width: 760px; }

/* ---------- Demos: pick a job, watch it run ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(32px, 6vw, 90px); margin-top: clamp(48px, 6vw, 80px); align-items: center; }
.jobs { display: grid; border-top: 2px solid var(--ink); }
.job {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 4px 18px;
  padding: 22px 16px 22px 0;
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: background .15s ease, padding .15s ease;
}
.job small { grid-row: span 2; align-self: start; padding-top: 5px; color: var(--muted-2); font: 500 12px/1 var(--mono); }
.job strong { font-size: clamp(20px, 2.1vw, 28px); font-weight: 750; line-height: 1.15; letter-spacing: -.03em; color: var(--muted); transition: color .15s ease; }
.job span { max-width: 560px; color: var(--muted); font-size: 15px; line-height: 1.55; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s ease, opacity .3s ease; }
.job:hover strong { color: var(--ink); }
.job[aria-selected="true"] { background: var(--signal); padding-left: 16px; }
.job[aria-selected="true"] small, .job[aria-selected="true"] strong, .job[aria-selected="true"] span { color: #121211; }
.job[aria-selected="true"] span { max-height: 120px; opacity: 1; }
.showcase-stage { position: relative; display: grid; place-items: center; padding: 26px; border: 2px solid var(--edge); background: var(--paper-2); box-shadow: 6px 6px 0 var(--hard); }
.showcase-stage::before { content: attr(data-caption); position: absolute; top: -13px; left: 16px; padding: 4px 8px; background: var(--ink); color: var(--on-ink); font: 500 11px/1.2 var(--mono); }
.demo-screen { position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border: 2px solid #121211; background: #000; }
.inline-session { display: block; width: 100%; height: 100%; border: 0; background: #000; }
.showcase-note { margin-top: 18px; }

/* ---------- Start: three steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 0 clamp(18px, 3vw, 40px) 0 0; }
.steps li + li { padding-left: clamp(18px, 3vw, 40px); border-left: 2px dashed var(--rule-2); }
.step-num { display: block; color: transparent; font-size: clamp(72px, 9vw, 130px); font-weight: 850; line-height: .8; letter-spacing: -.07em; -webkit-text-stroke: 2px var(--ink); }
.steps li:first-child .step-num { color: var(--signal); }
.steps h3 { margin: 26px 0 10px; font-size: 24px; line-height: 1.2; font-weight: 750; letter-spacing: -.03em; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.62; }
.steps code { display: inline-block; margin-top: 18px; padding: 6px 10px; border: 1.5px solid var(--ink); font: 500 12px/1.3 var(--mono); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq-layout > header { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-layout > header .lede { margin-top: 22px; }
.faq-grid { border-top: 2px solid var(--ink); }
.faq-grid details { border-bottom: 1px solid var(--rule-2); }
.faq-grid summary { display: grid; grid-template-columns: 1fr 30px; gap: 16px; align-items: center; padding: 22px 0; cursor: pointer; list-style: none; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  font: 500 16px/1 var(--mono);
}
.faq-grid details[open] summary::after { content: "−"; background: var(--signal); color: #121211; border-color: #121211; }
.faq-grid summary:hover h3 { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.faq-grid h3 { margin: 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }
.faq-grid p { margin: 0; padding: 0 46px 24px 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }

/* ---------- Pricing: receipts ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: clamp(56px, 6vw, 90px); align-items: start; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 40px;
  background: var(--card);
  border: 2px solid var(--edge);
  border-bottom: 0;
  font-family: var(--mono);
  -webkit-mask: radial-gradient(9px at 50% 100%, transparent 98%, #000) 50% 100% / 22px 100% repeat-x;
  mask: radial-gradient(9px at 50% 100%, transparent 98%, #000) 50% 100% / 22px 100% repeat-x;
}
.plan small { color: var(--muted); font-size: 11.5px; letter-spacing: .08em; }
.plan h3 { margin: 14px 0 0; font-family: var(--sans); font-size: 26px; font-weight: 800; letter-spacing: -.035em; }
.plan .price { margin: 22px 0 0; padding: 16px 0; border-block: 2px dashed var(--rule-2); font-family: var(--sans); font-size: 54px; font-weight: 850; line-height: 1; letter-spacing: -.06em; }
.plan .price i { margin-left: 6px; color: var(--muted); font: 500 13px/1 var(--mono); letter-spacing: 0; }
.plan > p:not(.price) { margin: 18px 0 0; color: var(--ink-2); font-family: var(--sans); font-size: 15px; line-height: 1.6; }
.plan ul { margin: 20px 0 26px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 13px; }
.plan li { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px dotted var(--rule-2); }
.plan li::after { content: "✓"; color: var(--go); font-weight: 700; }
.plan li.no::after { content: "—"; color: var(--muted-2); }
.plan li.no { color: var(--muted); }
.plan .btn { margin-top: auto; width: 100%; font-family: var(--sans); }
.plan.is-featured { background: var(--signal); color: #121211; border-color: #121211; transform: translateY(-14px); }
.plan.is-featured small, .plan.is-featured .price i, .plan.is-featured li.no { color: #4a4420; }
.plan.is-featured > p:not(.price) { color: #2a2710; }
.plan.is-featured .price, .plan.is-featured li { border-color: rgba(18,18,17,.3); }
.plan.is-featured li::after { color: #121211; }
.plan.is-featured .btn { background: #121211; color: var(--signal); border-color: #121211; box-shadow: 4px 4px 0 rgba(18,18,17,.35); }
.plan-badge { align-self: flex-start; margin-bottom: 14px; padding: 4px 8px; border: 2px solid #121211; color: #121211; font-size: 11px; letter-spacing: .08em; transform: rotate(-2deg); }
.pricing-note { max-width: 820px; margin: 36px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.pricing-note a { color: var(--ink); }

/* ---------- Stay close (signal block) ---------- */
.stay { position: relative; padding: clamp(80px, 10vw, 130px) 0; background: var(--signal); color: #121211; }
.stay-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.stay .label { color: #4a4420; }
.stay .label b { background: #121211; color: var(--signal); }
.stay h2 { margin: 20px 0 0; font-size: clamp(42px, 5.4vw, 76px); line-height: .93; font-weight: 850; letter-spacing: -.055em; }
.stay-copy > p:last-child { margin: 24px 0 0; color: #2a2710; font-size: 17.5px; line-height: 1.6; }
.remarketing-form { padding: clamp(22px, 3vw, 32px); border: 2px solid #121211; background: #fffbe6; box-shadow: 6px 6px 0 #121211; color: #121211; }
.remarketing-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.remarketing-fields label { display: grid; gap: 8px; }
.remarketing-fields label > span { font: 500 12px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.remarketing-fields label > span i { margin-left: 6px; color: #7b7440; font-style: normal; text-transform: none; }
.remarketing-use { grid-column: 1 / -1; }
.remarketing-fields input, .remarketing-fields textarea {
  width: 100%;
  padding: 12px 13px;
  border: 2px solid #121211;
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: #121211;
  font-size: 16px;
  resize: vertical;
}
.remarketing-fields input::placeholder, .remarketing-fields textarea::placeholder { color: #8d8a7c; }
.remarketing-fields input:focus, .remarketing-fields textarea:focus { box-shadow: 3px 3px 0 #121211; }
.remarketing-consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; color: #2a2710; font-size: 13.5px; line-height: 1.55; }
.remarketing-consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: #121211; }
.remarketing-consent a { color: #121211; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; }
.remarketing-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.remarketing-submit-row button {
  min-height: 50px;
  padding: 0 22px;
  border: 2px solid #121211;
  background: #121211;
  color: var(--signal);
  font-weight: 700;
  box-shadow: 4px 4px 0 rgba(18,18,17,.3);
}
.remarketing-submit-row button:hover:not(:disabled) { transform: translate(-1px, -1px); }
.remarketing-submit-row button:disabled { opacity: .6; cursor: wait; }
.remarketing-submit-row p { margin: 0; color: #13643f; font-size: 14px; font-weight: 600; }
.remarketing-submit-row p.error { color: #b3261e; }

/* ---------- Footer ---------- */
.site-footer { background: #0e0e0d; color: #a8a498; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .6fr)); gap: 40px; padding: 64px 0 52px; }
.footer-top .brand { color: #f2efe6; }
.footer-top .brand .brand-word { color: #f2efe6; }
.footer-top p { max-width: 360px; margin: 18px 0 0; font-size: 15px; line-height: 1.6; }
.footer-col h4 { margin: 4px 0 16px; color: #6f6b60; font: 500 11px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.footer-col a { display: block; margin: 0 0 11px; color: #e3dfd3; font-size: 15px; text-decoration: none; }
.footer-col a:hover { color: var(--signal); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; padding: 20px 0 26px; border-top: 1px solid #262521; font: 500 12px/1.5 var(--mono); }

/* ---------- Purchase dialogs ---------- */
.purchase-sheet {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 2px solid var(--edge);
  border-radius: 0;
  background: var(--card);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--hard);
}
.purchase-sheet::backdrop { background: rgba(10,10,9,.55); }
.purchase-sheet-inner { position: relative; padding: 0 clamp(20px, 4vw, 30px) 26px; }
.purchase-close {
  position: absolute;
  top: 9px;
  right: 10px;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 2px solid #121211;
  background: #fffbe6;
  color: #121211;
  font-size: 22px;
  line-height: 1;
}
.purchase-brand { display: flex; align-items: center; gap: 10px; margin: 0 calc(-1 * clamp(20px, 4vw, 30px)); padding: 12px clamp(20px, 4vw, 30px); background: var(--signal); color: #121211; border-bottom: 2px solid #121211; }
.purchase-brand > span { width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid #121211; background: #121211 url("/assets/brand/all-icon.svg") center / 74% no-repeat; color: transparent; font-size: 0; }
.purchase-brand strong { font-size: 17px; font-weight: 850; letter-spacing: -.03em; }
.purchase-brand i { width: 2px; height: 18px; background: #121211; }
.purchase-brand small { font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.purchase-copy { margin-top: 24px; }
.purchase-kicker { color: var(--muted); font: 500 11.5px/1.2 var(--mono); letter-spacing: .12em; }
.purchase-copy h2 { margin: 10px 0 0; font-size: clamp(28px, 4vw, 36px); line-height: 1.02; font-weight: 850; letter-spacing: -.045em; }
.purchase-copy p { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.purchase-plans { display: grid; gap: 10px; margin-top: 20px; }
.purchase-plans button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  background: var(--paper);
  text-align: left;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.purchase-plans button > span { display: grid; gap: 3px; min-width: 0; }
.purchase-plans button b { font-size: 16px; font-weight: 750; }
.purchase-plans button small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.purchase-plans button > strong { font-size: 22px; font-weight: 850; letter-spacing: -.04em; white-space: nowrap; }
.purchase-plans button > strong small { font-size: 13px; font-weight: 500; }
.purchase-plans button:hover:not(:disabled) { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--hard); }
.purchase-plans button.is-selected { background: var(--signal); color: #121211; border-color: #121211; box-shadow: 3px 3px 0 var(--hard); }
.purchase-plans button.is-selected small { color: #4a4420; }
.purchase-plans button:disabled { opacity: .4; cursor: not-allowed; }
.purchase-state { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--muted); font: 500 12.5px/1.4 var(--mono); }
.purchase-state i { width: 9px; height: 9px; background: #e8b339; animation: blink 1.2s steps(2) infinite; }
.purchase-state.is-live i { background: var(--go); }
.purchase-state.is-offline i { background: var(--muted-2); animation: none; }
.purchase-state.is-error i { background: var(--stamp); animation: none; }
.purchase-primary {
  width: 100%;
  min-height: 54px;
  margin-top: 14px;
  border: 2px solid var(--edge);
  background: var(--ink);
  color: var(--on-ink);
  font-size: 16px;
  font-weight: 750;
  box-shadow: 4px 4px 0 var(--signal);
}
.purchase-primary:disabled { opacity: .45; cursor: wait; }
.purchase-fallback { display: block; margin-top: 12px; font-size: 14px; }
.purchase-sheet-inner > small { display: block; margin-top: 16px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.purchase-sheet-inner > small a { color: var(--ink); }
.download-recommendation { margin: 16px 0 0; color: var(--ink-2); font-size: 14.5px; }
.download-recommendation:empty { display: none; }
.purchase-downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.purchase-downloads a {
  display: grid;
  place-items: center;
  min-height: 50px;
  padding: 8px;
  border: 2px solid #121211;
  background: var(--signal);
  color: #121211;
  box-shadow: 3px 3px 0 var(--hard);
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}
.purchase-result .purchase-copy { margin-top: 24px; }
.purchase-license-link, .purchase-email-verify { margin-top: 18px; padding: 16px; border: 2px dashed var(--rule-2); background: var(--paper); }
.purchase-license-link p, .purchase-email-verify label { display: block; margin: 0 0 12px; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.purchase-license-row { display: flex; flex-wrap: wrap; gap: 10px; }
.purchase-license-row a, .purchase-license-row button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 2px solid var(--edge);
  background: var(--ink);
  color: var(--on-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.purchase-license-row button { background: var(--card); color: var(--ink); }
.purchase-license-row input { flex: 1 1 200px; min-height: 42px; padding: 0 12px; border: 2px solid var(--ink); border-radius: 0; background: var(--card); font-size: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .site-nav { display: none; }
  .account-link { display: inline-flex; }
  .site-header-inner { grid-template-columns: auto 1fr; }
  .site-actions { justify-self: end; }
  .hero-head, .section-head, .parallel, .usage, .faq-layout, .stay-layout, .showcase { grid-template-columns: 1fr; }
  .desk { grid-template-columns: 1fr; }
  .desk-link { height: 56px; }
  .desk-link::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--ink); }
  .desk-link span { transform: rotate(90deg); animation: none; }
  .worklog { max-height: 470px; }
  .faq-layout > header { position: static; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .plan.is-featured { transform: none; }
  .showcase-stage { width: min(100%, 420px); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .tickets { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps li, .steps li + li { padding: 0; border-left: 0; }
  .steps li + li { padding-top: 40px; border-top: 2px dashed var(--rule-2); }
}

@media (max-width: 700px) {
  :root { --header-h: 60px; }
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: 21px; }
  .site-actions { gap: 10px; }
  .hero { padding-top: 34px; }
  .hero-title { font-size: clamp(50px, 15vw, 70px); }
  .live-guide { height: min(540px, calc(100svh - 150px)); min-height: 430px; box-shadow: 4px 4px 0 var(--hard); }
  .hero-demo { min-height: max(430px, min(540px, calc(100svh - 150px))); }
  .worklog { box-shadow: 4px 4px 0 var(--hard); }
  .worklog li { grid-template-columns: 40px 54px minmax(0, 1fr); gap: 8px; font-size: 12px; }
  .guide-status { display: none; }
  .guide-messages { padding: 18px 14px 10px; }
  .guide-suggestions { flex-wrap: nowrap; overflow-x: auto; padding-inline: 14px; scrollbar-width: none; }
  .guide-suggestions::-webkit-scrollbar { display: none; }
  .guide-suggestions button { flex: none; }
  .guide-form { margin-inline: 10px; }
  .section { padding: 80px 0; }
  .repo-list li, .board-scale { grid-template-columns: 84px minmax(0, 1fr); padding-inline: 14px; }
  .board-head, .board .detail { padding-inline: 14px; }
  .ticket:nth-child(n) { transform: none; }
  .job { grid-template-columns: 44px minmax(0, 1fr); }
  .faq-grid p { padding-right: 0; }
  .remarketing-fields { grid-template-columns: 1fr; }
  .purchase-downloads { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-row .btn { width: 100%; }

  .guide-dock-tab { right: 14px; bottom: 14px; }
  body > .live-guide.is-docked {
    right: 8px;
    left: 8px;
    bottom: 8px;
    width: auto;
    height: calc(100dvh - var(--header-h) - 16px);
    transform: translateY(24px);
  }
  body > .live-guide.is-docked.is-dock-open { transform: none; }

  .guide-form textarea { font-size: 16px; }
  .guide-form, .guide-form textarea, .guide-form button, .guide-dock-tab, .guide-mobile-close { touch-action: manipulation; }

  /* Mobile keyboard mode: the composer follows the visual viewport while the
     page behind it stays frozen. It always starts below the header. */
  body.guide-mobile-composing { overflow: hidden; overscroll-behavior: none; }
  body.guide-mobile-composing > .live-guide.is-mobile-composing {
    top: calc(var(--all-guide-vv-top, 0px) + var(--header-h) + 8px);
    right: 8px;
    left: 8px;
    bottom: auto;
    width: auto;
    height: calc(var(--all-guide-vv-height, 100dvh) - var(--header-h) - 16px);
    min-height: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
    overscroll-behavior: contain;
  }
  body.guide-mobile-composing > .live-guide .guide-messages { min-height: 0; overscroll-behavior: contain; }
  body.guide-mobile-composing > .live-guide .guide-suggestions,
  body.guide-mobile-composing > .live-guide .guide-foot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .repo-list b::after { width: var(--len); transition: none; }
  .desk-link span, .worklog-bar b::before, .purchase-state i { animation: none !important; }
}

/* One-line install commands (Get started) */
.oneline { margin-top: clamp(40px, 5vw, 64px); padding: 22px clamp(18px, 3vw, 28px); border: 2px solid var(--ink); background: var(--card); box-shadow: 5px 5px 0 var(--hard); }
.oneline-title { margin: 0 0 14px; font-weight: 700; }
.oneline-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--rule-2); }
.oneline-row span { color: var(--muted); font: 500 12px/1.3 var(--mono); }
.oneline-row code { overflow-x: auto; padding: 8px 10px; background: #121211; color: #ffd400; font: 500 13px/1.4 var(--mono); white-space: nowrap; }
.oneline-row button { min-height: 36px; padding: 0 14px; border: 2px solid var(--ink); background: var(--signal); color: #121211; font: 700 12px/1 var(--mono); cursor: pointer; }
@media (max-width: 700px) { .oneline-row { grid-template-columns: minmax(0, 1fr) auto; } .oneline-row span { grid-column: 1 / -1; } .oneline-row code { white-space: normal; overflow-wrap: anywhere; } }

.guide-suggestions[hidden] { display: none !important; }

/* ---------- Copy v3: hero CTA, benefit list and OpenAI proof block ---------- */
.hero-title-sub { display: block; margin-top: .32em; font-size: .4em; line-height: 1; font-weight: 800; letter-spacing: -.045em; }
.hero-side { min-width: 0; }
.hero-cta { margin-top: 18px; }
.worklog-bar { flex-wrap: wrap; row-gap: 6px; }
.worklog li strong { font-weight: 700; }

.benefit-list { margin: 26px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.benefit-list li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px dashed var(--rule-2); color: var(--ink-2); font-size: 16px; line-height: 1.45; }
.benefit-list li::before { content: "✓"; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; display: grid; place-items: center; background: var(--signal); color: var(--on-signal); font: 700 12px/1 var(--mono); }
.benefit-list strong { color: var(--ink); font-weight: 700; }
.benefit-kicker { margin: 20px 0 22px; color: var(--ink); font-size: clamp(17px, 1.45vw, 19.5px); font-weight: 700; line-height: 1.45; }

.proof { padding-block: clamp(64px, 8vw, 110px); }
.proof-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.proof-quote { margin: 0; }
.proof .proof-quote h2 { font-size: clamp(38px, 4.6vw, 68px); line-height: .98; }
.proof-quote cite { display: block; margin-top: 16px; color: var(--muted); font: 500 12.5px/1.5 var(--mono); font-style: normal; letter-spacing: .02em; }
.proof-quote cite::before { content: "— "; }
.proof-copy .lede { margin-top: 26px; }
.proof-shot { margin: 0; border: 2px solid var(--edge); background: var(--term); box-shadow: 6px 6px 0 var(--hard); }
.proof-shot img { display: block; width: 100%; height: auto; }
.proof-shot figcaption { padding: 10px 14px; border-top: 1px solid var(--term-rule); color: var(--term-muted); font: 500 11.5px/1.4 var(--mono); letter-spacing: .04em; }
.proof-testimonial { margin: 28px 0 0; padding: 20px 24px; border-left: 4px solid var(--signal); background: var(--card); }
.proof-testimonial p { margin: 0; color: var(--ink); font-size: clamp(19px, 1.9vw, 24px); font-weight: 750; line-height: 1.3; letter-spacing: -.02em; }
.proof-testimonial footer { margin-top: 10px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.proof-testimonial footer strong { color: var(--ink); }
.proof .cta-row { margin-top: 28px; }
@media (max-width: 1060px) { .proof-layout { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .proof { padding-block: 64px; }
  .hero-title-sub { font-size: .46em; }
  .proof-shot { box-shadow: 4px 4px 0 var(--hard); }
  .proof-testimonial { padding: 16px 18px; }
}
.why .section-head { align-items: center; }
.plan:not(.is-featured) .plan-badge { border-color: var(--ink); color: var(--ink); }

/* ==========================================================================
   Alma · ElevenLabs voice agent (home pages). Voice-first: launcher + teaser
   + mode bar driven by alma.js. The official widget stays hidden until it is
   opened (call card, no chat), then it is themed through its --el-* variables. Alma and ALL Guide never
   share the corner: Alma rises above the guide tab when it is visible, hides
   while the docked guide chat is open, and the guide tab hides while Alma is open.
   ========================================================================== */
.alma {
  --alma-size: 56px;
  --alma-gap: 22px;
  --alma-lift: 0px;
  position: fixed;
  z-index: 94;
  right: calc(var(--alma-gap) + env(safe-area-inset-right, 0px));
  bottom: calc(var(--alma-gap) + var(--alma-lift) + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
  font-family: var(--sans);
  opacity: 0;
  transform: translateY(12px);
  transition: bottom .24s ease, opacity .24s ease, transform .24s ease, visibility 0s linear .24s;
  visibility: hidden;
}
.alma.is-ready { opacity: 1; transform: none; visibility: visible; transition: bottom .24s ease, opacity .24s ease, transform .24s ease, visibility 0s; }
.alma[hidden] { display: none; }
body:has(.guide-dock-tab.is-visible) .alma { --alma-lift: 68px; }
body.alma-open .alma,
body.guide-mobile-composing .alma,
body:has(.live-guide.is-dock-open) .alma { opacity: 0; transform: translateY(12px) scale(.96); visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
body.alma-open .guide-dock-tab.is-visible { opacity: 0; pointer-events: none; transform: translateY(14px); }

.alma-launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--alma-size);
  height: var(--alma-size);
  padding: 0;
  border: 2px solid #121211;
  background: #121211;
  color: var(--signal);
  box-shadow: 4px 4px 0 var(--signal);
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  transition: transform .16s ease, box-shadow .16s ease;
  -webkit-tap-highlight-color: transparent;
}
.alma-launcher:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--signal); }
.alma-launcher:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--signal); }
.alma-launcher:focus-visible { outline: 3px solid var(--run); outline-offset: 4px; }
.alma-phone { display: block; width: 26px; height: 26px; overflow: visible; }
.alma-phone .alma-handset { fill: currentColor; }
.alma-phone .alma-signal { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: square; transform-origin: 13px 13px; animation: alma-signal 2.4s ease-in-out infinite; }
.alma-phone .alma-signal + .alma-signal { animation-delay: .25s; }
@keyframes alma-signal { 0%, 55%, 100% { opacity: 1; } 75% { opacity: .25; } }
.alma-launcher:hover .alma-handset { transform: rotate(-8deg); }
.alma-handset { transform-origin: 13px 15px; transition: transform .2s ease; }
.alma-dot { position: absolute; top: -5px; right: -5px; width: 12px; height: 12px; border: 2px solid #121211; border-radius: 50%; background: #3cc98a; }

.alma-teaser {
  position: absolute;
  right: 0;
  bottom: calc(var(--alma-size) + 16px);
  display: flex;
  align-items: stretch;
  width: max-content;
  max-width: min(280px, calc(100vw - 2 * var(--alma-gap)));
  border: 2px solid #121211;
  background: var(--signal);
  color: #121211;
  box-shadow: 4px 4px 0 var(--hard);
  opacity: 0;
  transform: translateY(10px) scale(.96);
  transform-origin: 85% 100%;
  pointer-events: none;
  transition: opacity .26s ease, transform .3s cubic-bezier(.2, 1.4, .4, 1);
}
.alma-teaser.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.alma-teaser[hidden] { display: none; }
.alma-teaser::after {
  content: "";
  position: absolute;
  right: calc(var(--alma-size) / 2 - 9px);
  bottom: -10px;
  width: 14px;
  height: 14px;
  border-right: 2px solid #121211;
  border-bottom: 2px solid #121211;
  background: var(--signal);
  transform: rotate(45deg);
}
.alma-teaser-open {
  display: grid;
  gap: 3px;
  min-width: 0;
  margin: 0;
  padding: 12px 6px 12px 15px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.alma-teaser-open b { font-size: 17px; font-weight: 850; line-height: 1.1; letter-spacing: -.025em; }
.alma-teaser-open small { display: flex; align-items: center; gap: 6px; color: #2f2e2a; font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.alma-teaser-open small::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #19935f; box-shadow: 0 0 0 2px rgba(25,147,95,.22); }
.alma-teaser-open:focus-visible, .alma-teaser-close:focus-visible { outline: 3px solid var(--run); outline-offset: -3px; }
.alma-teaser-close {
  flex: none;
  align-self: flex-start;
  width: 32px;
  height: 32px;
  margin: 4px 4px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #121211;
  font: 600 20px/1 var(--sans);
  cursor: pointer;
  opacity: .7;
}
.alma-teaser-close:hover { opacity: 1; }

/* Mode bar above the open call card: text is opt-in, close returns to the launcher. */
.alma-bar {
  position: fixed;
  z-index: 2147483647;
  right: calc(22px + env(safe-area-inset-right, 0px));
  bottom: calc(150px + env(safe-area-inset-bottom, 0px));
  display: flex;
  gap: 8px;
  font-family: var(--sans);
  opacity: 0;
  transition: opacity .18s ease;
}
.alma-bar.is-placed { opacity: 1; }
.alma-bar[hidden] { display: none; }
.alma-bar button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 13px;
  border: 2px solid #121211;
  background: #121211;
  color: var(--signal);
  box-shadow: 3px 3px 0 var(--signal);
  font: 750 13.5px/1 var(--sans);
  letter-spacing: -.01em;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .14s ease, box-shadow .14s ease;
}
.alma-bar button:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--signal); }
.alma-bar button:focus-visible { outline: 3px solid var(--run); outline-offset: 3px; }
.alma-bar button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }
.alma-bar .alma-bar-close { justify-content: center; width: 36px; padding: 0; font-size: 20px; font-weight: 600; }
.alma-bar [data-alma-icon-voice] { display: none; }
body.alma-text .alma-bar [data-alma-icon-voice] { display: block; }
body.alma-text .alma-bar [data-alma-icon-text] { display: none; }
body.alma-call .alma-bar .alma-bar-close { display: none; }
@media (prefers-color-scheme: dark) { .alma-bar button { border-color: var(--signal); background: #0a0a09; } }

/* The official widget: hidden until opened, themed to the workbench. */
elevenlabs-convai {
  --el-base: #fbfaf6;
  --el-base-hover: #f3f0e8;
  --el-base-active: #ebe7dc;
  --el-base-border: #121211;
  --el-base-subtle: #69665d;
  --el-base-primary: #121211;
  --el-accent: #ffd400;
  --el-accent-hover: #ffe45c;
  --el-accent-active: #f0c800;
  --el-accent-border: #121211;
  --el-accent-subtle: #69665d;
  --el-accent-primary: #121211;
  --el-button-radius: 4px;
  --el-input-radius: 2px;
  --el-bubble-radius: 4px;
  --el-overlay-padding: 22px;
  --font-sans: var(--sans);
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility 0s linear .2s;
}
elevenlabs-convai.is-open { visibility: visible; opacity: 1; transition: opacity .2s ease, visibility 0s; }
@media (prefers-color-scheme: dark) {
  .alma-launcher { border-color: var(--signal); background: #0a0a09; }
  elevenlabs-convai {
    --el-base: #1c1c19;
    --el-base-hover: #22221e;
    --el-base-active: #2a2925;
    --el-base-border: #4a4841;
    --el-base-subtle: #a09c90;
    --el-base-primary: #f2efe6;
    --el-accent-subtle: #a09c90;
  }
}

@media (max-width: 700px) {
  .alma { --alma-size: 48px; --alma-gap: 14px; }
  body:has(.guide-dock-tab.is-visible) .alma { --alma-lift: 64px; }
  .alma-phone { width: 22px; height: 22px; }
  .alma-bar { gap: 6px; }
  .alma-bar button { height: 34px; padding: 0 11px; font-size: 13px; }
  .alma-bar .alma-bar-close { width: 34px; padding: 0; }
  .alma-teaser { bottom: calc(var(--alma-size) + 14px); max-width: min(250px, calc(100vw - 2 * var(--alma-gap) - 8px)); }
  .alma-teaser-open { padding: 10px 4px 10px 13px; }
  .alma-teaser-open b { font-size: 15.5px; }
  .alma-teaser-open small { font-size: 9.5px; }
  .alma-teaser-close { width: 30px; height: 30px; font-size: 18px; }
  elevenlabs-convai { --el-overlay-padding: max(12px, env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .alma, .alma-teaser, .alma-launcher, .alma-bar, .alma-bar button, elevenlabs-convai { transition: none; }
  .alma-phone .alma-signal, .alma-handset { animation: none; transition: none; }
}
@media print { .alma, .alma-bar, elevenlabs-convai { display: none !important; } }

/* ==========================================================================
   0.7.4 · The whole site sells the 3-hour trial (plan §9S) plus the real
   numbers strip and the "before you upgrade to Pro" comparison.
   Every trial element carries [data-trial] and every word about activating
   a purchase with the email + 6-digit code carries [data-email-activation].
   Both flags default to off, so both are hidden until GET /api/trial/status
   says otherwise (app.js or site-flags.js add html.trial-on and
   html.email-activation-on). No answer keeps them hidden: with the flags
   off the page reads as before and never offers what the installer lacks.
   [data-trial-or-email] is shown while either one is on.
   ========================================================================== */
html:not(.trial-on) [data-trial],
[data-trial].is-trial-off,
html:not(.email-activation-on) [data-email-activation],
html:not(.trial-on):not(.email-activation-on) [data-trial-or-email],
html.trial-on [data-trial-off],
html.email-activation-on [data-trial-only] { display: none !important; }
/* [data-trial-only] is the trial's wording of a sentence that email activation says better: it gives way when that is on.
   [data-trial-off] is the other way round: it shows only while the trial is off (the section numbers that close the gap the hidden
   "Still not sure?" section would leave). */

/* Hero: the white trial button with its small rotated stamp */
.hero-cta { flex-wrap: wrap; row-gap: 14px; }
.btn-trial { position: relative; display: inline-flex; }
.btn-trial .plan-badge {
  position: absolute;
  top: -14px;
  right: -8px;
  z-index: 1;
  margin: 0;
  padding: 3px 7px;
  background: var(--signal);
  border-color: #121211;
  color: #121211;
  font: 500 10.5px/1.2 var(--mono);
  letter-spacing: .08em;
  transform: rotate(-2deg);
  animation: stamp-in .24s cubic-bezier(.2, 1.4, .4, 1) both;
}
.badge-free { background: var(--signal); color: #121211; border: 2px solid #121211; }
@keyframes stamp-in { from { transform: rotate(-6deg) scale(1.15); } to { transform: rotate(-2deg) scale(1); } }
.hero-facts li:nth-child(4) { background: var(--signal); color: var(--on-signal); border-color: var(--edge); }
.text-link-button { padding: 0; border: 0; background: transparent; font: inherit; font-weight: 600; cursor: pointer; }

/* Proof: the founder's real numbers */
.numbers { margin-top: clamp(56px, 7vw, 90px); padding: clamp(22px, 3vw, 34px); border: 2px solid var(--edge); background: var(--card); box-shadow: 6px 6px 0 var(--hard); }
.numbers-intro { display: grid; gap: 14px; max-width: 760px; }
.numbers-intro h3 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; font-weight: 800; letter-spacing: -.035em; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 26px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.numbers-grid li { display: grid; gap: 8px; padding: 20px 18px 20px 0; border-bottom: 1px dashed var(--rule-2); }
.numbers-grid li + li { padding-left: 18px; border-left: 1px dashed var(--rule-2); }
.numbers-grid strong { font-size: clamp(30px, 3.4vw, 46px); line-height: .95; font-weight: 850; letter-spacing: -.05em; }
.numbers-grid li:nth-child(odd) strong { background: var(--signal); color: var(--on-signal); padding: 0 .1em; justify-self: start; }
.numbers-grid span { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.numbers-source { margin: 16px 0 0; color: var(--muted); font: 500 12px/1.6 var(--mono); }
.numbers.visible .numbers-grid li { animation: rise .5s ease both; }
.numbers.visible .numbers-grid li:nth-child(2) { animation-delay: .09s; }
.numbers.visible .numbers-grid li:nth-child(3) { animation-delay: .18s; }
.numbers.visible .numbers-grid li:nth-child(4) { animation-delay: .27s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Everyday tickets: the "try it" footer line */
.ticket { grid-template-rows: auto 1fr auto auto; }
.ticket-try { display: block; padding: 10px 18px 12px; border-top: 2px solid var(--ink); background: var(--paper-2); color: var(--ink); font: 500 11.5px/1.3 var(--mono); letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.ticket-try:hover { background: var(--signal); color: #121211; }

/* Demos: the strip under the showcase */
.showcase-try { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 36px; padding: 22px clamp(18px, 3vw, 28px); border: 2px solid var(--ink); background: var(--card); box-shadow: 6px 6px 0 var(--hard); }
.showcase-try-title { margin: 0 0 6px; font-size: clamp(19px, 1.8vw, 24px); font-weight: 750; line-height: 1.25; letter-spacing: -.025em; }
.showcase-try .btn { flex: none; }

/* Before you upgrade to Pro: three roads */
.compare-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 6vw, 80px); align-items: stretch; }
.compare-card { display: flex; flex-direction: column; padding: 22px 22px 26px; border: 2px solid var(--edge); background: var(--card); box-shadow: 5px 5px 0 var(--hard); }
.compare-card small { color: var(--muted); font: 500 11.5px/1.2 var(--mono); letter-spacing: .1em; }
.compare-card h3 { margin: 12px 0 0; font-size: clamp(22px, 2.1vw, 28px); font-weight: 800; letter-spacing: -.035em; }
.compare-price { margin: 14px 0 0; padding: 12px 0; border-block: 2px dashed var(--rule-2); font-size: clamp(24px, 2.4vw, 32px); font-weight: 850; line-height: 1; letter-spacing: -.05em; }
.compare-price i { margin-left: 6px; color: var(--muted); font: 500 12px/1 var(--mono); }
.compare-card > p:last-child { margin: 16px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.compare-card.is-pick { background: var(--signal); color: #121211; border-color: #121211; transform: translateY(-10px); box-shadow: 6px 6px 0 #121211; }
.compare-card.is-pick small, .compare-card.is-pick .compare-price i { color: #4a4420; }
.compare-card.is-pick > p:last-child { color: #2a2710; }
.compare-card.is-pick .compare-price { border-color: rgba(18,18,17,.3); }
.compare-close { display: grid; gap: 12px; max-width: 820px; margin-top: clamp(36px, 5vw, 56px); }
.compare-kicker { margin: 0; font-size: clamp(22px, 2.6vw, 34px); font-weight: 850; line-height: 1.1; letter-spacing: -.04em; }
.compare-kicker::before { content: ""; display: block; width: 64px; height: 6px; margin-bottom: 14px; background: var(--signal); }

/* Get started: two paths */
.path-switch { display: inline-flex; margin-top: 30px; border: 2px solid var(--ink); background: var(--card); }
.path-switch button { padding: 10px 16px; border: 0; background: transparent; color: var(--muted); font: 500 13px/1 var(--mono); letter-spacing: .02em; transition: background .12s ease, color .12s ease; }
.path-switch button + button { border-left: 2px solid var(--ink); }
.path-switch button[aria-selected="true"] { background: var(--ink); color: var(--on-ink); }
.path-switch button:hover:not([aria-selected="true"]) { background: var(--signal); color: #121211; }
.steps.is-switching li h3, .steps.is-switching li p, .steps.is-switching li code { opacity: 0; transition: opacity .18s ease; }
.steps li h3, .steps li p, .steps li code { transition: opacity .18s ease; }
.steps .step-num { transition: transform .24s ease; }
.steps.is-switching .step-num { transform: rotate(90deg); }
.steps[data-path-current="trial"] li:first-child .step-num { color: var(--signal); }
.oneline-note { margin: 12px 0 0; color: var(--muted); font: 500 12px/1.5 var(--mono); }

/* Still not sure? The yellow band with the trial work order */
.doubt { background-color: var(--signal); color: #121211; border-top-color: #121211; }
.doubt.graph { background-image: linear-gradient(rgba(18,18,17,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(18,18,17,.12) 1px, transparent 1px), linear-gradient(rgba(18,18,17,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(18,18,17,.06) 1px, transparent 1px); }
.doubt-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.doubt .label { color: #4a4420; }
.doubt .label b { background: #121211; color: var(--signal); }
.doubt h2 { font-size: clamp(44px, 6vw, 84px); }
.doubt h2 em { background: transparent; color: #121211; padding: 0; text-decoration: underline; text-decoration-thickness: 6px; text-underline-offset: 8px; text-decoration-skip-ink: none; }
.doubt .lede { margin-top: 26px; color: #121211; font-size: 17.5px; }
.doubt .detail { margin-top: 16px; color: #2a2710; font-size: 13px; }
.doubt .cta-row { margin-top: 30px; }
.btn-ink { background: #121211; color: var(--signal); border-color: #121211; box-shadow: 4px 4px 0 rgba(18,18,17,.35); }
.btn-ink:hover { box-shadow: 6px 6px 0 rgba(18,18,17,.35); }
.doubt .text-link, .doubt .text-link-button { color: #121211; text-decoration-color: #121211; }
.doubt-card { border: 2px solid #121211; background: #fbfaf6; color: #121211; box-shadow: 8px 8px 0 #121211; transform: rotate(1deg); }
.doubt-card-head { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; background: #121211; color: var(--signal); font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; }
.doubt-card-body { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px 20px; }
.ring { position: relative; display: grid; place-items: center; width: 148px; height: 148px; }
.ring svg { position: absolute; inset: 0; width: 148px; height: 148px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring-track { stroke: rgba(18,18,17,.15); }
.ring-fill { stroke: #121211; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 2.4s cubic-bezier(.3,.7,.2,1); }
.doubt-card.visible .ring-fill { stroke-dashoffset: 0; }
.ring strong { position: relative; margin-top: -10px; font-size: 48px; font-weight: 850; line-height: 1; letter-spacing: -.06em; }
.ring small { position: absolute; bottom: -22px; left: 50%; width: max-content; transform: translateX(-50%); color: #69665d; font: 500 9.5px/1.2 var(--mono); letter-spacing: .08em; }
.meter { display: grid; gap: 8px; }
.meter-label { color: #69665d; font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.meter-bar { position: relative; height: 18px; border: 2px solid #121211; background: #ebe7dc; }
.meter-bar i { position: absolute; inset: 0; width: 0; background: repeating-linear-gradient(-45deg, var(--go) 0 6px, #3cc98a 6px 12px); transition: width 1.1s cubic-bezier(.3,.7,.2,1) .3s; }
.doubt-card.visible .meter-bar i { width: 100%; }
.meter-value { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--mono); }
.meter-value b { width: 8px; height: 8px; border-radius: 50%; background: var(--go); animation: blink 1.2s steps(2) infinite; }
.meter .detail { margin-top: 4px; color: #69665d; font-size: 12.5px; }
.doubt-card-foot { padding: 16px 20px 20px; border-top: 2px dashed rgba(18,18,17,.3); }
.doubt-card-foot .label { color: #69665d; }
.doubt-card-foot .text-link { margin-top: 12px; font-size: 14px; }

/* Trial ideas as mini work tickets (home, trial page, guide) */
.ideas { display: grid; gap: 10px; margin-top: 12px; }
.ideas-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.idea { display: grid; gap: 4px; padding: 10px 12px 12px; border: 2px solid var(--ink); background: var(--card); color: var(--ink); box-shadow: 4px 4px 0 var(--hard); text-decoration: none; transition: transform .16s ease; }
.doubt-card .idea { border-color: #121211; background: #fff; color: #121211; box-shadow: 4px 4px 0 #121211; }
.idea:nth-child(odd) { transform: rotate(-.5deg); }
.idea:nth-child(even) { transform: rotate(.5deg); }
.idea:hover { transform: rotate(0) translateY(-2px); }
.idea small { color: var(--muted-2); font: 500 10px/1 var(--mono); letter-spacing: .12em; }
.doubt-card .idea small { color: #69665d; }
.idea strong { font-size: 14.5px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
.doubt-card.visible .idea { animation: rise .4s ease both; }
.doubt-card.visible .idea:nth-child(2) { animation-delay: .09s; }
.doubt-card.visible .idea:nth-child(3) { animation-delay: .18s; }
.doubt-card.visible .idea:nth-child(4) { animation-delay: .27s; }

/* Pricing: the trial coupon above the plans */
.trial-ticket { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) auto; gap: 16px 28px; align-items: center; margin-top: clamp(40px, 5vw, 64px); padding: 22px clamp(20px, 3vw, 30px); border: 2px dashed var(--ink); background: var(--card); box-shadow: 6px 6px 0 var(--hard); transform: rotate(-.6deg); }
.trial-ticket .plan-badge { position: absolute; top: -14px; right: 18px; margin: 0; }
.trial-ticket small { color: var(--muted); font: 500 12px/1.5 var(--mono); letter-spacing: .08em; }
.trial-ticket p { margin: 0; font-size: clamp(19px, 1.8vw, 22px); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.trial-ticket + .plans { margin-top: clamp(40px, 5vw, 64px); }
.pricing-trial-note { margin: 10px 0 0; color: var(--muted); font: 500 12px/1.6 var(--mono); }

/* Stay close: the trial line */
.stay-trial { margin: 16px 0 0 !important; }
.stay-trial a { color: #121211; font-weight: 700; text-decoration-color: #121211; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Footer: one legal note for the whole site */
.footer-note { max-width: 860px; margin: 0 0 20px; color: #8b877b; font: 400 12.5px/1.65 var(--sans); }

@media (max-width: 1060px) {
  .doubt-layout { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; max-width: 560px; }
  .compare-card.is-pick { transform: none; }
  .numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers-grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .trial-ticket { grid-template-columns: 1fr; transform: none; }
}
@media (max-width: 700px) {
  .numbers-grid { grid-template-columns: 1fr; }
  .numbers-grid li + li { padding-left: 0; border-left: 0; }
  .btn-trial, .btn-trial .btn { width: 100%; }
  .btn-trial .plan-badge { right: 10px; }
  .doubt-card { transform: none; box-shadow: 5px 5px 0 #121211; }
  .doubt-card-body { grid-template-columns: 1fr; justify-items: center; }
  .ring small { bottom: -20px; }
  .meter { width: 100%; margin-top: 18px; }
  .ideas-mini { grid-template-columns: 1fr; }
  .showcase-try .btn { width: 100%; }
  .path-switch { width: 100%; }
  .path-switch button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-trial .plan-badge, .numbers.visible .numbers-grid li, .doubt-card.visible .idea { animation: none; }
  .ring-fill { stroke-dashoffset: 0; transition: none; }
  .doubt-card.visible .meter-bar i, .meter-bar i { width: 100%; transition: none; }
  .meter-value b { animation: none; }
  .steps.is-switching li h3, .steps.is-switching li p, .steps.is-switching li code { opacity: 1; }
  .steps.is-switching .step-num { transform: none; }
}

/* AI clarity: the factual line under the headline, the 3-hour trial banner and the "Is it safe?" cards */
.hero-fact { margin: 0 0 14px; padding-left: 14px; border-left: 4px solid var(--signal); color: var(--ink); font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; line-height: 1.5; letter-spacing: -.01em; }
.hero-fact a { color: var(--ink); font-size: .8em; font-weight: 600; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; white-space: nowrap; }
.trial-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 4px 0 0; padding: 12px 16px; border: 2px solid #121211; background: var(--signal); color: #121211; box-shadow: 5px 5px 0 var(--hard); }
.trial-banner strong { font-size: clamp(18px, 1.9vw, 24px); font-weight: 850; line-height: 1.15; letter-spacing: -.03em; }
.trial-banner span:not(.plan-badge) { font: 500 12.5px/1.4 var(--mono); letter-spacing: .02em; }
.trial-banner .plan-badge { margin: 0; background: #121211; border-color: #121211; color: var(--signal); font: 600 11px/1.2 var(--mono); }
.hero-side .trial-banner { margin-bottom: 4px; }
.trial-band { padding: clamp(36px, 5vw, 64px) 0; border-top: 2px solid var(--ink); background: var(--card); }
.trial-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 32px; }
.trial-band .trial-banner { flex: 1 1 420px; }
.safe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 5vw, 64px); }
.safe-card { padding: 20px 20px 24px; border: 2px solid var(--edge); background: var(--card); box-shadow: 5px 5px 0 var(--hard); }
.safe-card h3 { margin: 0 0 10px; font-size: clamp(18px, 1.6vw, 21px); font-weight: 800; line-height: 1.2; letter-spacing: -.03em; }
.safe-card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.safe-card a { color: var(--ink); text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.safe-card code { font: 500 .88em/1 var(--mono); }
.safe-foot { margin-top: clamp(28px, 4vw, 44px); max-width: 820px; }
@media (max-width: 1060px) { .safe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .safe-grid { grid-template-columns: 1fr; } .trial-banner { box-shadow: 4px 4px 0 var(--hard); } }
