/* Grow Raiders website. Sunhouse brand (docs/design/brand.md): seed-packet panels,
   enamel-pin buttons, plant tags, Sun-Dot bullets, hard screen-print shadows, no blur.
   Self-hosted fonts only; no external requests. */

@font-face {
  font-family: "Shrikhand";
  src: url("fonts/shrikhand-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("fonts/baloo2-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("fonts/baloo2-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlowcondensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* primitives (brand 4.1) */
  --paper-50: #FFF9EC;
  --paper-100: #FFF4DE;
  --paper-200: #F5E3C0;
  --kraft-300: #F3DDB4;
  --kraft-400: #E9C995;
  --kraft-500: #D9B67A;
  --kraft-600: #B98E54;
  --bark-700: #7A5236;
  --soil: #3A2417;
  --soil-35: rgba(58, 36, 23, 0.35);
  --terracotta-100: #F8DCCB;
  --terracotta-300: #E27B4C;
  --terracotta-500: #C85F35;
  --terracotta-600: #B85731;
  --terracotta-700: #8C3A1C;
  --greenback-500: #2F9E50;
  --greenback-600: #24803F;
  --sunbeam-100: #FFF1C2;
  --sunbeam-300: #FFD966;
  --sunbeam-500: #FFC22E;
  --sunbeam-700: #C68A10;
  --radish-500: #D2283C;
  --teal-700: #0E7C80;
  --hibiscus-500: #E0559B;
  --ribbon-500: #2F6BD6;
  --plum-500: #7446C4;
  --citrus-500: #F5901E;
  --lime-500: #8CC63E;
  --sky-100: #E6F5F7;
  --sky-300: #BFE6EC;
  --corp-50: #F2F6FA;
  --corp-200: #D3DAE3;
  --corp-500: #4D5869;
  --corp-800: #2A313C;
  --white: #FFFFFF;

  /* semantic (brand 4.2) */
  --text: var(--soil);
  --text-2: var(--bark-700);
  --link: var(--terracotta-700);
  --panel: var(--paper-100);
  --panel-top: var(--paper-50);

  /* web scale of the brand's units: outlines 3px, small outlines 2px */
  --stroke: 3px;
  --stroke-s: 2px;
  --elev-1: 0 4px 0 var(--soil-35);
  --elev-2: 0 6px 0 var(--soil-35);
  --elev-3: 0 8px 0 var(--soil-35);
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 22px;
  --radius-xl: 26px;
  --gutter: 16px;
  --max: 1120px;

  --font-ui: "Baloo 2", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-shout: "Shrikhand", "Baloo 2", Georgia, serif;
  --font-corp: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;

  /* hard outline rings for outlined text (no blur anywhere) */
  --ring-2: 2px 0 0 var(--soil), -2px 0 0 var(--soil), 0 2px 0 var(--soil), 0 -2px 0 var(--soil),
            1.5px 1.5px 0 var(--soil), -1.5px 1.5px 0 var(--soil), 1.5px -1.5px 0 var(--soil), -1.5px -1.5px 0 var(--soil);
  --ring-3: 3px 0 0 var(--soil), -3px 0 0 var(--soil), 0 3px 0 var(--soil), 0 -3px 0 var(--soil),
            2.2px 2.2px 0 var(--soil), -2.2px 2.2px 0 var(--soil), 2.2px -2.2px 0 var(--soil), -2.2px -2.2px 0 var(--soil),
            3px 1.2px 0 var(--soil), -3px 1.2px 0 var(--soil), 3px -1.2px 0 var(--soil), -3px -1.2px 0 var(--soil),
            1.2px 3px 0 var(--soil), -1.2px 3px 0 var(--soil), 1.2px -3px 0 var(--soil), -1.2px -3px 0 var(--soil);
}

@media (min-width: 760px) {
  :root { --gutter: 24px; }
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}

main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-ui);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p, ul, ol, dl, table { margin: 0 0 1em; }

a {
  color: var(--link);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover { color: var(--soil); text-decoration-thickness: 3px; }

strong, b { font-weight: 800; }

:focus-visible {
  outline: 3px solid var(--soil);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  background: var(--sunbeam-500);
  color: var(--soil);
  font-weight: 800;
  padding: 10px 16px;
  border: var(--stroke) solid var(--soil);
  border-radius: var(--radius-s);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- header ---------- */

.site-header {
  background: linear-gradient(180deg, var(--sky-300), var(--sky-100));
  border-bottom: var(--stroke) solid var(--soil);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand-link { display: inline-block; padding: 4px 0; border-radius: 8px; }
.brand-link img { width: 224px; height: auto; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 14px;
  border-radius: 999px;
  color: var(--soil);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: var(--stroke-s) solid transparent;
}
.site-nav a:hover { border-color: var(--soil); background: var(--panel-top); }
.site-nav a[aria-current="page"] {
  background: var(--panel);
  border-color: var(--soil);
  box-shadow: var(--elev-1);
}

@media (max-width: 559px) {
  .site-nav { width: 100%; }
  .site-nav ul { gap: 4px 6px; }
  .site-nav a { padding: 4px 10px; }
}

/* ---------- buttons ("enamel pins") ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  min-width: 200px;
  padding: 10px 28px 16px;
  border: var(--stroke) solid var(--soil);
  border-radius: var(--radius-l);
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  color: var(--white);
  text-shadow: var(--ring-2), 0 3px 0 var(--soil);
  background: linear-gradient(180deg, var(--terracotta-300), var(--terracotta-500) 70%);
  box-shadow: inset 0 -7px 0 var(--terracotta-700), var(--elev-1);
}
.btn::before { /* the fixed sun glint, top-left */
  content: "";
  position: absolute;
  top: 7px;
  left: 12px;
  width: 20px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.55);
  transform: rotate(-20deg);
  pointer-events: none;
}
.btn:hover { color: var(--white); filter: saturate(1.08); }
.btn:active {
  background: var(--terracotta-600);
  box-shadow: inset 0 -3px 0 var(--terracotta-700), var(--elev-1);
  padding-top: 13px;
  padding-bottom: 13px;
}
.btn:active::before { display: none; }

.btn--secondary {
  color: var(--soil);
  text-shadow: none;
  background: linear-gradient(180deg, var(--kraft-300), var(--kraft-400) 70%);
  box-shadow: inset 0 -7px 0 var(--kraft-600), var(--elev-1);
}
.btn--secondary:hover { color: var(--soil); }
.btn--secondary:active {
  background: #D6B989;
  box-shadow: inset 0 -3px 0 var(--kraft-600), var(--elev-1);
}

.btn-note {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--text-2);
}

/* ---------- plant tags and stickers ---------- */

.tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 2px 14px 2px 30px;
  border: var(--stroke-s) solid var(--soil);
  border-radius: var(--radius-s);
  background: var(--kraft-400);
  color: var(--soil);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  box-shadow: var(--elev-1);
}
.tag::before { /* punched hole */
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -5.5px;
  border-radius: 50%;
  border: var(--stroke-s) solid var(--soil);
  background: var(--panel);
}
.tag img { width: 24px; height: 24px; }
.tag--paper { background: var(--panel-top); }
.tag--sun { background: var(--sunbeam-500); }
.tag--indica { background: var(--plum-500); color: var(--white); text-shadow: var(--ring-2); }
.tag--sativa { background: var(--citrus-500); }
.tag--hybrid { background: var(--lime-500); }

