@font-face {
  font-family: Archivo;
  src: url("/funnel/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #05060a;
  --panel: #0e1118;
  --paper: #ececeb;
  --muted: #a1a2a5;
  --line: #262832;
  --red: #e23b2e;
  --accent: #ff574a;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-family: Archivo, Arial, sans-serif;
  background: var(--ink);
  color: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body, figure, h1, h2, h3, p { margin: 0; }
body { line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--red); color: #fff; }
.shell { max-width: 1440px; padding-inline: var(--gutter); margin-inline: auto; }
.skip { position: fixed; top: .75rem; left: 1rem; z-index: 10; padding: .65rem 1rem; background: var(--paper); color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 3; background: #05060af5; border-bottom: 1px solid var(--line); }
.header-row, .footer-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-weight: 900; font-size: 1.65rem; letter-spacing: -.07em; white-space: nowrap; line-height: 1; }
.brand > span:first-child { color: var(--accent); }
.brand-by { display: block; margin-top: .32rem; font: 600 .56rem var(--mono); letter-spacing: .1em; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem clamp(.75rem, 2.3vw, 2.25rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .88rem; }
nav a:hover, .faq a:hover { color: var(--paper); }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 52px; padding: .7rem 1.25rem; border: 1px solid var(--accent); border-radius: 100px; background: var(--accent); color: var(--ink); font-weight: 800; font-size: .92rem; line-height: 1.25; }
.button:hover { background: #ff786d; border-color: #ff786d; }
.button span { font-size: 1.22rem; line-height: 1; }
.button.outline { background: transparent; border-color: #575762; color: var(--paper); }
.button.outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button.small { min-height: 44px; font-size: .8rem; padding-inline: .95rem; gap: .75rem; }

.hero { border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 83% 61%, #35120f 0, #100b10 36%, transparent 65%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.75rem, 5vw, 5rem); align-items: center; padding-block: clamp(3.25rem, 6.5vw, 6rem); }
.eyebrow, .micro, .demo-tag, .step-no, figcaption { font: 600 .72rem/1.55 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.eyebrow { display: flex; gap: .65rem; align-items: center; color: var(--muted); margin-bottom: 1.1rem; }
.dot { width: 7px; height: 7px; flex: 0 0 7px; background: var(--red); border-radius: 50%; box-shadow: 0 0 16px #e23b2e80; }
h1, h2 { font-weight: 900; line-height: .96; letter-spacing: -.055em; word-spacing: .08em; }
h1 { font-size: clamp(3rem, 7.05vw, 7.25rem); }
h1 span { color: var(--accent); }
h2 { font-size: clamp(2.65rem, 5.5vw, 5.45rem); }
.intro { max-width: 31rem; margin: 1.5rem 0 1.65rem; font-size: clamp(1rem, 1.65vw, 1.2rem); color: var(--muted); }
.micro { color: var(--muted); margin-top: .85rem; }

.demo { position: relative; display: grid; place-items: center; min-width: 0; isolation: isolate; }
.demo::before { content: ""; position: absolute; z-index: -1; inset: 4% 0; border: 1px solid #e23b2e28; background: repeating-linear-gradient(0deg, transparent 0 43px, #e23b2e16 43px 44px), repeating-linear-gradient(90deg, transparent 0 43px, #e23b2e16 43px 44px); mask-image: radial-gradient(ellipse, #000 40%, transparent 78%); }
.chat { width: min(100%, 352px); padding: .45rem; border: 1px solid #51464c; border-radius: 26px; background: #11131a; box-shadow: 0 22px 64px #000b; }
.chat-head { display: flex; align-items: center; gap: .65rem; background: #191c26; padding: .7rem; border-radius: 20px 20px 0 0; }
.chat-head small { display: block; color: #aab2c4; font-size: .72rem; }
.avatar { display: grid; grid-auto-flow: column; place-content: center; border-radius: 50%; width: 34px; height: 34px; background: #07090d; font-size: .75rem; font-weight: 900; }
.avatar span { color: var(--accent); }
.demo-tag { margin-left: auto; color: #aab2c4; font-size: .61rem; }
.chat-body { display: grid; gap: .65rem; padding: .85rem; border-radius: 0 0 20px 20px; background: radial-gradient(circle at 80% 45%, #1b2637, #0d121b 70%); }
.bubble { padding: .58rem .65rem; border-radius: 11px; font-size: .81rem; line-height: 1.4; }
.sent { justify-self: end; margin-left: 1.5rem; background: #304449; border-bottom-right-radius: 2px; }
.received { justify-self: start; width: min(100%, 239px); background: #202c3c; border-bottom-left-radius: 2px; }
.received img { width: 100%; margin-top: .48rem; border-radius: 6px; }
.chat-options { display: flex; gap: .35rem; margin-top: .43rem; color: #c3d8f6; }
.chat-options span { flex: 1; background: #101c2a; text-align: center; padding: .28rem; border-radius: 5px; }

.section { padding-block: clamp(3.25rem, 7vw, 7rem); }
.section-head > p:last-child:not(.eyebrow) { color: var(--muted); max-width: 35rem; margin-top: 1.1rem; }
.plans, .example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.plans { margin-top: 2rem; }
.plan { display: flex; flex-direction: column; align-items: start; background: var(--panel); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2.2rem); }
.plan.featured { border-color: var(--red); background: linear-gradient(145deg, #241219, var(--panel) 65%); }
.plan h3, .steps h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.1; letter-spacing: -.035em; }
.plan-lead { margin-top: .45rem; color: var(--muted); }
.price { display: flex; align-items: end; gap: .8rem; padding-block: 1.4rem 1.15rem; margin-top: auto; width: 100%; border-bottom: 1px solid var(--line); }
.price strong { font-size: clamp(2.65rem, 6vw, 4.4rem); line-height: .95; letter-spacing: -.07em; white-space: nowrap; }
.price span { font-size: .8rem; color: var(--muted); line-height: 1.25; }
.plan ul { list-style: none; padding: 0; margin: 1.15rem 0 1.4rem; }
.plan li { display: flex; align-items: baseline; gap: .65rem; margin-bottom: .45rem; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.plan .button { width: 100%; }
.fine-print { margin-top: 1rem; max-width: 63rem; color: var(--muted); font-size: .87rem; }

.band { background: #090b10; border-block: 1px solid var(--line); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 2rem 0 0; border-block: 1px solid var(--line); }
.steps li { padding: 1.55rem 1.35rem; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.step-no { color: var(--accent); display: block; margin-bottom: 1.1rem; }
.steps p { margin-top: .65rem; color: var(--muted); }
.examples { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.example-grid figure { padding: .65rem; border: 1px solid var(--line); background: var(--panel); }
.example-grid img { width: 100%; }
figcaption { color: var(--muted); padding-top: .55rem; }
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 5vw, 5rem); }
.faq a { text-decoration: underline; text-underline-offset: .25em; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1rem 0; cursor: pointer; list-style: none; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding: 0 1.8rem 1rem 0; }
.closing { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; }
.site-footer { background: #090b10; border-top: 1px solid var(--line); }
.footer-row { min-height: 92px; }

@media (max-width: 820px) {
  .header-row > nav { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 1.25rem; }
  .examples, .faq { grid-template-columns: 1fr; }
  .example-grid { max-width: 660px; }
}

@media (max-width: 600px) {
  .hero-grid, .plans, .steps { grid-template-columns: 1fr; }
  .hero-grid { gap: 2rem; padding-top: 2.75rem; }
  h1 { font-size: clamp(2.7rem, 11.2vw, 4.25rem); }
  .chat { width: min(100%, 320px); }
  .steps li { padding-inline: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .closing, .footer-row { align-items: start; flex-direction: column; }
  .footer-row { padding-block: 1.1rem .45rem; gap: .45rem; }
  .example-grid { gap: .55rem; }
  .example-grid figure { padding: .35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
