:root {
  --ink: var(--tf-ink-950);
  --ink-body: var(--tf-ink-800);
  --ink-muted: var(--tf-ink-600);
  --ink-faint: var(--tf-ink-500);
  --paper: #FFFFFF;
  --paper-alt: var(--tf-ink-50);
  --line: var(--tf-ink-100);
  --line-strong: var(--tf-ink-200);

  --red: var(--tf-red-500);
  --red-action: var(--tf-red-600);
  --red-action-hover: var(--tf-red-700);

  --night: #0B0D11;
  --night-raised: var(--tf-ink-900);
  --night-line: var(--tf-ink-700);
  --night-text: var(--tf-ink-100);
  --night-muted: var(--tf-ink-300);

  --sev-critical: #F04A3E;
  --sev-high: #E3A43B;
  --sev-info: #3FB6A1;
  --ok: var(--tf-green);
  --focus: var(--tf-blue);

  --wrap: 1200px;
  --gutter: 24px;
  --radius: 10px;
  --shadow-shot: 0 1px 0 rgba(255,255,255,.04) inset, 0 28px 60px -24px rgba(15,17,21,.45), 0 8px 18px -10px rgba(15,17,21,.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-body);
  font: 400 1.0625rem/1.6 var(--tf-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 900; letter-spacing: -0.02em; }
p { margin: 0; }
code, .mono { font-family: var(--tf-mono); font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 112px 0; }
.section--alt { background: var(--paper-alt); }
.section--night { background: var(--night); color: var(--night-text); }
.section--night h2, .section--night h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.75rem/1 var(--tf-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 20px;
}
.section--night .eyebrow { color: var(--night-muted); }
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
.section-head .lead { margin-top: 20px; }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--ink-muted); max-width: 64ch; }
.section--night .lead { color: var(--night-muted); }

