/* WebIgnite — site stylesheet
   Ink + flame. Bricolage Grotesque for display, Instrument Sans for reading.
   Sections: tokens · base · buttons · header · hero & audit · sections · work ·
   steps · plans · faq · quote form · footer · page heroes · contact · samples ·
   tools shell · tool components (used by static/tools-*.js) · responsive · print */

/* ---------------------------------------------------------------- tokens */
:root {
  --paper: #FFFFFF;
  --mist: #F4F3F8;
  --line: #E5E3EE;
  --ink: #1A1830;
  --ink-2: #2B2848;
  --muted: #5E5B73;
  --flame: #FF4A1C;
  --flame-deep: #E03A0E;
  --flame-text: #C42F08;
  --flame-soft: #FFEEE7;
  --band: #1A1830;          /* dark sections + footer, same in both themes */
  --band-ink: #F3F2F8;
  --band-muted: #A9A6BE;
  --band-line: rgba(255,255,255,.12);

  /* tool UI aliases (static/tools-*.js and core.js reference these) */
  --surface: var(--paper);
  --well: var(--mist);
  --rule: var(--line);
  --border: var(--line);
  --signal: var(--flame-text);
  --signal-soft: var(--flame-soft);
  --accent-1: var(--flame-text);
  --accent-2: #F59E0B;
  --grad: linear-gradient(135deg, var(--flame), #FF7A3D);
  --mk-gold: #F59E0B; --mk-ember: var(--flame); --mk-grad: var(--grad);
  --pass: #167A3E;
  --warn: #A9560A;
  --fail: #D02828;
  --info: #1D6FA3;
  --focus: #2E5BFF;

  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(26,24,48,.06);
  --shadow-md: 0 10px 30px -14px rgba(26,24,48,.28);
  --shadow-lg: 0 30px 60px -28px rgba(26,24,48,.38);
  --head-h: 68px;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #14121F; --mist: #1C1A2B; --line: #2E2B42; --ink: #F1F0F7; --ink-2: #D8D6E6; --muted: #A5A2BA;
  --flame: #FF5A2E; --flame-deep: #FF6E46; --flame-text: #FF8A63; --flame-soft: #2C1A1A;
  --band: #0E0C18; --pass: #4ADE80; --warn: #FBBF24; --fail: #FB7185; --info: #67C3F3; --focus: #8EA6FF;
  --shadow-md: 0 10px 30px -14px rgba(0,0,0,.6); --shadow-lg: 0 30px 60px -28px rgba(0,0,0,.7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14121F; --mist: #1C1A2B; --line: #2E2B42; --ink: #F1F0F7; --ink-2: #D8D6E6; --muted: #A5A2BA;
    --flame: #FF5A2E; --flame-deep: #FF6E46; --flame-text: #FF8A63; --flame-soft: #2C1A1A;
    --band: #0E0C18; --pass: #4ADE80; --warn: #FBBF24; --fail: #FB7185; --info: #67C3F3; --focus: #8EA6FF;
    --shadow-md: 0 10px 30px -14px rgba(0,0,0,.6); --shadow-lg: 0 30px 60px -28px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
.site-head { view-transition-name: site-head; }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
p a, .lede a, li a { color: var(--flame-text); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { left: 12px; }
main:focus { outline: none; }
code, kbd, pre, textarea.code, .mono { font-family: var(--mono); }
.ic { flex-shrink: 0; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.lede-sm { color: var(--muted); max-width: 52ch; margin: 14px 0 22px; }
.center-block { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.center-block .lede { margin: 0 auto; }
.center-note { text-align: center; color: var(--muted); }

/* ---------------------------------------------------------------- buttons */
.btn {
  --b-bg: var(--ink); --b-fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15.5px/1 var(--sans); padding: 13px 20px; border-radius: 10px; border: 1.5px solid transparent;
  background: var(--b-bg); color: var(--b-fg); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-flame { --b-bg: var(--flame); --b-fg: #fff; }
.btn-flame:hover { --b-bg: var(--flame-deep); }
.btn-ink { --b-bg: var(--ink); --b-fg: var(--paper); }
.btn-ink:hover { --b-bg: var(--ink-2); }
.btn-line { --b-bg: transparent; --b-fg: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost-light { --b-bg: transparent; --b-fg: var(--band-ink); border-color: var(--band-line); }
.btn-ghost-light:hover { border-color: var(--band-ink); }
.btn-sm { padding: 9px 14px; font-size: 14.5px; border-radius: 9px; }
.btn-lg { padding: 16px 24px; font-size: 16.5px; border-radius: 12px; }
.btn-block { width: 100%; }
/* legacy tool-UI button variants (core.js / tools-*.js) */
.btn:not(.btn-flame):not(.btn-ink):not(.btn-line):not(.btn-ghost-light) { --b-bg: var(--flame); --b-fg: #fff; }
.btn:not(.btn-flame):not(.btn-ink):not(.btn-line):not(.btn-ghost-light):hover { --b-bg: var(--flame-deep); }
.btn.secondary { --b-bg: var(--paper) !important; --b-fg: var(--ink) !important; border-color: var(--line); }
.btn.secondary:hover { border-color: var(--ink); }
.btn.small { padding: 8px 13px; font-size: 14px; border-radius: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--flame-text); cursor: pointer; text-decoration: underline; }

/* ---------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 50; height: var(--head-h);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.head-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 750 21px/1 var(--display); letter-spacing: -0.03em; flex-shrink: 0; }
.brand-mark { display: block; }
.head-nav { margin-left: 8px; }
.head-nav ul { list-style: none; display: flex; gap: 2px; }
.head-nav a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 550; font-size: 15.5px; color: var(--muted); transition: color .15s, background-color .15s; }
.head-nav a:hover { color: var(--ink); background: var(--mist); }
.head-nav a[aria-current="page"] { color: var(--ink); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.head-phone { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.head-phone:hover { color: var(--flame-text); }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--line); color: var(--ink); width: 42px; height: 42px; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.mobile-nav { position: absolute; top: var(--head-h); left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 20px; box-shadow: var(--shadow-lg); }
.mobile-nav ul { list-style: none; }
.mobile-nav li a { display: block; padding: 13px 4px; font: 600 19px var(--display); text-decoration: none; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-nav-actions { display: grid; gap: 10px; margin-top: 16px; }

/* ---------------------------------------------------------------- hero */
.hero { padding: clamp(36px, 6vw, 84px) 0 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 4px var(--flame-soft); }
.hero h1 { font-size: clamp(44px, 7.2vw, 92px); letter-spacing: -0.045em; line-height: .96; font-weight: 780; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions.center { justify-content: center; margin-top: 8px; }
.hero-facts { display: flex; gap: clamp(20px, 4vw, 48px); margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-facts dt { font-size: 13.5px; color: var(--muted); margin-bottom: 2px; }
.hero-facts dd { margin: 0; font: 700 22px/1.2 var(--display); letter-spacing: -0.02em; }

/* live sites strip: a slow ribbon of real screenshots on the ink band */
.hero { padding-bottom: clamp(48px, 7vw, 88px); }
.live-strip { background: var(--band); color: var(--band-ink); padding: clamp(44px, 6vw, 72px) 0 clamp(40px, 5vw, 60px); overflow: hidden; position: relative; }
.live-strip::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 0%, rgba(255,74,28,.22), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(120,90,255,.16), transparent 60%); pointer-events: none; }
.live-head { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: end; margin-bottom: 34px; }
.live-count { display: flex; align-items: flex-end; gap: 16px; }
.live-num { font: 800 clamp(64px, 8vw, 104px)/.8 var(--display); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--band-ink); background: linear-gradient(180deg, #FF8A63, var(--flame)); -webkit-background-clip: text; background-clip: text; }
.live-title { font-size: clamp(30px, 4vw, 50px); line-height: 1.02; letter-spacing: -0.035em; }
.live-head p { color: var(--band-muted); font-size: 15.5px; max-width: 40ch; justify-self: end; text-align: right; }
.live-track { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); outline-offset: -3px; }
.live-row { list-style: none; display: flex; gap: 20px; width: max-content; padding: 8px 10px 14px; }
.lt a { display: block; width: 264px; text-decoration: none; color: inherit; position: relative; }
.lt-shot { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--w); box-shadow: 0 0 0 1px rgba(255,255,255,.09), 0 18px 40px -18px rgba(0,0,0,.7); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.lt-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: 1; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.lt-ph { position: absolute; inset: 0; display: grid; place-items: center; font: 800 64px var(--display); color: rgba(255,255,255,.85); background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.22), transparent 55%), var(--w); }
.lt-bar { position: absolute; z-index: 2; left: 0; right: 0; top: 0; display: flex; gap: 4px; padding: 7px 9px; background: linear-gradient(rgba(10,8,20,.55), transparent); }
.lt-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.7); }
.lt-meta { display: flex; flex-direction: column; gap: 3px; padding: 12px 2px 0; }
.lt-meta b { font: 650 16.5px/1.2 var(--display); letter-spacing: -0.015em; }
.lt-dom { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--band-muted); }
.lt-live { width: 7px; height: 7px; border-radius: 50%; background: #34D17A; box-shadow: 0 0 0 0 rgba(52,209,122,.6); }
.lt-kind { position: absolute; z-index: 3; top: 10px; right: 10px; font-size: 11.5px; font-weight: 650; padding: 3px 9px; border-radius: 999px; background: rgba(15,12,28,.72); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lt a:hover .lt-shot, .lt a:focus-visible .lt-shot { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 0 0 2px var(--flame), 0 26px 50px -20px rgba(0,0,0,.8); }
.lt a:hover .lt-shot img { transform: translateY(-18%); }
.lt-shot.is-live img { opacity: 0; transition: opacity .6s; }
.lt a:hover b { color: #FF8A63; }
.lt-frame { position: absolute; z-index: 1; top: 0; left: 0; width: 1280px; max-width: none; height: 800px; border: 0; transform-origin: 0 0; transform: scale(var(--lt-scale, .206)); pointer-events: none; opacity: 0; transition: opacity .6s; background: #fff; }
.lt-shot.is-live .lt-frame { opacity: 1; }
.lt-bar em { display: none; margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 700; color: #fff; background: #E5341C; padding: 1px 7px 1px 15px; border-radius: 999px; position: relative; }
.lt-bar em::before { content: ""; position: absolute; left: 6px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #fff; }
.lt-shot.is-live .lt-bar em { display: inline-block; }
.lt-shot.is-live + .lt-meta .lt-live { background: #34D17A; }
.lt-shot.is-live ~ .lt-kind { display: none; }
.live-track { overflow-x: auto; scrollbar-width: none; scroll-behavior: auto; }
.live-track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .lt-live { animation: livepulse 2s ease-out infinite; }
  .lt-shot.is-live .lt-bar em::before { animation: blink 1.4s steps(2, start) infinite; }
}
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(52,209,122,.55); } 100% { box-shadow: 0 0 0 7px rgba(52,209,122,0); } }
@keyframes blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .live-track { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 860px) {
  .live-head { grid-template-columns: 1fr; }
  .live-head p { justify-self: start; text-align: left; }
  .live-head .btn { justify-self: start; }
  .live-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
  .lt a { width: 220px; }
}

/* one orchestrated entrance: hero copy, then the audit card */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-copy > :nth-child(5) { animation-delay: .24s; }
  .hero .audit { animation: rise .7s .28s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- audit card */
.audit { background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 28px); box-shadow: 10px 10px 0 var(--flame); }
.audit-title { font: 700 22px/1.2 var(--display); letter-spacing: -0.02em; }
.audit-sub { color: var(--muted); font-size: 15px; margin-top: 6px; }
.audit-form { display: flex; gap: 8px; margin-top: 18px; }
.audit-form input { flex: 1; min-width: 0; font: 500 16px var(--sans); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--mist); color: var(--ink); }
.audit-form input:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.audit-out { margin-top: 18px; }
.audit-rows { list-style: none; display: grid; gap: 12px; }
.audit-rows li { display: grid; grid-template-columns: 92px 1fr 64px; align-items: center; gap: 12px; font-size: 15px; }
.ar-k { font-weight: 600; }
.ar-bar { height: 10px; background: var(--mist); border-radius: 99px; overflow: hidden; }
.ar-bar i { display: block; height: 100%; border-radius: 99px; background: var(--muted); transition: width .8s cubic-bezier(.2,.7,.2,1); }
.ar-v { text-align: right; font: 700 17px var(--display); font-variant-numeric: tabular-nums; }
.audit-rows.is-loading .ar-bar i { width: 40% !important; animation: scan 1.1s ease-in-out infinite alternate; background: var(--line); }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.audit-idle .ar-v { color: var(--line); }
.ar-good i { background: var(--pass) !important; } .ar-good .ar-v, .ar-v.good { color: var(--pass); }
.ar-ok i { background: var(--warn) !important; } .ar-v.ok { color: var(--warn); }
.ar-bad i { background: var(--fail) !important; } .ar-v.bad { color: var(--fail); }
.audit-verdict { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--flame-soft); font-size: 15px; }
.audit-verdict b { display: block; margin-bottom: 4px; }
.audit-verdict .btn-row { margin-top: 10px; }
.audit-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 14px; }
.audit-links a { color: var(--flame-text); }
.audit-err { color: var(--fail); font-size: 14.5px; margin-top: 10px; }
.audit-foot { font-size: 14px; color: var(--muted); margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); }

/* ---------------------------------------------------------------- sections */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-tight { padding: clamp(36px, 5vw, 64px) 0; }
.sec-mist { background: var(--mist); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head p { color: var(--muted); max-width: 52ch; justify-self: end; }
.sec-title { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -0.035em; line-height: 1.02; }

/* services: rows, not cards */
.svc-list { border-top: 1.5px solid var(--ink); }
.svc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px 56px; padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
.svc-head h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.svc-head p { color: var(--muted); max-width: 44ch; }
.svc-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; align-content: start; padding-top: 6px; }
.svc-points li, .plan li, .quote-promises li, .cap-list li { display: flex; gap: 10px; align-items: flex-start; }
.svc-points .ic, .plan .ic, .cap-list .ic { color: var(--flame); margin-top: 4px; }

/* why */
.why-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px 72px; }
.why-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.why-list li { padding: 22px 0; border-top: 1px solid var(--line); }
.why-list h3 { font-size: 21px; margin-bottom: 8px; }
.why-list p { color: var(--muted); font-size: 16px; }
.cap-list { list-style: none; display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.cap-list li { padding: 20px 0; border-bottom: 1px solid var(--line); font: 650 21px var(--display); letter-spacing: -0.015em; align-items: center; }

/* chips + link grids */
.chip-label { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 15px; color: var(--ink); }
.chips a:hover { border-color: var(--ink); }
.link-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 28px; }
.link-grid-wide { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.link-grid li { border-top: 1px solid var(--line); }
.link-grid a { display: block; padding: 16px 0 18px; text-decoration: none; color: var(--ink); }
.link-grid b { display: block; font: 650 18px/1.25 var(--display); letter-spacing: -0.015em; margin-bottom: 4px; transition: color .15s; }
.link-grid span { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.link-grid a:hover b { color: var(--flame-text); }

/* ---------------------------------------------------------------- work (dark band) */
.sec-ink { background: var(--band); color: var(--band-ink); }
.sec-ink .sec-head p { color: var(--band-muted); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.work { text-decoration: none; color: inherit; display: block; }
.work-frame { border-radius: 14px; overflow: hidden; background: #fff; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.work:hover .work-frame { transform: translateY(-4px); }
.work-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: #EDEBF3; }
.work-bar i { width: 8px; height: 8px; border-radius: 50%; background: #C9C6D6; }
.work-bar span { margin-left: 10px; font-size: 12.5px; color: #5E5B73; background: #fff; padding: 2px 10px; border-radius: 6px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-screen { aspect-ratio: 16 / 10; background: var(--w); color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.work-screen::before { content: ""; position: absolute; right: -18%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.09); }
.work-screen::after { content: ""; position: absolute; left: 22px; right: 40%; top: 24px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.28); box-shadow: 0 18px 0 -1px rgba(255,255,255,.16), 0 34px 0 -1px rgba(255,255,255,.16); }
.work-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: 2; background: #fff; }
.work-kind { font-size: 13px; opacity: .8; position: relative; }
.work-name { font: 750 clamp(22px, 2.2vw, 28px)/1.05 var(--display); letter-spacing: -0.03em; position: relative; }
.work-meta { padding-top: 16px; }
.work-meta h3 { font-size: 20px; margin-bottom: 6px; }
.work-meta p { color: var(--band-muted); font-size: 15.5px; }
.work-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; font-size: 14.5px; color: #FF8A63; }
.work:hover .work-link { text-decoration: underline; }

/* ---------------------------------------------------------------- steps (a real sequence) */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; top: 21px; left: 22px; right: 22px; height: 1.5px; background: var(--line); }
.step { position: relative; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); font: 700 18px var(--display); margin-bottom: 22px; position: relative; }
.step:first-child .step-n { background: var(--flame); border-color: var(--flame); color: #fff; }
.step-when { font-size: 13.5px; color: var(--flame-text); font-weight: 650; margin-bottom: 4px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p:last-child { color: var(--muted); font-size: 16px; }

/* ---------------------------------------------------------------- plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px 26px; display: flex; flex-direction: column; position: relative; }
.plan-featured { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.plan-flag { position: absolute; top: -13px; left: 24px; background: var(--flame); color: #fff; font-size: 13px; font-weight: 650; padding: 4px 11px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan-price { font: 750 clamp(26px, 2.6vw, 32px)/1.1 var(--display); letter-spacing: -0.03em; margin: 12px 0 10px; font-variant-numeric: tabular-nums; }
.plan-blurb { color: var(--muted); font-size: 15.5px; min-height: 3.2em; }
.plan ul { list-style: none; display: grid; gap: 10px; margin: 22px 0 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15.5px; flex: 1; align-content: start; }

/* ---------------------------------------------------------------- faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 72px; align-items: start; }
.faq-grid .sec-title { position: sticky; top: calc(var(--head-h) + 24px); }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 650 19px/1.35 var(--display); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--flame-text); }
.faq p { padding: 0 44px 22px 0; color: var(--muted); max-width: 66ch; }

/* ---------------------------------------------------------------- quote form */
.quote-band { background: var(--mist); padding: clamp(64px, 9vw, 112px) 0; }
.quote-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px 72px; align-items: start; }
.quote-grid.compact { grid-template-columns: 1fr; max-width: 720px; }
.quote-side h2 { font-size: clamp(34px, 4.4vw, 54px); letter-spacing: -0.035em; margin-bottom: 16px; }
.quote-promises { list-style: none; display: grid; gap: 12px; margin: 28px 0 32px; }
.quote-promises .ic { color: var(--pass); margin-top: 3px; }
.quote-direct { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 10px; }
.quote-direct p { color: var(--muted); font-size: 14.5px; }
.quote-direct a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; width: fit-content; }
.quote-direct a:hover { color: var(--flame-text); }
.quote-form { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-lg); display: grid; gap: 18px; }
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ff { display: flex; flex-direction: column; gap: 7px; min-width: 0; border: 0; margin: 0; padding: 0; }
.ff[hidden] { display: none; }
.ff label, .ff legend { font-weight: 600; font-size: 14.5px; }
.ff-hint { font-weight: 400; color: var(--muted); }
.ff input, .ff select, .ff textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 13px; transition: border-color .15s, box-shadow .15s;
}
.ff textarea { min-height: 112px; resize: vertical; }
.ff select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.ff input:focus, .ff select:focus, .ff textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent); }
.ff .invalid, .ff input[aria-invalid="true"], .ff textarea[aria-invalid="true"] { border-color: var(--fail); }
.ff-radio { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.ff-radio legend { width: 100%; margin-bottom: 7px; float: left; }
.ff-radio label { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 15.5px; }
.ff-radio label:has(input:checked) { border-color: var(--ink); background: var(--mist); }
.ff-radio input { accent-color: var(--flame); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: color-mix(in srgb, var(--fail) 9%, var(--paper)); border: 1px solid color-mix(in srgb, var(--fail) 40%, var(--line)); color: var(--ink); padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.form-fine { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: -4px; }
.form-done { text-align: center; padding: 28px 8px; display: grid; gap: 12px; justify-items: center; }
.form-done .thanks-mark { margin-bottom: 4px; }
.form-done h3 { font-size: 28px; }
.form-done p { color: var(--muted); max-width: 44ch; }
.thanks-mark { width: 68px; height: 68px; border-radius: 50%; background: var(--pass); color: #fff; display: grid; place-items: center; }
@media (prefers-reduced-motion: no-preference) { .form-done { animation: rise .5s cubic-bezier(.2,.7,.2,1) both; } }

/* ---------------------------------------------------------------- footer */
.site-foot { background: var(--band); color: var(--band-ink); padding: clamp(56px, 8vw, 96px) 0 28px; }
.foot-cta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 48px; align-items: end; padding-bottom: clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--band-line); }
.foot-cta h2 { font-size: clamp(28px, 3.8vw, 48px); letter-spacing: -0.035em; max-width: 22ch; }
.foot-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; gap: 36px 32px; padding: 48px 0; }
.brand-light { color: var(--band-ink); }
.foot-brand p { color: var(--band-muted); font-size: 15px; margin-top: 16px; max-width: 34ch; }
.site-foot h3 { font: 600 14px var(--sans); letter-spacing: 0; color: var(--band-muted); margin-bottom: 14px; }
.site-foot ul { list-style: none; display: grid; gap: 9px; }
.site-foot ul a { text-decoration: none; font-size: 15.5px; color: var(--band-ink); opacity: .9; }
.site-foot ul a:hover { opacity: 1; text-decoration: underline; }
.foot-contact { display: grid; gap: 12px; align-content: start; }
.foot-contact a, .foot-hours { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; font-size: 15px; color: var(--band-ink); }
.foot-contact a:hover span { text-decoration: underline; }
.foot-contact .ic { margin-top: 4px; color: #FF8A63; }
.foot-hours { color: var(--band-muted); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--band-line); font-size: 14px; color: var(--band-muted); }
.foot-bottom-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.foot-bottom-links a { color: var(--band-muted); text-decoration: none; }
.foot-bottom-links a:hover { color: var(--band-ink); }
.theme-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--band-line); color: var(--band-muted); font: 500 13.5px var(--sans); border-radius: 999px; padding: 5px 11px; cursor: pointer; }
.theme-toggle:hover { color: var(--band-ink); border-color: var(--band-ink); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1FAF55; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.pg-tool .wa-float { display: none; }

/* ---------------------------------------------------------------- page heroes */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -0.04em; line-height: 1; max-width: 18ch; margin-bottom: 20px; }
.page-hero.thanks { border-bottom: 0; padding-bottom: clamp(64px, 9vw, 120px); }
.page-hero.thanks h1 { max-width: 20ch; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

/* guides */
.prose-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px 72px; align-items: start; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin-bottom: 14px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 10px; margin-bottom: 18px; }
.prose-aside { position: sticky; top: calc(var(--head-h) + 24px); }
.table-scroll { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.price-table th, .price-table td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font-size: 13.5px; color: var(--muted); font-weight: 600; background: none; border-bottom: 1.5px solid var(--ink); }
.price-table tbody th { font-weight: 650; }
.price-table .price { font: 700 18px var(--display); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.c-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .15s; }
a.c-card:hover { border-color: var(--ink); }
.c-card .ic { color: var(--flame); margin-top: 2px; }
.c-card span { font-size: 15px; color: var(--muted); line-height: 1.5; overflow-wrap: anywhere; }
.c-card b { display: block; color: var(--ink); font: 650 18px var(--display); margin-bottom: 2px; }
.office { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: grid; grid-template-rows: 240px auto; }
.office iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
.office-text { padding: 22px; display: grid; gap: 10px; justify-items: start; }
.office-text h2 { font-size: 22px; }
.office-text address { font-style: normal; color: var(--ink-2); }
.office-text p { color: var(--muted); font-size: 15px; }

