/* assk.ai: ink, paper and one green, with a lime highlight used sparingly. */
:root {
  --ink: #0F1B17;
  --paper: #F7F7F2;
  --surface: #FFFFFF;
  --surface-2: #EEF0E8;
  --line: #E2E4DC;
  --muted: #4F5A55;
  --faint: #5E6A64;
  --accent: #17705A;
  --accent-ink: #FFFFFF;
  --lime: #D9F26B;
  --lime-ink: #0F1B17;
  --band: #0F1B17;
  --band-fg: #EEF1EA;
  --band-muted: #A9B5AE;
  --warn-bg: #FFF4D6;
  --warn-ink: #6B4A00;
  --shadow: 0 30px 60px -32px rgba(15, 27, 23, 0.38);
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #E9EEE8; --paper: #0E1714; --surface: #15201C; --surface-2: #1C2924; --line: #27352F;
    --muted: #A9B5AE; --faint: #93A099; --accent: #5CC9A4; --accent-ink: #0E1714;
    --band: #0A110E; --warn-bg: #3A2F12; --warn-ink: #F3D98A;
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; line-height: 1.06; margin: 0; text-wrap: balance; }
p { margin: 0; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); text-wrap: balance; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand .dot { color: var(--accent); }
.top nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.top nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--accent); }
.top-actions { display: flex; align-items: center; gap: 18px; }
.top-actions .login { color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; padding: 10px 2px; }
.top-actions .login:hover { color: var(--accent); }
.acct { position: relative; }
.acct summary { list-style: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 16px; user-select: none; }
.acct summary::-webkit-details-marker { display: none; }
.acct summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.14); padding: 8px; display: flex; flex-direction: column; z-index: 20; }
.acct-menu .acct-email { font-size: 13px; color: var(--muted); padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu a, .acct-menu button { text-align: left; font: inherit; font-size: 15px; color: var(--ink); text-decoration: none; background: none; border: 0; border-radius: 8px; padding: 9px 10px; cursor: pointer; }
.acct-menu a:hover, .acct-menu button:hover { background: rgba(127,127,127,.1); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; min-height: 46px; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn:disabled { opacity: 0.55; cursor: default; }

/* Page heads */
.pagehead .wrap { padding-block: 64px 32px; display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin-left: auto; margin-right: auto; }
.pagehead h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 700; letter-spacing: -0.035em; }
.pagehead p { font-size: 19px; color: var(--muted); }

/* Prose pages */
.prose .wrap { max-width: 860px; padding-block: 8px 80px; display: flex; flex-direction: column; gap: 40px; }
.prose section { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 28px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); }
.prose h3 { font-size: 20px; margin-top: 8px; }
.prose p, .prose li { color: var(--muted); max-width: 65ch; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-block: 56px 72px; }
.hero-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding-top: 28px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); font-weight: 700; letter-spacing: -0.035em; }
.hero-copy > p { font-size: 19px; color: var(--muted); max-width: 32em; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 15.5px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-note, .hero-copy > p.cta-note { font-size: 14px; color: var(--faint); margin: 0; }
.scan .fine a { color: var(--accent); font-weight: 600; }

/* Live demo card */
.demo { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 999px; align-self: flex-start; max-width: 100%; flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; color: var(--muted); min-height: 40px; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.chat-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); height: min(540px, 72svh); min-height: 440px; overflow: hidden; position: relative; }
.chat-card .pane { position: absolute; inset: 0; }
.notice { padding: 28px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 15px; }
.notice strong { color: var(--ink); font-size: 17px; }

.trial { padding: 28px; display: flex; flex-direction: column; gap: 18px; height: 100%; overflow-y: auto; }
.trial h2 { font-size: 26px; }
.trial p { color: var(--muted); font-size: 15.5px; }
.trial form { display: flex; flex-direction: column; gap: 10px; }
.trial label { font-size: 14px; font-weight: 600; }
.url-row { display: flex; gap: 8px; flex-wrap: wrap; }
.url-row input { flex: 1 1 220px; min-width: 0; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 12px 18px; font: inherit; font-size: 16px; min-height: 48px; color: var(--ink); }
.trial .fine { font-size: 13px; color: var(--faint); }
.trial .err { font-size: 14px; color: var(--warn-ink); background: var(--warn-bg); border-radius: 10px; padding: 10px 12px; }
.progress { display: flex; flex-direction: column; gap: 14px; }
.steps-live { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.steps-live li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--faint); }
.steps-live li .mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.steps-live li[data-state="active"] { color: var(--ink); font-weight: 600; }
.steps-live li[data-state="active"] .mark { border-color: var(--accent); border-top-color: transparent; animation: spin 0.9s linear infinite; }
.steps-live li[data-state="done"] { color: var(--ink); }
.steps-live li[data-state="done"] .mark { background: var(--accent); border-color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .steps-live li[data-state="active"] .mark { animation: none; border-top-color: var(--accent); } }
.trial-banner { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--muted); }
.trial-banner button { border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; padding: 8px 0; }

