/* ===========================================================================
   Annual Wishes
   Hand-written CSS, no framework. Organized as: tokens, reset, layout,
   components, page blocks, print, responsive.
   =========================================================================== */

/* --- Tokens --------------------------------------------------------------- */

:root {
  --paper:        #fdfaf5;
  --paper-raised: #ffffff;
  --paper-sunk:   #f5efe6;
  --ink:          #232a35;
  --ink-soft:     #5a6472;
  --ink-faint:    #8b95a3;
  --rule:         #e5ddd0;
  --rule-strong:  #d3c8b6;

  --accent:       #c1553c;
  --accent-dark:  #9d4230;
  --accent-wash:  #fbeee9;
  --teal:         #2f6f6a;
  --teal-wash:    #e6f0ef;

  --ok:           #2e7d54;
  --ok-wash:      #e6f3ec;
  --warn:         #a06a12;
  --warn-wash:    #fbf1dd;
  --danger:       #b3261e;
  --danger-wash:  #fbeae9;

  --radius:    10px;
  --radius-sm: 6px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(35, 42, 53, .06), 0 1px 3px rgba(35, 42, 53, .05);
  --shadow-md: 0 2px 6px rgba(35, 42, 53, .07), 0 8px 24px rgba(35, 42, 53, .07);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:  ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --measure: 68ch;
  --gap:     1.5rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:        #14181f;
    --paper-raised: #1b212b;
    --paper-sunk:   #10141a;
    --ink:          #e8eaee;
    --ink-soft:     #a8b2c0;
    --ink-faint:    #77818f;
    --rule:         #2a323e;
    --rule-strong:  #3a4350;

    --accent:       #e08268;
    --accent-dark:  #f0a08a;
    --accent-wash:  #2c1f1b;
    --teal:         #6fb3ac;
    --teal-wash:    #17282a;

    --ok:           #63c08c;
    --ok-wash:      #16261e;
    --warn:         #d9a64a;
    --warn-wash:    #2a2214;
    --danger:       #e88a80;
    --danger-wash:  #2b1a19;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
  }
}

/* --- Reset ---------------------------------------------------------------- */

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; font-family: var(--sans); font-weight: 600; }

p  { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.3rem; }
li { margin-bottom: .35rem; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }

img { max-width: 100%; height: auto; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }
small { font-size: .86rem; }
code, kbd { font-family: var(--mono); font-size: .88em; }

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

.skip-link {
  position: absolute; left: -9999px;
  background: var(--accent); color: #fff;
  padding: .7rem 1.1rem; border-radius: 0 0 var(--radius) 0; z-index: 100;
}
.skip-link:focus { left: 0; top: 0; }

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

/* --- Layout --------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.wrap--narrow { max-width: 660px; }
.wrap--wide   { max-width: 1320px; }

main { flex: 1 0 auto; padding-block: 2.5rem 4rem; }

.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 2rem; }

.row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.row--between { justify-content: space-between; }
.row--end     { justify-content: flex-end; }
.row--top     { align-items: flex-start; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.lede {
  font-size: 1.14rem;
  color: var(--ink-soft);
  max-width: var(--measure);
}

.page-head { margin-bottom: 2rem; }
.page-head p { color: var(--ink-soft); max-width: var(--measure); }

.text-center  { text-align: center; }
.text-soft    { color: var(--ink-soft); }
.text-faint   { color: var(--ink-faint); }
.text-danger  { color: var(--danger); }
.text-ok      { color: var(--ok); }
.text-sm      { font-size: .88rem; }
.text-xs      { font-size: .8rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.nowrap { white-space: nowrap; }

/* --- Header --------------------------------------------------------------- */

.site-header {
  background: var(--paper-raised);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 40;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand-mark { color: var(--accent); font-size: 1.15em; line-height: 1; }

.site-nav { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: .45rem .7rem;
  border-radius: var(--radius-sm);
  font-size: .94rem;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--paper-sunk); color: var(--ink); }