/* samples index */
.sample-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sample-card { text-decoration: none; color: var(--ink); display: block; }
.sample-thumb { aspect-ratio: 4 / 3.2; border-radius: 14px; background: var(--s-hero); color: var(--s-hero-ink); padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; font-family: var(--s-font); transition: transform .25s cubic-bezier(.2,.7,.2,1); border: 1px solid var(--line); }
.sample-card:hover .sample-thumb { transform: translateY(-4px); }
.st-eyebrow { font-family: var(--sans); font-size: 13px; color: var(--s-hero-muted); }
.st-name { font-size: 30px; line-height: 1.05; }
.st-btn { font-family: var(--sans); align-self: flex-start; margin-top: 8px; background: var(--s-accent); color: var(--s-on-accent); font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: var(--s-radius); }
.sample-meta { padding-top: 16px; }
.sample-meta h3 { font-size: 21px; margin-bottom: 6px; }
.sample-meta p { color: var(--muted); font-size: 15.5px; }
.sample-meta .work-link { color: var(--flame-text); }

/* sample pages */
.sample-banner { background: var(--ink); color: var(--paper); font-size: 14.5px; }
.sample-banner .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.sample-page { background: var(--s-bg); color: var(--s-ink); }
.s-hero { background: var(--s-hero); color: var(--s-hero-ink); padding: clamp(56px, 9vw, 120px) 0; }
.s-center { text-align: center; }
.s-center .s-lede { margin-left: auto; margin-right: auto; }
.s-name { font-family: var(--s-font); font-size: 20px; margin-bottom: 26px; }
.s-eyebrow { color: var(--s-hero-muted); font-size: 15px; margin-bottom: 12px; }
.s-hero h1 { font-family: var(--s-font); font-weight: 400; letter-spacing: -0.02em; font-size: clamp(36px, 5.4vw, 64px); max-width: 20ch; line-height: 1.08; }
.s-center h1 { margin: 0 auto; }
.s-lede { color: var(--s-hero-muted); max-width: 54ch; margin: 18px 0 30px; font-size: 18px; }
.s-btn { display: inline-block; background: var(--s-accent); color: var(--s-on-accent); padding: 14px 26px; border-radius: var(--s-radius); text-decoration: none; font-weight: 650; }
.s-sec { padding: clamp(56px, 8vw, 96px) 0; }
.s-sec h2, .s-quote blockquote { font-family: var(--s-font); font-weight: 400; letter-spacing: -0.01em; }
.s-sec h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 32px; }
.s-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.s-card { background: #fff; padding: 26px; border-radius: 14px; border: 1px solid rgba(0,0,0,.07); color: var(--s-ink); }
.s-card h3 { font-family: var(--s-font); font-weight: 400; font-size: 22px; letter-spacing: -0.01em; margin-bottom: 10px; }
.s-card p { color: var(--s-muted); font-size: 15.5px; }
.s-quote { padding: 0 0 clamp(56px, 8vw, 96px); text-align: center; }
.s-quote blockquote { font-size: clamp(22px, 2.8vw, 32px); max-width: 30ch; margin: 0 auto 14px; line-height: 1.3; }
.s-quote cite { font-style: normal; font-size: 14px; color: var(--s-muted); }

/* ---------------------------------------------------------------- tools index */
.tools-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px 64px; align-items: center; }
.tools-filter { display: flex; align-items: center; gap: 10px; margin-top: 28px; max-width: 520px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; background: var(--paper); }
.tools-filter:focus-within { border-color: var(--ink); }
.tools-filter .ic { color: var(--muted); }
.tools-filter input { flex: 1; border: 0; background: none; font: 400 17px var(--sans); padding: 14px 0; color: var(--ink); outline: none; min-width: 0; }
.tool-cat { margin-bottom: 48px; }
.tool-cat h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 14px; }
.tool-cat[hidden], .link-grid li[hidden] { display: none; }

