/* =====================================================================
   FishList: site stylesheet
   Mobile first. Plain CSS with custom properties, no build step.
   Contents: 1 tokens · 2 base · 3 layout · 4 the fish · 5 paste box ·
             6 draft card · 7 list · 8 dialogs · 9 sections · 10 share page · 11 motion
   ===================================================================== */

/* ---------- Fonts (self-hosted, so no visitor data goes to Google) ---------- */
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Caslon Text"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/libre-caslon-text-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/libre-caslon-text-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2"); }

/* ---------- 1. Tokens ---------- */
:root {
  /* colour: every text/background pair below is at least WCAG AA (4.5:1) */
  --paper: #fff8ec;
  --paper-deep: #f8ecd6;
  --card: #ffffff;
  --ink: #12303f;
  --ink-soft: #465c69;
  --line: #e6d8bd;
  --coral: #ff6a3d;          /* decorative only (fish, highlights) */
  --coral-deep: #c93a12;     /* buttons and links: 5.1:1 with white */
  --coral-deeper: #a92e0c;
  --sea: #1f7a6d;            /* accents and badges */
  --sea-tint: #dff2ee;
  --sun: #ffd166;
  --danger: #a4231a;
  --danger-tint: #fdeceb;
  --focus: #1b5fe0;

  /* type */
  --serif: "Libre Caslon Text", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* space and shape */
  --gap: clamp(1rem, 2.5vw, 1.5rem);
  --radius: 1.1rem;
  --radius-sm: 0.7rem;
  --shadow: 0 1px 0 rgb(18 48 63 / 6%), 0 10px 30px -12px rgb(18 48 63 / 22%);
  --maxw: 72rem;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(60rem 30rem at 85% -10%, rgb(255 209 102 / 35%), transparent 60%),
    radial-gradient(50rem 30rem at -10% 10%, rgb(31 122 109 / 10%), transparent 60%);
  background-repeat: no-repeat;
  min-height: 100vh;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 6.4vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
em, .italic { font-style: italic; }
a { color: var(--coral-deep); text-underline-offset: 0.18em; text-decoration-thickness: 0.09em; }
a:hover { color: var(--coral-deeper); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff;
  padding: 0.7rem 1rem; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- 3. Layout ---------- */
.wrap { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }
.site-header { padding: 1.1rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 2.4rem; height: 2.4rem; flex: none; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; }
.brand__name span { color: var(--coral-deep); }
.site-nav { display: flex; gap: 1.25rem; align-items: center; font-weight: 600; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 0.5rem 0.25rem; }
.site-nav a, .site-footer nav a, .brand { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-nav a:hover { color: var(--coral-deep); text-decoration: underline; }

.hero { padding: 0.5rem 0 2.5rem; }
.hero__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 60rem) {
  .hero { padding-top: 2rem; }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
}
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sea); margin-bottom: 0.9rem;
}
.hero h1 em { color: var(--coral-deep); font-style: italic; }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--ink-soft); max-width: 34rem; }

