/* StackReceipt: editorial layout and accessible calculator controls. */
:root {
  color-scheme: light;
  --paper: #FAF7F1;
  --surface: #fffdf8;
  --ink: #1C1A16;
  --muted: #625c52;
  --faint: #70685d;
  --line: #ded7cb;
  --line-strong: #b6ac9d;
  --accent: #a83b16;
  --brand-accent: #E15B2B;
  --accent-ink: #ffffff;
  --accent-soft: #f5e9df;
  --danger: #963422;
  --danger-soft: #f5e9df;
}
.page { max-width: 1240px; padding-top: 0; }
.skip-link { position: absolute; left: 24px; top: -80px; z-index: 20; padding: 12px 18px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 86px; border-bottom: 1px solid var(--ink); }
.wordmark { font-family: var(--serif); font-size: 31px; line-height: 1; letter-spacing: -.04em; text-decoration: none; }
.wordmark::after { content: "."; color: var(--brand-accent); }
.masthead nav { display: flex; align-items: center; gap: 28px; }
.masthead nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.intro { grid-template-columns: minmax(0, 1.65fr) minmax(220px, .65fr); gap: 16px 64px; padding: 44px 0 38px; }
.intro .kicker { margin-bottom: 12px; color: var(--muted); font-size: 11px; }
h1 { max-width: 20ch; font-size: clamp(42px, 4.6vw, 62px); line-height: 1.03; letter-spacing: -.035em; }
.intro .dek { max-width: 62ch; font-size: 17px; line-height: 1.6; }
.intro .hero-art { width: 100%; max-height: none; overflow: visible; }
.intro .hero-art img { width: 100%; height: auto; max-height: none; object-fit: contain; filter: none; mix-blend-mode: multiply; }
.privacy-note { margin-top: 12px; font-size: 11px; letter-spacing: .04em; }
.workspace { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); border-top: 1px solid var(--ink); }
.input-panel { padding: 30px 40px 36px 0; }
.output-panel { padding: 30px 0 36px 40px; }
.spot-kicker { margin-bottom: 8px; }
.input-panel .spot-art { display: none; }
.input-panel h2 { font-size: 40px; }
.input-panel .section-note { margin: 12px 0; font-size: 15px; line-height: 1.6; }
.updated-stamp { margin: 0 0 22px; font-size: 11px; color: var(--muted); }
.scenario-picker { padding: 20px 0; margin-bottom: 0; }
.scenario-picker .preset-label { font-size: 15px; margin-bottom: 6px; }
.scenario-intro { display: block; font-size: 13px; margin-bottom: 16px; }
.scenario-picker .usecase-chips, .scenario-picker .company-size-field { display: none; }
.scenario-picker .select-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.select-control label { font-size: 13px; }
.select-control select { width: 100%; min-height: 46px; padding: 10px 28px 10px 10px; border: 1px solid var(--line-strong); border-radius: 0; background-color: var(--surface); color: var(--ink); font-size: 16px; }
.scenario-summary { margin-top: 14px; font-size: 13px; line-height: 1.6; }
.field { padding: 20px 0; }
.field label { font-size: 15px; }
.field-help { font-size: 13px; line-height: 1.5; }
.field-primary .field-slider { display: none; }
.field-primary .number-wrap input { font-size: 30px; min-height: 44px; }
.unit { font-size: 11px; }
.actions { margin-top: 24px; }
.button { min-height: 48px; border-radius: 0; }
.button:not(.secondary):not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button:not(.secondary):not(:disabled):hover { background: var(--accent); border-color: var(--accent); }
.chat-disclosure { margin-top: 24px; }
.chat-disclosure > summary { font-family: var(--sans); font-size: 14px; min-height: 48px; }
.verdict-card { position: static; padding: 0 0 24px; border-top: 0; }
.verdict-card h2 { font-size: 15px; }
.verdict-card .kicker { color: var(--muted); font-size: 11px; }
.verdict-line { font-size: clamp(32px, 3.4vw, 44px); max-width: 24ch; line-height: 1.15; }
.verdict-card .section-note { font-size: 14px; line-height: 1.6; }
.provenance-strip { font-size: 11px; line-height: 1.7; gap: 4px 12px; }
.provenance-strip a { text-underline-offset: 3px; }
.result-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; padding: 23px 0; }
.result-row .result-plan { grid-column: 1 / -1; grid-row: 2; }
.result-row .result-cost { grid-column: 2; grid-row: 1; text-align: right; }
.result-row.best::before { left: -16px; background: var(--brand-accent); }
.result-label { display: none; }
.platform-name { font-size: 30px; }
.amount { font-size: 23px; white-space: normal; }
.result-plan p { max-width: 52ch; }
.comparison-table th { position: static; box-shadow: none; }
.comparison-table { font-size: 13px; }
.comparison-table th, .comparison-table td { overflow-wrap: anywhere; }
.table-scroll .matrix-table thead th { box-shadow: none; }
.section-nav { position: relative; margin-top: 24px; }
.section-nav details { display: block; }
.section-nav summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; }
.section-nav details:not([open]) > ul { display: none; }
.section-nav ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 24px; margin: 8px 0 20px; }
.section-nav a { display: flex; align-items: center; min-height: 44px; font-size: 13px; }
.section-nav summary::after { right: 0; }
.section-cta a { min-height: 44px; display: inline-flex; align-items: center; }
.output-panel #price-alerts { margin-top: 28px; }
.output-panel #price-alerts h2 { font-size: 23px; }
.mobile-verdict { border-top-color: var(--line-strong); box-shadow: none; }
@media (max-width: 1000px) {
  .workspace { grid-template-columns: 1fr 1.15fr; }
  .input-panel { padding-right: 24px; }
  .output-panel { padding-left: 24px; }
  .result-row { grid-template-columns: 1fr; }
  .result-row .result-cost { grid-column: 1; grid-row: 2; text-align: left; }
  .result-row .result-plan { grid-row: 3; }
}
@media (max-width: 860px) {
  .workspace { grid-template-columns: 1fr; }
  .input-panel { padding: 28px 0; }
  .output-panel { padding: 28px 0; }
  .intro { grid-template-columns: 1fr; display: block; padding: 30px 0; }
  .intro .hero-art { display: none; }
  .intro .dek { margin-top: 16px; }
  .section-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-nav summary { position: static; }
  .section-nav details { max-height: none; overflow: visible; }
  .result-row { grid-template-columns: minmax(0, 1fr) auto; }
  .result-row .result-cost { grid-column: 2; grid-row: 1; text-align: right; }
  .result-row .result-plan { grid-row: 2; }
}
@media (max-width: 560px) {
  .page { width: calc(100% - 40px); padding-top: 0; }
  .masthead { min-height: 70px; gap: 12px; }
  .wordmark { font-size: 28px; }
  .masthead nav { gap: 16px; }
  .masthead nav a { font-size: 13px; }
  .masthead nav a:last-child { display: none; }
  h1 { max-width: 17ch; font-size: 39px; line-height: 1.06; }
  .intro { padding: 28px 0; }
  .intro .kicker { font-size: 10px; margin-bottom: 10px; }
  .intro .dek { max-width: none; font-size: 15px; line-height: 1.55; margin-top: 14px; }
  .privacy-note { display: none; }
  .input-panel h2 { font-size: 33px; }
  .input-panel .section-note { font-size: 14px; margin: 10px 0; }
  .updated-stamp { font-size: 10px; margin-bottom: 18px; }
  .scenario-picker { padding: 16px 0; }
  .scenario-picker .select-grid { gap: 12px; }
  .scenario-summary { font-size: 12px; }
  .field { padding: 18px 0; }
  .field-primary .number-wrap input { font-size: 28px; }
  .verdict-line { font-size: 35px; max-width: 20ch; }
  .result-row { gap: 10px; }
  .platform-name { font-size: 28px; }
  .amount { font-size: 20px; max-width: 15ch; }
  .provenance-strip { font-size: 11px; }
  .section-nav ul { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .section-nav a { line-height: 1.4; }
  .section-nav li { border-top: 1px solid var(--line); }
  .mobile-verdict strong { font-size: 14px; }
}
@media (max-width: 360px) {
  .masthead nav { gap: 10px; }
  .masthead nav a { font-size: 12px; }
  .wordmark { font-size: 25px; }
  h1 { font-size: 35px; }
  .result-row { grid-template-columns: 1fr; }
  .result-row .result-cost { grid-column: 1; grid-row: 2; text-align: left; }
  .result-row .result-plan { grid-row: 3; }
}

.scenario-assumptions { margin-top: 12px; }
.scenario-assumptions > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.scenario-assumptions > summary::after { content: "+"; margin-left: auto; color: var(--accent); }
.scenario-assumptions[open] > summary::after { content: "−"; }
.scenario-assumptions .scenario-summary { margin-top: 0; }

/* Product-led composition: a real interactive explorer, not a product mockup. */
.page { width: min(1280px, calc(100% - 80px)); }
.masthead { min-height: 94px; border-bottom-color: var(--line); }
.masthead nav a:first-child { border-bottom: 1px solid var(--ink); }
.intro { display: block; max-width: 860px; margin: 0 auto; padding: 66px 0 50px; text-align: center; }
.intro p { text-align: center; }
.intro .kicker { color: var(--accent); letter-spacing: .12em; margin-bottom: 24px; }
.intro h1 { max-width: none; font-size: clamp(52px, 6.6vw, 88px); line-height: .99; letter-spacing: -.045em; text-wrap: initial; }
.intro h1 em { font-weight: 400; color: var(--accent); }
.intro .dek { max-width: 56ch; margin: 24px auto 0; font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 28px; }
.hero-primary { display: inline-flex; justify-content: space-between; align-items: center; gap: 36px; padding: 15px 22px; font-size: 14px; text-decoration: none; text-transform: none; letter-spacing: 0; }
.hero-primary span { font-size: 21px; }
.hero-secondary { min-height: 48px; display: inline-flex; align-items: center; gap: 16px; font-size: 14px; text-decoration: none; }
.hero-secondary:hover { text-decoration: underline; text-underline-offset: 5px; }
.coverage-line { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 16px; margin: 30px 0 0; font-size: 16px; font-weight: 500; }
.coverage-line span { font-size: 11px; font-weight: 400; color: var(--muted); }
.coverage-line span:first-child { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; margin-right: 8px; }
.workspace { position: relative; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border: 1px solid #c5b6a4; border-top: 5px solid var(--brand-accent); background: var(--surface); }
.workspace-heading { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 24px 36px; border-bottom: 1px solid #c5b6a4; background: #f0e4d4; }
.workspace-heading .kicker { margin: 0 0 6px; font-size: 10px; color: var(--muted); }
.workspace-heading h2 { font-family: var(--sans); font-size: 20px; font-weight: 500; letter-spacing: -.025em; }
.workspace-heading > p { margin: 0; font-size: 13px; text-align: right; line-height: 1.6; }
.workspace-heading > p span { font-size: 11px; color: var(--muted); }
.input-panel { padding: 30px 36px 32px; border-right: 1px solid var(--line); }
.output-panel { padding: 30px 36px 32px; background: #fffefa; }
.input-panel h2 { font-size: 35px; }
.input-panel .section-note { font-size: 14px; line-height: 1.55; }
.input-panel .updated-stamp { margin-bottom: 18px; }
.scenario-picker { padding: 16px 0 8px; border-bottom: 0; }
.scenario-picker .preset-label { margin-top: 0; }
.scenario-intro { margin-bottom: 14px; font-size: 12px; }
.scenario-assumptions { margin-top: 4px; }
.scenario-assumptions > summary { font-size: 12px; min-height: 38px; }
.field { border-top: 1px solid var(--line); padding: 16px 0; }
.field-primary .field-slider { display: block; min-height: 24px; height: 24px; margin: 6px 0 0; accent-color: var(--accent); }
.field-primary .number-wrap input { font-size: 29px; padding-bottom: 3px; }
.field-help { font-size: 12px; margin-top: 4px; }
.field-index { color: var(--accent); }
.advanced-options { margin-top: 14px; }
.actions { margin-top: 20px; }
.chat-disclosure { margin-top: 16px; border-bottom: 0; }
.verdict-card { background: transparent; padding-bottom: 18px; }
.verdict-card h2 { display: none; }
.verdict-line { font-size: clamp(30px, 3vw, 42px); max-width: 23ch; margin-top: 12px; }
.verdict-card .section-note { font-size: 13px; margin: 12px 0; }
.provenance-strip { gap: 6px 16px; font-size: 10px; }
.provenance-strip a:first-child { flex-basis: 100%; font-family: var(--sans); font-size: 12px; }
.result-row { padding: 20px 0; gap: 7px 16px; }
.result-row.best::before { left: -18px; top: 20px; bottom: 20px; }
.platform-name { font-size: 27px; }
.amount { font-family: var(--sans); font-size: 22px; font-weight: 500; letter-spacing: -.04em; }
.period { font-size: 9px; }
.plan-name { font-size: 14px; font-weight: 500; }
.coverage { font-size: 13px; }
.usage-meter { height: 6px; width: 100%; margin: 12px 0; background: #e9e3d9; overflow: hidden; }
.usage-meter span { display: block; height: 100%; background: #796e60; transition: width 220ms ease; }
.best .usage-meter span { background: var(--brand-accent); }
.usage-meter.over-limit span { background: var(--ink); }
.badge { font-size: 9px; padding: 3px 5px; border-color: var(--line); }
.result-disclosure { border-bottom: 1px solid var(--line); }
.result-disclosure > summary { display: flex; justify-content: space-between; align-items: center; min-height: 54px; cursor: pointer; font-size: 14px; font-weight: 500; }
.result-disclosure > summary::after { content: "+"; color: var(--accent); font-family: var(--mono); }
.result-disclosure[open] > summary::after { content: "−"; }
.result-disclosure .comparison { margin-top: 0; padding: 16px 0 24px; border-top: 0; }
.result-disclosure .receipt { padding: 16px 0 24px; border-top: 0; }
.result-disclosure .comparison-heading { display: block; }
.result-disclosure h3 { font-size: 24px; }
.section-nav { margin-top: 30px; border-top: 0; }
.page > .editorial-section, .page > .product-guide, .page > .break-even { margin-top: 88px; }
.section-heading h2, .guide-heading h2, .break-even-heading h2 { max-width: 17ch; font-size: clamp(36px, 4.4vw, 56px); }
.section-cta { border-top-color: var(--line); }
#price-alerts { border-top: 1px solid var(--line); }
#price-alerts h2 { font-size: 32px; }
@media (max-width: 1050px) and (min-width: 861px) {
  .page { width: calc(100% - 48px); }
  .input-panel, .output-panel { padding: 26px; }
  .workspace-heading { padding: 22px 26px; }
  .result-row { grid-template-columns: 1fr; }
  .result-row .result-cost { grid-column: 1; grid-row: 2; text-align: left; }
  .result-row .result-plan { grid-row: 3; }
}
@media (max-width: 860px) {
  .page { width: calc(100% - 48px); }
  .intro { max-width: 650px; padding: 46px 0 38px; }
  .intro h1 { font-size: clamp(52px, 8.5vw, 70px); }
  .workspace { grid-template-columns: 1fr; }
  .workspace-heading { padding: 22px 28px; }
  .input-panel { border-right: 0; padding: 28px; }
  .output-panel { padding: 28px; }
  .verdict-card h2 { display: block; }
  .result-row { grid-template-columns: minmax(0, 1fr) auto; }
  .result-row .result-cost { grid-column: 2; grid-row: 1; text-align: right; }
  .result-row .result-plan { grid-row: 2; }
}
@media (max-width: 560px) {
  .page { width: calc(100% - 32px); }
  .masthead { min-height: 76px; }
  .intro { padding: 38px 0 32px; }
  .intro .kicker { margin-bottom: 18px; font-size: 9px; }
  .intro h1 { font-size: clamp(42px, 10.8vw, 60px); line-height: 1.04; letter-spacing: -.042em; }
  .intro .dek { max-width: 32ch; font-size: 15px; margin-top: 18px; }
  .hero-actions { flex-direction: column; gap: 4px; margin-top: 22px; }
  .hero-primary { min-height: 50px; padding: 12px 20px; width: 100%; max-width: 300px; }
  .hero-secondary { font-size: 13px; }
  .coverage-line { gap: 12px; margin-top: 18px; font-size: 15px; }
  .coverage-line span:first-child { flex-basis: 100%; margin: 0; font-size: 9px; }
  .workspace-heading { padding: 20px; display: block; }
  .workspace-heading h2 { font-size: 18px; }
  .workspace-heading > p { margin-top: 10px; text-align: left; font-size: 11px; }
  .workspace-heading > p br { display: none; }
  .workspace-heading > p span::before { content: " / "; }
  .input-panel, .output-panel { padding: 24px 20px; }
  .input-panel h2 { font-size: 32px; }
  .input-panel .section-note { font-size: 13px; }
  .scenario-picker .select-grid { grid-template-columns: 1fr; gap: 12px; }
  .select-control select { min-height: 46px; }
  .field-primary .field-slider { min-height: 32px; height: 32px; }
  .field label { font-size: 14px; }
  .verdict-line { font-size: 32px; }
  .result-row { grid-template-columns: 1fr; }
  .result-row .result-cost { grid-column: 1; grid-row: 2; text-align: left; }
  .result-row .result-plan { grid-row: 3; }
  .result-row.best::before { left: -12px; }
  .amount { max-width: none; font-size: 23px; }
  .provenance-strip a { display: block; margin-top: 5px; }
  .section-heading h2, .guide-heading h2, .break-even-heading h2 { font-size: 38px; }
  .page > .editorial-section, .page > .product-guide, .page > .break-even { margin-top: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .usage-meter span { transition: none; }
}

/* Keep responsive table styles from exposing closed disclosure content. */
.result-disclosure:not([open]) > :not(summary) { display: none; }
#results[hidden], #empty-state[hidden] { display: none !important; }

/* Task-based reading path: keep detail available without an endless article. */
.intro { padding-top: 42px; padding-bottom: 34px; }
.intro h1 { font-size: clamp(48px, 5.8vw, 76px); }
.guide-disclosure { border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.guide-disclosure > summary { position: relative; display: block; padding: 26px 48px 26px 0; cursor: pointer; list-style: none; }
.guide-disclosure > summary::-webkit-details-marker { display: none; }
.guide-disclosure > summary strong { display: block; font-size: 22px; font-weight: 500; line-height: 1.3; }
.guide-disclosure > summary span { display: block; margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 65ch; }
.guide-disclosure > summary::after { content: "+"; position: absolute; right: 8px; top: 28px; color: var(--accent); font-size: 24px; }
.guide-disclosure[open] > summary::after { content: "−"; }
.guide-disclosure > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.guide-disclosure:not([open]) > :not(summary) { display: none !important; }
.guide-disclosure > section { margin: 0 0 32px; padding-top: 28px; }
.guide-disclosure p, .guide-disclosure li { max-width: 75ch; }
.section-nav ul { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media (max-width: 600px) {
 .intro { padding: 28px 0; }
 .intro h1 { font-size: clamp(40px,10.8vw,60px); }
 .guide-disclosure > summary strong { font-size: 19px; }
 .guide-disclosure > summary { padding-top: 22px; padding-bottom: 22px; }
 .section-nav ul { grid-template-columns: 1fr 1fr; }
}

/* Plain product typography; reserve monospace for numerical information. */
:root { --serif: "Helvetica Neue", Helvetica, Arial, sans-serif; }
h1, h2, h3, .wordmark, .range-platform, .guide-platform, .result-platform { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.intro h1 { font-weight: 650; font-size: clamp(44px,5.5vw,72px); line-height: 1.06; letter-spacing: -.045em; }
h2 { font-weight: 600; letter-spacing: -.035em; }
h3, .guide-platform, .result-platform { font-weight: 600; letter-spacing: -.02em; }
.wordmark { font-size: 26px; font-weight: 650; letter-spacing: -.055em; }
.kicker, .hero-primary, .hero-secondary { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.intro .kicker { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.hero-primary { font-size: 15px; font-weight: 500; text-transform: none; letter-spacing: 0; }
@media (max-width:600px) { .intro h1 { font-size: clamp(38px,10vw,54px); } .wordmark { font-size: 24px; } }

/* A lightweight workflow illustration explains the product without stock art. */
.intro { max-width: 1040px; }
.workflow-visual { margin: 38px 0 0; padding: 28px 32px 20px; border: 1px solid var(--line-strong); background: #f0eadf; text-align: left; }
.visual-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 15px; font-weight: 600; }
.example-label { color: var(--muted); font-size: 11px; font-weight: 400; }
.workflow-path { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 42px; margin: 28px 0; padding: 0; list-style: none; }
.workflow-path li { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 19px 16px; border: 1px solid var(--line-strong); background: var(--surface); }
.workflow-path li:not(:last-child)::after { content: "→"; position: absolute; right: -31px; top: 28px; color: var(--muted); font-size: 22px; }
.node-symbol { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); color: var(--accent); font-size: 25px; }
.node-kind { font-size: 11px; color: var(--muted); line-height: 1.5; }
.workflow-path strong { font-size: 14px; font-weight: 500; line-height: 1.5; }
.billing-visual { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line-strong); padding-top: 22px; gap: 24px; }
.billing-visual > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding-right: 20px; border-right: 1px solid var(--line); }
.billing-visual > div:last-child { border-right: 0; padding-right: 0; }
.billing-brand { font-size: 13px; font-weight: 500; }
.billing-visual strong { font-size: 25px; font-weight: 600; letter-spacing: -.025em; }
.billing-visual > div > span:last-child { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.count-marks { display: flex; gap: 4px; }
.count-marks i { width: 13px; height: 22px; background: var(--accent); }
.make-marks i { background: var(--ink); transform: skew(-15deg); }
.execution-mark { display: flex; gap: 5px; border: 1px solid var(--ink); border-radius: 20px; padding: 7px; }
.execution-mark i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.workflow-visual figcaption { margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.65; color: var(--muted); max-width: 95ch; }
.workflow-visual figcaption a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width:700px) {
 .workflow-visual { padding: 22px 18px 18px; margin-top: 26px; }
 .visual-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
 .workflow-path { gap: 24px; grid-template-columns: 1fr; margin: 22px 0; }
 .workflow-path li { padding: 12px 16px; }
 .workflow-path li:not(:last-child)::after { content: "↓"; top: auto; bottom: -25px; left: 34px; right: auto; font-size: 18px; }
 .billing-visual { gap: 12px; }
 .billing-visual > div { padding-right: 10px; grid-template-columns: 1fr; }
 .billing-visual strong { font-size: 18px; }
 .count-marks, .execution-mark { display: none; }
 .billing-visual > div > span:last-child { font-size: 11px; }
}

/* Dependent role and workflow selectors, with company size kept separate. */
.scenario-picker .select-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.workflow-select-control { grid-column: 1 / -1; grid-row: 2; }
.scenario-picker select { width: 100%; min-width: 0; }
@media(max-width:560px) { .scenario-picker .select-grid { grid-template-columns: minmax(0,1fr); } .workflow-select-control { grid-row: auto; } }

/* Reading depth without a wall of text. */
.guide-byline { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0 0 24px; }
.expanded-guide .guide-item { grid-template-columns: .8fr 1.1fr 1.1fr; gap: 24px 36px; padding: 30px 0; }
.guide-fit { margin-top: 12px; max-width: 24ch; color: var(--muted); font-size: 14px; line-height: 1.6; }
.tool-deep-dive { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; }
.tool-deep-dive > summary { cursor: pointer; min-height: 44px; padding: 10px 0; font-size: 14px; color: var(--accent); }
.tool-deep-dive:not([open]) > :not(summary) { display: none; }
.deep-dive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 20px 0; }
.deep-dive-grid h4 { margin: 0 0 12px; font-size: 18px; }
.deep-dive-grid p, .deep-dive-grid li { font-size: 15px; line-height: 1.75; max-width: 65ch; }
.deep-dive-grid p + p { margin-top: 12px; }
.deep-dive-grid ul { padding-left: 20px; margin: 0; }
.deep-dive-grid li + li { margin-top: 8px; }
.guide-source { font-size: 12px; line-height: 1.7; color: var(--muted); padding-bottom: 8px; }
.trial-brief { background: #eee8dd; padding: 32px; margin-top: 28px; border-top: 3px solid var(--accent); }
.trial-brief h3 { font-size: 28px; line-height: 1.2; max-width: 30ch; margin: 12px 0 24px; }
.trial-brief ol { list-style: decimal-leading-zero; display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; padding-left: 28px; }
.trial-brief li { padding-left: 3px; font-size: 14px; line-height: 1.6; }
.trial-brief li::marker { color: var(--accent); }
.trial-brief li strong, .trial-brief li span { display: block; }
.trial-brief li span { margin-top: 8px; color: var(--muted); }
.trial-brief > p:not(.kicker) { max-width: 85ch; font-size: 14px; line-height: 1.7; margin: 24px 0 16px; }
.trial-brief > a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; }
.resource-heading { margin: 60px 0 24px; }
.resource-heading h2 { font-size: 32px; margin: 10px 0; }
.resource-heading p:last-child { color: var(--muted); font-size: 15px; max-width: 60ch; line-height: 1.6; }
.guide-disclosure > summary { padding-left: 54px; }
.resource-number { position: absolute; left: 0; top: 29px; color: var(--accent); font-size: 12px; }
.service-status { margin: 24px 0; padding: 16px 0; border-top: 1px solid var(--line); }
.service-status > summary { cursor: pointer; font-size: 14px; color: var(--muted); }
.service-status:not([open]) > :not(summary) { display: none; }
.site-footer { margin-top: 48px; padding-top: 32px; }
.site-footer h2 { font-size: 24px; }
.site-footer p { max-width: 65ch; line-height: 1.7; font-size: 14px; }
.footer-privacy p + p { margin-top: 12px; }
@media (max-width:760px) {
 .expanded-guide .guide-item { grid-template-columns: 1fr; gap: 18px; }
 .guide-fit { max-width: 45ch; margin-top: 8px; }
 .deep-dive-grid { grid-template-columns: 1fr; gap: 24px; }
 .trial-brief { padding: 24px 20px; }
 .trial-brief ol { grid-template-columns: 1fr; gap: 20px; }
 .trial-brief h3 { font-size: 25px; }
 .guide-disclosure > summary { padding-left: 34px; }
 .resource-number { top: 25px; }
}
.tool-deep-dive > summary { position: relative; padding-right: 28px; list-style: none; }
.tool-deep-dive > summary::after { content: "+"; position: absolute; right: 4px; font-size: 18px; }
.tool-deep-dive[open] > summary::after { content: "−"; }
.tool-deep-dive > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Everyday inputs first; precise technical overrides remain available. */
.guided-workload { padding: 28px 0; border-top: 1px solid var(--line); }
.guided-workload h3 { font-size: 24px; margin: 0 0 12px; }
.guided-workload p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 10px 0 22px; }
.guided-workload > label { display: block; font-size: 17px; font-weight: 600; margin: 22px 0 12px; }
.guided-volume { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guided-workload input[type=number], .guided-workload select { min-width: 0; width: 100%; padding: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; min-height: 48px; border-radius: 0; }
.guided-workload > input { max-width: 160px; }
.action-helper { border-top: 1px solid var(--line); padding: 12px 0; }
.action-helper summary { cursor: pointer; padding: 10px 0; font-size: 14px; }
#action-choices label { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; }
#action-choices input { width: 18px; height: 18px; accent-color: var(--accent); }
.guided-workload .workload-equation { color: var(--ink); border-left: 3px solid var(--accent); padding: 12px 16px; background: #eee8dd; margin: 22px 0 12px; font-size: 16px; }
.scenario-picker select:disabled { opacity: .55; cursor: not-allowed; }
.guided-workload input:focus-visible, .guided-workload select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.fit-questions { border-top: 1px solid var(--line); padding: 12px 0; margin-top: 16px; }
.fit-questions summary { cursor: pointer; font-size: 14px; padding: 10px 0; }
.fit-questions label { display: block; font-size: 15px; font-weight: 600; margin: 16px 0 10px; }
.fit-questions input[type=text] { width: 100%; min-width: 0; padding: 12px; min-height: 48px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; }
.fit-recommendation { padding: 24px 0; border-top: 2px solid var(--accent); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.fit-recommendation h3 { font-size: 26px; margin: 12px 0; line-height: 1.2; }
.fit-recommendation p:not(.kicker) { font-size: 14px; line-height: 1.65; margin: 12px 0; max-width: 65ch; }
#recommendation-reason, #recommendation-apps { color: var(--muted); }
.fit-recommendation a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }

/* One answer first; comparison and evidence expand when needed. */
.output-panel #verdict-line { font-size: 22px; line-height: 1.35; margin: 12px 0; }
.fit-recommendation { margin-top: 16px; }
.fit-evidence summary { cursor: pointer; padding: 12px 0; font-size: 13px; }
.result-change { border-left: 2px solid var(--accent); padding: 8px 14px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.guide-platform a { color: inherit; text-decoration: none; }
.guide-platform a:hover { text-decoration: underline; }
#workflow-evidence p, #workflow-evidence li { font-size: 13px; line-height: 1.65; }

/* Distinct product sections; names and borders preserve meaning without color. */
.expanded-guide { display: grid; gap: 20px; }
.expanded-guide .guide-item { padding: 30px 28px; border: 1px solid var(--product-line); border-left: 4px solid var(--product-accent); background: var(--product-surface); }
.guide-zapier { --product-surface: #fff1e7; --product-line: #e5c9b5; --product-accent: #aa431b; }
.guide-make { --product-surface: #f2edf9; --product-line: #d7c9e8; --product-accent: #68428b; }
.guide-n8n { --product-surface: #eaf3ef; --product-line: #c4dace; --product-accent: #2f6c55; }
.expanded-guide .guide-platform a, .expanded-guide .guide-copy > h3, .expanded-guide .tool-deep-dive > summary { color: var(--product-accent); }
.expanded-guide .tool-deep-dive { border-color: var(--product-line); }
@media (max-width:760px) { .expanded-guide { gap: 16px; } .expanded-guide .guide-item { padding: 24px 18px; } }