.site-nav a.is-active { color: var(--ink); font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  padding: .45rem .7rem;
  cursor: pointer;
  color: var(--ink);
  font-size: 1rem;
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .68rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .05s ease;
}
.btn:hover  { background: var(--accent-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled {
  opacity: .55; cursor: not-allowed; pointer-events: none;
}

.btn--ghost {
  background: transparent;
  border-color: var(--rule-strong);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--paper-sunk); color: var(--ink); }

.btn--quiet {
  background: transparent; color: var(--ink-soft);
  padding-inline: .6rem;
}
.btn--quiet:hover { background: var(--paper-sunk); color: var(--ink); }

.btn--danger { background: var(--danger); }
.btn--danger:hover { background: #8f1e17; }

.btn--sm  { padding: .4rem .75rem; font-size: .85rem; }
.btn--lg  { padding: .85rem 1.7rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* --- Cards and panels ----------------------------------------------------- */

.card {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card--flush { padding: 0; overflow: hidden; }
.card--sunk  { background: var(--paper-sunk); box-shadow: none; }

.card-head {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
}
.card-head h2, .card-head h3 { margin: 0; }
.card-body { padding: 1.5rem; }

.panel {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  background: var(--paper-sunk);
}

/* --- Alerts --------------------------------------------------------------- */

.alert {
  border-radius: var(--radius);
  padding: .85rem 1.1rem;
  border: 1px solid;
  margin-bottom: 1rem;
  font-size: .94rem;
}
.alert p:last-child { margin-bottom: 0; }
.alert--success { background: var(--ok-wash);     border-color: var(--ok);     color: var(--ok); }
.alert--error   { background: var(--danger-wash); border-color: var(--danger); color: var(--danger); }
.alert--warn    { background: var(--warn-wash);   border-color: var(--warn);   color: var(--warn); }
.alert--info    { background: var(--teal-wash);   border-color: var(--teal);   color: var(--teal); }

/* --- Badges --------------------------------------------------------------- */

.badge {
  display: inline-block;
  padding: .18rem .55rem;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--paper-sunk);
  color: var(--ink-soft);
  border: 1px solid var(--rule);
  white-space: nowrap;
}
.badge--ok      { background: var(--ok-wash);     color: var(--ok);     border-color: transparent; }
.badge--warn    { background: var(--warn-wash);   color: var(--warn);   border-color: transparent; }
.badge--danger  { background: var(--danger-wash); color: var(--danger); border-color: transparent; }
.badge--info    { background: var(--teal-wash);   color: var(--teal);   border-color: transparent; }
.badge--accent  { background: var(--accent-wash); color: var(--accent-dark); border-color: transparent; }

/* --- Forms ---------------------------------------------------------------- */

.field { margin-bottom: 1.1rem; }

.field label,
.label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--ink);
}

.field .hint {
  display: block;
  font-size: .82rem;
  color: var(--ink-faint);
  margin-top: .3rem;
}

input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="search"], input[type="tel"],
input[type="date"], select, textarea {
  width: 100%;
  padding: .62rem .75rem;
  font: inherit;
  font-size: .96rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}

input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

textarea { min-height: 110px; resize: vertical; line-height: 1.55; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%238b95a3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem center;
  padding-right: 2rem;
}

.field-error {
  display: block;
  color: var(--danger);
  font-size: .82rem;
  margin-top: .3rem;
}

.field-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.field-row--birthday { grid-template-columns: 2fr 1fr 1.2fr; }

.check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .93rem;
  cursor: pointer;
  margin-bottom: .5rem;
}
.check input { width: auto; margin-top: .25rem; flex-shrink: 0; }

fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; }
legend { font-size: .88rem; font-weight: 600; padding: 0; margin-bottom: .5rem; }