/* ---------------------------------------------------------------- tool pages */
.tools-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; padding-top: 32px; padding-bottom: 80px; align-items: start; }
.rail { position: sticky; top: calc(var(--head-h) + 16px); max-height: calc(100vh - var(--head-h) - 32px); overflow-y: auto; scrollbar-width: thin; }
.rail-box > summary { list-style: none; font: 650 15px var(--sans); color: var(--muted); padding: 4px 0 12px; cursor: default; pointer-events: none; }
.rail-box > summary::-webkit-details-marker { display: none; }
.rail-search { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; margin-bottom: 16px; background: var(--paper); }
.rail-search:focus-within { border-color: var(--ink); }
.rail-search .ic { color: var(--muted); }
.rail-search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: 400 15px var(--sans); padding: 9px 0; color: var(--ink); }
.rail-search kbd { font-size: 11.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }
.rail-cat { margin-bottom: 18px; }
.rail-cat[hidden] { display: none; }
.rail-cat-name { font-size: 13px; font-weight: 650; color: var(--muted); margin-bottom: 4px; }
.rail-cat ul { list-style: none; }
.rail-cat li[hidden] { display: none; }
.rail-cat a { display: block; padding: 6px 10px; border-radius: 7px; text-decoration: none; font-size: 15px; color: var(--ink-2); }
.rail-cat a:hover { background: var(--mist); color: var(--ink); }
.rail-cat a[aria-current="page"] { background: var(--ink); color: var(--paper); font-weight: 600; }
.rail-empty { color: var(--muted); font-size: 14.5px; }
.tool-main { min-width: 0; }
.tool-head { margin-bottom: 28px; }
.tool-head h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.04em; margin-bottom: 12px; }
.tool-head p { color: var(--muted); max-width: 64ch; font-size: 17.5px; }
.tool-root { min-height: 160px; }
.tool-privacy { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 14.5px; margin: 24px 0 0; }
.tool-privacy .ic { color: var(--pass); margin-top: 3px; }
.tool-pitch { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; background: var(--band); color: var(--band-ink); border-radius: var(--r-lg); padding: 26px 28px; }
.tool-pitch h2 { font-size: 22px; margin-bottom: 6px; }
.tool-pitch p { color: var(--band-muted); font-size: 15.5px; max-width: 52ch; }
.tool-about { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); max-width: 820px; }
.tool-about h2 { font-size: 24px; margin: 36px 0 14px; }
.tool-about h2:first-child { margin-top: 0; }
.tool-about > p { color: var(--ink-2); max-width: 68ch; }
.tool-about .faq summary { font-size: 17px; padding-top: 16px; padding-bottom: 16px; }
.tool-about .faq-list { border-top-width: 1px; border-top-color: var(--line); }

