/* Hold the Fort. A cinematic dusk hero over a clean, light product: thin headings, soft cards, one blue. */
@font-face { font-family: "Geist"; src: url("/fonts/geist/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: #ffffff; --alt: #f5f5f7; --card: #ffffff; --ink: #111113; --soft: #6b6f76; --line: #e6e7ea;
  --accent: #2f5bff; --accent-deep: #1f44d6; --accent-soft: #eef2ff; --on-accent: #ffffff;
  --good: #0a7d4f; --good-soft: #e6f6ee; --warn: #8a5a00; --warn-soft: #fff3dc; --bad: #b3261e; --bad-soft: #fde9e7;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 10px 30px rgba(16, 24, 40, 0.07);
  --font: "Geist", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c0f; --alt: #101217; --card: #15171c; --ink: #f2f3f5; --soft: #9aa0aa; --line: #262a32;
    --accent: #5b7dff; --accent-deep: #4467f0; --accent-soft: #1a2140; --on-accent: #ffffff;
    --good: #5fd0a0; --good-soft: #12281f; --warn: #e3b25a; --warn-soft: #2b2212; --bad: #f08a80; --bad-soft: #2e1614;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 500; line-height: 1.12; margin: 0 0 8px; letter-spacing: -0.02em; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.15rem; }
p { margin: 0 0 12px; }
.soft { color: var(--soft); }
.small { font-size: 0.88rem; }
.gap { margin-top: 14px; }
.lead { color: var(--soft); margin: 0 0 24px; font-size: 1.05rem; max-width: 46rem; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }

/* ---- buttons, tags, forms */
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 0.98rem/1.2 var(--font); padding: 12px 18px; cursor: pointer;
  color: var(--on-accent); background: linear-gradient(180deg, var(--accent), var(--accent-deep)); border: 0; border-radius: 10px; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 16px color-mix(in srgb, var(--accent) 30%, transparent);
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}
button:hover, .button:hover { text-decoration: none; filter: brightness(1.06); transform: translateY(-1px); }
button:active, .button:active { transform: translateY(0); filter: brightness(0.97); }
button.plain, .button.plain { background: var(--alt); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
button.danger { background: var(--card); color: var(--bad); box-shadow: inset 0 0 0 1px var(--line); }
button.link { all: unset; cursor: pointer; color: var(--accent); }
button.link:hover { text-decoration: underline; }
button.link:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }

.tag { display: inline-block; font: 600 0.72rem/1.3 var(--font); padding: 3px 8px; border-radius: 6px; white-space: nowrap; vertical-align: 2px; color: var(--soft); background: var(--alt); }
.tag.good { color: var(--good); background: var(--good-soft); }
.tag.bad { color: var(--bad); background: var(--bad-soft); }
.tag.warn { color: var(--warn); background: var(--warn-soft); }

form.stack label, .field { display: block; margin: 0 0 16px; }
label > span, .field > span { display: block; font-weight: 500; margin: 0 0 6px; }
label small { display: block; color: var(--soft); font-weight: 400; margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=time], input[type=number], select, textarea {
  width: 100%; padding: 11px 12px; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 10px;
}
input:focus, select:focus, textarea:focus { outline: 3px solid color-mix(in srgb, var(--accent) 30%, transparent); border-color: var(--accent); }
input[type=time], input.short, select.short { width: auto; }
input[type=checkbox] { width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }
textarea { min-height: 7rem; resize: vertical; }
.row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.hours td, .lines td { padding: 4px 10px 4px 0; border: 0; }
code, .mono { font-family: var(--mono); font-size: 0.86rem; overflow-wrap: anywhere; }
pre { background: var(--alt); border: 1px solid var(--line); border-radius: 10px; padding: 12px; overflow-x: auto; margin: 0 0 12px; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Voice picker: one row per voice, with its sample. */
.voices { display: grid; gap: 10px; }
form.stack label.voice { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; margin: 0; }
.voice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.voice div { flex: 1 1 9rem; line-height: 1.3; }
.voice div b { display: block; font-weight: 600; }
.voice div small { margin: 0; }
.voice audio { flex: 0 1 16rem; width: 100%; max-width: 16rem; height: 34px; }

/* ---- surfaces */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin: 0 0 20px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin: 0 0 20px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column-reverse; gap: 2px; }
.stat b { display: block; font-size: 2.1rem; font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; }
.stat b span { font-size: 1rem; font-weight: 400; color: var(--soft); letter-spacing: 0; }
.stat > span { color: var(--soft); font-size: 0.88rem; }
.stat.hot b { color: var(--accent); }

.notice { border-radius: 12px; background: var(--good-soft); color: var(--good); padding: 12px 16px; margin: 0 0 20px; font-weight: 500; }
.notice.bad { background: var(--bad-soft); color: var(--bad); }
.notice.warn { background: var(--warn-soft); color: var(--warn); }

.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.8rem; font-weight: 500; color: var(--soft); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

ol.steps { list-style: none; padding: 0; margin: 0; }
ol.steps li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
ol.steps li:last-child { border-bottom: 0; }
ol.steps .mark { flex: 0 0 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--alt); color: var(--soft); text-align: center; font: 600 0.85rem/1.7rem var(--font); }
ol.steps li.done .mark { background: var(--accent); color: var(--on-accent); }
ul.plain { padding-left: 1.1rem; margin: 0 0 12px; }