.form-actions {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

/* Card style picker -------------------------------------------------------- */

.style-picker {
  display: grid;
  gap: .7rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.style-option { position: relative; }
.style-option input {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.style-option span {
  display: block;
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: .8rem .95rem;
  cursor: pointer;
  height: 100%;
  transition: border-color .15s ease, background .15s ease;
}
.style-option span strong { display: block; font-size: .95rem; margin-bottom: .15rem; }
.style-option span em {
  font-style: normal; font-size: .82rem; color: var(--ink-faint); line-height: 1.45;
}
.style-option input:checked + span {
  border-color: var(--accent);
  background: var(--accent-wash);
}
.style-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- Tables --------------------------------------------------------------- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}

table.data th, table.data td {
  padding: .7rem .85rem;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

table.data th {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-faint);
  font-weight: 700;
  white-space: nowrap;
  background: var(--paper-sunk);
}

table.data tbody tr:hover { background: var(--paper-sunk); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.numeric, table.data th.numeric { text-align: right; font-variant-numeric: tabular-nums; }

/* --- Empty state ---------------------------------------------------------- */

.empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--ink-soft);
}
.empty .empty-mark { font-size: 2.5rem; display: block; margin-bottom: .75rem; opacity: .6; }
.empty h3 { margin-bottom: .4rem; }
.empty p { max-width: 42ch; margin-inline: auto; }

/* --- Stat tiles ----------------------------------------------------------- */

.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.stat {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem;
}
.stat .stat-value {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1.1;
  display: block;
  font-variant-numeric: tabular-nums;
}
.stat .stat-label {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ink-faint); font-weight: 700;
}
.stat--alert .stat-value { color: var(--danger); }
.stat--warn  .stat-value { color: var(--warn); }

/* --- Hero ----------------------------------------------------------------- */

.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, var(--accent-wash), transparent 70%);
}
.hero h1 { max-width: 18ch; margin-inline: auto; }
.hero .lede { margin-inline: auto; font-size: 1.2rem; max-width: 52ch; }
.hero .row { justify-content: center; margin-top: 2rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .9rem;
}

/* --- Steps ---------------------------------------------------------------- */

.steps { counter-reset: step; }
.step { position: relative; padding-left: 3.25rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
}
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--ink-soft); margin-bottom: 0; }

/* --- Pricing -------------------------------------------------------------- */

.interval-toggle {
  display: inline-flex;
  background: var(--paper-sunk);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: .25rem;
  gap: .25rem;
  margin-inline: auto;
}
.interval-toggle a {
  padding: .45rem 1.1rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
}
.interval-toggle a.is-active {
  background: var(--paper-raised);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.plans {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  align-items: start;
}

.plan {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.plan--featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}

.plan-flag {
  position: absolute;
  top: -.7rem; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .7rem; border-radius: 999px; white-space: nowrap;
}

.plan h3 { margin-bottom: .2rem; }
.plan .plan-tagline {
  color: var(--ink-soft); font-size: .88rem; min-height: 3.2em; margin-bottom: 1rem;
}

.plan-price { display: flex; align-items: baseline; gap: .3rem; margin-bottom: .2rem; }
.plan-price .amount { font-family: var(--serif); font-size: 2.5rem; line-height: 1; font-weight: 600; }
.plan-price .period { color: var(--ink-faint); font-size: .9rem; }

.plan-percard {
  font-size: .84rem; color: var(--ink-faint); margin-bottom: 1.1rem;
  min-height: 1.4em;
}

.plan-slots {
  font-size: 1rem; font-weight: 600; padding: .6rem 0;
  border-block: 1px solid var(--rule); margin-bottom: 1rem;
}

.plan ul.plan-features {
  list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: .9rem; flex: 1;
}
.plan ul.plan-features li {
  padding-left: 1.4rem; position: relative; margin-bottom: .45rem; color: var(--ink-soft);
}
.plan ul.plan-features li::before {
  content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700;
}

/* --- Recipient list ------------------------------------------------------- */

.recipient-list { display: grid; gap: .8rem; }

.recipient {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-raised);
  flex-wrap: wrap;
}
.recipient.is-paused { opacity: .62; }

.recipient-date {
  flex-shrink: 0;
  width: 3.4rem;
  text-align: center;
  background: var(--accent-wash);
  border-radius: var(--radius-sm);
  padding: .35rem .2rem;
  line-height: 1.15;
}
.recipient-date .m {
  display: block; font-size: .66rem; text-transform: uppercase;
  letter-spacing: .07em; font-weight: 700; color: var(--accent-dark);
}
.recipient-date .d {
  display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
}

.recipient-main { flex: 1 1 190px; min-width: 0; }
.recipient-main .name { font-weight: 600; font-size: 1.02rem; }
.recipient-main .meta { font-size: .84rem; color: var(--ink-faint); }
.recipient-actions { display: flex; gap: .4rem; flex-shrink: 0; }