/* ---------------------------------------------------------------- tool components (core.js / tools-*.js) */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.row > .grow { flex: 1 1 260px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.row .field { margin-bottom: 0; }
.tool-root label, .tool-root .label, .panel label { font-size: 14px; font-weight: 600; }
.hint { font-size: 13px; color: var(--muted); font-weight: 400; }
.tool-root input[type=text], .tool-root input[type=url], .tool-root input[type=number], .tool-root input[type=search], .tool-root input[type=password],
.tool-root select, .tool-root textarea {
  width: 100%; font: 400 15.5px var(--sans); color: var(--ink); background: var(--mist);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 11px 12px; transition: border-color .15s, background .15s;
}
.tool-root textarea { min-height: 180px; resize: vertical; line-height: 1.5; }
.tool-root textarea.code { font: 13.5px/1.5 var(--mono); tab-size: 2; white-space: pre; overflow-wrap: normal; overflow-x: auto; }
.tool-root input:focus, .tool-root select:focus, .tool-root textarea:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.tool-root input[type=range] { accent-color: var(--flame); width: 100%; }
.tool-root input[type=checkbox], .tool-root input[type=radio] { accent-color: var(--flame); }
.checks { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14.5px; }
.checks label { font-weight: 400 !important; display: inline-flex; gap: 6px; align-items: center; }
.seg { display: inline-flex; background: var(--mist); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; color: var(--muted); font: 600 14px var(--sans); padding: 8px 14px; border-radius: 8px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.result:empty { display: none; }
.loading-time { color: var(--muted); font-variant-numeric: tabular-nums; }
.report-bar { display: flex; justify-content: flex-end; margin: 0 0 12px; }
.loading { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 18px 0; }
.loading::before { content: ""; width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--flame); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error { border: 1px solid color-mix(in srgb, var(--fail) 35%, var(--line)); background: color-mix(in srgb, var(--fail) 7%, var(--paper)); padding: 13px 15px; border-radius: var(--r-md); margin: 12px 0; }
.error strong { color: var(--fail); }
.scoreline { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin: 6px 0 24px; }
.gauge { display: inline-flex; align-items: center; gap: 14px; }
.gauge svg { display: block; }
.gauge .num { font: 800 34px var(--display); letter-spacing: -0.02em; display: block; }
.gauge .lbl { font-size: 13px; color: var(--muted); font-weight: 500; display: block; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14.5px; }
.facts div { min-width: 0; }
.facts b { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 2px; }
.checklist li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 4px 14px; padding: 12px 10px; border-radius: 10px; }
.checklist li:hover { background: var(--mist); }
.checklist .name { font-weight: 600; }
.checklist .detail { font-size: 14.5px; overflow-wrap: anywhere; }
.checklist .fix { color: var(--muted); font-size: 14px; margin-top: 2px; }
.checklist .fix code { color: var(--ink); background: var(--mist); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; line-height: 1.6; text-align: center; height: fit-content; color: var(--muted); background: var(--mist); }
.tag.pass, .tag.ok { color: var(--pass); background: color-mix(in srgb, var(--pass) 14%, transparent); }
.tag.warn, .tag.warning { color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.tag.fail, .tag.error, .tag.broken, .tag.blocked { color: var(--fail); background: color-mix(in srgb, var(--fail) 14%, transparent); }
.tag.info { color: var(--info); background: color-mix(in srgb, var(--info) 14%, transparent); }
h2.section { font: 700 20px var(--display); letter-spacing: -0.015em; margin: 28px 0 10px; }
h3.sub { font: 650 16px var(--display); margin: 18px 0 6px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 16px; background: var(--paper); }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: 14px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { font-weight: 600; font-size: 12.5px; color: var(--muted); background: var(--mist); white-space: nowrap; }
.table-wrap tr:last-child td { border-bottom: 0; }
td.wrap-any { overflow-wrap: anywhere; word-break: break-word; min-width: 180px; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
pre.out, .out-box { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 15px; margin: 0 0 12px; overflow: auto; max-height: 560px; font: 13.5px/1.55 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
pre.out.nowrap { white-space: pre; overflow-wrap: normal; }
.diff-view { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-md); overflow: auto; max-height: 560px; font: 13px/1.5 var(--mono); }
.diff-row { display: grid; grid-template-columns: 44px 44px 16px 1fr; white-space: pre-wrap; overflow-wrap: anywhere; }
.diff-row .diff-ln { color: var(--muted); text-align: right; padding: 1px 8px; user-select: none; }
.diff-row .diff-sign { text-align: center; user-select: none; font-weight: 700; }
.diff-row .diff-text { padding: 1px 8px 1px 0; }
.diff-row.add { background: color-mix(in srgb, var(--pass) 12%, transparent); }
.diff-row.add .diff-sign { color: var(--pass); }
.diff-row.del { background: color-mix(in srgb, var(--fail) 12%, transparent); }
.diff-row.del .diff-sign { color: var(--fail); }
.line-hit { background: var(--flame-soft); display: inline-block; width: 100%; }
mark { background: color-mix(in srgb, var(--flame) 28%, transparent); color: var(--ink); border-radius: 3px; padding: 0 1px; }
mark.alt { background: color-mix(in srgb, var(--accent-2) 35%, transparent); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 20px; }
.stat { padding: 14px 16px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
.stat .v { font: 800 26px/1.2 var(--display); font-variant-numeric: tabular-nums; }
.stat .k { font-size: 13px; color: var(--muted); margin-top: 2px; }
.bar { height: 10px; background: var(--mist); border-radius: 999px; overflow: hidden; display: flex; margin: 6px 0 4px; }
.bar span { display: block; height: 100%; }
.waterfall { display: grid; grid-template-columns: 130px minmax(0,1fr) 70px; gap: 6px 10px; align-items: center; font-size: 14px; margin-bottom: 18px; }
.waterfall .track { height: 14px; background: var(--mist); border-radius: 4px; position: relative; }
.waterfall .seg-bar { position: absolute; top: 0; bottom: 0; background: var(--muted); border-radius: 4px; }
.waterfall .seg-bar.hl { background: var(--grad); }
.dropzone { border: 1.5px dashed var(--line); border-radius: var(--r-lg); padding: 40px 18px; text-align: center; cursor: pointer; background: var(--mist); transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.over { border-color: var(--ink); }
.dropzone.over { background: var(--flame-soft); }
.dropzone strong { display: block; font: 650 18px var(--display); margin-bottom: 4px; }
.dropzone span { color: var(--muted); font-size: 14px; }
.file-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.file-list li { display: grid; grid-template-columns: 56px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r-md); background: var(--mist); }
.file-list img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--line); }
.file-list .thumb-ph { width: 56px; height: 56px; border-radius: 10px; background: var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.file-list .meta { font-size: 13.5px; color: var(--muted); }
.file-list .nm { font-weight: 600; overflow-wrap: anywhere; }
.saving { color: var(--pass); font-weight: 600; }
.saving.bad { color: var(--warn); }
.two { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
.serp { background: #fff; color: #202124; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; max-width: 600px; font-family: Arial, sans-serif; }
.serp .u { font-size: 13px; color: #4d5156; }
.serp .t { font-size: 19px; color: #1a0dab; margin: 2px 0; line-height: 1.3; }
.serp .d { font-size: 14px; color: #4d5156; }
.card-preview { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; max-width: 500px; background: var(--paper); }
.card-preview .img { aspect-ratio: 1.91/1; background: var(--mist) center/cover no-repeat; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.card-preview .body { padding: 12px 14px; }
.card-preview .dom { font-size: 12.5px; color: var(--muted); }
.card-preview .tt { font-weight: 600; margin: 2px 0; }
.card-preview .dd { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.verdict { font: 800 26px var(--display); letter-spacing: -0.02em; margin: 4px 0; }
.verdict.pass { color: var(--pass); } .verdict.fail { color: var(--fail); }
.lead-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; margin: 14px 0 22px; padding: 16px 18px; border-radius: var(--r-md); background: var(--flame-soft); border: 1px solid color-mix(in srgb, var(--flame) 30%, var(--line)); }
.lead-banner-text { font-size: 15px; line-height: 1.5; max-width: 54ch; }
.lead-banner-text strong { color: var(--flame-text); }
.robots-view { counter-reset: ln; }
.robots-view .ln { display: block; padding-left: 3.4em; position: relative; }
.robots-view .ln::before { counter-increment: ln; content: counter(ln); position: absolute; left: 0; width: 2.6em; text-align: right; color: var(--muted); }
.tree { font: 13.5px/1.6 var(--mono); }
.tree details { padding-left: 16px; }
.tree summary { cursor: pointer; margin-left: -16px; list-style: none; }
.tree summary::before { content: "▸ "; color: var(--muted); }
.tree details[open] > summary::before { content: "▾ "; }
.tree .leaf { padding-left: 0; }
.tree .k { color: var(--info); } .tree .s { color: var(--pass); } .tree .n { color: var(--warn); } .tree .b { color: var(--fail); } .tree .c { color: var(--muted); }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; z-index: 60; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.note { font-size: 14px; color: var(--muted); border-left: 3px solid var(--line); padding: 2px 0 2px 12px; margin: 12px 0; }
.empty { color: var(--muted); padding: 10px 0; }
details.raw summary { cursor: pointer; font-size: 14px; color: var(--flame-text); font-weight: 600; margin: 8px 0; }
.print-only { display: none; }
.verdict-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 22px 26px; border-radius: var(--r-lg); background: var(--mist); border: 1px solid var(--line); margin-bottom: 8px; }
.verdict-head .gauge svg { width: 84px; height: 84px; }
.verdict-head .gauge circle { stroke-width: 8; }
.verdict-head .gauge .num { font-size: 42px; }
.verdict-head .vtext { flex: 1; min-width: 220px; }
.verdict-head .vtext .label { font: 750 22px var(--display); letter-spacing: -0.01em; }
.verdict-head .vtext .sub { color: var(--muted); font-size: 14.5px; margin-top: 2px; overflow-wrap: anywhere; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 18px 0 26px; }
.cat-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.cat-card .nm { font-size: 13.5px; font-weight: 700; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: baseline; }
.cat-card .nm b { font: 800 19px var(--display); }
.cat-track { height: 7px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.cat-track span { display: block; height: 100%; border-radius: 999px; }
.cat-card .sub { font-size: 12px; color: var(--muted); margin-top: 7px; }
.priority { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.priority-item { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--paper); }
.priority-item .dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.priority-item .dot.fail { background: var(--fail); } .priority-item .dot.warn { background: var(--warn); }
.priority-item .body strong { display: block; font-size: 14.5px; }
.priority-item .body .d { font-size: 13.5px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.priority-item .grp { font-size: 11.5px; font-weight: 700; color: var(--muted); background: var(--mist); padding: 2px 8px; border-radius: 999px; flex-shrink: 0; }
.group-block { border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 12px; overflow: hidden; background: var(--paper); }
.group-block summary { list-style: none; cursor: pointer; padding: 15px 18px; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15.5px; }
.group-block summary::-webkit-details-marker { display: none; }
.group-block summary::before { content: "▸"; color: var(--muted); font-size: 13px; transition: transform .15s; }
.group-block[open] summary::before { transform: rotate(90deg); }
.group-block summary .ratio { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--muted); }
.group-block .checklist { padding: 0 10px 8px; margin: 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .head-nav, .head-phone span { display: none; }
  .head-phone { width: 42px; height: 42px; justify-content: center; border: 1.5px solid var(--line); border-radius: 10px; }
  .menu-toggle { display: inline-flex; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand, .foot-contact { grid-column: span 3; }
  .foot-contact { grid-column: span 3; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-grid, .tools-hero-grid, .why-grid, .faq-grid, .quote-grid, .prose-wrap, .contact-grid { grid-template-columns: 1fr; }
  .faq-grid .sec-title, .prose-aside { position: static; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head p { justify-self: start; }
  .svc { grid-template-columns: 1fr; gap: 18px; }
  .work-grid, .sample-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .steps::before { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .plan-featured { box-shadow: 6px 6px 0 var(--ink); }
  .s-grid { grid-template-columns: 1fr; }
  .foot-cta { grid-template-columns: 1fr; }
  .tools-shell { grid-template-columns: 1fr; gap: 20px; padding-top: 16px; }
  .rail { position: static; max-height: none; overflow: visible; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
  .rail-box > summary { pointer-events: auto; cursor: pointer; padding: 2px 0; color: var(--ink); display: flex; justify-content: space-between; }
  .rail-box > summary::after { content: "Show"; color: var(--flame-text); font-size: 14px; }
  .rail-box[open] > summary::after { content: "Hide"; }
  .rail-box[open] > summary { padding-bottom: 12px; }
  .rail-search kbd { display: none; }
  .two { grid-template-columns: 1fr; }
  .waterfall { grid-template-columns: 96px minmax(0,1fr) 60px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .head-actions .btn-flame { display: none; }
  .head-inner { gap: 12px; }
  .hero h1 { font-size: clamp(42px, 12.4vw, 60px); }
  .hero-actions .btn { width: 100%; }
  .hero-facts { gap: 18px; justify-content: space-between; }
  .hero-facts dd { font-size: 19px; }
  .audit { box-shadow: 6px 6px 0 var(--flame); }
  .audit-form { flex-direction: column; }
  .audit-rows li { grid-template-columns: 78px 1fr 52px; gap: 10px; }
  .svc-points { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .work-grid, .sample-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .ff-row { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand, .foot-contact { grid-column: span 2; }
  .foot-contact { grid-template-columns: 1fr; }
  .foot-cta-actions .btn { width: 100%; }
  .checklist li { grid-template-columns: 1fr; }
  .gauge .num { font-size: 28px; }
  .link-grid, .link-grid-wide { grid-template-columns: 1fr; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- print (tool reports) */
@media print {
  .site-head, .site-foot, .rail, .wa-float, .btn-row, .no-print, form.panel, .tool-about, .tool-pitch, .tool-privacy, .crumbs { display: none !important; }
  .print-only { display: block; }
  details > summary { list-style: none; }
  details > summary::before, .group-block summary::before, .faq summary::after { display: none !important; }
  details, .group-block, .panel, .stat, .cat-card, .priority-item, .verdict-head { break-inside: avoid; }
  .table-wrap, pre.out, .out-box, .diff-view { max-height: none !important; overflow: visible !important; }
  pre.out, .out-box { white-space: pre-wrap !important; }
  .msg.collapsed { -webkit-line-clamp: unset !important; }
  .site-head, .sample-banner, .skip { display: none !important; }
  .tool-head { margin-bottom: 8px; }
  .tool-main > *:not(.tool-root):not(#tool-root) { display: none !important; }
  .tools-shell { display: block; padding: 0; }
  body { background: #fff; color: #000; }
  .tag.pass { color: #15803D; background: none; } .tag.warn { color: #B45309; background: none; } .tag.fail { color: #DC2626; background: none; }
  .checklist li { break-inside: avoid; border-bottom: 1px solid #ddd; }
  a { color: inherit; text-decoration: none; }
}
.foot-cta[hidden] { display: none; }
.foot-cta[hidden] + .foot-grid { padding-top: 0; }
