/* ==========================================================================
   Dog Rose Creative — "an old ledger on a maker's bench"
   Tokens come from the Dog Rose Creative design system.
   ========================================================================== */

:root {
  /* Day ledger */
  --paper: #ECE7DC;
  --sheet: #F9F7F1;
  --ink: #1C2030;
  --ink-2: #474D60;
  --ink-3: #777B8A;      /* small labels at 24px+ or decorative only */
  --rule: #C9C1AF;
  --rule-soft: #E3DDCF;
  --stamp: #9A2E25;      /* the dog-rose red: one stamp per section */
  --brass: #8E6D34;      /* tiny decorative touches only */
  --jewelry: #243A6B;
  --psychic: #4B2F72;
  --accent: var(--ink);  /* edition pages override this */
  --device: #1C2030;     /* laptop mockup body */
  --shadow-sheet: 0 1px 0 rgba(60, 50, 30, .06), 0 10px 30px -12px rgba(60, 50, 30, .28);
  --grain-opacity: .55;

  --font-display: "IM Fell English", Georgia, "Times New Roman", serif;
  --font-sc: "IM Fell English SC", "IM Fell English", Georgia, serif;
  --font-body: "Spectral", Georgia, "Times New Roman", serif;
  --font-mono: "Courier Prime", "Courier New", Courier, monospace;

  --radius: 2px;
  --radius-stamp: 3px;
  --gutter: 16px;
  --measure: 38rem;
  color-scheme: light;
}

/* Night ledger: follows the device unless a theme is chosen */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14161D;
    --sheet: #1B1E27;
    --ink: #EAE5D8;
    --ink-2: #BDB8AB;
    --ink-3: #8D8A7F;
    --rule: #3B3E4A;
    --rule-soft: #2A2D37;
    --stamp: #E58A78;
    --brass: #D2B272;
    --jewelry: #A8BCE6;
    --psychic: #C4AEEA;
    --shadow-sheet: 0 1px 0 rgba(0, 0, 0, .3), 0 14px 34px -14px rgba(0, 0, 0, .7);
    --grain-opacity: .18;
    --device: #3B3E4A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #14161D;
  --sheet: #1B1E27;
  --ink: #EAE5D8;
  --ink-2: #BDB8AB;
  --ink-3: #8D8A7F;
  --rule: #3B3E4A;
  --rule-soft: #2A2D37;
  --stamp: #E58A78;
  --brass: #D2B272;
  --jewelry: #A8BCE6;
  --psychic: #C4AEEA;
  --shadow-sheet: 0 1px 0 rgba(0, 0, 0, .3), 0 14px 34px -14px rgba(0, 0, 0, .7);
  --grain-opacity: .18;
  --device: #3B3E4A;
  color-scheme: dark;
}

.ed-jewelry { --accent: var(--jewelry); }
.ed-psychic { --accent: var(--psychic); }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  position: relative;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
/* Faint warm paper grain. A small tiled SVG, no images to download. */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .36 0 0 0 0 .22 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }
@media (min-width: 720px) { body { font-size: 17px; } :root { --gutter: 28px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--stamp); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--radius); }
::selection { background: var(--rule); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 9vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 5.5vw, 2.8rem); letter-spacing: -.005em; }
h3 { font-size: 1.4rem; line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--accent); }
p { margin: 0; }
.prose > * + * { margin-top: 1em; }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }

