/* Reseptinikkari — "kitchen market" design.
   Warm cream paper, tomato and basil accents, rounded plate-like cards. Quicksand for display
   type (headings, buttons, pills), the system font for reading text. Light and dark themes. */

:root {
  --bg: #fdf6ec;
  --bg-wash-1: #ffe2cc;          /* tomato-peach wash, top left */
  --bg-wash-2: #e3f0d8;          /* basil wash, top right */
  --surface: #fffdf9;
  --surface-2: #f7efe3;          /* inset areas: inputs, kitchen panel */
  --text: #2b211c;
  --muted: #7d6e63;
  --border: #ecdfcf;
  --accent: #d2452b;             /* tomato */
  --accent-2: #f08a3c;           /* paprika, for gradients */
  --accent-soft: #fde6dc;
  --accent-text: #ffffff;
  --basil: #3d7a4b;
  --good: #2f7d4f;
  --good-bg: #e3f2e6;
  --warn: #9a6200;
  --warn-bg: #fdf0d6;
  --bad: #b3261e;
  --bad-bg: #fce6e2;
  --chip-bg: #f4eadc;
  --qty: #6a5a4f;
  --pattern-warm: rgb(210 69 43 / 0.12);   /* background line drawings: pot, tomato, lemon, spoon */
  --pattern-fresh: rgb(61 122 75 / 0.12);  /* herbs, whisk, fork, leaf */
  --shadow: 0 1px 2px rgb(92 52 24 / 0.06), 0 12px 32px -16px rgb(92 52 24 / 0.28);
  --shadow-lift: 0 2px 4px rgb(92 52 24 / 0.08), 0 18px 40px -16px rgb(92 52 24 / 0.36);
  --radius: 24px;
  --radius-sm: 14px;
  --display: "Quicksand", ui-rounded, "Segoe UI", system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #18120f;
    --bg-wash-1: #3a1f16;
    --bg-wash-2: #1d2a1d;
    --surface: #231b17;
    --surface-2: #2c231d;
    --text: #f6ece2;
    --muted: #b3a294;
    --border: #3d3129;
    --accent: #ff7a59;
    --accent-2: #ffad5c;
    --accent-soft: #43251c;
    --accent-text: #24120c;
    --basil: #8fd19e;
    --good: #8fd19e;
    --good-bg: #1f3326;
    --warn: #f3bf63;
    --warn-bg: #3b2e17;
    --bad: #ff9a8b;
    --bad-bg: #432420;
    --chip-bg: #31271f;
    --qty: #d4c4b6;
    --pattern-warm: rgb(255 122 89 / 0.11);
    --pattern-fresh: rgb(143 209 158 / 0.10);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 14px 32px -18px rgb(0 0 0 / 0.7);
    --shadow-lift: 0 2px 4px rgb(0 0 0 / 0.35), 0 20px 40px -18px rgb(0 0 0 / 0.8);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(900px 420px at -10% -8%, var(--bg-wash-1), transparent 60%),
    radial-gradient(700px 380px at 110% -4%, var(--bg-wash-2), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
}

/* Kitchen line drawings behind everything. Two small SVG tiles used as masks, so the colours
   come from the theme tokens (and switch with dark mode) and the drawing stays sharp at any size.
   The fresh tile is offset by half a tile so the two sets of icons interleave. */
body::before, body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
  -webkit-mask-size: 260px 260px; mask-size: 260px 260px;
}
body::before {
  background-color: var(--pattern-warm);
  -webkit-mask-image: url("pattern-warm.svg"); mask-image: url("pattern-warm.svg");
}
body::after {
  background-color: var(--pattern-fresh);
  -webkit-mask-image: url("pattern-fresh.svg"); mask-image: url("pattern-fresh.svg");
  -webkit-mask-position: 130px 130px; mask-position: 130px 130px;
}
@media (max-width: 520px) {
  body::before, body::after { -webkit-mask-size: 200px 200px; mask-size: 200px 200px; }
  body::after { -webkit-mask-position: 100px 100px; mask-position: 100px 100px; }
}

.page {
  max-width: 820px;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 72px max(16px, env(safe-area-inset-left));
}

