:root {
  --bg: #ffffff;
  --ink: #111114;
  --ink-soft: #55555e;
  --ink-mute: #8e8e98;
  --line: #e7e7eb;
  --line-strong: #d4d4da;
  --field: #ffffff;
  --tint: #f6f6f8;
  /* YFS brand colours (from the logo and youngfoundersschool.com) */
  --orange: #f26b1d;
  --pink: #ec1859;
  --teal: #0abab5;
  --teal-ink: #067c78;
  --teal-tint: #e8f8f7;
  --green: #00876a;
  --amber: #f5a00b;
  --amber-ink: #9a5b00;
  --amber-tint: #fff6e5;
  --pink-ink: #c20f47;
  --pink-tint: #fdebf1;
  --accent: var(--teal);
  --grad: linear-gradient(100deg, var(--orange) 0%, var(--pink) 70%);
  --danger: #c62f45;
  --radius: 12px;
  --radius-lg: 20px;
  --focus: 0 0 0 4px rgba(10, 186, 181, 0.18);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

.dot { color: var(--pink); }
.section:nth-of-type(1) legend .dot { color: var(--orange); }
.section:nth-of-type(2) legend .dot { color: var(--pink); }
.section:nth-of-type(3) legend .dot { color: var(--teal); }
.section:nth-of-type(4) legend .dot { color: var(--green); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
}
.logo { display: block; height: 42px; width: auto; }
.topbar-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-ink);
  background: var(--teal-tint);
  border-radius: 999px;
}
.topbar-tag i { font-size: 16px; }

/* ---------- Layout ---------- */
.page {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px 40px;
}

.intro { position: sticky; top: 104px; }

.script {
  font-family: "Sacramento", cursive;
  font-weight: 400;
  line-height: 0.95;
  margin: 0;
  color: var(--ink);
}
.script .dot { color: var(--teal); }

/* Headline: ink script over a hand-drawn brand-gradient brushstroke */
.headline { position: relative; display: inline-block; }
.headline h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(76px, 7vw, 96px);
  margin-left: -4px;
}
.swash {
  position: absolute;
  z-index: 0;
  left: 16%;
  bottom: -16px;
  width: 80%;
  height: 34px;
  overflow: visible;
}
.swash path {
  fill: none;
  stroke: url(#swash-grad);
  stroke-width: 9;
  stroke-linecap: round;
  opacity: 0.85;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: swash 0.9s 0.2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes swash { to { stroke-dashoffset: 0; } }

/* ---------- Butterfly perched on the end of the brushstroke ---------- */
/* A real specimen photo (Blue Morpho, Morpho didius) cut into left wing, right wing and body.
   Motion is driven by butterfly.js; CSS only sets up the rig. */
.butterfly {
  position: absolute;
  z-index: 2;
  left: 94.5%;           /* end of the swash path (16% + 80% × 314/320) */
  bottom: -22px;
  width: 84px;
  height: 63px;          /* 330 × 246 source */
  margin-left: -42px;    /* body sits over the line end */
  pointer-events: none;
}
.bf-fly { width: 100%; height: 100%; transform-origin: 50% 55%; }
.bf {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotate(-14deg);
  transform-style: preserve-3d;
  perspective: 240px;
  filter: drop-shadow(0 3px 3px rgba(17, 17, 20, 0.18));
}
.bf img { position: absolute; top: 0; height: 100%; display: block; user-select: none; }
.wing { will-change: transform; }
.wing.left { left: 0; width: 50%; transform-origin: 100% 50%; }
.wing.right { left: 50%; width: 50%; transform-origin: 0 50%; }
.bf-body { left: 46.364%; width: 7.273%; }
/* hidden until the landing flight starts (no-JS / reduced motion: just perched) */
@media (prefers-reduced-motion: no-preference) {
  .js-bf .butterfly { opacity: 0; }
  .js-bf .butterfly.ready { opacity: 1; }
}

.lede {
  max-width: 360px;
  margin: 38px 0 0;
  font-size: 17px;
  color: var(--ink-soft);
}

/* ---------- Section navigator ---------- */
.steps { margin-top: 36px; }
.progress {
  height: 4px;
  background: var(--tint);
  border-radius: 999px;
  overflow: hidden;
}
.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--pink) 60%, var(--teal));
  background-size: 360px 100%;
  border-radius: inherit;
  transition: width 0.4s ease;
}
.progress-label { margin: 8px 0 14px; font-size: 12px; font-weight: 500; color: var(--ink-mute); }

.steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.steps a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  margin: 0 -12px;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s;
}
.steps a:hover { background: var(--tint); }
.steps a:focus-visible { outline: none; box-shadow: var(--focus); }
.steps .num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px; height: 34px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-mute);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: all 0.2s;
}
.steps .txt { flex: 1; min-width: 0; display: grid; }
.steps .txt b { font-size: 15px; font-weight: 600; }
.steps .txt small { font-size: 13px; color: var(--ink-mute); }
.steps .tick {
  width: 20px; height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  transform: scale(0.4);
  opacity: 0;
  transition: all 0.2s;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.steps li:nth-child(1) a.active .num { background: var(--orange); }
.steps li:nth-child(2) a.active .num { background: var(--pink); }
.steps li:nth-child(3) a.active .num { background: var(--teal); }
.steps li:nth-child(4) a.active .num { background: var(--green); }
.steps a.active .num { color: #fff; border-color: transparent; }
.steps a.active .txt b { color: var(--ink); }
.steps a.done .tick { transform: scale(1); opacity: 1; }
.steps a.done:not(.active) .num { color: var(--teal-ink); border-color: var(--teal); }

/* ---------- What happens next ---------- */
.next {
  margin-top: 32px;
  padding: 22px 22px 8px;
  background: var(--tint);
  border-radius: 16px;
}
.next h2 { margin: 0 0 14px; font-size: 15px; font-weight: 700; }
.next ol { list-style: none; margin: 0; padding: 0; }
.next li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14px; color: var(--ink-soft); line-height: 1.4; }
.next li i { font-size: 22px; color: var(--teal-ink); flex-shrink: 0; }
.next b { color: var(--ink); font-weight: 600; }

.main-col { min-width: 0; }
.section { scroll-margin-top: 96px; }

/* ---------- Card ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(17, 17, 20, 0.03), 0 20px 50px -24px rgba(17, 17, 20, 0.12);
  padding: 8px 40px 36px;
}

.section {
  border: 0;
  margin: 0;
  padding: 32px 0 8px;
  min-width: 0;
}
.section + .section { border-top: 1px solid var(--line); }

legend {
  float: left;
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 0;
  margin-bottom: 22px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
legend + * { clear: both; }
legend .dot { margin-left: -12px; }
.step {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}

.grid { display: grid; gap: 0 20px; }
.grid.two { grid-template-columns: 1fr 1fr; }
.span-2 { grid-column: 1 / -1; }

/* ---------- Fields ---------- */
.field { margin-bottom: 20px; min-width: 0; }

label, .label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.req { color: var(--pink); }
.opt {
  font-weight: 500;
  font-size: 12px;
  color: var(--ink-mute);
  margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
textarea { resize: vertical; min-height: 56px; }
input::placeholder, textarea::placeholder { color: var(--ink-mute); }

input:hover, select:hover, textarea:hover { border-color: #b9b9c2; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: var(--focus);
}

input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.5; }

.select { position: relative; }
.select i {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--ink-mute);
  pointer-events: none;
}
select { padding-right: 40px; cursor: pointer; }
.team-other { margin-top: 8px; animation: reveal 0.2s ease-out; }
select:invalid { color: var(--ink-mute); }
select option { color: var(--ink); }

.hint {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 2px 0;
  font-size: 13px;
  color: var(--ink-mute);
}
.counter { font-variant-numeric: tabular-nums; }

.error {
  margin: 6px 2px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--danger);
}
.error:empty { display: none; }

.invalid input,
.invalid select,
.invalid textarea,
.invalid .affix,
.invalid .chip span,
.invalid .segmented { border-color: var(--danger); }