.transcript p { margin: 0 0 12px; }
.transcript b { display: block; font-size: 0.78rem; font-weight: 600; color: var(--accent); }

/* ---- signed-in layout */
.shell { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); min-height: 100vh; background: var(--alt); }
.side { background: var(--card); border-right: 1px solid var(--line); padding: 22px 12px 18px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .brand { padding: 0 10px; }
.side .client { padding: 8px 10px 16px; color: var(--soft); font-size: 0.9rem; }
.brand { display: inline-flex; gap: 9px; align-items: center; font-weight: 600; font-size: 1.08rem; letter-spacing: -0.02em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand svg { width: 24px; height: 24px; flex: none; color: var(--accent); }
nav.main { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; flex: 1; }
nav.main a { color: var(--soft); padding: 9px 10px; border-radius: 9px; font-weight: 500; }
nav.main a:hover { color: var(--ink); background: var(--alt); text-decoration: none; }
nav.main a.on { color: var(--accent); background: var(--accent-soft); }
.side .who { padding: 14px 10px 0; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--soft); display: grid; gap: 6px; overflow-wrap: anywhere; }
.shell > main { padding: 36px clamp(16px, 4vw, 48px) 72px; max-width: 70rem; width: 100%; }

@media (max-width: 860px) {
  .shell { display: block; }
  .side { position: static; height: auto; padding: 14px 8px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  nav.main { flex-direction: row; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; }
  nav.main::-webkit-scrollbar { display: none; }
  nav.main a { white-space: nowrap; }
  .side .who { display: flex; justify-content: space-between; padding: 8px 10px; }
  .shell > main { padding: 24px 16px 56px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* ---- public pages */
header.top .in { max-width: 72rem; margin: 0 auto; padding: 16px 20px; display: flex; gap: 8px 28px; align-items: center; justify-content: space-between; }
main.narrow { max-width: 28rem; margin: 0 auto; padding: 40px 20px 72px; }
main.narrow h1 { font-weight: 400; font-size: 2.2rem; letter-spacing: -0.035em; }
main.public { overflow: hidden; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 20px; }

/* The hero: a sea fort at dusk, drawn in SVG, with the page's opening words over it. */
.hero { position: relative; min-height: min(94vh, 900px); color: #fff; display: flex; flex-direction: column; overflow: hidden; background: #0b1026; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 24, 0.5) 0%, rgba(8, 10, 24, 0) 30%, rgba(8, 10, 24, 0) 45%, rgba(8, 10, 24, 0.72) 100%); pointer-events: none; }
.float { position: relative; z-index: 2; margin: 18px auto 0; width: min(72rem, calc(100% - 32px)); display: flex; align-items: center; gap: 24px; padding: 10px 12px 10px 16px;
  background: rgba(14, 16, 26, 0.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; }
.float .brand { color: #fff; }
.float .brand svg { color: #fff; }
.float nav { display: flex; gap: 22px; flex: 1; }
.float nav a { color: rgba(255, 255, 255, 0.82); font-weight: 500; font-size: 0.95rem; }
.float nav a:hover { color: #fff; text-decoration: none; }
.float .button { background: #fff; color: #111113; box-shadow: none; padding: 9px 14px; }
.float .ghost { color: rgba(255, 255, 255, 0.9); font-weight: 500; font-size: 0.95rem; }
.hero .words { position: relative; z-index: 2; margin-top: auto; width: min(72rem, calc(100% - 40px)); margin-left: auto; margin-right: auto; padding: 48px 0 56px; }
.hero h1 { font-size: clamp(2.7rem, 7.2vw, 5.4rem); font-weight: 400; line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 20px; max-width: 13ch; }
.hero .sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, 0.86); max-width: 34rem; margin: 0 0 28px; }
.start { display: flex; gap: 8px; background: #fff; border-radius: 14px; padding: 8px; max-width: 32rem; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.start input[type=text] { border: 0; background: transparent; color: #111113; padding: 10px 12px; min-width: 0; }
.start input[type=text]:focus { outline: none; }
.start button { white-space: nowrap; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; }
.facts li::before { content: "✓"; margin-right: 7px; color: #9fb4ff; }

/* Movement in the scene. */
@keyframes beacon { 0%, 100% { opacity: 0.55; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.95; } }
@keyframes drift { from { transform: translateX(-4%); } to { transform: translateX(4%); } }
@keyframes shimmer { 0%, 100% { opacity: 0.35; transform: scaleX(0.92); } 50% { opacity: 0.75; transform: scaleX(1.05); } }
.scene .glow { transform-box: fill-box; transform-origin: center; animation: beacon 3.6s ease-in-out infinite; }
.scene .star { animation: twinkle 4s ease-in-out infinite; }
.scene .star:nth-child(2n) { animation-delay: 1.3s; }
.scene .star:nth-child(3n) { animation-delay: 2.4s; }
.scene .cloud { animation: drift 46s ease-in-out infinite alternate; }
.scene .ripple { transform-box: fill-box; transform-origin: center; animation: shimmer 5s ease-in-out infinite; }
.scene .ripple:nth-child(2n) { animation-delay: 1.6s; }

section.band { padding: clamp(64px, 9vw, 112px) 0; }
section.band.alt { background: var(--alt); }
.band h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 400; letter-spacing: -0.035em; margin: 0 0 12px; max-width: 20ch; }
.band .lead { font-size: 1.12rem; margin-bottom: 40px; max-width: 38rem; }
.eyebrow { font-size: 0.85rem; font-weight: 600; color: var(--accent); margin: 0 0 14px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }

.cards3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.cards3 .card { margin: 0; padding: 26px; }
.cards3 h3 { font-size: 1.2rem; font-weight: 500; margin: 0 0 6px; }
.cards3 p { color: var(--soft); margin: 0; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 0 18px; }
.icon svg { width: 24px; height: 24px; }
.num { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 600; margin: 0 0 18px; }

/* A call, shown the way the product shows it. */
.call { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 70px rgba(16, 24, 40, 0.14); padding: 20px; max-width: 30rem; margin-left: auto; }
.call header { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.call .who { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.call .who svg { width: 20px; height: 20px; }
.call header div { flex: 1; line-height: 1.3; }
.call header small { color: var(--soft); display: block; }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.wave i { display: block; width: 3px; border-radius: 2px; background: var(--accent); height: 30%; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: 0.12s; } .wave i:nth-child(3) { animation-delay: 0.24s; } .wave i:nth-child(4) { animation-delay: 0.36s; }
.wave i:nth-child(5) { animation-delay: 0.48s; } .wave i:nth-child(6) { animation-delay: 0.6s; } .wave i:nth-child(7) { animation-delay: 0.72s; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.say { max-width: 85%; padding: 10px 14px; border-radius: 14px; margin: 0 0 10px; background: var(--alt); width: fit-content; }
.say.agent { margin-left: auto; background: var(--accent); color: #fff; }
.call .lines { min-height: 22rem; max-height: 30rem; overflow-y: auto; scrollbar-width: thin; padding-right: 2px; }
/* What the agent is doing behind the conversation: a quiet line, or a slip showing what it made. */
.step { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin: 2px 0 12px; padding-left: 12px; border-left: 2px solid var(--line); color: var(--soft); font-size: 0.86rem; animation: pop 260ms ease-out both; }
.step b { color: var(--ink); font-weight: 600; }
.step b::before { content: "⚙ "; color: var(--accent); }
.step.act { display: block; }
.slip { margin-top: 8px; padding: 12px 14px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; background: var(--alt); color: var(--ink); display: grid; gap: 4px; }
.slip strong { font-weight: 600; }
.slip span { display: flex; gap: 10px; }
.slip i { font-style: normal; color: var(--soft); flex: 0 0 3.4rem; }
.step.act.done .slip { border-left-color: var(--good); background: var(--good-soft); }
.step.act.done b::before { content: "✓ "; color: var(--good); }
.say.typing { color: var(--soft); letter-spacing: 0.2em; }
.say.agent.typing { color: rgba(255, 255, 255, 0.8); }
.wave i { animation-play-state: paused; }
.wave.on i { animation-play-state: running; }
.say { animation: pop 220ms ease-out both; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(0.98); } to { opacity: 1; transform: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.chips label { margin: 0; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: block; padding: 8px 13px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); font-weight: 500; }
.chips input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.chips input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.demo-controls audio { width: 100%; max-width: 20rem; height: 36px; display: block; margin: 0 0 18px; }
/* On the landing page the call is started from our own button, so the voice widget's floating one is hidden. */
body.landing #vapi-support-btn, body.landing .vapi-btn { display: none !important; }
.call footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--soft); font-size: 0.88rem; }

.panel { border-radius: 26px; padding: clamp(24px, 4vw, 44px); background: linear-gradient(180deg, #eef3ff, #dbe5ff); color: #111113; }
@media (prefers-color-scheme: dark) { .panel { background: linear-gradient(180deg, #161c33, #10152a); color: var(--ink); } }
.checks { list-style: none; margin: 0; padding: 22px; background: var(--card); color: var(--ink); border-radius: 18px; box-shadow: var(--shadow); }
.checks li { display: flex; gap: 12px; align-items: center; padding: 9px 0; }
.checks li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; }
.checks .result { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--good); font-weight: 600; }
.checks .result::before { background: var(--good); }

.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-weight: 500; box-shadow: var(--shadow); }
.tile i { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font: 700 0.8rem var(--font); }

.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.plans .card { margin: 0; padding: 28px; border-radius: 20px; }
.plans .card.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plans .name { font-weight: 500; color: var(--soft); margin: 0; }
.plans .price { font-size: 3.2rem; font-weight: 400; letter-spacing: -0.04em; line-height: 1.1; margin: 4px 0 16px; }
.plans .price span { font-size: 1rem; letter-spacing: 0; color: var(--soft); }
.plans ul { list-style: none; padding: 0; margin: 0 0 22px; }
.plans li { padding: 7px 0 7px 26px; position: relative; }
.plans li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plans .button { width: 100%; }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 500; font-size: 1.08rem; }
details p { margin: 10px 0 0; color: var(--soft); max-width: 46rem; }
details .stack { margin-top: 14px; }

.closing { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 7vw, 88px) clamp(24px, 5vw, 64px); color: #fff; margin: 0 0 clamp(40px, 6vw, 72px);
  background: radial-gradient(120% 140% at 80% 110%, #f0895a 0%, #7a4a86 32%, #1b2a5a 62%, #0b1026 100%); }
.closing h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 400; letter-spacing: -0.04em; max-width: 14ch; margin: 0 0 24px; }
.closing .button { background: #fff; color: #111113; box-shadow: none; }

/* Integration catalogue (signed in) */
.catalogue { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); margin: 0 0 28px; align-items: start; }
.catalogue .card { margin: 0; }
.catalogue .card.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.catalogue h2 { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.catalogue details { border: 0; border-top: 1px solid var(--line); margin-top: 14px; padding: 12px 0 0; }
.catalogue details summary { font-size: 0.98rem; color: var(--accent); }
h2.section { font-size: 0.85rem; font-weight: 600; color: var(--soft); margin: 32px 0 14px; }

footer.site { border-top: 1px solid var(--line); color: var(--soft); }
footer.site .in { max-width: 72rem; margin: 0 auto; padding: 28px 20px 36px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rise.d1 { animation-delay: 120ms; }
.rise.d2 { animation-delay: 240ms; }
.rise.d3 { animation-delay: 360ms; }
@media (prefers-reduced-motion: reduce) {
  .rise, .wave i, .scene .glow, .scene .star, .scene .cloud, .scene .ripple { animation: none; }
  button, .button { transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 860px) {
  .float nav, .float .ghost { display: none; }
  .float { justify-content: space-between; }
  .split { grid-template-columns: 1fr; }
  .call { margin: 0; }
  .start { flex-direction: column; }
  .hero .words { padding-bottom: 36px; }
  /* On a narrow screen the words sit over the fort, so the scene is dimmed further behind them. */
  .hero::after { background: linear-gradient(180deg, rgba(8, 10, 24, 0.5) 0%, rgba(8, 10, 24, 0.05) 26%, rgba(8, 10, 24, 0.55) 48%, rgba(8, 10, 24, 0.86) 100%); }
}