.tag-row {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.sticker { transform: rotate(-2deg); }
.sticker--right { transform: rotate(2deg); }

/* ---------- shouts (Shrikhand, 1 to 3 words only) ---------- */

.shout {
  font-family: var(--font-shout);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--terracotta-500);
  text-shadow: var(--ring-3), 0 6px 0 var(--soil), 2px 6px 0 var(--soil), -2px 6px 0 var(--soil);
  margin: 0 0 0.45em;
  padding: 0 4px 6px;
}
.shout--cream { color: var(--paper-100); }
.shout--xl { font-size: clamp(2.4rem, 7vw, 3.5rem); }
.shout--l { font-size: clamp(2rem, 5.5vw, 2.75rem); }
.shout--m { font-size: 2rem; }

/* ---------- seed packet panel ---------- */

.packet {
  position: relative;
  background: linear-gradient(180deg, var(--panel-top), var(--panel));
  border: var(--stroke) solid var(--soil);
  border-radius: var(--radius-xl);
  box-shadow: var(--elev-3);
  padding: 20px;
}
@media (min-width: 760px) {
  .packet { padding: 28px 32px; }
}
.packet::before { /* sun glint */
  content: "";
  position: absolute;
  top: 10px;
  left: 16px;
  width: 24px;
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.7);
  transform: rotate(-20deg);
  pointer-events: none;
}
.packet--band { padding-top: 0; }
.packet--band::before { display: none; }