button { font: inherit; cursor: pointer; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Masthead ---------- */

.masthead-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  flex: none; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 18px; font-size: 30px;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  box-shadow: var(--shadow); transform: rotate(-6deg);
}
.masthead h1 {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(1.2rem, 6.6vw, 2.8rem); letter-spacing: -0.02em; line-height: 1.05;
  white-space: nowrap;
}
.tagline { margin: 12px 0 24px; color: var(--muted); font-size: 1.05rem; max-width: 46ch; }

.lang { flex: none; display: flex; padding: 4px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); }
.lang input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.lang span {
  display: inline-block; padding: 5px 12px; border-radius: 999px; cursor: pointer;
  font-family: var(--display); font-size: 0.85rem; font-weight: 700; color: var(--muted);
}
.lang input:checked + span { background: var(--accent); color: var(--accent-text); }
.lang input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 1px; }

/* ---------- Composer ---------- */

.composer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid; gap: 14px;
}

/* Pills: radios and checkboxes styled as chips. */
.modes { display: flex; gap: 8px; flex-wrap: wrap; }
/* The real inputs are hidden inside their label. The label must be positioned: otherwise the
   absolutely positioned inputs of chips scrolled out of view in a .scroller row escape its
   clipping and widen the page (phones then let you zoom out and the page sits to the left). */
.modes label, .lang label { position: relative; }
.modes input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.modes span {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  background: var(--chip-bg); color: var(--text);
  font-family: var(--display); font-weight: 600; font-size: 0.9rem;
  border: 1px solid transparent;
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
}
.modes span:hover { transform: translateY(-1px); }
.modes input:checked + span { background: var(--text); color: var(--bg); }
.modes input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

textarea {
  width: 100%; resize: vertical; min-height: 96px;
  padding: 14px 16px; border: 2px solid var(--border); border-radius: 18px;
  background: var(--surface-2); color: var(--text); font: inherit; font-size: 1.05rem;
  transition: border-color 0.15s, background-color 0.15s;
}
textarea::placeholder { color: var(--muted); opacity: 0.85; }
textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); }

.examples { display: flex; gap: 8px; flex-wrap: wrap; margin-top: -4px; }
.examples.scroller { flex-wrap: nowrap; }
.examples .chip { flex: none; }
.chip {
  border: 1px dashed var(--border); background: transparent; color: var(--muted);
  border-radius: 999px; padding: 5px 12px; font-size: 0.85rem;
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
.chip::before { content: "✨ "; }
.chip:hover { color: var(--accent); border-color: var(--accent); border-style: solid; background: var(--accent-soft); }

/* Option rows: label, then pills that scroll sideways on phones instead of stacking. */
.option-row { display: grid; gap: 6px; min-width: 0; }
.row-label, .kitchen-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--display); font-weight: 700; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted);
}
.row-icon { font-size: 1rem; text-transform: none; letter-spacing: 0; }
.scroller {
  flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
  margin: 0 -18px; padding: 2px 18px 4px; scroll-padding-inline: 18px;
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}
.scroller::-webkit-scrollbar { display: none; }
.scroller label { flex: none; }
@media (min-width: 700px) {
  .scroller, .examples.scroller { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding: 0; mask-image: none; }
}

/* "My kitchen": collapsed by default; the summary shows what is active ("· kasvis, 3 aina kotona"). */
.kitchen { border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border); }
.kitchen summary {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  list-style: none; cursor: pointer;
}
.kitchen summary::-webkit-details-marker { display: none; }
.kitchen-title { flex: 1; min-width: 0; font-family: var(--display); font-weight: 700; }
.kitchen-summary { font-family: system-ui, sans-serif; font-weight: 400; font-size: 0.88rem; color: var(--muted); }
.chevron { flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s; }
.kitchen[open] .chevron { transform: rotate(-135deg) translateY(-3px); }
.kitchen-body { padding: 0 14px 14px; display: grid; gap: 8px; }
.kitchen textarea { min-height: 60px; font-size: 1rem; background: var(--surface); }
.kitchen-hint { margin: -2px 0 4px; font-size: 0.82rem; color: var(--muted); }
.diets span { font-size: 0.86rem; }
.diets input:checked + span { background: var(--basil); color: var(--bg); }

/* Main call to action: a tomato-red pill. */
.primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 54px; padding: 12px 24px;
  border: 0; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent) 70%);
  color: var(--accent-text); font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  box-shadow: 0 10px 24px -10px var(--accent);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.primary::after { content: "→"; font-size: 1.2rem; transition: transform 0.15s; }
.primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px var(--accent); }
.primary:hover::after { transform: translateX(3px); }
.primary:active { transform: translateY(1px); }
.primary:disabled, .primary.is-busy { filter: saturate(0.6); opacity: 0.85; cursor: progress; }
.primary.is-busy::after { content: none; }

/* ---------- Status, pantry ---------- */

.status {
  margin: 22px 0 0; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.status.warn { background: var(--warn-bg); border-color: transparent; }
.status.error { background: var(--bad-bg); color: var(--bad); border-color: transparent; }
.muted { color: var(--muted); }
.link { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.spinner {
  display: inline-block; width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pantry { margin-top: 20px; }
.pantry h2, .card h3 {
  font-family: var(--display); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 8px;
}
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: var(--good-bg); color: var(--good); padding: 4px 12px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; }
.tag::before { content: "✓ "; }
.tag.ignored { background: var(--chip-bg); color: var(--muted); text-decoration: line-through; font-weight: 400; }
.tag.ignored::before { content: none; }

/* ---------- Recipe cards ---------- */

.results { display: grid; gap: 18px; margin-top: 20px; }

.card {
  container-type: inline-size;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.card.fresh { animation: rise 0.35s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.card-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.card-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
  font-size: 30px; background: var(--accent-soft);
}
.card-icon[data-tone="green"] { background: var(--good-bg); }
.card-icon[data-tone="gold"] { background: var(--warn-bg); }
.card-title {
  margin: 2px 0 0; font-family: var(--display); font-weight: 700; font-size: 1.4rem; line-height: 1.2;
  overflow-wrap: anywhere; hyphens: auto;
}
.card-meta { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.meta-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  background: var(--chip-bg); color: var(--qty); font-size: 0.84rem; font-weight: 600; white-space: nowrap;
}
.meta-pill.mismatch { background: var(--warn-bg); color: var(--warn); cursor: help; }
.price { cursor: help; }
.card-desc { margin: 14px 0 16px; font-size: 1.02rem; }

/* "Nothing to buy" / "2 to buy": a little sticker in the corner. */
.badge {
  flex-shrink: 0; font-family: var(--display); font-size: 0.8rem; font-weight: 700;
  padding: 5px 11px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); white-space: nowrap;
  transform: rotate(3deg);
}
.badge.good { background: var(--good-bg); color: var(--good); }

/* Diet results under the heading. */
.diet-tags { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.diet-tags:empty { display: none; }
.diet-tag { font-size: 0.8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; cursor: help; }
.diet-tag.follows { background: var(--good-bg); color: var(--good); }
.diet-tag.unsure { background: var(--warn-bg); color: var(--warn); }
.diet-tag.breaks { background: var(--bad-bg); color: var(--bad); }

.coverage { margin-bottom: 16px; }
.bar { height: 8px; background: var(--chip-bg); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7cc48a, var(--good)); }
.coverage-text { margin: 6px 0 0; font-size: 0.86rem; color: var(--muted); }

/* Ingredients, cookbook style: amount column + name, grouped by what the cook has to do.
   One grid for the whole list, shared down to every row with subgrid, so all names line up.
   Narrow cards: one amount + name pair, groups stacked. Wide cards: two pairs (shop | home). */
.ingredients-heading { margin-bottom: 8px !important; }
.ingredients {
  display: grid; grid-template-columns: fit-content(8em) minmax(0, 1fr);
  column-gap: 14px; row-gap: 8px; margin: 0 -12px 16px;
}
.ing-column { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; row-gap: 8px; align-content: start; }
@container (min-width: 560px) {
  .ingredients { grid-template-columns: fit-content(8em) minmax(0, 1fr) 10px fit-content(8em) minmax(0, 1fr); }
  .ing-column { grid-row: 1; grid-column: 1 / span 2; }
  .ing-column + .ing-column { grid-column: 4 / span 2; }
  /* Nothing to buy: the one remaining column uses the full width. */
  .ingredients:has(> .ing-column:only-child) { grid-template-columns: fit-content(8em) minmax(0, 1fr); }
}
.ing-group, .ing-list, .ing { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; }
.ing-group { padding: 10px 12px 6px; border-radius: 16px; row-gap: 0; }

.ing-group-title {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 8px; margin: 0 0 4px;
  font-family: var(--display); font-size: 0.9rem; font-weight: 700; color: var(--text);
}
.ing-group-title::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.ing-group-title .count { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.ing-group.missing .ing-group-title::before { background: var(--bad); }
.ing-group.unsure .ing-group-title::before { background: var(--warn); }
.ing-group.have .ing-group-title::before { background: var(--good); }

/* The shopping list stands out at a glance. */
.ing-group.missing { background: var(--bad-bg); }
.ing-group.missing .ing-group-title { color: var(--bad); }

.ing-list { list-style: none; margin: 0; padding: 0; }
.ing { padding: 6px 0; align-items: baseline; border-top: 1px dashed var(--border); }
.ing:first-child { border-top: 0; }
.ing-group.missing .ing { border-top-color: rgb(179 38 30 / 0.15); }
.ing .qty { color: var(--qty); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 0.92rem; overflow-wrap: anywhere; }
.ing .name { min-width: 0; overflow-wrap: anywhere; }
.ing .note { color: var(--muted); font-size: 0.85rem; }
.ing-group.staple .name { color: var(--muted); }

/* Steps: a big tappable toggle, then numbered tomato circles. */
.steps-box { border-top: 1px solid var(--border); margin: 0 -20px -20px; padding: 0 20px; }
.steps-box summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--accent);
}
.steps-box summary::-webkit-details-marker { display: none; }
.steps-box summary::after {
  content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px); transition: transform 0.2s;
}
.steps-box[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0 0 18px; display: grid; gap: 12px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: var(--accent-text); font-family: var(--display); font-weight: 700; font-size: 0.9rem;
}