/* ---------- 4. The fish (pure CSS: shapes, gradients, transforms; no images) ---------- */
.pond { position: relative; aspect-ratio: 5 / 4; width: 100%; max-width: 30rem; margin-inline: auto; container-type: inline-size; }
.pond__water {
  position: absolute; inset: 0; border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%; overflow: hidden; display: grid; place-items: center;
  background:
    radial-gradient(120% 60% at 50% -10%, rgb(255 255 255 / 55%), transparent 55%),
    repeating-radial-gradient(100% 26% at 50% 112%, transparent 0 1.4rem, rgb(255 255 255 / 9%) 1.4rem 1.55rem),
    linear-gradient(170deg, #8fd6d6 0%, #3da3ae 45%, #1a6478 100%);
  box-shadow: inset 0 -1.5rem 3rem rgb(8 44 60 / 35%), var(--shadow);
}
.pond__tag {
  position: absolute; right: -1%; top: 3%; display: flex; align-items: center; gap: 0.5rem; z-index: 2;
  background: var(--card); color: var(--ink); padding: 0.45rem 0.8rem; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; box-shadow: var(--shadow); rotate: 4deg;
}
.pond__tag b { color: var(--sea); }

.fish { --look-x: 0; --look-y: 0; position: relative; font-size: clamp(0.5rem, 3.9cqw, 1.5rem); width: 21em; height: 14em; }
.fish__bob { position: absolute; inset: 0; animation: bob 4.2s ease-in-out infinite; }
.fish__body {
  position: absolute; left: 1em; top: 2.6em; width: 15em; height: 10em; overflow: hidden;
  border-radius: 52% 48% 46% 54% / 56% 56% 44% 44%;
  background: radial-gradient(120% 110% at 30% 18%, #ffb07a 0%, var(--coral) 45%, #e8452b 100%);
  box-shadow: inset -0.6em -0.8em 1.4em rgb(120 20 0 / 25%);
}
.fish__belly {
  position: absolute; left: 1.2em; bottom: -2.6em; width: 12em; height: 6em; border-radius: 50%;
  background: linear-gradient(#ffe2bd, #ffd0a0);
}
.fish__stripe { position: absolute; top: -1em; bottom: -1em; width: 1.4em; background: rgb(255 255 255 / 22%); border-radius: 50%; transform: skewX(-12deg); }
.fish__stripe--1 { left: 7.6em; }
.fish__stripe--2 { left: 10.4em; width: 1em; }
.fish__tail {
  position: absolute; left: 14.4em; top: 3.4em; width: 6em; height: 8em; background: linear-gradient(90deg, #e8452b, #ff6a3d);
  clip-path: polygon(0 50%, 100% 0, 76% 50%, 100% 100%); transform-origin: 0 50%; animation: wag 1.8s ease-in-out infinite;
}
.fish__fin { position: absolute; background: #e8452b; }
.fish__fin--top { left: 5.2em; top: 0.4em; width: 6.4em; height: 3.4em; clip-path: polygon(0 100%, 34% 6%, 62% 62%, 100% 100%); border-radius: 50% 50% 0 0; }
.fish__fin--side {
  left: 8.4em; top: 8.2em; width: 3.4em; height: 3.2em; border-radius: 0 100% 0 100%; rotate: 20deg;
  background: linear-gradient(135deg, #ff8a5c, #e8452b); transform-origin: 20% 10%; animation: flap 2.4s ease-in-out infinite;
}
.fish__eye {
  position: absolute; left: 2.6em; top: 2.4em; width: 3.6em; height: 3.6em; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0.22em rgb(120 30 10 / 25%); overflow: hidden; animation: blink 6s infinite;
}
.fish__pupil {
  position: absolute; left: 50%; top: 50%; width: 1.9em; height: 1.9em; margin: -0.95em 0 0 -0.95em; border-radius: 50%; background: var(--ink);
  transform: translate(calc(var(--look-x) * 0.7em), calc(var(--look-y) * 0.6em)); transition: transform 0.12s ease-out;
}
.fish__pupil::after { content: ""; position: absolute; left: 0.32em; top: 0.3em; width: 0.6em; height: 0.6em; border-radius: 50%; background: #fff; }
.fish__cheek { position: absolute; left: 4.6em; top: 6.2em; width: 1.8em; height: 1.1em; border-radius: 50%; background: rgb(255 120 130 / 55%); }
.fish__mouth {
  position: absolute; left: 1.5em; top: 6.6em; width: 2em; height: 1em; border-bottom: 0.3em solid #7a2410; border-radius: 0 0 2em 2em;
  transition: all 0.2s ease;
}
.fish__sweat { display: none; position: absolute; left: 0.6em; top: 1.2em; width: 1.2em; height: 1.7em; background: #8fd6ff; border-radius: 50% 50% 55% 55% / 65% 65% 40% 40%; }
.bubble { position: absolute; border-radius: 50%; border: 0.18em solid rgb(255 255 255 / 70%); background: rgb(255 255 255 / 14%); animation: rise 5s linear infinite; }
.b1 { left: 1%; bottom: 40%; width: 1.4em; height: 1.4em; }
.b2 { left: -4%; bottom: 52%; width: 0.9em; height: 0.9em; animation-delay: -2s; }
.b3 { left: 6%; bottom: 62%; width: 0.6em; height: 0.6em; animation-delay: -3.4s; }

/* moods: idle, curious (typing), working (reading a page), happy (added), oops (problem) */
.fish[data-mood="curious"] .fish__mouth { width: 1em; height: 1.1em; border: 0.28em solid #7a2410; border-radius: 50%; top: 6.4em; left: 1.9em; }
.fish[data-mood="curious"] .fish__bob { animation-duration: 2.6s; }
.fish[data-mood="working"] .fish__tail { animation-duration: 0.45s; }
.fish[data-mood="working"] .fish__mouth { width: 1em; height: 1em; border: 0.28em solid #7a2410; border-radius: 50%; left: 1.9em; }
.fish[data-mood="working"] .bubble { animation-duration: 1.8s; }
.fish[data-mood="happy"] .fish__bob { animation: hop 0.9s ease-out 1; }
.fish[data-mood="happy"] .fish__tail { animation-duration: 0.35s; }
.fish[data-mood="happy"] .fish__mouth { width: 2.6em; height: 1.4em; left: 1.3em; top: 6.2em; border-bottom-width: 0.34em; }
.fish[data-mood="oops"] .fish__mouth { height: 0; border-radius: 0; border-bottom-width: 0.3em; width: 1.6em; left: 1.7em; top: 7.3em; }
.fish[data-mood="oops"] .fish__sweat { display: block; }
.fish[data-mood="oops"] .fish__tail { animation-duration: 4s; }

@keyframes bob { 0%, 100% { transform: translateY(-0.5em) rotate(-1.2deg); } 50% { transform: translateY(0.6em) rotate(1.2deg); } }
@keyframes wag { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
@keyframes flap { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(10deg); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.08); } }
@keyframes rise { 0% { transform: translateY(0) scale(0.8); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-9em) scale(1.1); opacity: 0; } }
@keyframes hop { 0% { transform: translateY(0); } 35% { transform: translateY(-2.2em) rotate(-6deg); } 70% { transform: translateY(0.3em); } 100% { transform: translateY(0); } }

/* Once a list has been started, tighten the top of the page so the list stays in view */
.is-active .hero { padding-bottom: 1.2rem; }
.is-active .eyebrow, .is-active .lede { display: none; }
.is-active h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.is-active .catch { margin-top: 0.8rem; }
.is-active .pond { max-width: 13rem; }
.is-active .pond__tag { display: none; }
@media (min-width: 60rem) { .is-active .hero__grid { grid-template-columns: 1fr 13rem; } }
@media (max-width: 59.99rem) { .is-active .pond { display: none; } }

/* ---------- 5. Paste box and buttons ---------- */
.catch { margin-top: 1.6rem; max-width: 38rem; }
.catch__label { display: block; font-weight: 700; margin-bottom: 0.45rem; }
.catch__row { display: grid; gap: 0.7rem; }
@media (min-width: 34rem) { .catch__row { grid-template-columns: 1fr auto; } }
.field {
  width: 100%; font: inherit; color: var(--ink); background: var(--card); border: 2px solid #b9a888; border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; min-height: 3.2rem;
}
.field::placeholder { color: #5b6d77; opacity: 1; }
.field:focus-visible { outline-offset: 2px; border-color: var(--ink); }
.field[aria-invalid="true"] { border-color: var(--danger); }
.catch__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-top: 0.7rem; }
.btn {
  font: inherit; font-weight: 700; cursor: pointer; border-radius: var(--radius-sm); border: 2px solid transparent;
  padding: 0.75rem 1.25rem; min-height: 3rem; min-width: 3rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  text-decoration: none; line-height: 1.2;
}
.btn--primary { background: var(--coral-deep); color: #fff; box-shadow: 0 3px 0 var(--coral-deeper); }
.btn--primary:hover { background: var(--coral-deeper); color: #fff; }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--coral-deeper); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--quiet { background: none; border: 0; color: var(--coral-deep); text-decoration: underline; padding: 0.5rem 0.3rem; min-height: 2.75rem; }
.btn--quiet:hover { color: var(--coral-deeper); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }
.hint { font-size: 0.95rem; color: var(--ink-soft); margin: 0.7rem 0 0; }
.msg { margin: 0.8rem 0 0; padding: 0.7rem 0.9rem; border-radius: var(--radius-sm); font-weight: 500; }
.msg--error { background: var(--danger-tint); color: var(--danger); border: 1px solid #efb6b1; }
.msg--info { background: var(--sea-tint); color: #0f4f46; border: 1px solid #a9d8cf; }

/* ---------- 6. Draft card (the page we just read) ---------- */
.workspace { padding: 0 0 3rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1rem, 3vw, 1.6rem); }
.draft { margin-bottom: 1.4rem; }
.draft__grid { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .draft__grid { grid-template-columns: 11rem 1fr; } }
.thumb {
  aspect-ratio: 1; width: 100%; max-width: 11rem; border-radius: var(--radius-sm); background: var(--paper-deep); display: grid; place-items: center;
  overflow: hidden; border: 1px solid var(--line);
}
.thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.thumb--empty { color: var(--ink-soft); font-size: 0.85rem; text-align: center; padding: 0.5rem; }
.form-row { display: grid; gap: 0.35rem; margin-bottom: 0.9rem; }
.form-row label, .form-row legend { font-weight: 700; font-size: 0.95rem; padding: 0; }
.form-split { display: grid; gap: 0.9rem; }
@media (min-width: 34rem) { .form-split { grid-template-columns: 1fr 8rem; } }
fieldset { border: 0; margin: 0 0 0.9rem; padding: 0; min-width: 0; }
fieldset legend { font-weight: 700; font-size: 0.95rem; padding: 0; margin-bottom: 0.35rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 0.55rem 0.95rem; border: 2px solid #b9a888; border-radius: 999px; font-weight: 600; background: #fff; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.price-line { display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem; align-items: center; margin: 0 0 1rem; color: var(--ink-soft); font-size: 0.98rem; }
.badge { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; font-weight: 700; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--sea-tint); color: #0f4f46; }
.badge--warm { background: #ffe9c2; color: #6a3d00; }
.badge--quiet { background: var(--paper-deep); color: var(--ink); }
.shop-link { word-break: break-all; font-size: 0.9rem; color: var(--ink-soft); }
.skeleton { display: grid; gap: 0.6rem; }
.skeleton i { display: block; height: 1rem; border-radius: 0.5rem; background: linear-gradient(90deg, var(--paper-deep), #fff, var(--paper-deep)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton i:nth-child(1) { width: 70%; height: 1.4rem; } .skeleton i:nth-child(2) { width: 90%; } .skeleton i:nth-child(3) { width: 40%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- 7. The list ---------- */
.list-head { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; align-items: end; justify-content: space-between; margin-bottom: 1rem; }
.list-title {
  font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2.1rem); color: var(--ink); background: transparent; border: 0;
  border-bottom: 2px dashed #b9a888; padding: 0.15rem 0; width: min(100%, 26rem); border-radius: 0;
}
.list-title:hover { border-bottom-color: var(--ink); }
.list-title:focus-visible { outline-offset: 4px; border-bottom-style: solid; }
.list-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; color: var(--ink-soft); font-size: 0.95rem; }
.list-meta select { font: inherit; padding: 0.4rem 0.6rem; border-radius: var(--radius-sm); border: 2px solid #b9a888; background: #fff; color: var(--ink); min-height: 2.75rem; }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); }
.item { display: grid; grid-template-rows: auto 1fr auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.item__img { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.item__img img { width: 100%; height: 100%; object-fit: contain; }
.item__img--empty { background: var(--paper-deep); color: var(--ink-soft); font-size: 0.9rem; }
.item__body { padding: 0.9rem 1rem 0.4rem; }
.item__title { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin: 0 0 0.3rem; line-height: 1.3; letter-spacing: 0; }
.item__shop { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 0.5rem; }
.item__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.5rem; }
.item__price { font-weight: 800; font-size: 1.15rem; margin: 0; }
.item__price small { font-weight: 500; color: var(--ink-soft); font-size: 0.85rem; }
.item__note { color: var(--ink-soft); font-size: 0.92rem; margin: 0.4rem 0 0; }
.item__foot { display: flex; gap: 0.4rem; justify-content: space-between; align-items: center; padding: 0.3rem 0.6rem 0.7rem 1rem; }
.empty { text-align: center; padding: 2rem 1rem; color: var(--ink-soft); }
.sharebar { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; justify-content: space-between; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 2px dotted var(--line); }
.sharebar p { margin: 0; color: var(--ink-soft); }
@media (max-width: 39.99rem) {
  .sharebar.is-sticky { position: sticky; bottom: 0; background: var(--paper); margin: 1.4rem -1rem -1rem; padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom)); box-shadow: 0 -8px 20px -12px rgb(18 48 63 / 35%); z-index: 20; }
}

/* ---------- 8. Dialogs and toasts ---------- */
dialog { border: 0; border-radius: var(--radius); padding: 0; max-width: min(32rem, calc(100vw - 2rem)); width: 100%; color: var(--ink); background: var(--card); box-shadow: 0 30px 80px -20px rgb(8 30 42 / 55%); }
dialog::backdrop { background: rgb(18 48 63 / 55%); }
.dialog__inner { padding: clamp(1.2rem, 4vw, 1.8rem); }
.dialog__inner h2 { font-size: 1.6rem; }
.dialog__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.1rem; align-items: center; }
.copy-row { display: grid; gap: 0.6rem; }
@media (min-width: 30rem) { .copy-row { grid-template-columns: 1fr auto; } }
.field--mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.95rem; }

/* ---------- 9. Sections: how it works, footer ---------- */
.section { padding: 3rem 0; }
.section--tint { background: var(--paper-deep); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1.2rem; counter-reset: step; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; right: 1rem; top: 0.6rem; font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--sun); line-height: 1; }
.step svg { width: 2.6rem; height: 2.6rem; color: var(--sea); margin-bottom: 0.6rem; }
.step h3 { margin-bottom: 0.3rem; }
.step p { margin: 0; color: var(--ink-soft); }
.notice { font-size: 0.95rem; color: var(--ink-soft); max-width: 44rem; }
.notice--spaced { margin-top: 1.6rem; }
.manual { margin: 0.6rem 0 0; }
.site-footer { padding: 2rem 0 3rem; font-size: 0.95rem; color: var(--ink-soft); }
.site-footer .wrap { display: grid; gap: 0.8rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.prose { max-width: 44rem; padding-bottom: 3rem; }
.prose h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose li { margin-bottom: 0.4rem; }

/* ---------- 10. Share page (read-only for now) ---------- */
.share-hero { padding: 1rem 0 1.5rem; }
.share-hero .lede { margin-bottom: 0.4rem; }
.state { text-align: center; padding: 3rem 1rem; max-width: 34rem; margin: 0 auto; }
.banner { background: var(--sea-tint); color: #0f4f46; border: 1px solid #a9d8cf; border-radius: var(--radius-sm); padding: 0.8rem 1rem; margin-bottom: 1.2rem; }

/* ---------- 11. Motion: respect people who prefer less ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .fish[data-mood="happy"] .fish__mouth { width: 2.6em; }
}