.band {
  position: relative;
  margin: 0 -20px 22px;
  padding: 14px 20px 20px;
  background: linear-gradient(180deg, var(--terracotta-300), var(--terracotta-500) 75%);
  border-radius: calc(var(--radius-xl) - 4px) calc(var(--radius-xl) - 4px) 0 0;
  border-bottom: var(--stroke) solid var(--soil);
}
@media (min-width: 760px) {
  .band { margin: 0 -32px 26px; padding: 16px 32px 22px; }
}
.band::after { /* perforation */
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 7px;
  height: 4px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--paper-100) 0 12px, transparent 12px 20px);
}
.band .shout,
.band h2,
.band h1 {
  margin: 0;
  color: var(--paper-100);
}
.band h2:not(.shout) { text-shadow: var(--ring-2), 0 3px 0 var(--soil); }

.halftone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 180px;
  height: 110px;
  background: url("img/halftone.webp") right bottom / contain no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

/* illustration window */
.window {
  position: relative;
  border: var(--stroke) solid var(--soil);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-300), var(--paper-100));
  box-shadow: var(--elev-2);
}
.window img { width: 100%; }

/* ---------- home: hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--sky-300) 0%, var(--sky-100) 55%, var(--paper-100) 100%);
  padding: 24px 0 48px;
}
.hero .wrap {
  display: grid;
  gap: 28px;
  align-items: center;
}
.hero-copy { text-align: center; }
.hero h1 { margin: 0 auto 8px; max-width: min(320px, 84vw); }
.hero h1 img { width: 100%; }
.tagline {
  font-weight: 800;
  font-size: clamp(1.4rem, 4.6vw, 1.75rem);
  line-height: 1.2;
  margin: 0 0 10px;
}
.lead {
  font-size: 1.2rem;
  max-width: 34em;
  margin: 0 auto 22px;
}
.hero-art { position: relative; padding-top: 14px; }
.hero-art .tag { position: absolute; top: 0; left: 14px; z-index: 1; }

@media (min-width: 960px) {
  .hero { padding: 40px 0 64px; }
  .hero .wrap { grid-template-columns: 5fr 7fr; gap: 40px; }
  .hero-copy { text-align: left; }
  .hero h1 { margin: 0 0 8px -6px; max-width: 400px; }
  .lead { margin-left: 0; }
}

/* ---------- home: sections ---------- */

.section { padding: 48px 0; }
.section--kraft {
  background: var(--kraft-300);
  border-top: var(--stroke) solid var(--soil);
  border-bottom: var(--stroke) solid var(--soil);
}
.section-head { text-align: center; margin-bottom: 32px; }
.section-head p { max-width: 36em; margin: 0 auto; font-size: 1.15rem; }

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 48px;
}
.feature {
  display: grid;
  gap: 20px;
  align-items: center;
}
.feature-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.feature-kicker img { width: 48px; height: 48px; flex: none; }
.feature-kicker .shout { margin: 0; font-size: 2rem; }
.feature h3 { font-size: 1.5rem; margin-bottom: 0.4em; }
.feature-art { position: relative; }
.feature-art .stamp {
  position: absolute;
  right: 6%;
  bottom: 10%;
  width: 38%;
  max-width: 200px;
  transform: rotate(-8deg);
}

@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 40px; }
  .feature:nth-child(even) .feature-art { order: 2; }
}

/* Crew chat sample (built in HTML, no image). Not on any page while the game has no Crews; kept for when it does. */
.chat {
  background: var(--panel);
  border: var(--stroke) solid var(--soil);
  border-radius: var(--radius-m);
  box-shadow: var(--elev-2);
  padding: 16px;
  display: grid;
  gap: 10px;
}
.chat-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 800;
  border-bottom: var(--stroke-s) solid var(--kraft-400);
  padding-bottom: 8px;
}
.chat-line {
  background: var(--panel-top);
  border: var(--stroke-s) solid var(--soil);
  border-radius: 14px;
  padding: 6px 12px;
  font-size: 1rem;
}
.chat-line b { display: block; font-size: 0.95rem; }
.chat-line--share { background: var(--sky-100); }
.chat-line--notice {
  background: transparent;
  border-style: dashed;
  color: var(--text-2);
}