/* Placeholder while a recipe is being written: a gently wobbling pot and shimmer lines. */
.card.placeholder { border-style: dashed; box-shadow: none; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.placeholder-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--muted); font-family: var(--display); font-weight: 700; }
.placeholder-title .pot { font-size: 1.6rem; display: inline-block; animation: wobble 1.2s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) translateY(-2px); } }
.shimmer {
  height: 12px; margin: 10px 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--chip-bg) 0%, var(--border) 50%, var(--chip-bg) 100%);
  background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite;
}
.shimmer.w60 { width: 60%; } .shimmer.w75 { width: 75%; } .shimmer.w90 { width: 90%; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.card.failed { border-color: var(--bad); }
.card.failed p { margin: 0 0 8px; color: var(--bad); }

/* "How it works" and FAQ: real text for people and search engines, below the results. */
.about { margin-top: 48px; }
.about h2 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; margin: 0 0 14px; }
.how { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.how li {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 18px;
  box-shadow: var(--shadow);
}
.how-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); font-size: 24px; }
.how li:nth-child(2) .how-icon { background: var(--warn-bg); }
.how li:nth-child(3) .how-icon { background: var(--good-bg); }
.how h3 { font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin: 12px 0 6px; }
.how p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-top: 10px; }
.faq summary {
  display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px;
  cursor: pointer; list-style: none; font-family: var(--display); font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0; padding: 0 16px 16px; color: var(--muted); }
.site-footer { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 0 16px 40px; }
.site-footer p { margin: 0; }
.noscript { max-width: 820px; margin: 0 auto 24px; padding: 14px 16px; border-radius: 14px; background: var(--warn-bg); color: var(--warn); text-align: center; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Phones and touch ---------- */

@media (pointer: coarse), (max-width: 520px) {
  .chip { min-height: 40px; padding: 8px 14px; }
  .modes span { min-height: 40px; padding: 9px 15px; }
  .lang span { padding: 8px 14px; }
  .link { display: inline-block; padding: 9px 0; }
  .ing { padding: 8px 0; }
}

@media (max-width: 520px) {
  .page { padding-top: max(20px, env(safe-area-inset-top)); }
  .brand { gap: 10px; }
  .brand-mark { width: 42px; height: 42px; font-size: 24px; border-radius: 14px; }
  .lang span { padding: 7px 11px; }
  .composer { padding: 16px; border-radius: 22px; }
  .scroller { margin: 0 -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .card { padding: 16px; border-radius: 22px; }
  .card-head { grid-template-columns: auto minmax(0, 1fr); }
  .card-head .badge { grid-column: 1 / -1; justify-self: start; transform: none; }
  .card-icon { width: 48px; height: 48px; font-size: 26px; border-radius: 15px; }
  .card-title { font-size: 1.25rem; }
  .steps-box { margin: 0 -16px -16px; padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