.countdown {
  font-size: .82rem; color: var(--ink-soft); white-space: nowrap;
  flex-shrink: 0;
}
.countdown.is-soon { color: var(--accent-dark); font-weight: 600; }

/* --- Slot meter ----------------------------------------------------------- */

.meter {
  height: 7px; background: var(--paper-sunk); border-radius: 999px;
  overflow: hidden; margin: .55rem 0 .3rem;
}
.meter-fill { height: 100%; background: var(--teal); border-radius: 999px; transition: width .3s ease; }
.meter-fill.is-full { background: var(--accent); }

/* --- Admin ---------------------------------------------------------------- */

.admin-bar {
  background: var(--ink);
  color: #fff;
  font-size: .84rem;
  padding: .45rem 0;
}
.admin-bar .wrap { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; }
.admin-bar a { color: #fff; opacity: .82; text-decoration: none; }
.admin-bar a:hover, .admin-bar a.is-active { opacity: 1; text-decoration: underline; color: #fff; }
.admin-bar .admin-bar-label { font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: .72rem; }

.filters {
  display: flex; gap: .6rem; flex-wrap: wrap; align-items: flex-end;
  margin-bottom: 1.25rem;
}
.filters .field { margin-bottom: 0; }
.filters select, .filters input { min-width: 150px; }

.bulk-bar {
  display: flex; gap: .6rem; align-items: center; flex-wrap: wrap;
  padding: .8rem 1rem; background: var(--paper-sunk);
  border: 1px solid var(--rule); border-radius: var(--radius);
  margin-bottom: 1rem;
}

.address-block {
  font-family: var(--mono);
  font-size: .82rem;
  line-height: 1.5;
  white-space: pre-line;
  color: var(--ink-soft);
}

.message-quote {
  border-left: 3px solid var(--rule-strong);
  padding-left: .85rem;
  font-style: italic;
  color: var(--ink-soft);
  white-space: pre-wrap;
}

/* Printable batch sheet ---------------------------------------------------- */

.batch-sheet { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

.batch-card {
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  background: var(--paper-raised);
  break-inside: avoid;
}
.batch-card h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.batch-card .batch-meta { font-size: .8rem; color: var(--ink-faint); margin-bottom: .7rem; }
.batch-card .address-block { margin-bottom: .7rem; color: var(--ink); }

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--paper-sunk);
  padding: 2.5rem 0 2rem;
  font-size: .89rem;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-cols { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.footer-cols h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: .3rem; }
.footer-base {
  margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .84rem; color: var(--ink-faint);
}

/* --- FAQ ------------------------------------------------------------------ */

details.faq {
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0;
}
details.faq summary {
  cursor: pointer; font-weight: 600; font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
details.faq[open] summary::after { content: "−"; }
details.faq .faq-body { padding-top: .75rem; color: var(--ink-soft); max-width: var(--measure); }
details.faq .faq-body p:last-child { margin-bottom: 0; }

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper-raised);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow-md);
    padding: .5rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .7rem .8rem; }
  .site-nav .btn { margin-top: .4rem; }

  .site-header .wrap { position: relative; }

  .field-row--birthday { grid-template-columns: 1fr 1fr; }
  .form-actions .btn { flex: 1 1 auto; }
  .recipient-actions { width: 100%; justify-content: flex-end; }
}

@media (max-width: 480px) {
  .field-row--birthday { grid-template-columns: 1fr; }
  .plan-price .amount { font-size: 2.1rem; }
}

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

/* --- Print ---------------------------------------------------------------- */

@media print {
  :root {
    --paper: #fff; --paper-raised: #fff; --paper-sunk: #fff;
    --ink: #000; --ink-soft: #333; --ink-faint: #555;
    --rule: #bbb; --rule-strong: #999;
  }
  .site-header, .site-footer, .admin-bar,
  .no-print, .filters, .bulk-bar, .form-actions { display: none !important; }

  body { font-size: 11pt; background: #fff; }
  main { padding: 0; }
  .card, .batch-card { box-shadow: none; border-color: #999; }
  .batch-sheet { grid-template-columns: repeat(2, 1fr); }
  a { text-decoration: none; color: #000; }
  table.data th { background: #eee; }
}