/* Big Weed memo (villain skin only: flat, stiff, grey) */
.memo {
  background: var(--corp-50);
  border: 2px solid var(--corp-800);
  border-radius: 6px;
  box-shadow: 0 4px 0 rgba(42, 49, 60, 0.35);
  color: var(--corp-800);
  font-family: var(--font-corp);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 460px;
  margin-top: 18px;
}
.memo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--corp-500);
  color: var(--white);
  border-bottom: 4px solid var(--corp-200);
  padding: 6px 14px;
  font-size: 1.35rem;
  border-radius: 4px 4px 0 0;
}
.memo-hex {
  width: 22px;
  height: 22px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  background: var(--corp-200);
}
.memo p { margin: 0; padding: 12px 14px 6px; font-size: 1.15rem; line-height: 1.3; }
.barcode {
  height: 22px;
  margin: 4px 14px 12px;
  width: 140px;
  background: repeating-linear-gradient(90deg,
    var(--corp-800) 0 2px, transparent 2px 4px, var(--corp-800) 4px 7px, transparent 7px 8px,
    var(--corp-800) 8px 9px, transparent 9px 12px);
}

/* promise cards */
.promises {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}
@media (min-width: 860px) {
  .promises { grid-template-columns: repeat(3, 1fr); }
}
.promises .packet { height: 100%; }
.promises h3 { margin-top: 6px; }
.promises p:last-child { margin-bottom: 0; }

/* availability panel */
.get {
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 860px) {
  .get { grid-template-columns: 3fr 2fr; }
}
.get .btn { margin-top: 4px; }
.age-note {
  display: grid;
  gap: 12px;
  justify-items: start;
}

/* Sun-Dot bullet lists */
.dots { list-style: none; padding: 0; }
.dots > li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 0.55em;
}
.dots > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 22px;
  height: 22px;
  background: url("img/sundot.webp") center / contain no-repeat;
}

/* ---------- documents (legal, support) ---------- */

.doc-hero {
  background: linear-gradient(180deg, var(--sky-300), var(--paper-100));
  padding: 32px 0 8px;
}
.doc-hero .wrap { max-width: calc(860px + 2 * var(--gutter)); }
.doc-hero .shout { margin-bottom: 0.25em; }
.doc-meta { color: var(--text-2); margin: 0 0 8px; }

.doc {
  max-width: calc(860px + 2 * var(--gutter));
  padding-top: 16px;
  padding-bottom: 56px;
}
.doc .packet { margin-bottom: 28px; }
.doc h2 {
  font-size: 1.5rem;
  margin-top: 1.6em;
  scroll-margin-top: 16px;
}
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin-top: 1.3em; scroll-margin-top: 16px; }
.doc ul:not(.dots):not(.tag-row):not(.facts), .doc ol:not(.steps) { padding-left: 1.4em; }
.doc li { margin-bottom: 0.4em; }
.doc li::marker { color: var(--terracotta-500); font-weight: 800; }

.summary-box {
  background: var(--sunbeam-100);
  border: var(--stroke) solid var(--soil);
  border-radius: var(--radius-m);
  box-shadow: var(--elev-2);
  padding: 18px 20px 6px;
  margin-bottom: 28px;
}
.summary-box h2 { margin-top: 0; font-size: 1.35rem; }

.toc {
  background: var(--panel-top);
  border: var(--stroke-s) solid var(--soil);
  border-radius: var(--radius-m);
  padding: 16px 20px 8px;
  margin-bottom: 28px;
}
.toc h2 { font-size: 1.2rem; margin: 0 0 8px; }
.toc ol { columns: 1; margin: 0 0 8px; }
@media (min-width: 760px) { .toc ol { columns: 2; column-gap: 32px; } }
.toc li { break-inside: avoid; }