.lede { font-size: 1.12em; color: var(--ink-2); max-width: 34rem; }
.muted { color: var(--ink-2); }
.eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: var(--ink-2); }
.label {
  font-family: var(--font-sc);
  font-size: .82rem;
  letter-spacing: .12em;
  color: var(--ink-2);
}
.mono, .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* A 3px double rule under headlines and totals */
.ruled::after {
  content: "";
  display: block;
  width: min(15rem, 70%);
  border-top: 3px double var(--rule);
  margin-top: .45em;
}
.center .ruled::after, .ruled.center::after { margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -60px; z-index: 50;
  background: var(--ink); color: var(--sheet); padding: .6em 1em; font-family: var(--font-sc); letter-spacing: .1em;
}
.skip-link:focus { top: 10px; color: var(--sheet); }

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

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.section { padding-block: 3.5rem; border-top: 1px solid var(--rule); }
.section.flush { border-top: 0; }
@media (min-width: 720px) { .section { padding-block: 5rem; } }
.section-head { display: grid; gap: .7rem; margin-bottom: 2.2rem; max-width: 42rem; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.stack { display: grid; gap: 1rem; }
.center { text-align: center; }

.kicker { display: flex; align-items: baseline; gap: .7em; font-family: var(--font-sc); font-size: .82rem; letter-spacing: .14em; color: var(--ink-2); }
.kicker .num { font-size: .85rem; letter-spacing: 0; color: var(--ink-2); }

.split { display: grid; gap: 2.5rem; align-items: center; }
.split > *, .grid-2 > *, .features > *, .steps > *, .step > *, .policy > *, .feature-row > * { min-width: 0; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split.flip > :first-child { order: 2; } }

.grid-2 { display: grid; gap: 2rem; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; } }
.grid-3 { display: grid; gap: 2rem; }
@media (min-width: 820px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--paper);
  border-bottom: 3px double var(--rule);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
/* LOGO SLOT: reserved for the round wild-rose stamp logo.
   When it's ready, replace the span with:
   <img class="logo-mark" src="assets/logo.svg" alt="" width="44" height="44">
   (alt stays empty because the wordmark beside it already names the business) */
.logo-slot {
  width: 44px; height: 44px; flex: none;
  border: 1px dashed var(--rule);
  border-radius: 50%;
}
.wordmark { display: grid; line-height: 1; }
.wordmark-name { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.005em; }
.wordmark-line { font-family: var(--font-sc); font-size: .66rem; letter-spacing: .16em; color: var(--ink-2); margin-top: .3em; }
@media (max-width: 479px) {
  .brand { gap: .5rem; }
  .logo-slot { width: 34px; height: 34px; }
  .wordmark-name { font-size: 1.12rem; }
  .wordmark-line { font-size: .56rem; letter-spacing: .12em; }
}

.nav-toggle {
  display: none;
  font-family: var(--font-sc); font-size: .9rem; letter-spacing: .12em;
  color: var(--ink); background: transparent;
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: .55em .9em .45em; min-height: 44px; cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; align-items: center; }
.site-nav a {
  font-family: var(--font-sc); font-size: .95rem; letter-spacing: .1em;
  color: var(--ink); text-decoration: none;
  display: inline-block; padding: .55em 0 .4em; border-bottom: 1.5px solid transparent;
}
.site-nav a:hover { color: var(--stamp); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--stamp); }