.hero { padding: 80px 0 0; overflow: hidden; position: relative; }
.hero h1 { font-size: clamp(2.4rem, 4.3vw, 3.75rem); line-height: 1.04; letter-spacing: -0.035em; }
.hero h1 span { display: block; color: var(--ink-faint); }
.hero .lead { margin-top: 28px; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 32px 0 0; padding: 0; list-style: none; font: 400 .875rem/1.4 var(--tf-mono); color: var(--ink-muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.hero .hero-shot { margin-top: 56px; position: relative; }
.hero-shot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(to bottom, transparent, var(--paper)); pointer-events: none; }

.shot { margin: 0; }
.shot-frame { display: block; background: var(--night); border: 1px solid #1B1F27; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-shot); text-decoration: none; }
.shot-bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-bottom: 1px solid #1B1F27; background: #0F1217; font: 400 .75rem/1 var(--tf-mono); color: var(--tf-ink-400); }
.shot-bar::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sev-info); }
.shot-bar .zoom { margin-left: auto; color: var(--tf-ink-400); }
.shot-frame img { width: 100%; }
a.shot-frame { cursor: zoom-in; }
a.shot-frame:hover .zoom { color: #fff; }
.shot figcaption { margin-top: 14px; font-size: .9375rem; color: var(--ink-faint); }
.section--night .shot figcaption { color: var(--night-muted); }
.shot figcaption b { color: var(--ink); font-weight: 700; }
.section--night .shot figcaption b { color: #fff; }

.vendors { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.vendors .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; font-size: .9375rem; color: var(--ink-muted); }
.vendors strong { color: var(--ink); }
.vendor-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.vendor-list li { font: 400 .8125rem/1 var(--tf-mono); padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-faint); }
.vendor-list li.live { color: var(--ink); border-color: var(--ink); }
.vendor-list li.live::after { content: " · live"; color: var(--ok); }

.problems { border-top: 1px solid var(--line-strong); }
.problem { display: grid; grid-template-columns: 5fr 6fr 3fr; gap: 40px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.problem h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; }
.problem .pain { margin-top: 10px; color: var(--ink-muted); }
.problem .fix { color: var(--ink-body); }
.problem .fix::before { content: "What ThisFirewall does"; display: block; font: 600 .6875rem/1 var(--tf-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.problem .where { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.problem .where a { font: 400 .8125rem/1.3 var(--tf-mono); color: var(--ink-muted); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.problem .where a:hover { color: var(--ink); border-color: var(--ink); }

.soc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 86px; top: 10px; bottom: 10px; width: 1px; background: var(--night-line); }
.tl-step { display: grid; grid-template-columns: 72px 1fr; gap: 0 30px; position: relative; padding-bottom: 34px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-time { font: 600 .875rem/1.5 var(--tf-mono); color: var(--night-muted); text-align: right; padding-top: 1px; font-variant-numeric: tabular-nums; }
.tl-step::after { content: ""; position: absolute; left: 82px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--night); border: 2px solid var(--sev-info); }
.tl-step[data-sev="high"]::after { border-color: var(--sev-high); }
.tl-step[data-sev="critical"]::after { border-color: var(--sev-critical); background: var(--sev-critical); }
.tl-step[data-sev="people"]::after { border-color: #fff; background: #fff; }
.tl-body h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; }
.tl-body p { margin-top: 6px; color: var(--night-muted); font-size: 1rem; }
.tl-log { display: block; margin-top: 10px; padding: 8px 10px; border-radius: 6px; background: var(--night-raised); border: 1px solid #232833; font: 400 .78rem/1.5 var(--tf-mono); color: var(--tf-ink-200); overflow-wrap: anywhere; }
.tl-log .k { color: var(--tf-ink-400); }
.tl-log .crit { color: var(--sev-critical); font-weight: 600; }
.tl-log .high { color: var(--sev-high); }
.tl-note { margin-top: 28px; font: 400 .8125rem/1.5 var(--tf-mono); color: var(--tf-ink-400); }
.soc-shots { display: grid; gap: 28px; position: sticky; top: 96px; }
.soc-shots .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }

.soc-offer { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 88px; }
.offer { border: 1px solid var(--night-line); border-radius: var(--radius); padding: 32px; background: var(--night-raised); }
.offer h3 { font-size: 1.375rem; }
.offer .tag { font: 600 .6875rem/1 var(--tf-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--night-muted); margin-bottom: 14px; display: block; }
.offer p { color: var(--night-muted); margin-top: 12px; }
.offer ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.offer li { position: relative; padding-left: 22px; color: var(--night-text); font-size: 1rem; }
.offer li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 2px; background: var(--sev-info); }
.offer--soc { background: transparent; border-style: dashed; }
.offer--soc .btn { margin-top: 24px; }

.tour-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: -24px 0 56px; padding: 0; list-style: none; }
.tour-nav a { display: inline-block; font: 600 .8125rem/1 var(--tf-mono); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-muted); text-decoration: none; background: var(--paper); }
.tour-nav a:hover { color: var(--ink); border-color: var(--ink); }
.chapter { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.chapter:first-of-type { border-top: 0; padding-top: 0; }
.chapter--flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.chapter--flip .chapter-text { order: 2; }
.chapter-text h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.chapter-text p { margin-top: 16px; color: var(--ink-muted); }
.chapter-kicker { display: block; font: 600 .75rem/1 var(--tf-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.also { margin-top: 22px; font-size: .9375rem; color: var(--ink-faint); }
.also span { display: block; font: 600 .6875rem/1 var(--tf-mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.also code { font-size: .8125rem; color: var(--ink-muted); }
.chapter-shots { display: grid; gap: 20px; }
.chapter-shots .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: "Step " counter(step); display: block; font: 600 .75rem/1 var(--tf-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.steps h3 { font-size: 1.25rem; }
.steps p { margin-top: 10px; color: var(--ink-muted); font-size: 1rem; }
.steps code { font-size: .875rem; color: var(--ink); background: var(--paper-alt); padding: 1px 5px; border-radius: 4px; }
.layers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.layer { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.layer h3 { font-size: 1.125rem; display: flex; align-items: center; gap: 10px; }
.layer .tier { font: 600 .6875rem/1 var(--tf-mono); letter-spacing: .1em; padding: 4px 7px; border-radius: 4px; border: 1px solid var(--line-strong); color: var(--ink-muted); }
.layer p { margin-top: 10px; color: var(--ink-muted); font-size: 1rem; }
.hosting { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--line-strong); }
.hosting > div { padding: 28px 28px 0 0; }
.hosting h3 { font-size: 1.125rem; }
.hosting p { margin-top: 8px; color: var(--ink-muted); font-size: 1rem; }

.platform-fee { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 32px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); }
.platform-fee h3 { font-size: 1.375rem; }
.platform-fee p { margin-top: 8px; color: var(--ink-muted); max-width: 60ch; }
.fee-tag { display: block; font: 600 .75rem/1 var(--tf-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.fee-price { text-align: right; }
.fee-price .price { margin-top: 0; justify-content: flex-end; color: var(--ink); }
.fee-plus { display: flex; align-items: center; gap: 16px; margin: 24px 0; font: 600 .75rem/1 var(--tf-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.fee-plus::before, .fee-plus::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.examples { list-style: none; padding: 0 !important; margin: 12px 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.examples li { display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.examples span { font: 400 .8125rem/1.3 var(--tf-mono); color: var(--ink-faint); }
.examples b { color: var(--ink); font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tier-card { display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); position: relative; }
.tier-card--popular { border: 2px solid var(--ink); padding: 27px 23px; }
.tier-card .badge { position: absolute; top: -12px; left: 22px; background: var(--ink); color: #fff; font: 600 .6875rem/1 var(--tf-mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 4px; }
.tier-card h3 { font-size: 1.25rem; }
.tier-card .range { font: 400 .875rem/1.4 var(--tf-mono); color: var(--ink-muted); margin-top: 4px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-top: 22px; color: var(--ink); }
.price .cur { font-weight: 700; font-size: 1.125rem; }
.price .amt { font-weight: 900; font-size: 3rem; line-height: 1; letter-spacing: -0.03em; }
.price-unit { font-size: .875rem; color: var(--ink-faint); margin-top: 6px; }
.tier-card .fit { margin-top: 18px; color: var(--ink-muted); font-size: 1rem; flex: 1; }
.tier-card .btn { margin-top: 24px; width: 100%; }
.pricing-notes { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.pricing-notes h3 { font-size: 1rem; margin-bottom: 10px; }
.pricing-notes p, .pricing-notes li { color: var(--ink-muted); font-size: 1rem; }
.pricing-notes ul { margin: 0; padding-left: 18px; }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.trust-item { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item h3 { font-size: 1.125rem; }
.trust-item p { margin-top: 8px; color: var(--ink-muted); font-size: 1rem; }
.trust-more { margin-top: 28px; }
.trust-more a { font-weight: 700; color: var(--ink); }

.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.faq-cols h3 { font: 600 .75rem/1 var(--tf-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-weight: 700; color: var(--ink); font-size: 1.0625rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.5rem/1 var(--tf-mono); color: var(--ink-faint); }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 22px; color: var(--ink-muted); font-size: 1rem; max-width: 62ch; }

.demo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.demo-title { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
.demo-points { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.demo-points li { position: relative; padding-left: 26px; color: var(--night-text); }
.demo-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--sev-info); border-bottom: 2px solid var(--sev-info); transform: rotate(-45deg); }
.contact-line { margin-top: 28px; font-size: .9375rem; color: var(--night-muted); }
.contact-line a { color: #fff; }
.exposure { margin-top: 40px; padding: 24px; border: 1px dashed var(--night-line); border-radius: var(--radius); }
.exposure h3 { font-size: 1.125rem; }
.exposure p { margin-top: 8px; color: var(--night-muted); font-size: 1rem; }
.exposure .btn { margin-top: 18px; }

.form-card { background: var(--paper); color: var(--ink-body); border-radius: 14px; padding: 36px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); }
.form-card h3 { font-size: 1.375rem; margin-bottom: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field label { font-weight: 700; font-size: .9375rem; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--ink-faint); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--tf-sans); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 8px; padding: 11px 12px; min-height: 46px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(25,118,210,.18); }
.field input[aria-invalid="true"] { border-color: var(--red-action); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-msg { margin-top: 14px; font-size: .9375rem; min-height: 1.4em; }
.form-msg.is-ok { color: var(--ok); font-weight: 700; }
.form-msg.is-err { color: var(--red-action); font-weight: 700; }
.form-fine { margin-top: 14px; font-size: .8125rem; color: var(--ink-faint); }
.form-fine a { color: var(--ink-muted); }

.viewer { border: 0; padding: 0; background: transparent; max-width: min(1600px, 96vw); width: 96vw; }
.viewer::backdrop { background: rgba(6,8,11,.86); }
.viewer img { width: 100%; border-radius: 8px; }
.viewer-close { position: absolute; top: -48px; right: 0; background: #fff; color: var(--ink); border: 0; border-radius: 8px; height: 38px; padding: 0 14px; font: 700 .9375rem/1 var(--tf-sans); cursor: pointer; }
.viewer-cap { color: #fff; margin-top: 12px; font-size: .9375rem; text-align: center; }

.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1080px) {
  .problem { grid-template-columns: 1fr 1fr; }
  .problem .where { grid-column: 2; flex-direction: row; flex-wrap: wrap; gap: 8px 14px; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .soc-grid { grid-template-columns: 1fr; gap: 56px; }
  .soc-shots { position: static; }
}
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .chapter, .chapter--flip { grid-template-columns: 1fr; gap: 32px; }
  .chapter--flip .chapter-text { order: 0; }
  .steps, .hosting, .trust-grid { grid-template-columns: 1fr; }
  .hosting > div { padding-right: 0; }
  .layers, .soc-offer, .faq-cols, .demo-grid, .pricing-notes { grid-template-columns: 1fr; }
  .faq-cols { gap: 24px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 56px; }
  .hero .hero-shot { margin-top: 40px; }
  .problem { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .problem .where { grid-column: auto; }
  .tiers { grid-template-columns: 1fr; }
  .platform-fee { grid-template-columns: 1fr; padding: 24px; }
  .fee-price { text-align: left; }
  .fee-price .price { justify-content: flex-start; }
  .examples { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .soc-shots .pair, .chapter-shots .pair { grid-template-columns: 1fr; }
  .timeline::before { left: 4px; }
  .tl-step { grid-template-columns: 1fr; gap: 4px; padding-left: 28px; }
  .tl-step::after { left: 0; top: 5px; }
  .tl-time { text-align: left; font-size: .8125rem; }
  .offer { padding: 24px; }
  .shot-bar { font-size: .6875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .shot-bar .zoom { display: none; }
}