/* Bands and sections */
.band { background: var(--band); color: var(--band-fg); }
.band .wrap { padding-block: 88px; display: flex; flex-wrap: wrap; gap: 48px; }
.band .eyebrow { color: var(--lime); }
.band h2 { font-size: clamp(32px, 4vw, 50px); }
.band .col { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.band p { color: var(--band-muted); font-size: 18px; }
.section .wrap { padding-block: 88px; display: flex; flex-direction: column; gap: 40px; }
.section h2 { font-size: clamp(32px, 4vw, 50px); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.section-head p { color: var(--muted); font-size: 18px; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--ink); padding-top: 16px; counter-increment: s; }
.steps li::before { content: "Step " counter(s); font-family: var(--mono); font-size: 12.5px; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }
.steps h3 { font-size: 22px; }
.steps p { color: var(--muted); }
.code { background: var(--band); color: var(--band-fg); border-radius: 14px; padding: 18px 20px; font-family: var(--mono); font-size: 14px; line-height: 1.7; overflow-x: auto; white-space: pre; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.grid > div { background: var(--surface); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.grid h3 { font-size: 20px; }
.grid p { color: var(--muted); font-size: 15.5px; }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.tier.featured { background: var(--band); color: var(--band-fg); border-color: var(--band); }
.tier.featured p { color: var(--band-muted); }
.tier .vol { font-family: var(--display); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tier p { color: var(--muted); font-size: 15px; }
.tiers.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tier h2 { font-size: 22px; }
.tier .price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; color: inherit; }
.tier .price span { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tier .price small { font-size: 15px; color: var(--muted); }
.tier.featured .price small { color: var(--band-muted); }
.tier .per { font-size: 14px; min-height: 1.4em; }
.tier.featured .price { color: var(--band-fg); }
.tier ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.tier ul:has(+ .btn) { flex: 1 0 auto; }
.tier > .btn { margin-top: auto; align-self: stretch; }
.tier .features:has(+ .btn) { margin-bottom: 16px; }
/* Line every card's rows up with the others: "See features" starts at the same height
   on every card, and the buttons sit together at the bottom (even with features open). */
@supports (grid-template-rows: subgrid) {
  .tiers.four, .tiers.plans { row-gap: 16px; }
  .tiers.four > .tier, .tiers.plans > .tier { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 8px; align-content: start; }
  .tiers.four > .tier > .features, .tiers.plans > .tier > .features { align-self: start; }
  .tiers.four > .tier > .btn, .tiers.plans > .tier > .btn { align-self: end; margin-top: 8px; }
}
.tier .features { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; font-size: 14.5px; }
.tier .features summary { list-style: none; cursor: pointer; color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.tier .features summary::-webkit-details-marker { display: none; }
.tier .features summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.tier .features[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.tier .features .hide, .tier .features[open] .show { display: none; }
.tier .features[open] .hide { display: inline; }
.tier .features ul { margin: 4px 0 0; gap: 8px; font-size: 14.5px; }
.tier .features li { position: relative; padding-left: 20px; }
.tier .features li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .55; }
.tier.featured .features { border-top-color: color-mix(in srgb, var(--band-fg) 22%, transparent); }
.tier.featured .features summary { color: var(--band-fg); }
@media (prefers-reduced-motion: reduce) { .tier .features summary::after { transition: none; } }
.tier.featured ul a { color: var(--band-fg); text-decoration-color: color-mix(in srgb, var(--band-fg) 55%, transparent); }
.tier.featured .btn.primary { background: var(--band-fg); color: var(--band); }
.tiers-note { margin: 14px 0 24px; text-align: center; color: var(--muted); font-size: 15px; }
.billing-toggle { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-2, #EEF0E8); border-radius: 999px; align-self: flex-start; margin-bottom: 16px; flex-wrap: wrap; }
.billing-toggle button { border: 0; background: transparent; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; color: var(--muted); min-height: 40px; }
.billing-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.billing-toggle .save { font-size: 12px; color: var(--accent); margin-left: 4px; }
@media (max-width: 1080px) { .tiers.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Pricing page: a short header so the plans sit above the fold. */
.pricing-head .wrap { padding-block: 40px 20px; gap: 10px; align-items: center; text-align: center; }
.pricing-head h1 { font-size: clamp(34px, 4.4vw, 52px); }
.pricing-head p { font-size: 18px; }
.pricing-head .billing-toggle { align-self: center; margin: 8px 0 0; }
.enterprise-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 16px; padding: 18px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.enterprise-bar > div { flex: 1 1 380px; min-width: 0; color: var(--muted); font-size: 15px; }
.enterprise-bar strong { font-family: var(--display); font-size: 18px; color: var(--ink); margin-right: 6px; }
.tiers-note a, .plan-basics a { color: var(--accent); }
.plan-basics { max-width: 860px; margin: 0 auto 32px; text-align: center; }
.plan-basics p { color: var(--muted); font-size: 15.5px; }
.plan-basics strong { color: var(--ink); }
.limits { display: flex; flex-wrap: wrap; gap: 10px 36px; font-size: 15px; color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; padding: 16px 20px; }
.limits strong { color: var(--ink); }

.faq { display: flex; flex-direction: column; max-width: 860px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 65ch; }

.closing .wrap { padding-block: 24px 72px; }
.closing .box { background: var(--lime); color: var(--lime-ink); border-radius: 28px; padding: clamp(36px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.closing h2 { font-size: clamp(30px, 4vw, 50px); }
.closing p { font-size: 18px; color: #26332E; }
.closing .btn.dark { background: #0F1B17; color: #F7F7F2; }
.closing .btn.ghost { color: #0F1B17; border-color: #0F1B17; }

footer .wrap { padding-block: 32px 48px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 14px; color: var(--faint); border-top: 1px solid var(--line); }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--faint); }

@media (max-width: 860px) {
  .steps, .grid, .tiers, .tiers.four { grid-template-columns: minmax(0, 1fr); }
  .tiers.plans > .tier.featured { order: -1; }
  .pricing-head .wrap { padding-block: 24px 12px; }
  .hero .wrap { padding-block: 28px 48px; gap: 28px; }
  .hero-copy { padding-top: 0; }
  /* One header row on phones: only Pricing stays beside the sign-in and sign-up buttons. */
  .top .wrap { flex-wrap: nowrap; gap: 12px; }
  .top nav { margin-left: auto; gap: 18px; flex-wrap: nowrap; }
  .top-actions { gap: 12px; }
  .top-actions .btn { padding: 10px 16px; font-size: 15px; min-height: 42px; white-space: nowrap; }
  .top-actions .login { white-space: nowrap; }
  /* Homepage: the scan box comes before the list of benefits. */
  .home-hero .hero-copy { display: contents; }
  .home-hero .hero-copy > * { width: 100%; }
  .home-hero .wrap { gap: 20px; }
  .home-hero .ticks { order: 2; }
  .home-hero .demo { order: 1; }
  .band .wrap, .section .wrap { padding-block: 64px; }
}

/* Homepage scan form, above the fold */
.scan { position: relative; display: flex; flex-direction: column; gap: 10px; border: 2px solid var(--accent); border-radius: 20px; padding: 20px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--lime) 30%, var(--surface)) 0%, var(--surface) 65%);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent), 0 24px 48px -28px rgba(15, 27, 23, 0.45); }
.scan label { font-family: var(--display); font-weight: 700; font-size: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.scan .badge { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; background: var(--ink); color: var(--lime); border-radius: 999px; padding: 4px 10px; }
@media (prefers-reduced-motion: no-preference) {
  .scan { animation: scan-glow 2.4s ease-out 0.6s 2; }
  @keyframes scan-glow { 0% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent), 0 24px 48px -28px rgba(15, 27, 23, 0.45); } 50% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--accent) 22%, transparent), 0 24px 48px -28px rgba(15, 27, 23, 0.45); } 100% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent), 0 24px 48px -28px rgba(15, 27, 23, 0.45); } }
}
.scan-row { display: flex; gap: 8px; flex-wrap: wrap; }
.scan-row input { flex: 1 1 220px; min-width: 0; border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 12px 20px; font: inherit; font-size: 17px; min-height: 52px; color: var(--ink); }
.scan-row input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.scan-row .btn { min-height: 52px; }
.scan .fine { font-size: 13.5px; color: var(--faint); }
.scan .err { font-size: 14px; color: var(--warn-ink); background: var(--warn-bg); border-radius: 10px; padding: 10px 12px; }
.linkish { border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; padding: 6px 0; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
/* A scan's results: the card grows to fit them, and the chat always gets its own room
   (a fixed card height let the summary, sign-up bar and email form squeeze it to a line or two). */
.pane.learned { display: flex; flex-direction: column; position: relative; inset: auto; }
.pane.learned[hidden] { display: none; }
.learned-head { padding: 12px 16px 10px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; background: var(--surface); }
.learned-head .row-between { flex-wrap: nowrap; align-items: baseline; }
.learned-head .eyebrow { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.learned-head .linkish { flex: none; padding: 0; }
.learned-head strong { font-family: var(--display); font-size: 19px; }
.learned-head p { font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.learned-chat { flex: none; height: clamp(360px, 62svh, 560px); }
.learned-cta { display: flex; justify-content: space-between; align-items: center; gap: 8px 14px; padding: 9px 12px 9px 16px; background: var(--lime); color: var(--lime-ink); flex-wrap: wrap; }
.learned-cta p { flex: 1 1 220px; font-size: 14.5px; line-height: 1.35; margin: 0; }
.cta-btn { background: var(--lime-ink); color: var(--lime); font-size: 15px; font-weight: 700; padding: 9px 18px; min-height: 40px; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.cta-btn:hover { filter: brightness(1.15); }
.scan[hidden] { display: none; }
.demo.expanded .chat-card { height: auto; min-height: 440px; }

/* Announcement bar (set in the admin) */
.announce { background: var(--ink); color: var(--paper); text-align: center; padding: 9px 16px; font-size: 14.5px; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; }
.announce a { color: var(--lime); font-weight: 600; text-decoration: none; }
.announce a:hover { text-decoration: underline; }

/* Legal documents (public pages and the admin preview) */
.legal-doc { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.legal-doc h1 { font-size: clamp(32px, 4vw, 48px); }
.legal-doc h2 { font-size: 24px; margin-top: 18px; }
.legal-doc h3 { font-size: 19px; margin-top: 10px; }
.legal-doc h4 { font-size: 17px; }
.legal-doc p, .legal-doc li { color: var(--ink); line-height: 1.65; }
.legal-doc ul, .legal-doc ol { padding-left: 22px; margin: 0; display: flex; flex-direction: column; gap: 6px; }

/* Plain comparison table (pricing) */
.table-plain { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); margin: 8px 0 16px; }
.table-plain table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-plain caption { text-align: left; font-family: var(--display); font-weight: 600; font-size: 18px; padding: 14px 16px 4px; }
.table-plain th, .table-plain td { text-align: left; padding: 10px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table-plain thead th { font-size: 13px; color: var(--faint); font-weight: 600; }
.table-plain tbody tr:last-child th, .table-plain tbody tr:last-child td { border-bottom: 0; }

/* "Email me these results" under a scan */
.results-email { display: flex; flex-direction: column; gap: 6px; padding: 10px 16px 12px; border-top: 1px solid var(--line); }
.results-email label { font-size: 14px; font-weight: 600; }
.results-row { display: flex; gap: 8px; flex-wrap: wrap; }
.results-row input { flex: 1 1 200px; min-width: 0; border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 15px; min-height: 40px; color: var(--ink); }
.results-row input:focus { border-color: var(--accent); outline: none; }
.results-row .btn { min-height: 40px; padding: 8px 16px; }
.results-email .fine { font-size: 12.5px; color: var(--faint); margin: 0; }
.results-email.done .results-row { display: none; }

/* "A button, a chat box, or both": a mock website that switches layouts.
   The mock is a picture of someone else's site, so it stays light in dark mode. */
.looks { display: flex; flex-direction: column; gap: 18px; }
.looks-toggle { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 999px; align-self: flex-start; flex-wrap: wrap; }
.looks-toggle button { border: 0; background: transparent; border-radius: 999px; padding: 9px 18px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; color: var(--muted); min-height: 42px; }
.looks-toggle button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.looks-caption { color: var(--muted); font-size: 16px; min-height: 1.6em; }
.looks-caption span { display: none; }
.looks:has(.mock[data-look="button"]) .looks-caption [data-for="button"],
.looks:has(.mock[data-look="box"]) .looks-caption [data-for="box"],
.looks:has(.mock[data-look="both"]) .looks-caption [data-for="both"] { display: inline; }

.mock { --m: #2D5BA8; --m-soft: #EAF0FA; margin: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #fff; color: #1B2230; font-family: var(--body); color-scheme: light; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #ECEDEA; border-bottom: 1px solid #DDDFDA; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CFD2CC; }
.mock-bar span { margin-left: 10px; flex: 0 1 320px; background: #fff; border-radius: 8px; padding: 4px 12px; font-size: 12.5px; color: #59606B; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-site { position: relative; height: 560px; overflow: hidden; background: linear-gradient(180deg, #F4F6FA 0, #fff 340px); }
.mock-nav { display: flex; align-items: center; gap: 22px; padding: 16px 28px; font-size: 14px; color: #59606B; }
.mock-nav b { font-family: var(--display); font-size: 17px; color: #1B2230; margin-right: auto; }
.mock-book { background: var(--m); color: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.mock-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 36px 28px 0; }
.mock-hero h3 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.03em; color: #1B2230; }
.mock-hero > p { color: #59606B; font-size: 15.5px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 36px 28px; }
.mock-cards div { height: 120px; border-radius: 14px; background: #F1F3F6; }

.mock .mq { align-self: flex-end; max-width: 85%; background: var(--m); color: #fff; border-radius: 16px 16px 4px 16px; padding: 8px 13px; font-size: 14px; }
.mock .ma { align-self: flex-start; max-width: 92%; background: #F2F4F7; border-radius: 16px 16px 16px 4px; padding: 9px 13px; font-size: 14px; line-height: 1.45; text-align: left; }
.mock .mcite { display: block; margin-top: 6px; font-size: 12px; color: var(--m); font-weight: 600; }
.mock .mcite::before { content: "↗ "; }
.mock-input { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1.5px solid #D5D9E0; border-radius: 999px; padding: 6px 6px 6px 16px; font-size: 14px; color: #8A909A; background: #fff; }
.mock-input i { width: 30px; height: 30px; border-radius: 50%; background: var(--m); flex: none; }

/* The in-page box */
.mock-box { width: min(620px, 100%); margin-top: 18px; background: #fff; border: 1.5px solid #D5D9E0; border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 18px 40px -26px rgba(27, 34, 48, 0.45); }
.mock-thread { display: flex; flex-direction: column; gap: 8px; }
.mock-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.mock-chips span { border: 1px solid #D5D9E0; border-radius: 999px; padding: 5px 11px; font-size: 12.5px; color: #3A4250; background: #fff; }
.mock-box .mock-input { border-color: var(--m); }

/* The corner button and its open panel */
.mock-launch { position: absolute; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: var(--m); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(27, 34, 48, 0.5); }
.mock-panel { position: absolute; right: 22px; bottom: 90px; width: 330px; background: #fff; border-radius: 18px; border: 1px solid #DDE1E7; box-shadow: 0 24px 50px -20px rgba(27, 34, 48, 0.45); display: flex; flex-direction: column; overflow: hidden; }
.mp-head { display: flex; justify-content: space-between; align-items: center; background: var(--m); color: #fff; padding: 12px 16px; font-size: 15px; }
.mp-head span { font-size: 20px; line-height: 1; opacity: .85; }
.mp-body { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.mock-panel .mock-input { margin: 0 12px 12px; }

/* What each choice shows */
.mock[data-look="button"] .mock-box, .mock[data-look="box"] .mock-launch,
.mock[data-look="box"] .mock-panel, .mock[data-look="both"] .mock-panel { display: none; }
.mock[data-look="both"] .mock-thread { display: none; }
.mock[data-look="button"] .mock-hero { padding-bottom: 8px; }

/* The looping demo (site.js adds .seq to the mock and .in to each part as it appears).
   Without the script, or with the animation paused, every part simply shows. */
.looks-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.looks-toggle button { position: relative; }
.looks.auto .looks-toggle button[aria-pressed="true"]::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 6px; height: 2px; border-radius: 2px; background: currentColor; opacity: .55; transform-origin: left center; animation: looks-progress var(--dwell, 8s) linear both; }
@keyframes looks-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.looks-play { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; flex: none; padding: 0; }
.looks-play[hidden] { display: none; }
.looks-play:hover { color: var(--ink); border-color: var(--ink); }
.looks.auto .looks-play .i-play, .looks:not(.auto) .looks-play .i-pause { display: none; }

.mock .mtyping { display: inline-flex; gap: 4px; align-items: center; padding: 12px 14px; }
.mock .mtyping i { width: 6px; height: 6px; border-radius: 50%; background: #8A909A; animation: mock-dot 1s ease-in-out infinite; }
.mock .mtyping i:nth-child(2) { animation-delay: .15s; }
.mock .mtyping i:nth-child(3) { animation-delay: .3s; }
@keyframes mock-dot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.mock:not(.seq) .mtyping { display: none; }

.mock-panel { transform-origin: bottom right; }
.mock-input span.typed { color: #1B2230; }
.mock-input span.typed::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -3px; background: #1B2230; animation: mock-caret .9s steps(1) infinite; }
@keyframes mock-caret { 50% { opacity: 0; } }
.mock-input i { transition: transform .15s ease; }
.mock-input i.send { transform: scale(.82); }
.mock-launch { transition: transform .2s ease; }
.mock-launch.press { transform: scale(.86); }
.mock-launch.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--m); animation: mock-ring 1.4s ease-out 2; }
@keyframes mock-ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.75); opacity: 0; } }

/* Parts of the page fade in; chat messages are added one by one, so the box and panel grow like a real chat. */
.mock.seq .mock-box, .mock.seq .mock-chips, .mock.seq .mock-panel { transition: opacity .35s ease, transform .35s ease; }
.mock.seq .mock-box:not(.in), .mock.seq .mock-chips:not(.in) { opacity: 0; transform: translateY(10px); }
.mock.seq .mock-panel:not(.in) { opacity: 0; transform: translateY(14px) scale(.94); pointer-events: none; }
.mock.seq .mock-launch:not(.in) { opacity: 0; transform: scale(.4); }
.mock.seq .mock-launch { transition: opacity .3s ease, transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.mock.seq .mock-thread > :not(.in), .mock.seq .mp-body > :not(.in) { display: none; }
.mock.seq .mock-thread > .in, .mock.seq .mp-body > .in { animation: mock-in .3s ease-out; }
@keyframes mock-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .mock.seq *, .mock.seq *::after, .looks.auto .looks-toggle button::after { transition: none !important; animation-duration: .01s !important; }
}
@media (max-width: 860px) {
  .mock-site { height: 600px; }
  .mock-nav span:not(.mock-book) { display: none; }
  .mock-nav, .mock-hero, .mock-cards { padding-left: 16px; padding-right: 16px; }
  .mock-cards { grid-template-columns: 1fr 1fr; }
  .mock-panel { left: 12px; right: 12px; width: auto; bottom: 84px; }
  .mock-launch { right: 14px; bottom: 14px; }
  .looks-toggle { align-self: stretch; flex: 1 1 auto; }
  .looks-toggle button { flex: 1 1 auto; padding: 9px 12px; font-size: 14px; }
}

/* "Built your site with AI?" under How it works */
.ai-build { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: center; margin-top: 40px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.ai-build-copy { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ai-build-copy h3 { font-size: clamp(22px, 2.6vw, 28px); }
.ai-build-copy p { margin: 0; color: var(--muted, var(--faint)); font-size: 16px; line-height: 1.55; }
.ai-build-copy .ai-tools { font-size: 14px; color: var(--faint); }
.badge-new { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; background: var(--lime); color: #0F1B17; border-radius: 999px; padding: 4px 10px; }
.ai-prompt { position: relative; margin: 0; background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; padding: 0 0 14px; box-shadow: var(--shadow); overflow: hidden; }
.ai-prompt-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.ai-prompt-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.ai-prompt-bar em { margin-left: 8px; font-style: normal; font-size: 12.5px; color: var(--faint); }
.ai-prompt blockquote { position: relative; margin: 0; padding: 16px 18px 54px; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.ai-prompt blockquote p { margin: 0 0 10px; }
.ai-prompt code { font-family: var(--mono); font-size: 12.5px; }
.ai-prompt .ai-tag { display: block; background: #0F1B17; color: #D9F26B; border-radius: 10px; padding: 10px 12px; overflow-wrap: anywhere; }
.ai-prompt-send { position: absolute; right: 14px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 700; }
.ai-prompt figcaption { padding: 0 18px; font-size: 12.5px; color: var(--faint); }
@media (max-width: 820px) {
  .ai-build { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
}


/* "Recent activity" notice, bottom left of the homepage. */
.activity { position: fixed; left: 20px; bottom: 20px; z-index: 40; display: flex; gap: 12px; align-items: flex-start;
  max-width: 340px; padding: 14px 40px 14px 16px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); font-size: 14.5px; line-height: 1.4;
  opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.activity.is-in { opacity: 1; transform: none; }
.activity-dot { flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.activity-meta { margin-top: 4px; color: var(--faint); font-size: 13px; }
.activity-meta a { font-weight: 600; }
.activity-close { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border: 0; border-radius: 8px;
  background: transparent; color: var(--faint); font-size: 20px; line-height: 1; cursor: pointer; }
.activity-close:hover, .activity-close:focus-visible { background: var(--surface-2); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .activity { transition: none; transform: none; } }
@media (max-width: 600px) { .activity { left: 12px; right: 12px; bottom: 12px; max-width: none; font-size: 14px; } }

/* ---------------------------------------------------------------- /contractors */
.ct-hero .cta-row { margin-top: 4px; }
.ct-phone, .ct-call { --m: #B4441B; }
.ct-phone { flex: 0 1 420px; min-width: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.ct-phone-head { background: var(--m); color: #fff; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.ct-phone-head b { font-size: 15.5px; }
.ct-phone-head span { font-size: 12.5px; opacity: 0.85; }
.ct-thread, .ct-call { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--paper); }
.ct-thread .mq, .ct-call .mq { align-self: flex-end; max-width: 88%; background: var(--m); color: #fff; border-radius: 16px 16px 4px 16px; padding: 9px 13px; font-size: 14px; line-height: 1.45; }
.ct-thread .ma, .ct-call .ma { align-self: flex-start; max-width: 94%; background: var(--surface); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 9px 13px; font-size: 14px; line-height: 1.45; }
.ct-thread .mcite { display: inline-block; margin: 0 4px; font-size: 11.5px; color: var(--m); font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; }
.ct-form { align-self: flex-start; width: 100%; max-width: 330px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 13px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.ct-form > strong { font-size: 14px; }
.ct-field { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ct-field span, .ct-label { color: var(--muted); font-size: 11.5px; }
.ct-field b { font-weight: 500; border: 1px solid var(--line); border-radius: 9px; padding: 6px 9px; background: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-row2 { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.ct-chips i, .ct-slots i { font-style: normal; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; background: var(--paper); text-align: center; }
.ct-chips i.on, .ct-slots i.on { background: var(--m); border-color: var(--m); color: #fff; }
.ct-slots { display: grid; grid-template-columns: auto 1fr 1fr; gap: 5px; align-items: center; }
.ct-send { align-self: flex-start; background: var(--m); color: #fff; font-weight: 600; border-radius: 999px; padding: 7px 14px; margin-top: 2px; }
.ct-phone figcaption { font-size: 12.5px; color: var(--faint); padding: 10px 18px 14px; }

.ct-flow { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1.7fr); align-items: stretch; gap: 0; }
.ct-node, .ct-out { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.ct-node { align-self: center; }
.ct-core { background: var(--band); color: var(--band-fg); border-color: var(--band); }
.ct-node.ct-core p { color: var(--band-muted); }
.ct-core .ct-k { color: var(--lime); }
.ct-node h3, .ct-out h3 { font-size: 19px; }
.ct-node p, .ct-out p, .ct-tools span { color: var(--muted); font-size: 15px; }
.ct-k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.ct-arrow { position: relative; }
.ct-arrow::before { content: ""; position: absolute; left: 4px; right: 8px; top: 50%; border-top: 2px solid var(--ink); }
.ct-arrow::after { content: ""; position: absolute; right: 4px; top: calc(50% - 5px); border: 6px solid transparent; border-left: 8px solid var(--ink); border-right: 0; }
.ct-outs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ct-out-wide { grid-column: 1 / -1; border: 2px solid var(--accent); background: var(--surface); }
.ct-tools { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.ct-tools li { display: flex; flex-direction: column; gap: 2px; }
.ct-tools b { font-family: var(--display); font-size: 16px; }

.ct-payload { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.ct-payload-copy { display: flex; flex-direction: column; gap: 14px; }
.ct-payload-copy h3 { font-size: 24px; }
.ct-payload-copy p { color: var(--muted); }
.ct-payload-copy code { font-family: var(--mono); font-size: 0.88em; background: var(--surface-2); border-radius: 6px; padding: 1px 6px; }
.ct-setup { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.ct-setup b { color: var(--ink); }
.ct-code { font-size: 13px; line-height: 1.6; }
.ct-fine { font-size: 13.5px; color: var(--faint); max-width: 860px; }

.ct-split { flex-direction: row !important; flex-wrap: wrap; align-items: center; }
.ct-split .section-head { flex: 1 1 440px; }
.ct-split .section-head p + p { margin-top: -4px; }
.ct-call { flex: 0 1 400px; min-width: 0; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.ct-callcard { align-self: flex-start; max-width: 320px; background: var(--surface); border: 2px solid var(--m); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ct-callcard strong { color: var(--m); }
.ct-callbtn { align-self: flex-start; background: var(--m); color: #fff; font-weight: 600; border-radius: 999px; padding: 8px 14px; font-size: 14px; }

.ct-faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 860px; }
.ct-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.ct-faq summary { font-family: var(--display); font-size: 20px; font-weight: 600; cursor: pointer; letter-spacing: -0.015em; }
.ct-faq details p { color: var(--muted); margin-top: 10px; max-width: 46em; }

@media (prefers-color-scheme: dark) {
  .ct-phone, .ct-call { --m: #E2774D; }
  .ct-phone-head, .ct-thread .mq, .ct-call .mq, .ct-chips i.on, .ct-slots i.on, .ct-send, .ct-callbtn { color: #160B06; }
}
@media (max-width: 960px) {
  .ct-flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ct-node { align-self: stretch; }
  .ct-arrow { height: 30px; }
  .ct-arrow::before { left: 50%; right: auto; top: 4px; bottom: 9px; border-top: 0; border-left: 2px solid var(--ink); }
  .ct-arrow::after { left: calc(50% - 5px); right: auto; top: auto; bottom: 3px; border: 6px solid transparent; border-top: 8px solid var(--ink); border-bottom: 0; }
  .ct-payload { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .ct-outs, .ct-tools { grid-template-columns: minmax(0, 1fr); }
  .ct-out-wide { grid-column: auto; }
  .ct-code { font-size: 12px; }
}

/* ---------------------------------------------------------------- Industries menu (top nav) */
.navdrop { position: relative; }
.navdrop summary { list-style: none; cursor: pointer; padding: 10px 0; display: flex; align-items: center; gap: 6px; user-select: none; }
.navdrop summary::-webkit-details-marker { display: none; }
.navdrop summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
.navdrop[open] summary::after { transform: translateY(1px) rotate(225deg); }
.navdrop summary:hover, .navdrop[open] summary, .navdrop:has(a[aria-current="page"]) summary { color: var(--accent); }
.navdrop-menu { position: absolute; left: -12px; top: 100%; min-width: 270px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.14); padding: 8px; display: flex; flex-direction: column; z-index: 30; }
.top nav .navdrop-menu a { padding: 9px 10px; border-radius: 8px; }
.top nav .navdrop-menu a:hover { background: rgba(127,127,127,.1); color: var(--ink); }
.top nav .navdrop-menu a[aria-current="page"] { color: var(--accent); }
.top nav .navdrop-menu .navdrop-all { border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 4px; padding-top: 11px; color: var(--accent); font-weight: 600; }
/* Narrow phones: the buttons take a second short row rather than squeezing the brand. */
@media (max-width: 440px) {
  .top .wrap { flex-wrap: wrap; row-gap: 6px; padding-block: 10px; }
  .top-actions { margin-left: auto; }
}

/* ---------------------------------------------------------------- Menu button (phones and tablets) */
.navtoggle { display: none; }
@media (max-width: 860px) {
  .top .wrap { flex-wrap: wrap; }
  .top-actions { margin-left: auto; }
  .navtoggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -8px; padding: 0; background: none; border: 0; border-radius: 10px; color: var(--ink); cursor: pointer; order: 3; }
  .navtoggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .navtoggle span, .navtoggle span::before, .navtoggle span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s ease; }
  .navtoggle span::before, .navtoggle span::after { content: ""; position: absolute; left: 0; }
  .navtoggle span::before { top: -6px; }
  .navtoggle span::after { top: 6px; }
  .navtoggle[aria-expanded="true"] span { background: transparent; }
  .navtoggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .navtoggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
  .top nav { display: none; order: 4; flex-basis: 100%; margin: 0; flex-direction: column; gap: 0; flex-wrap: nowrap; font-size: 17px; padding: 4px 0 8px; border-top: 1px solid var(--line); }
  .top.nav-open nav { display: flex; }
  .top nav > a, .navdrop summary { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .top nav > a:last-child { border-bottom: 0; }
  .navdrop summary { justify-content: space-between; }
  .navdrop summary::after { margin-right: 4px; }
  .navdrop-menu { position: static; min-width: 0; box-shadow: none; border: 0; border-radius: 0; background: none; padding: 4px 0 8px 12px; border-bottom: 1px solid var(--line); }
  .top nav .navdrop-menu a { padding: 10px 8px; }
  .top nav .navdrop-menu .navdrop-all { border-top: 0; margin-top: 0; padding-top: 10px; }
}
@media (max-width: 440px) {
  .navtoggle { order: 0; margin-left: auto; }
  .top-actions { order: 2; flex-basis: 100%; justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) { .navtoggle span, .navtoggle span::before, .navtoggle span::after { transition: none; } }

/* ---------------------------------------------------------------- Industry pages (share the /contractors styles) */
.ct-phone.ind-trade { --m: #2E5C80; }
.ct-phone.ind-agency { --m: #3046C5; }
.ct-phone.ind-clinic { --m: #0B7480; }
.ct-phone.ind-pro { --m: #5B3A8E; }
.ct-phone.ind-venue { --m: #8A5A12; }
.ct-phone.ind-retail { --m: #A3365A; }
@media (prefers-color-scheme: dark) {
  .ct-phone.ind-trade { --m: #86B6DD; }
  .ct-phone.ind-agency { --m: #8C9BFF; }
  .ct-phone.ind-clinic { --m: #4FC3CF; }
  .ct-phone.ind-pro { --m: #B595E8; }
  .ct-phone.ind-venue { --m: #E0A84F; }
  .ct-phone.ind-retail { --m: #F28BAC; }
}
.ct-sponsor { align-self: flex-start; width: 100%; max-width: 330px; background: var(--surface); border: 1px dashed var(--line); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.ct-sponsor .ct-tag { color: var(--muted); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ct-sponsor span:not(.ct-tag):not(.ct-sponsor-link) { color: var(--muted); }
.ct-sponsor .ct-sponsor-link { color: var(--m); font-weight: 600; }
.ind-h1 { font-size: clamp(34px, 5vw, 56px); }
.ind-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.ind-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.ind-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.ind-card h3 { font-size: 22px; }
.ind-card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.ind-more { color: var(--accent); font-weight: 600; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .ind-card { transition: none; } .ind-card:hover { transform: none; } }