/* Mobile: collapse the nav behind a Menu button (only once JS is running, so it's never unreachable) */
@media (max-width: 879px) {
  .js .nav-toggle { display: inline-flex; align-items: center; }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.open { display: block; }
  .header-inner { flex-wrap: wrap; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding-block: .4rem .8rem; }
  .site-nav li + li { border-top: 1px solid var(--rule-soft); }
  .site-nav a { display: block; padding: .8em 0 .7em; border-bottom: 0; }
  .site-nav a[aria-current="page"] { color: var(--stamp); }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px;
  padding: .75em 1.4em .62em;
  font-family: var(--font-sc); font-size: 1rem; letter-spacing: .11em; line-height: 1.1;
  text-decoration: none; text-align: center;
  color: var(--sheet); background: var(--ink);
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--stamp); border-color: var(--stamp); color: var(--sheet); }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: transparent; color: var(--stamp); border-color: var(--stamp); }
.btn .arrow { font-family: var(--font-display); letter-spacing: 0; font-size: 1.15em; line-height: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.text-link { font-family: var(--font-sc); letter-spacing: .1em; font-size: .95rem; }

/* --------------------------------------------------------------------------
   Rubber stamp
   -------------------------------------------------------------------------- */
.stamp {
  display: inline-block;
  font-family: var(--font-sc);
  font-size: .95rem;
  letter-spacing: .09em;
  line-height: 1.25;
  color: var(--stamp);
  border: 1.5px solid currentColor;
  border-radius: var(--radius-stamp);
  padding: .28em .7em .18em;
  transform: rotate(-3deg);
  white-space: nowrap;
  background: transparent;
}
.stamp.lg { font-size: 1.2rem; padding: .3em .8em .2em; transform: rotate(-6deg); }
.stamp.sm { font-size: .8rem; transform: rotate(-1.5deg); }
.stamp.on-sheet { background: var(--sheet); }

/* --------------------------------------------------------------------------
   Sheets, placeholders, mockups
   -------------------------------------------------------------------------- */
.sheet { background: var(--sheet); border-radius: var(--radius); box-shadow: var(--shadow-sheet); }

/* Screenshot placeholder. Replace each .shot with a real <img alt="..."> */
.shot {
  margin: 0;
  display: grid; place-content: center; justify-items: center; gap: .35rem;
  aspect-ratio: 16 / 10;
  max-width: 100%;
  padding: 1rem;
  text-align: center;
  background:
    repeating-linear-gradient(-45deg, transparent 0 11px, var(--rule-soft) 11px 12px),
    var(--sheet);
  border: 1px dashed var(--ink-3);
  border-radius: var(--radius);
  color: var(--ink-2);
}
.shot .label { color: var(--ink-2); }
.shot .mono { font-size: .8rem; color: var(--ink-2); background: var(--sheet); padding: 0 .4em; }
.shot.tall { aspect-ratio: 4 / 5; }
.shot.square { aspect-ratio: 1; }
.shot-frame { background: var(--sheet); padding: 8px; border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-sheet); }
.shot-frame .shot { border-color: var(--rule); }

/* Text placeholders for prices, names and copy still to come */
.ph {
  font-family: var(--font-mono);
  font-size: .92em;
  color: var(--ink-2);
  background: repeating-linear-gradient(-45deg, transparent 0 5px, var(--rule-soft) 5px 6px);
  border: 1px dashed var(--ink-3);
  border-radius: var(--radius);
  padding: 0 .35em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ph-block {
  display: grid; gap: .6rem;
  padding: 1.4rem;
  border: 1px dashed var(--ink-3);
  border-radius: var(--radius);
  background: repeating-linear-gradient(-45deg, transparent 0 11px, var(--rule-soft) 11px 12px), var(--sheet);
}
.ph-block p { color: var(--ink-2); }

/* Laptop mockup */
.laptop { position: relative; width: 86%; max-width: 560px; margin-inline: auto; }
@media (min-width: 720px) { .laptop { width: 100%; max-width: min(560px, 88%); } }
.laptop-screen {
  background: var(--device);
  padding: 3.2% 3.2% 3.6%;
  border-radius: 10px 10px 2px 2px;
  box-shadow: var(--shadow-sheet);
}
.laptop-screen .shot { border: 0; border-radius: 0; }
.laptop-base {
  height: 14px;
  margin-inline: -7%;
  background: var(--device);
  border-radius: 0 0 14px 14px;
  position: relative;
}
.laptop-base::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 5px;
  transform: translateX(-50%); background: var(--ink-2); border-radius: 0 0 6px 6px;
}
.laptop .stamp { position: absolute; right: -4px; bottom: 22px; background: var(--sheet); }
@media (min-width: 720px) { .laptop .stamp { right: -18px; bottom: 34px; } }

/* --------------------------------------------------------------------------
   Brass price tag (notched end, punched hole)
   -------------------------------------------------------------------------- */