/* ---------- Chips (request type) ---------- */
.chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.chip { position: relative; margin: 0; font-weight: 500; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip input + span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  padding: 16px;
  font-size: 14px;
  line-height: 1.25;
  background: var(--field);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, color 0.15s;
}
.chip i { font-size: 28px; color: var(--ink-soft); transition: color 0.15s; }
.chip:hover input + span { border-color: #b9b9c2; background: var(--tint); }
.chip input:focus-visible + span { box-shadow: var(--focus); }
.chip input + span { position: relative; }
.chip input + span::after {
  content: "";
  position: absolute;
  top: 12px; right: 12px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  transition: all 0.15s;
}
.chip input:checked + span {
  border-color: var(--teal);
  background: var(--teal-tint);
  box-shadow: inset 0 0 0 1px var(--teal);
  color: var(--ink);
}
.chip input:checked + span i { color: var(--teal-ink); }
.chip input:checked + span::after {
  border-color: var(--teal);
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Segmented (priority) ---------- */
.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.seg { position: relative; margin: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input + span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.bars b { width: 3px; border-radius: 1px; background: var(--line-strong); transition: background 0.15s; }
.bars b:nth-child(1) { height: 5px; }
.bars b:nth-child(2) { height: 8px; }
.bars b:nth-child(3) { height: 12px; }
.lvl-low b:nth-child(-n+1),
.lvl-medium b:nth-child(-n+2),
.lvl-high b { background: var(--ink-mute); }
.low input:checked + span .lvl-low b:nth-child(-n+1) { background: var(--teal); }
.medium input:checked + span .lvl-medium b:nth-child(-n+2) { background: var(--amber); }
.high input:checked + span .lvl-high b { background: var(--pink); }
.seg:hover input + span { color: var(--ink); }
.seg input:focus-visible + span { box-shadow: var(--focus); }
.seg input:checked + span {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(17, 17, 20, 0.08), 0 2px 8px -2px rgba(17, 17, 20, 0.1);
}
.low input:checked + span { color: var(--teal-ink); background: var(--teal-tint); box-shadow: inset 0 0 0 1px var(--teal); }
.medium input:checked + span { color: var(--amber-ink); background: var(--amber-tint); box-shadow: inset 0 0 0 1px var(--amber); }
.high input:checked + span { color: var(--pink-ink); background: var(--pink-tint); box-shadow: inset 0 0 0 1px var(--pink); }

.priority-hint { display: block; position: relative; padding-left: 14px; transition: color 0.15s; }
.priority-hint::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--line-strong);
}
.priority-hint[data-level="low"] { color: var(--teal-ink); }
.priority-hint[data-level="low"]::before { background: var(--teal); }
.priority-hint[data-level="medium"] { color: var(--amber-ink); }
.priority-hint[data-level="medium"]::before { background: var(--amber); }
.priority-hint[data-level="high"] { color: var(--pink-ink); }
.priority-hint[data-level="high"]::before { background: var(--pink); }

/* ---------- Dropzone ---------- */
.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 30px 16px;
  margin: 0;
  text-align: center;
  font-weight: 400;
  background: var(--field);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.dropzone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dropzone:hover, .dropzone.drag { border-color: var(--teal); background: var(--teal-tint); }
.dropzone:hover .dz-icon, .dropzone.drag .dz-icon { color: var(--teal-ink); }
.dropzone:focus-within { box-shadow: var(--focus); }
.dz-icon { font-size: 30px; line-height: 1; color: var(--ink-soft); margin-bottom: 6px; }
.dz-text { font-size: 15px; }
.dz-text strong { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; }
.dz-sub { font-size: 13px; color: var(--ink-mute); }

.file-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.file-list:empty { display: none; }
.file-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 12px;
  font-size: 14px;
  background: var(--tint);
  border-radius: 10px;
}
.file-list li > i { font-size: 18px; color: var(--ink-soft); }
.file-list .fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .fsize { color: var(--ink-mute); font-size: 12px; font-variant-numeric: tabular-nums; }
.file-list button {
  display: grid; place-items: center;
  border: 0; background: transparent; color: var(--ink-mute);
  width: 28px; height: 28px; border-radius: 8px; cursor: pointer; font-size: 16px;
}
.file-list button:hover { background: #fff; color: var(--ink); }

/* ---------- Toggle ---------- */
.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
}
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.track {
  position: relative;
  width: 42px; height: 24px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background 0.2s;
  flex-shrink: 0;
}
.thumb {
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.toggle input:checked + .track { background: var(--teal); }
.toggle input:checked + .track .thumb { transform: translateX(18px); }
.toggle input:focus-visible + .track { box-shadow: var(--focus); }

.budget { animation: reveal 0.25s ease-out; }
@keyframes reveal { from { opacity: 0; transform: translateY(-6px); } }

.affix {
  display: flex;
  align-items: center;
  background: var(--field);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.affix span { padding-left: 14px; color: var(--ink-mute); font-weight: 600; }
.affix input { border: 0; background: transparent; box-shadow: none !important; }
.affix:focus-within { border-color: var(--teal); box-shadow: var(--focus); }
input[type="number"]::-webkit-inner-spin-button { display: none; }
input[type="number"] { -moz-appearance: textfield; }

/* ---------- Actions ---------- */
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.fine { margin: 0; font-size: 14px; color: var(--ink-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 14px 28px;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  background: var(--teal-ink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.btn-arrow { font-size: 18px; transition: transform 0.15s; }
.btn:hover { background: #056a67; box-shadow: 0 10px 24px -10px rgba(6, 124, 120, 0.6); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.btn:disabled { opacity: 0.7; cursor: progress; }

.spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.loading .spinner { display: block; }
.btn.loading .btn-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn.ghost {
  color: var(--teal-ink);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn.ghost:hover { background: var(--teal-tint); box-shadow: inset 0 0 0 1px var(--teal); }

.form-error {
  margin: 16px 0 0;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--danger);
  background: #fdf2f4;
  border-radius: var(--radius);
}

/* ---------- Success ---------- */
.success {
  text-align: center;
  padding: 48px 40px;
  animation: reveal 0.4s ease-out;
}
.success:focus { outline: none; }
.success h2 { font-size: clamp(56px, 10vw, 84px); }
.success .lede { margin-bottom: 28px; }
.success .fine { max-width: 460px; margin: 24px auto 28px; }

.check { width: 64px; height: 64px; margin: 0 auto 8px; }
.check svg { width: 100%; height: 100%; }
.check circle {
  fill: none; stroke: var(--teal); stroke-width: 1.5;
  stroke-dasharray: 151; stroke-dashoffset: 151;
  animation: draw 0.6s ease-out forwards;
}
.check path {
  fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 36; stroke-dashoffset: 36;
  animation: draw 0.35s 0.5s ease-out forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.receipt {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}
.receipt div { padding: 14px 18px; background: #fff; min-width: 0; }
.receipt dt {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 4px;
}
.receipt dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.pill {
  display: inline-block;
  padding: 2px 10px;
  font-size: 13px;
  color: var(--teal-ink);
  background: var(--teal-tint);
  border-radius: 999px;
}

.foot {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 32px 40px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-mute);
}

.foot p { margin: 0 0 6px; }
.credit { font-size: 11px; opacity: 0.8; }
.credit a { color: inherit; }

/* ---------- Responsive ---------- */
@media (min-width: 1081px) and (max-height: 960px) {
  .next { display: none; }
}

@media (max-width: 1080px) {
  .page { grid-template-columns: 1fr; gap: 36px; max-width: 780px; }
  .intro { position: static; }
  .steps, .next { display: none; }
  .lede { max-width: 520px; }
}

@media (max-width: 720px) {
  .chips { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .topbar-inner { padding: 12px 16px; }
  .logo { height: 34px; }
  .topbar-tag { padding: 6px 12px; font-size: 12px; }
  .page { padding: 32px 16px 32px; }
  .headline h1 { font-size: 72px; }
  .butterfly { width: 60px; height: 45px; margin-left: -30px; bottom: -15px; }
  .card { padding: 4px 20px 24px; border-radius: 16px; }
  .grid.two { grid-template-columns: 1fr; }
  .actions { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .btn { width: 100%; }
  .success { padding: 36px 20px; }
  .receipt { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .check circle, .check path, .swash path { stroke-dashoffset: 0; }
}
