:root {
  --color-background: #f4f6f9;
  --color-surface: #ffffff;
  --color-ink: #1a2132;
  --color-muted: #556079;
  --color-line: #d7dde7;
  --color-accent: #00788a;
  --color-brand: #01aac1;
  --color-brand-ink: #0d1626;
  --color-slate: #4b5a81;
  --color-accent-ink: #ffffff;
  --color-dark: #121a28;
  --color-dark-muted: #a3aec4;
  --color-destructive: #b3261e;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-control: 3px;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  --pad: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-background); color: var(--color-ink); font: 17px/1.6 var(--font-sans); }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 750; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.kicker { font: 600 .78rem/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--color-accent); margin-bottom: 1rem; display: block; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--color-muted); max-width: 46rem; }
.muted { color: var(--color-muted); }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(244,246,249,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-line); }
.nav { display: flex; align-items: center; gap: 2rem; padding: 14px var(--pad); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 650; font-size: .92rem; text-transform: uppercase; letter-spacing: .14em; color: var(--color-slate); }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; align-items: center; }
.nav-links a { text-decoration: none; font-size: .95rem; color: var(--color-muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--color-ink); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; font: inherit; cursor: pointer; padding: 6px; color: var(--color-ink); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--color-background); border-bottom: 1px solid var(--color-line); padding: 8px var(--pad) 18px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; font-size: 1.05rem; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: 13px 22px; border-radius: var(--radius-control); font: 600 1rem/1 var(--font-sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--color-brand); color: var(--color-brand-ink); }
.btn-primary:hover { background: #2fc4d8; }
.btn-primary[disabled] { opacity: .6; cursor: progress; }
.btn-text { padding: 13px 4px; color: var(--color-ink); border-bottom: 1px solid currentColor; border-radius: 0; }
.nav-links .btn { color: var(--color-brand-ink); padding: 10px 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; margin-top: 2rem; }

/* sections */
section { padding: clamp(56px, 9vw, 120px) var(--pad); }
.section-head { max-width: 52rem; margin-bottom: clamp(32px, 5vw, 56px); }
.hero { padding-top: clamp(56px, 10vw, 128px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero.single { grid-template-columns: 1fr; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }
.dark { background: var(--color-dark); color: #f2f5fa; }
.dark .muted, .dark .lede { color: var(--color-dark-muted); }
.dark .card { background: #18213a; border-color: #283149; }
.rule { border-top: 1px solid var(--color-line); }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; }
a.card { text-decoration: none; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.card .more { margin-top: auto; padding-top: 1.2rem; font-weight: 600; color: var(--color-accent); }
.card svg.icon { width: 34px; height: 34px; margin-bottom: 1.2rem; color: var(--color-accent); }
.num { font: 600 .8rem var(--font-mono); color: var(--color-accent); letter-spacing: .1em; margin-bottom: .8rem; }

.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 14px 0; border-top: 1px solid var(--color-line); display: grid; grid-template-columns: 14rem 1fr; gap: 1rem; }
.dark .list li { border-color: #283149; }
.list li strong { font-weight: 650; }
@media (max-width: 700px) { .list li { grid-template-columns: 1fr; gap: .2rem; } }

.badge { display: inline-block; font: 600 .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; padding: 5px 9px; border: 1px solid currentColor; border-radius: var(--radius-control); color: var(--color-accent); margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { font: 500 .85rem var(--font-mono); padding: 7px 12px; border: 1px solid var(--color-line); border-radius: var(--radius-control); background: var(--color-surface); }
.dark .chip { background: transparent; border-color: #34405e; color: #d3dae6; }

.diagram { width: 100%; height: auto; color: var(--color-ink); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }

/* footer */
.site-footer { background: var(--color-dark); color: var(--color-dark-muted); padding: 56px var(--pad) 40px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #f2f5fa; font-size: .8rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 1rem; }
.site-footer a { text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer a.brand { display: flex; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid #283149; font-size: .85rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* forms */
.form-wrap { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 44px); }
.field { margin-bottom: 1.3rem; border: 0; padding: 0; min-width: 0; }
.field > label:not(.option), .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .45rem; padding: 0; }
.req { color: var(--color-accent); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field input[type=number], .field input[type=date], .field input[type=time], .field input[type=datetime-local], .field input[type=password], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--color-ink); background: var(--color-background); border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: 12px 14px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid=true] { border-color: var(--color-destructive); }
.option { display: flex; align-items: center; gap: .6rem; padding: 6px 0; font-size: .98rem; cursor: pointer; }
.option input { width: 18px; height: 18px; accent-color: var(--color-accent); margin: 0; }
.other-input { margin-top: .4rem; }
.field-help { font-size: .88rem; color: var(--color-muted); margin: .4rem 0 0; }
.field-error, .form-error { color: var(--color-destructive); font-size: .9rem; margin: .4rem 0 0; }
.form-error { margin: 0 0 1rem; }
.form-status { color: var(--color-muted); }
.thanks h3 { font-size: 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-lines a { display: block; text-decoration: none; padding: 4px 0; }
/* home hero: past work montage */
.hero-video { position: relative; min-height: min(86vh, 860px); display: flex; align-items: flex-end; padding-top: clamp(96px, 14vw, 180px); color: #f2f5fa; overflow: hidden; background: var(--color-dark); }
.hv-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,26,40,.25) 0%, rgba(18,26,40,.55) 45%, rgba(18,26,40,.9) 100%); }
.hv-copy { position: relative; max-width: 54rem; }
.hv-copy h1 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); }
.hv-copy .lede { color: #d3dae6; }
.hv-copy .kicker { color: #3fcde2; }
.hv-copy .btn-text { color: #f2f5fa; }
.arr { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-left: 4px; }

/* home path */
.path { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.path-hw { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.path-img { width: 100%; height: auto; }
.path-step h3 { font-size: 1.5rem; }
@media (max-width: 800px) { .path, .path-hw { grid-template-columns: 1fr; } }

@media (max-width: 800px) { .footer-grid > div:first-child { grid-column: 1 / -1; } .site-footer a { overflow-wrap: anywhere; } }

/* home hero: cycling verb */
.hero-verb { color: #3fcde2; border-bottom: .07em solid currentColor; display: inline-block; }
.hero-verb.swap { animation: hero-verb .45s ease; }
@keyframes hero-verb { from { opacity: 0; transform: translateY(.2em); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-verb.swap { animation: none; } }
/* home hero: cycling vehicle + verb pair. Each word sits in a clipped slot and rolls vertically;
   h1 reserves two lines (three on phones) so the page below doesn't jump as words change length. */
.hero-pair-h1 { min-height: 2.3em; letter-spacing: -0.03em; }
.hero-pair .slot { display: inline-block; position: relative; overflow: hidden; vertical-align: top; height: 1.2em; padding-bottom: .1em; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.hero-pair .slot .w { display: inline-block; white-space: nowrap; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .45s ease, filter .45s ease; }
.hero-pair .slot .w.in { position: absolute; left: 0; top: 0; transform: translateY(105%); opacity: 0; filter: blur(4px); }
.hero-pair .slot .w.out { position: absolute; left: 0; top: 0; transform: translateY(-105%); opacity: 0; filter: blur(4px); }
.hero-noun { color: #f2f5fa; }
.hero-pair .hero-verb { display: block; width: fit-content; color: #3fcde2; border-bottom: 0; background: linear-gradient(90deg, #3fcde2, #a6eef8) no-repeat left bottom / 0% .07em; transition: width .6s cubic-bezier(.2,.8,.2,1), background-size .25s ease; }
.hero-pair .hero-verb.drawn { background-size: 100% .07em; transition: width .6s cubic-bezier(.2,.8,.2,1), background-size .7s cubic-bezier(.2,.8,.2,1) .25s; }
@media (max-width: 600px) { .hero-pair-h1 { min-height: 3.45em; } }
/* Narrow phones: scale the headline so "unmanned systems" stays on one line. */
@media (max-width: 420px) { .hv-copy .hero-pair-h1 { font-size: 9.2vw; } }
@media (prefers-reduced-motion: reduce) { .hero-pair .slot, .hero-pair .slot .w { transition: none; } }
.path-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .path-3 { grid-template-columns: 1fr; } }
/* development: past work videos (click-to-load YouTube) */
.yt-grid { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-dark); cursor: pointer; }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; margin: -22px 0 0 -32px; border-radius: 10px; background: rgba(18,26,40,.82); transition: background .15s; }
.yt-play::after { content: ""; position: absolute; left: 26px; top: 13px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt-play, .yt:focus-visible .yt-play { background: var(--color-accent); }
.yt:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.yt-title { margin: .7rem 0 0; font-weight: 600; font-size: .98rem; line-height: 1.35; }

/* about: founder photo */
.about-photo { width: 100%; height: auto; border-radius: var(--radius-lg); }
.vid-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; }
.vid-tab { font: 600 .95rem/1 var(--font-sans); padding: .7rem 1.1rem; border: 1px solid var(--color-line); border-radius: 999px; background: var(--color-surface); color: var(--color-ink); cursor: pointer; }
.vid-tab:hover { border-color: var(--color-accent); }
.vid-tab[aria-pressed="true"] { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.vid-grid .yt-item.feat { grid-column: 1 / -1; }
.vid-grid .yt-item.feat .yt-title { font-size: 1.2rem; }
.vid-grid .yt-item[hidden] { display: none; }
/* development: logo marquee (transparent single-ink logos, each links to the client) */
.logos-band { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.logos-title { font: 600 .78rem/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--color-muted); margin: 0 0 1.6rem; }
.logos-viewport { overflow: hidden; margin: 0 calc(-1 * var(--pad)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(40px, 5vw, 72px); width: max-content; animation: logos-scroll 60s linear infinite; }
.logos-viewport:hover .logos-track, .logos-viewport:focus-within .logos-track { animation-play-state: paused; }
.logo { flex: none; }
.logo a { display: block; }
.logo img { display: block; opacity: .55; transition: opacity .2s; }
.logo a:hover img, .logo a:focus-visible img { opacity: 1; }
.logo a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 6px; }
.logo-light img { filter: brightness(0); }
@keyframes logos-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - clamp(40px, 5vw, 72px) / 2)); } }
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 var(--pad); }
  .logos-track [aria-hidden="true"] { display: none; }
}

/* ---------- quote page ---------- */
.quote { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); background: linear-gradient(90deg, var(--color-dark) 0 40%, var(--color-background) 40%); }
.q-side { background: var(--color-dark); color: #f2f5fa; padding: clamp(56px, 8vw, 104px) clamp(28px, 4vw, 64px) clamp(40px, 6vw, 80px) var(--pad); }
.q-side-inner { position: sticky; top: 110px; }
.q-side .kicker { color: #3fcde2; }
.q-side h1 { font-size: clamp(2.3rem, 4.2vw, 3.7rem); max-width: 12ch; margin-bottom: clamp(28px, 4vw, 48px); }
.q-contact { padding: 1.2rem 1.3rem; border: 1px solid #283149; border-radius: var(--radius-lg); background: #18213a; max-width: 24rem; }
.q-contact-title { font-weight: 650; margin: 0 0 .5rem; }
.q-contact a { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: #d3dae6; padding: 5px 0; overflow-wrap: anywhere; font-size: .97rem; }
.q-contact a:hover { color: #3fcde2; }
.q-contact svg { width: 18px; height: 18px; flex: none; color: #3fcde2; }
.q-main { padding: clamp(40px, 6vw, 88px) var(--pad) clamp(56px, 8vw, 104px) clamp(28px, 4vw, 64px); }
@media (max-width: 960px) {
  .quote { grid-template-columns: 1fr; background: var(--color-background); }
  .q-side { padding: clamp(40px, 8vw, 64px) var(--pad); }
  .q-side-inner { position: static; }
  .q-main { padding: clamp(24px, 5vw, 48px) var(--pad) clamp(56px, 8vw, 96px); }
}
.q-form { max-width: 680px; box-shadow: 0 1px 2px rgba(18,26,40,.04), 0 12px 40px -12px rgba(18,26,40,.14); border-color: #e3e8ef; }
.q-form form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
.q-form form > * { grid-column: 1 / -1; }
.q-form form > [data-kind="CONTACTS_FIRST_NAME"], .q-form form > [data-kind="CONTACTS_LAST_NAME"], .q-form form > [data-kind="CONTACTS_EMAIL"], .q-form form > [data-kind="CONTACTS_COMPANY"] { grid-column: auto; }

.form-section { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.2rem; font: 600 .78rem/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--color-muted); }
.form-section b { font-weight: 600; color: var(--color-accent); }
.form-section::after { content: ""; flex: 1; height: 1px; background: var(--color-line); }
.form-section.later { margin-top: .8rem; }

/* "What do you need?" as icon tiles */
.q-form [data-kind="CHECKBOX_GROUP"][data-name="need"] .opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.q-form .tile { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: .8rem; align-items: center; padding: 12px 14px; border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s, transform .15s; }
.q-form .tile:hover { border-color: #9fb3c8; transform: translateY(-1px); }
.q-form .tile input { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
.q-form .tile .ti { grid-column: 1; grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--color-background); color: var(--color-slate); transition: background .15s, color .15s; }
.q-form .tile .ti svg { width: 22px; height: 22px; }
.q-form .tile .tl { grid-column: 2; grid-row: 1; font-weight: 650; font-size: .98rem; line-height: 1.3; }
.q-form .tile .th { grid-column: 2; grid-row: 2; font-size: .84rem; color: var(--color-muted); line-height: 1.35; margin-top: .15rem; }
.q-form .tile:has(input:checked) { border-color: var(--color-accent); background: #eef8fa; box-shadow: 0 0 0 1px var(--color-accent) inset; }
.q-form .tile:has(input:checked) .ti { background: var(--color-accent); color: #fff; }
.q-form .tile:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* other choice groups as pills */
.q-form .pills .opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.q-form .pills .option { padding: 8px 14px 8px 10px; border: 1px solid var(--color-line); border-radius: 999px; background: var(--color-surface); font-size: .93rem; transition: border-color .15s, background .15s; }
.q-form .pills .option:hover { border-color: #9fb3c8; }
.q-form .pills .option:has(input:checked) { border-color: var(--color-accent); background: #eef8fa; }
.q-form .pills .option input { width: 16px; height: 16px; }
.q-form .pills .other-input { margin-top: .6rem; }

/* Marvin tier: equal segments, revealed when Hardware is ticked */
.q-form [data-name="marvin_tier"] { padding: 14px; border-radius: var(--radius-lg); background: #eef8fa; border: 1px dashed #9fd3dc; animation: q-reveal .35s ease; }
.q-form [data-name="marvin_tier"] .opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.q-form [data-name="marvin_tier"] .option { position: relative; justify-content: center; padding: 10px 6px; line-height: 1.25; border: 1px solid var(--color-line); border-radius: var(--radius-md); background: var(--color-surface); font-weight: 600; font-size: .92rem; text-align: center; }
.q-form [data-name="marvin_tier"] .option:has(input:checked) { border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent) inset; color: var(--color-accent); }
.q-form [data-name="marvin_tier"] .option input { position: absolute; opacity: 0; pointer-events: none; }
.q-form [data-name="marvin_tier"] .option:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.q-form [data-name="marvin_tier"] legend { float: left; width: 100%; margin-bottom: .6rem; }
.q-form [data-name="marvin_tier"] .opts { clear: both; }
@keyframes q-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.q-form .field input, .q-form .field textarea { background: #f8fafc; }
.q-form .field textarea { min-height: 120px; }
.q-form .actions { margin-top: .6rem; }
.q-form button[type="submit"] { width: 100%; justify-content: center; padding: 16px 22px; font-size: 1.05rem; }
.q-form .q-fine { grid-column: 1 / -1; margin: .9rem 0 0; font-size: .85rem; color: var(--color-muted); text-align: center; }

.q-form .thanks { text-align: center; padding: clamp(16px, 4vw, 40px) 0; }
.q-form .thanks::before { content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 1.2rem; border-radius: 50%; background: #eef8fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%2300788a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 28px no-repeat; }
.q-form .thanks p { color: var(--color-muted); max-width: 30rem; margin-left: auto; margin-right: auto; }

.q-form { container-type: inline-size; }
@container (max-width: 600px) { [data-kind="CHECKBOX_GROUP"][data-name="need"] .opts { grid-template-columns: 1fr !important; } }
@media (max-width: 560px) {
  .q-form form { grid-template-columns: 1fr; }
  .q-form form > [data-kind^="CONTACTS_"] { grid-column: 1 / -1; }
  .q-form [data-kind="CHECKBOX_GROUP"][data-name="need"] .opts { grid-template-columns: 1fr; }
  .q-form [data-name="marvin_tier"] .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .q-form .tile, .q-form [data-name="marvin_tier"] { transition: none; animation: none; } .q-form .tile:hover { transform: none; } }