.tag-wrap { display: inline-block; filter: drop-shadow(0 8px 12px rgba(60, 50, 30, .2)); max-width: 100%; }
.tag {
  position: relative;
  min-width: min(290px, 100%);
  background: var(--sheet);
  border: 1.5px solid var(--ink);
  border-left: 0;
  padding: 1.1rem 1.4rem 1rem 3.3rem;
  clip-path: polygon(28px 0, 100% 0, 100% 100%, 28px 100%, 0 50%);
}
.tag-edge { position: absolute; left: 0; top: 0; width: 30px; height: 100%; }
.tag-edge polyline { stroke: var(--ink); }
.tag-hole {
  position: absolute; left: 22px; top: 50%;
  width: 14px; height: 14px; margin-top: -7px;
  border: 2px solid var(--brass);
  border-radius: 50%;
  background: var(--paper);
}
.tag .label { display: block; }
.tag-price { font-family: var(--font-display); font-size: 3.1rem; line-height: 1; margin: .2rem 0 .45rem; }
.tag-price .ph { font-size: .55em; vertical-align: middle; }
.tag-foot { border-top: 3px double var(--rule); padding-top: .45rem; font-family: var(--font-display); font-style: italic; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Ledger lists (dotted leaders, like an account book)
   -------------------------------------------------------------------------- */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ledger li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--rule);
}
.ledger .item { font-family: var(--font-display); font-size: 1.2rem; }
.ledger .lead { flex: 1 1 2rem; border-bottom: 1.5px dotted var(--ink-3); transform: translateY(-.3em); min-width: 1.5rem; }
.ledger .cost { font-family: var(--font-display); font-style: italic; color: var(--stamp); }
.ledger.total { border-bottom: 3px double var(--rule); }
@media (max-width: 520px) { .ledger .lead { display: none; } .ledger .cost { flex-basis: 100%; } }

/* Checked list (what's included) */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ticks li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .5rem; align-items: baseline; }
.ticks li::before { content: "✓"; font-family: var(--font-mono); color: var(--accent); }
.ed-jewelry .ticks li::before, .ed-psychic .ticks li::before { color: var(--accent); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: 2.6rem 3.5rem; }
@media (min-width: 880px) { .hero { padding-block: 4.5rem 5rem; } }
.hero-copy { display: grid; gap: 1.1rem; justify-items: start; }
.hero-copy h1 { margin-top: -.1rem; }
.hero-thorns { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-top: .4rem; }

.page-hero { padding-block: 2.6rem 2.8rem; }
@media (min-width: 720px) { .page-hero { padding-block: 4rem 3.6rem; } }
.page-hero .wrap { display: grid; gap: 1rem; justify-items: start; }