/* fact cards: a phone-friendly replacement for wide tables */
.facts {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 16px;
  margin: 0 0 1.2em;
}
.fact {
  background: var(--panel-top);
  border: var(--stroke-s) solid var(--soil);
  border-radius: var(--radius-m);
  box-shadow: var(--elev-1);
  padding: 14px 18px 4px;
}
.fact h3, .fact h4 { margin: 0 0 8px; font-size: 1.15rem; }
.fact dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px 16px;
  margin-bottom: 10px;
}
.fact dt {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-2);
  margin-top: 6px;
}
.fact dd { margin: 0; }
@media (min-width: 680px) {
  .fact dl { grid-template-columns: 10.5em 1fr; }
  .fact dt { margin-top: 0; }
}

@media (max-width: 559px) {
  .doc .packet { padding: 18px 14px; border-radius: 22px; }
  .doc .packet--band { padding-top: 0; }
  .doc .band { margin: 0 -14px 18px; padding: 12px 14px 18px; border-radius: 18px 18px 0 0; }
  .doc .band::after { left: 14px; right: 14px; }
  .fact { padding: 12px 14px 2px; }
  .summary-box { padding: 16px 14px 4px; }
  .steps > li { padding-left: 66px; }
}

.callout {
  border-left: 6px solid var(--terracotta-500);
  background: var(--terracotta-100);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  padding: 12px 16px;
  margin: 0 0 1.2em;
}
.callout p:last-child { margin-bottom: 0; }

.caps { text-transform: uppercase; font-size: 1rem; letter-spacing: 0.02em; line-height: 1.6; }

/* FAQ */
.faq { display: grid; gap: 14px; margin-bottom: 28px; }
.faq details {
  background: var(--panel-top);
  border: var(--stroke) solid var(--soil);
  border-radius: var(--radius-m);
  box-shadow: var(--elev-1);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.3;
  border-radius: calc(var(--radius-m) - 3px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: var(--stroke-s) solid var(--soil);
  border-radius: 50%;
  background: var(--kraft-400);
  font-size: 1.4rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: var(--stroke-s) dashed var(--kraft-600); border-radius: calc(var(--radius-m) - 3px) calc(var(--radius-m) - 3px) 0 0; }
.faq .answer { padding: 14px 18px 4px; }

/* numbered steps (delete account) */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  display: grid;
  gap: 14px;
  margin: 0 0 1.4em;
}
.steps > li {
  counter-increment: step;
  position: relative;
  min-height: 52px;
  padding: 10px 16px 10px 72px;
  background: var(--panel-top);
  border: var(--stroke-s) solid var(--soil);
  border-radius: var(--radius-m);
  box-shadow: var(--elev-1);
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 50%;
  margin-top: -24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: var(--stroke) solid var(--soil);
  box-shadow: inset 0 0 0 3px var(--paper-100);
  background: linear-gradient(180deg, var(--terracotta-300), var(--terracotta-500));
  color: var(--white);
  font-weight: 800;
  font-size: 1.3rem;
  text-shadow: var(--ring-2);
}

.kbd {
  display: inline-block;
  padding: 0 8px;
  border: var(--stroke-s) solid var(--soil);
  border-radius: 6px;
  background: var(--paper-200);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.two-col { display: grid; gap: 20px; }
@media (min-width: 760px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ---------- 404 ---------- */

.lost {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
  padding: 40px 0 64px;
}
.lost img { width: min(240px, 60vw); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--soil);
  color: var(--paper-100);
  padding: 36px 0 28px;
  font-size: 1rem;
}
.site-footer a { color: var(--paper-100); }
.site-footer a:hover { color: var(--sunbeam-300); }
.site-footer :focus-visible { outline-color: var(--sunbeam-500); }
.footer-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 2fr 3fr; }
}
.footer-title {
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--paper-100);
  margin: 0 0 6px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 800;
}
.footer-small {
  border-top: 2px dashed rgba(255, 244, 222, 0.35);
  margin-top: 24px;
  padding-top: 16px;
  font-size: 0.92rem;
  color: var(--paper-200);
}
.footer-small p { margin: 0 0 6px; }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform 120ms cubic-bezier(.34, 1.56, .64, 1); }
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: scale(0.97); transition-duration: 50ms; }
  .site-nav a, .faq summary { transition: background-color 120ms ease-out, border-color 120ms ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  body { background: #fff; }
  .packet, .fact, .faq details, .steps > li { box-shadow: none; }
}