.crumbs { font-family: var(--font-sc); font-size: .85rem; letter-spacing: .1em; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.crumbs span[aria-hidden] { margin-inline: .45em; }

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */
.features { display: grid; gap: 2.8rem 3rem; }
@media (min-width: 720px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { display: grid; gap: .8rem; align-content: start; }
.feature h3 { margin-top: .4rem; }
.feature p { color: var(--ink-2); }
.feature-note { margin-top: 2rem; color: var(--ink-2); font-style: italic; }

.feature-row { display: grid; gap: 1.6rem; align-items: center; padding-block: 2.2rem; border-top: 1px solid var(--rule-soft); }
.feature-row:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 820px) {
  .feature-row { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; padding-block: 3rem; }
  .feature-row:nth-of-type(even) > :first-child { order: 2; }
}
.feature-row .copy { display: grid; gap: .8rem; }
.feature-row .copy p { color: var(--ink-2); }
.feature-row ul { margin: .2rem 0 0; padding-left: 1.1em; color: var(--ink-2); }
.feature-row li + li { margin-top: .3rem; }

/* Before → after (app to website) */
.before-after { display: grid; gap: 1.2rem; align-items: center; }
@media (min-width: 820px) { .before-after { grid-template-columns: 1fr auto 1fr; gap: 1.6rem; } }
.before-after figure { margin: 0; display: grid; gap: .6rem; }
.before-after figcaption { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.ba-arrow { font-family: var(--font-display); font-size: 2.4rem; color: var(--ink-2); text-align: center; line-height: 1; }
@media (max-width: 819px) { .ba-arrow { transform: rotate(90deg); } }

/* Pay-once panel */
.promise { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 880px) { .promise { grid-template-columns: 1.3fr 1fr; gap: 4rem; } }
.promise-aside { display: grid; gap: 1.6rem; justify-items: start; }
.promise dl { margin: 0; border-top: 1px solid var(--rule); }
.promise dl div { display: grid; gap: .2rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 560px) { .promise dl div { grid-template-columns: 13rem 1fr; gap: 1.5rem; } }
.promise dt { font-family: var(--font-display); font-size: 1.2rem; }
.promise dd { margin: 0; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Editions
   -------------------------------------------------------------------------- */
.editions { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.edition {
  display: grid; gap: .5rem; align-content: start;
  padding: 1.4rem 1.4rem 1.3rem;
  border-radius: var(--radius);
}
.edition.available { background: var(--sheet); box-shadow: var(--shadow-sheet); }
.edition.soon { border: 1px dashed var(--rule); }
.edition h3 { color: var(--accent); }
.edition.soon h3 { color: var(--ink-2); }
.edition h3::after { content: ""; display: block; border-top: 3px double currentColor; opacity: .5; width: 3rem; margin-top: .5rem; }
.edition .who { color: var(--ink-2); font-size: .95em; }
.edition .status { font-family: var(--font-sc); letter-spacing: .12em; font-size: .78rem; color: var(--ink-2); }
.edition.available .status { color: var(--accent); }
.edition .card-link { margin-top: .5rem; }

/* Toolboxes page: larger edition cards */
.edition-list { display: grid; gap: 1.4rem; }
@media (min-width: 720px) { .edition-list { grid-template-columns: 1fr 1fr; } }
.edition-card { display: grid; gap: .9rem; padding: 1.5rem; border-radius: var(--radius); align-content: start; }
.edition-card.available { background: var(--sheet); box-shadow: var(--shadow-sheet); }
.edition-card.soon { border: 1px dashed var(--rule); }
.edition-card h2 { font-size: clamp(1.7rem, 5vw, 2.2rem); color: var(--accent); }
.edition-card.soon h2 { color: var(--ink-2); }
.edition-card .meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 3px double var(--rule); padding-top: .9rem; }
.edition-card .price { font-family: var(--font-display); font-size: 1.6rem; }
.edition-card .shot { aspect-ratio: 16 / 9; }
.edition-card .who { color: var(--ink-2); }

/* Notify form (coming-soon editions) */
.notify { display: grid; gap: 1.2rem; padding: 1.6rem; margin-top: 2.2rem; }
@media (min-width: 820px) { .notify { grid-template-columns: 1fr 1.3fr; align-items: end; gap: 2.4rem; padding: 2rem 2.2rem; } }
.notify h3 { font-size: 1.5rem; }
.notify-fields { display: grid; gap: .9rem; }
@media (min-width: 560px) { .notify-fields { grid-template-columns: 1fr 1fr; } .notify-fields .btn, .notify-fields .form-status { grid-column: 1 / -1; } }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--font-sc); font-size: .85rem; letter-spacing: .12em; color: var(--ink-2); }
.field .hint { font-size: .9rem; color: var(--ink-2); }
input[type="text"], input[type="email"], select {
  width: 100%;
  min-height: 48px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--sheet);
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: .6rem .7rem .5rem;
}
input::placeholder { color: var(--ink-2); opacity: .75; }
input:focus-visible, select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.code-input { font-family: var(--font-mono); font-size: 1.25rem; letter-spacing: .12em; text-transform: uppercase; }
.form-status { min-height: 1.5em; color: var(--ink-2); font-size: .95rem; }
.form-status.notice { border-left: 0; padding: .8rem 1rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); color: var(--ink); }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: step; }
@media (min-width: 820px) { .steps.row { grid-template-columns: repeat(3, 1fr); gap: 2.4rem; } }
.step { display: grid; gap: .6rem; align-content: start; padding-top: 1rem; border-top: 3px double var(--rule); }
.step-num { font-family: var(--font-mono); font-size: 1.05rem; color: var(--stamp); }
.step p { color: var(--ink-2); }

.steps.long .step { grid-template-columns: 1fr; padding-top: 1.6rem; }
@media (min-width: 820px) {
  .steps.long .step { grid-template-columns: 5rem 1fr 1fr; gap: 2.4rem; align-items: start; }
  .steps.long .step-num { font-size: 1.6rem; }
}
.steps.long .step .copy { display: grid; gap: .7rem; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1.05rem 0;
  font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--ink-2); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--stamp); }
.faq .answer { padding: 0 0 1.2rem; color: var(--ink-2); max-width: 40rem; }
.faq .answer > * + * { margin-top: .7em; }

/* --------------------------------------------------------------------------
   Edition page pieces
   -------------------------------------------------------------------------- */
.edition-hero { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 880px) { .edition-hero { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; } }
.edition-hero .hero-copy { gap: 1rem; }
.edition-hero h1 { color: var(--ink); }
.buy-box { display: flex; flex-wrap: wrap; gap: 1.2rem 1.6rem; align-items: center; margin-top: .6rem; }
.buy-note { font-size: .92rem; color: var(--ink-2); }

.specs { display: grid; gap: 2.5rem; }
@media (min-width: 820px) { .specs { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.specs h2 { font-size: clamp(1.6rem, 4.5vw, 2.1rem); margin-bottom: 1.2rem; }

.buy-panel { display: grid; gap: 1.6rem; justify-items: center; text-align: center; padding: 2.4rem 1.4rem; }
.buy-panel .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   About / policies
   -------------------------------------------------------------------------- */
.about-grid { display: grid; gap: 2.5rem; }
@media (min-width: 820px) { .about-grid { grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; } }
.policy-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: 1rem 0; border-block: 1px solid var(--rule); }
.policy-nav a { font-family: var(--font-sc); letter-spacing: .1em; font-size: .92rem; }
.policy { padding-block: 2.4rem; border-top: 1px solid var(--rule); display: grid; gap: 1rem; }
.policy:first-of-type { border-top: 0; }
@media (min-width: 820px) { .policy { grid-template-columns: 15rem 1fr; gap: 3rem; } }
.policy h2 { font-size: 1.7rem; }
.policy .stamp { justify-self: start; margin-top: 1rem; }

.download-card { padding: 1.6rem; display: grid; gap: 1.3rem; }
@media (min-width: 720px) { .download-card { padding: 2.4rem; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 3px double var(--rule); padding-block: 3rem 2.4rem; margin-top: 0; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.site-footer h2 { font-family: var(--font-sc); font-size: .85rem; letter-spacing: .14em; color: var(--ink-2); margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--stamp); }
.footer-thorns { font-family: var(--font-display); font-style: italic; color: var(--ink-2); margin-top: .8rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); font-size: .9rem; color: var(--ink-2); }
.theme-pick { display: flex; align-items: center; gap: .6rem; }
.theme-pick label { font-family: var(--font-sc); letter-spacing: .12em; font-size: .82rem; }
.theme-pick select { width: auto; min-height: 40px; font-size: .9rem; padding: .3rem .5rem; }

/* Logo and real screenshots */
.logo { width: 52px; height: auto; flex: none; }
@media (max-width: 479px) { .logo { width: 40px; } }
.shot-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: var(--sheet); }
.shot-frame .shot-img { border: 1px solid var(--rule); }
.edition-card .shot-img { aspect-ratio: 16 / 9; border: 1px solid var(--rule); }
.feature .shot-img { border: 1px solid var(--rule); }
.shot-img.phone { aspect-ratio: auto; width: min(100%, 300px); justify-self: center; margin-inline: auto; border: 1px solid var(--rule); border-radius: 22px; }
.step .shot-img:not(.phone) { border: 1px solid var(--rule); box-shadow: var(--shadow-sheet); }

.open-toolbox { display: grid; gap: .8rem; padding: clamp(1.2rem, 4vw, 2rem); }
.open-toolbox h2 { font-size: 1.6rem; margin: 0; }
.open-toolbox .btn { white-space: normal; text-align: left; }
.xsmall { font-size: .85rem; }

.btn.is-soon { cursor: default; opacity: .85; }
.btn.is-soon:hover { transform: none; }
