/*
 * Duggie brand kit theme (MARKETING_THEME=brand): the home page in the Duggie Brand System v1.0
 * (BRAND.md in the brand kit; summary in docs/brand-theme.md).
 *
 * Loaded after duggie-site.css and duggie-waitlist.css on body.theme-brand. Like the retro theme, it re-points the
 * shared --duggie-* tokens, then restyles the landing page. It changes no words and no markup.
 *
 * The four signature moves: 3px ink outlines, hard offset shadows (down-right, never blurred), sunshine yellow / Duggie
 * teal / bubblegum pink on ink and paper, and Bungee uppercase with a pink offset shadow for the big headline.
 *
 * Contents
 *   1. Fonts and tokens     4. Header and footer     7. Sections and cards       10. Waitlist
 *   2. Base and type        5. Hero                  8. Plan, table, FAQ         11. Responsive and motion
 *   3. Buttons and inputs   6. Sample board          9. Closing card
 */

/* 1. Fonts and tokens -------------------------------------------------------------------------------- */
@font-face { font-family: "Bungee"; src: url("/fonts/brand/Bungee-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/brand/DMSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/brand/DMSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/brand/DMSans-Bold.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }

.theme-brand {
  /* The palette (BRAND.md §4). Nothing else is used. */
  --b-ink: #1A1A2E;
  --b-teal: #00BFA6;
  --b-yellow: #FFD23F;
  --b-pink: #FF4F9A;
  --b-white: #FFFFFF;
  --b-paper: #FBF8F1;
  --b-ink-muted: #55546A;     /* secondary text: 7.3:1 on white, 5.1:1 on yellow */
  --b-teal-deep: #00756A;     /* links, success */
  --b-pink-deep: #C2185B;     /* errors */

  /* Shape and depth (§6) */
  --b-border: 3px solid var(--b-ink);
  --b-border-thin: 2px solid var(--b-ink);
  --b-radius-s: 12px;
  --b-radius-m: 16px;
  --b-radius-l: 24px;
  --b-shadow-s: 3px 3px 0 var(--b-ink);
  --b-shadow-m: 5px 5px 0 var(--b-ink);
  --b-shadow-l: 8px 8px 0 var(--b-ink);
  --b-ease: cubic-bezier(.2, .8, .2, 1);
  --b-fast: 120ms;
  --b-font-display: "Bungee", "Arial Black", sans-serif;
  --b-font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* The shared tokens, re-pointed so the base components follow. */
  --duggie-bg: var(--b-paper);
  --duggie-surface: var(--b-white);
  --duggie-surface-2: var(--b-paper);
  --duggie-ink: var(--b-ink);
  --duggie-ink-hover: var(--b-ink);
  --duggie-ink-2: var(--b-ink-muted);
  --duggie-muted: var(--b-ink-muted);
  --duggie-line: rgba(26, 26, 46, .16);
  --duggie-line-strong: var(--b-ink);
  --duggie-accent: var(--b-teal-deep);
  --duggie-accent-ink: var(--b-white);
  --duggie-accent-soft: var(--b-yellow);
  --duggie-accent-line: var(--b-yellow);
  --duggie-success: var(--b-teal-deep);
  --duggie-danger: var(--b-pink-deep);
  --duggie-font-display: var(--b-font-body);
  --duggie-font-body: var(--b-font-body);
  --duggie-radius-s: var(--b-radius-s);
  --duggie-radius-m: var(--b-radius-m);
  --duggie-radius-l: var(--b-radius-l);
  --duggie-shadow: var(--b-shadow-l);
  --duggie-shadow-image: none;
  --duggie-header-bg: var(--b-paper);
  --duggie-header-ink: var(--b-ink);
  --duggie-header-line: var(--b-ink);
  --duggie-shell: 1200px;      /* §10: 1200px content, 24px gutters, 96px between sections */
  --duggie-gutter: 24px;
  --duggie-space-9: 96px;
  --duggie-text-m: 17px;
  --duggie-text-l: 18px;
  --duggie-display-s: clamp(32px, 3.4vw, 48px);
}

/* 2. Base and type ----------------------------------------------------------------------------------- */
.theme-brand.duggie-body { font-family: var(--b-font-body); font-feature-settings: normal; line-height: 1.55; }
.theme-brand :where(h1, h2) { font-family: var(--b-font-body); font-weight: 700; letter-spacing: -.01em; }
.theme-brand h3 { font-weight: 700; }
.theme-brand :where(strong, b) { font-weight: 700; }
.theme-brand main a:not(.button):not(.duggie-button) { color: var(--b-teal-deep); font-weight: 600; text-decoration-thickness: 2px; }
.theme-brand :focus-visible,
.theme-brand.duggie-body :focus-visible { outline: 3px solid var(--b-pink); outline-offset: 3px; border-radius: 6px; }
.theme-brand ::selection { background: var(--b-yellow); color: var(--b-ink); }
.theme-brand .duggie-skip-link { background: var(--b-ink); color: var(--b-white); }

/* 3. Buttons and inputs: yellow pills that press into their shadow (§6) ------------------------------- */
.theme-brand :is(.button, .duggie-button) {
  min-height: 48px; padding: 12px 24px;
  border: var(--b-border); border-radius: 999px;
  background: var(--b-yellow); color: var(--b-ink);
  font-family: var(--b-font-body); font-weight: 700; font-size: 16px; letter-spacing: 0;
  box-shadow: var(--b-shadow-m);
  transition: transform var(--b-fast) var(--b-ease), box-shadow var(--b-fast) var(--b-ease), background-color var(--b-fast) var(--b-ease);
}
.theme-brand :is(.button, .duggie-button):hover {
  background: var(--b-yellow); color: var(--b-ink); border-color: var(--b-ink);
  transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--b-ink);
}
.theme-brand :is(.button, .duggie-button):active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--b-ink); }
.theme-brand .button.large { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.theme-brand .button svg { width: 20px; height: 20px; stroke-width: 2.4; }
/* Secondary: white fill. */
.theme-brand :is(.button.quiet, .button.secondary, .duggie-button--quiet) { background: var(--b-white); color: var(--b-ink); border-color: var(--b-ink); }
.theme-brand :is(.button.quiet, .button.secondary, .duggie-button--quiet):hover { background: var(--b-white); }
.theme-brand :is(.button:disabled, button.button:disabled) { background: var(--b-paper); color: var(--b-ink-muted); box-shadow: none; transform: none; }
/* Inputs: white, 2px ink, 12px corners; focus adds the small hard shadow (§6.1). */
.theme-brand :is(input[type="text"], input[type="email"], input:not([type])) {
  border: var(--b-border-thin); border-radius: var(--b-radius-s); background: var(--b-white); color: var(--b-ink);
  font-family: var(--b-font-body);
}
.theme-brand :is(input[type="text"], input[type="email"], input:not([type])):focus-visible {
  outline: none; box-shadow: var(--b-shadow-s); border-color: var(--b-ink);
}
.theme-brand label { font-weight: 700; }

/* 4. Header and footer -------------------------------------------------------------------------------- */
.theme-brand .duggie-header.duggie-header { background: var(--b-paper); border-bottom: var(--b-border); backdrop-filter: none; }
.theme-brand .duggie-header.is-sticky::before { display: none; }
.theme-brand .duggie-header .duggie-header-inner { min-height: 76px; }
/* The logo is a real image with alternative text and reserved dimensions. */
.theme-brand .duggie-header .duggie-brand {
  width: 154px; height: 38px; flex: none;
}

.theme-brand .duggie-header .duggie-nav-link {
  padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--b-ink);
}
.theme-brand .duggie-header .duggie-nav-link:hover { background: var(--b-yellow); color: var(--b-ink); }
.theme-brand .duggie-header .duggie-signin { font-weight: 700; color: var(--b-ink); }
.theme-brand .duggie-header .duggie-button.primary { min-height: 42px; padding: 8px 18px; font-size: 15px; box-shadow: var(--b-shadow-s); }
.theme-brand .duggie-header .duggie-button.primary:hover { box-shadow: 4px 4px 0 var(--b-ink); }
.theme-brand .duggie-header .duggie-button.primary:active { box-shadow: 0 0 0 var(--b-ink); transform: translate(3px, 3px); }
.theme-brand .duggie-environment-note { background: var(--b-white); color: var(--b-ink); border-bottom: var(--b-border-thin); font-weight: 500; }

/* The ink footer with the on-dark logo (§10). */
.theme-brand .duggie-footer.duggie-footer { background: var(--b-ink); color: var(--b-white); border-top: 0; font-size: 14px; }
.theme-brand .duggie-footer .duggie-footer-inner { padding-top: 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
.theme-brand .duggie-footer .duggie-footer-brand { gap: 20px; color: var(--b-white); font-weight: 500; }

.theme-brand .duggie-footer a { color: var(--b-white); font-weight: 600; text-decoration-color: rgba(255, 255, 255, .5); }
.theme-brand .duggie-footer a:hover { color: var(--b-yellow); text-decoration-color: currentColor; }
.theme-brand .duggie-footer .duggie-footer-legal { color: rgba(255, 255, 255, .78); }
.theme-brand .duggie-footer :focus-visible { outline-color: var(--b-yellow); }

/* 5. Hero: the one yellow band per page --------------------------------------------------------------- */
.theme-brand .site-hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
  background: var(--b-yellow);
  border-bottom: var(--b-border);
}
.theme-brand .site-hero-grid { position: relative; z-index: 1; align-items: center; }
/* Two geometric accents at most (§7): an ink ring and the three typing dots, behind everything. */
.theme-brand .site-hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 260px; height: 260px; right: -70px; bottom: -110px;
  border: 3px solid var(--b-ink); border-radius: 50%;
}
.theme-brand .site-hero .site-board { position: relative; }
.theme-brand .site-hero .site-board::after {
  content: ""; position: absolute; z-index: 2; pointer-events: none;
  width: 84px; height: 26px; right: 28px; top: -16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 28'%3E%3Cg stroke='%231A1A2E' stroke-width='3'%3E%3Ccircle cx='14' cy='14' r='11' fill='%23FF4F9A'/%3E%3Ccircle cx='48' cy='14' r='11' fill='%23FFFFFF'/%3E%3Ccircle cx='82' cy='14' r='11' fill='%2300BFA6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.theme-brand .site-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; margin-bottom: 28px;
  background: var(--b-white); color: var(--b-ink);
  border: var(--b-border-thin); border-radius: 999px; box-shadow: var(--b-shadow-s);
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
}
.theme-brand .site-pill .duggie-dot { width: 10px; height: 10px; background: var(--b-pink); border: 2px solid var(--b-ink); box-shadow: none; }
/* The big headline: Bungee, uppercase, a pink offset shadow (§5). The price line is a white sticker in DM Sans. */
.theme-brand .site-hero h1 {
  font-family: var(--b-font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(42px, 5.4vw, 74px); line-height: 1.04; letter-spacing: .01em;
  text-shadow: .07em .07em 0 var(--b-pink);
}
.theme-brand .site-hero h1 em {
  display: table; margin-top: 22px; padding: 8px 18px;
  font-family: var(--b-font-body); font-style: normal; font-weight: 700; text-transform: none; letter-spacing: -.01em;
  font-size: clamp(22px, 2.3vw, 30px); line-height: 1.2; color: var(--b-ink); text-shadow: none;
  background: var(--b-white); border: var(--b-border); border-radius: var(--b-radius-s); box-shadow: var(--b-shadow-m);
}
.theme-brand .site-hero .lead { max-width: 560px; margin-top: 26px; font-size: 19px; line-height: 1.55; color: var(--b-ink); }
.theme-brand .site-fine { gap: 10px 22px; color: var(--b-ink); font-weight: 600; font-size: 14.5px; }
.theme-brand .site-fine svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: var(--b-ink); background: var(--b-white); border: 2px solid var(--b-ink); stroke-width: 3.2; }

/* 6. Sample board: a white card with the big shadow; chips for the brands ---------------------------- */
.theme-brand .site-board { background: var(--b-white); border: var(--b-border); border-radius: var(--b-radius-l); box-shadow: var(--b-shadow-l); }
.theme-brand .site-board-bar { font-weight: 700; font-size: 15px; }
.theme-brand .site-board-bar .tag {
  padding: 4px 12px; border: var(--b-border-thin); border-radius: 999px;
  background: var(--b-teal); color: var(--b-ink); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none;
}
.theme-brand .site-board-stage { background: var(--b-paper); border: var(--b-border-thin); border-radius: var(--b-radius-m); }
.theme-brand .site-set > img { border-radius: 8px; }
.theme-brand .site-board-line b { font-weight: 700; }
.theme-brand .site-sample-controls { border-top: 2px dashed rgba(26, 26, 46, .35); }
.theme-brand .site-board .site-sample-tabs button,
.theme-brand .site-board .site-sample-pause {
  min-height: 36px; padding: 6px 14px;
  background: var(--b-white); color: var(--b-ink);
  border: var(--b-border-thin); border-radius: 999px; box-shadow: var(--b-shadow-s);
  font-size: 14px; font-weight: 700;
  transition: transform var(--b-fast) var(--b-ease), box-shadow var(--b-fast) var(--b-ease);
}
.theme-brand .site-board .site-sample-tabs button:hover,
.theme-brand .site-board .site-sample-pause:hover { background: var(--b-yellow); color: var(--b-ink); }
.theme-brand .site-board .site-sample-tabs button[aria-selected="true"] {
  background: var(--b-ink); color: var(--b-white); border-color: var(--b-ink);
  box-shadow: none; transform: translate(3px, 3px);
}
.theme-brand .site-board-note { color: var(--b-ink-muted); font-size: 13px; }

/* 7. Sections and cards -------------------------------------------------------------------------------- */
.theme-brand .site-section { padding: 96px 0; }
.theme-brand .site-section.is-surface { background: var(--b-white); border-block: var(--b-border); }
.theme-brand .site-hero + .site-section.is-surface { border-top: 0; }
/* Section labels are chips, in sentence case (§5: labels are never all caps). */
.theme-brand .site-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px; padding: 6px 14px;
  background: var(--b-teal); color: var(--b-ink);
  border: var(--b-border-thin); border-radius: 999px; box-shadow: var(--b-shadow-s);
  font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none;
}
.theme-brand .site-section h2 { max-width: 20ch; font-size: var(--duggie-display-s); line-height: 1.08; }
.theme-brand .site-sub { max-width: 640px; color: var(--b-ink-muted); font-size: 18px; }

.theme-brand .site-card {
  padding: 24px; background: var(--b-white);
  border: var(--b-border); border-radius: var(--b-radius-m); box-shadow: var(--b-shadow-l);
}
.theme-brand .site-card h3 { margin-top: 16px; font-size: 20px; }
.theme-brand .site-card p { color: var(--b-ink-muted); }
.theme-brand .site-icon {
  display: grid; place-items: center; width: 52px; height: 52px;
  border: var(--b-border-thin); border-radius: var(--b-radius-s); background: var(--b-yellow); color: var(--b-ink);
  box-shadow: var(--b-shadow-s);
}
.theme-brand .site-card:nth-child(2) .site-icon { background: var(--b-teal); }
.theme-brand .site-card:nth-child(3) .site-icon { background: var(--b-pink); }
.theme-brand .site-icon svg { width: 26px; height: 26px; stroke-width: 2; }

.theme-brand .site-steps { gap: 18px; }
.theme-brand .site-steps li {
  padding: 22px 20px; background: var(--b-white);
  border: var(--b-border); border-radius: var(--b-radius-m); box-shadow: var(--b-shadow-m);
}
.theme-brand .site-steps li::before {
  width: 40px; height: 40px; margin-bottom: 14px;
  display: grid; place-items: center;
  border: var(--b-border-thin); border-radius: 50%; background: var(--b-yellow); color: var(--b-ink);
  font-family: var(--b-font-display); font-weight: 400; font-size: 17px; box-shadow: none;
}
.theme-brand .site-steps li:nth-child(2)::before { background: var(--b-teal); }
.theme-brand .site-steps li:nth-child(3)::before { background: var(--b-pink); }
.theme-brand .site-steps li:nth-child(4)::before { background: var(--b-white); }
.theme-brand .site-steps h3 { font-size: 19px; }
.theme-brand .site-steps p { color: var(--b-ink-muted); font-size: 15.5px; }
.theme-brand .site-loop { margin-top: 32px; font-size: 18px; color: var(--b-ink); }
.theme-brand .site-loop b { padding: 2px 10px; background: var(--b-yellow); border: var(--b-border-thin); border-radius: 8px; }

.theme-brand .site-checks li { color: var(--b-ink); }
.theme-brand .site-checks svg { width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--b-teal); color: var(--b-ink); border: 2px solid var(--b-ink); stroke-width: 3.2; }
.theme-brand .site-chart {
  padding: 28px; background: var(--b-white);
  border: var(--b-border); border-radius: var(--b-radius-l); box-shadow: var(--b-shadow-l);
}
.theme-brand .site-chart figcaption b { font-size: 20px; }
.theme-brand .site-chart-bar { height: 18px; background: var(--b-paper); border: var(--b-border-thin); border-radius: 999px; overflow: hidden; }
.theme-brand .site-chart-bar > span,
.theme-brand .site-chart-row:nth-last-child(3) .site-chart-bar > span { background: var(--b-teal); border-radius: 0; }
.theme-brand .site-chart-row:nth-child(3) .site-chart-bar > span { background: var(--b-yellow); }
.theme-brand .site-chart-row:nth-child(4) .site-chart-bar > span { background: var(--b-pink); }
.theme-brand .site-chart-value { font-weight: 700; }
.theme-brand .site-chart-note { color: var(--b-ink-muted); }

/* 8. Plan, table, FAQ: calm, square-cut, still outlined ---------------------------------------------- */
.theme-brand .duggie-table-wrap {
  background: var(--b-white); border: var(--b-border); border-radius: var(--b-radius-m); box-shadow: var(--b-shadow-l); overflow: auto;
}
.theme-brand .site-compare { border: 0; }
.theme-brand .site-compare :is(th, td) { border-color: rgba(26, 26, 46, .14); }
.theme-brand .site-compare thead th {
  font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--b-ink);
  background: var(--b-paper); border-bottom: var(--b-border-thin);
}
.theme-brand .site-compare tbody th { font-weight: 700; color: var(--b-ink); }
.theme-brand .site-compare td.no { color: var(--b-ink-muted); }
.theme-brand .site-compare .us { background: var(--b-yellow); color: var(--b-ink); font-weight: 700; border-inline: var(--b-border-thin); }
.theme-brand .site-compare thead .us { background: var(--b-ink); color: var(--b-white); }

.theme-brand .site-included {
  padding: 8px 28px; background: var(--b-white);
  border: var(--b-border); border-radius: var(--b-radius-m); box-shadow: var(--b-shadow-l);
}
.theme-brand .site-included li { border-color: rgba(26, 26, 46, .14); }
.theme-brand .site-included svg { color: var(--b-teal-deep); stroke-width: 2.2; }
.theme-brand .site-included span { color: var(--b-ink-muted); }
.theme-brand .site-price {
  background: var(--b-yellow); color: var(--b-ink);
  border: var(--b-border); border-radius: var(--b-radius-l); box-shadow: var(--b-shadow-l);
}
.theme-brand .site-price-kicker { color: var(--b-ink); font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.theme-brand .site-price-amount strong {
  font-family: var(--b-font-display); font-weight: 400; font-size: 72px; letter-spacing: .01em;
  text-shadow: .06em .06em 0 var(--b-pink);
}
.theme-brand .site-price-amount span,
.theme-brand .site-price-then { color: var(--b-ink); }
.theme-brand :is(.site-price-items, .price-items) div { border-color: rgba(26, 26, 46, .22); }
.theme-brand :is(.site-price-items, .price-items) dt { color: var(--b-ink); }
.theme-brand :is(.site-price-items, .price-items) dd { font-weight: 700; }
.theme-brand .site-price-note { background: var(--b-white); color: var(--b-ink); border: var(--b-border-thin); border-radius: var(--b-radius-s); }
/* On the yellow card the button is white, so it doesn't vanish into it. */
.theme-brand .site-price .button.primary { background: var(--b-white); }
.theme-brand .site-price-fine { color: var(--b-ink); }

.theme-brand .site-faq-list details {
  margin-bottom: 14px; padding: 0 20px;
  background: var(--b-white); border: var(--b-border-thin); border-radius: var(--b-radius-s); box-shadow: var(--b-shadow-s);
}
.theme-brand .site-faq-list details:first-child { border-top: var(--b-border-thin); }
.theme-brand .site-faq-list summary { padding: 18px 0; font-size: 17px; font-weight: 700; color: var(--b-ink); }
.theme-brand .site-faq-list summary::after {
  width: 28px; height: 28px; border: var(--b-border-thin); border-radius: 50%; background: var(--b-yellow); color: var(--b-ink);
}
.theme-brand .site-faq-list details[open] { box-shadow: var(--b-shadow-m); }
.theme-brand .site-faq-list details[open] summary::after { background: var(--b-teal); }
.theme-brand .site-faq-list details p { padding-bottom: 18px; color: var(--b-ink-muted); }

/* 9. Closing card: ink, with the pink shadow that ink surfaces use (§6) ------------------------------- */
.theme-brand .site-start-card {
  background: var(--b-ink); color: var(--b-white);
  border: var(--b-border); border-radius: var(--b-radius-l);
  box-shadow: 8px 8px 0 var(--b-pink);
}
.theme-brand .site-start-card h2 {
  font-family: var(--b-font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em;
  color: var(--b-white); text-shadow: .07em .07em 0 var(--b-pink);
}
.theme-brand .site-start-card .site-kicker { background: var(--b-yellow); color: var(--b-ink); border-color: var(--b-white); box-shadow: 3px 3px 0 var(--b-pink); }
.theme-brand .site-start-card .site-sub { color: rgba(255, 255, 255, .86); }
.theme-brand .site-start-card .button.primary { background: var(--b-yellow); color: var(--b-ink); border-color: var(--b-white); box-shadow: 5px 5px 0 var(--b-pink); }
.theme-brand .site-start-card .button.primary:hover { box-shadow: 6px 6px 0 var(--b-pink); }
.theme-brand .site-start-card .button.primary:active { box-shadow: 0 0 0 var(--b-pink); }
.theme-brand .site-start-steps li { border: 2px solid rgba(255, 255, 255, .35); border-radius: var(--b-radius-s); color: rgba(255, 255, 255, .86); }
.theme-brand .site-start-steps li::before { background: var(--b-yellow); color: var(--b-ink); border: 2px solid var(--b-white); font-family: var(--b-font-display); font-weight: 400; }
.theme-brand .site-start-steps b { color: var(--b-white); }
.theme-brand .site-start-card :focus-visible { outline-color: var(--b-yellow); }

/* 10. Waitlist (the form in the hero and the closing card) ------------------------------------------- */
.theme-brand .site-waitlist {
  position: relative; max-width: 640px; margin-top: 30px; padding: 24px;
  background: var(--b-white); border: var(--b-border); border-radius: var(--b-radius-m); box-shadow: var(--b-shadow-l);
}
.theme-brand .site-waitlist-status { font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--b-ink); }
.theme-brand .site-waitlist-dots i { width: 11px; height: 11px; border: 2px solid var(--b-ink); }
.theme-brand .site-waitlist-dots i:nth-child(1) { background: var(--b-pink); }
.theme-brand .site-waitlist-dots i:nth-child(2) { background: var(--b-yellow); }
.theme-brand .site-waitlist-dots i:nth-child(3) { background: var(--b-white); }
.theme-brand .site-waitlist-label { font-size: 16px; }
.theme-brand .site-waitlist-input { min-height: 56px; font-weight: 500; border: var(--b-border-thin); border-radius: var(--b-radius-s); }
.theme-brand .site-waitlist-input[aria-invalid="true"] { border-color: var(--b-pink-deep); box-shadow: 3px 3px 0 var(--b-pink); }
.theme-brand .site-waitlist-form[data-error] .site-waitlist-note { color: var(--b-pink-deep); }
.theme-brand .site-waitlist-note { color: var(--b-ink-muted); }
.theme-brand .site-waitlist-submit { padding-inline: 24px; }
.theme-brand .site-waitlist .site-waitlist-link,
.theme-brand .site-waitlist .site-waitlist-link:hover,
.theme-brand .site-waitlist .site-waitlist-link:active {
  min-height: 0; padding: 0; border: 0; border-radius: 4px; background: none; box-shadow: none; transform: none;
  font-size: inherit; font-weight: 700; color: var(--b-teal-deep); text-decoration: underline; text-decoration-thickness: 2px;
}
.theme-brand .site-waitlist .site-waitlist-link:hover { background: var(--b-yellow); color: var(--b-ink); }
.theme-brand .site-waitlist-done-title { font-size: 26px; font-weight: 700; }
.theme-brand .site-waitlist-done-title svg { color: var(--b-ink); background: var(--b-teal); border: 2px solid var(--b-ink); }
.theme-brand .site-waitlist-done-text { color: var(--b-ink-muted); }
.theme-brand .site-waitlist-profile { border-top: 2px dashed rgba(26, 26, 46, .3); }
.theme-brand .site-waitlist-profile-name input { border: var(--b-border-thin); border-radius: var(--b-radius-s); }
.theme-brand .site-waitlist .site-waitlist-profile-type .button {
  min-height: 44px; padding: 8px 16px; font-size: 15px; border-width: 2px; box-shadow: var(--b-shadow-s);
}
.theme-brand .site-waitlist .site-waitlist-profile-type .button:active { transform: translate(3px, 3px); box-shadow: none; }
/* On the ink card: no inner card, white text, the pink shadow. */
.theme-brand .site-start-card .site-waitlist { margin-top: 22px; padding: 0; background: none; border: 0; box-shadow: none; }
.theme-brand .site-start-card :is(.site-waitlist-label, .site-waitlist-done-title, .site-waitlist-profile-title) { color: var(--b-white); }
.theme-brand .site-start-card :is(.site-waitlist-note, .site-waitlist-suggest, .site-waitlist-done-text, .site-waitlist-profile-name,
  .site-waitlist-profile-type legend, .site-waitlist-profile-note) { color: rgba(255, 255, 255, .86); }
.theme-brand .site-start-card .site-waitlist-input { border-color: var(--b-white); }
.theme-brand .site-start-card .site-waitlist-input:focus-visible { box-shadow: 3px 3px 0 var(--b-pink); }
.theme-brand .site-start-card .site-waitlist .site-waitlist-link { color: var(--b-yellow); }
.theme-brand .site-start-card .site-waitlist .site-waitlist-link:hover { background: var(--b-yellow); color: var(--b-ink); }
.theme-brand .site-start-card .site-waitlist .site-waitlist-profile-type .button { background: var(--b-white); border-color: var(--b-white); box-shadow: 3px 3px 0 var(--b-pink); }
.theme-brand .site-start-card .site-waitlist-form[data-error] .site-waitlist-note { color: var(--b-pink); }
.theme-brand .site-start-card .site-waitlist-profile { border-top-color: rgba(255, 255, 255, .35); }

/* 11. Responsive and motion -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .theme-brand .duggie-header .duggie-header-inner > nav { border-top: 2px dashed rgba(26, 26, 46, .3); padding-top: 6px; }
}
@media (max-width: 760px) {
  .theme-brand { --duggie-gutter: 16px; --duggie-space-9: 64px; }
  .theme-brand .site-section { padding: 64px 0; }
  .theme-brand .site-hero { padding: 48px 0 64px; }
  .theme-brand .site-hero::before { width: 180px; height: 180px; right: -80px; bottom: -80px; }
  .theme-brand .site-hero .site-board::after { width: 66px; height: 20px; right: 20px; top: -12px; }
  /* The phone header: a smaller logo, and the four links on one row. */
  .theme-brand .duggie-header .duggie-header-inner { min-height: 0; padding-top: 10px; }
  .theme-brand .duggie-header .duggie-header-inner > nav { justify-content: space-between; margin: 6px 0 0; padding: 4px 0 6px; }
  .theme-brand .duggie-header .duggie-nav-link { padding: 6px 8px; font-size: 14px; }
  .theme-brand .duggie-header .duggie-actions { gap: 12px; }
  .theme-brand .duggie-header .duggie-signin { font-size: 14px; }
  .theme-brand .duggie-header .duggie-button.primary { min-height: 38px; padding: 6px 14px; font-size: 14px; }
  .theme-brand .site-hero h1 { font-size: 40px; }
  .theme-brand .site-hero h1 em { font-size: 21px; padding: 6px 14px; }
  .theme-brand .site-hero .lead { font-size: 17.5px; }
  .theme-brand .duggie-header .duggie-brand { width: 112px; height: 28px; }
  .theme-brand :is(.site-board, .site-card, .site-chart, .duggie-table-wrap, .site-included, .site-price, .site-waitlist) { box-shadow: var(--b-shadow-m); }
  .theme-brand .site-start-card { box-shadow: 5px 5px 0 var(--b-pink); }
  .theme-brand .site-waitlist { padding: 18px; }
  .theme-brand .site-waitlist-submit { width: calc(100% - 5px); }
  .theme-brand .site-price-amount strong { font-size: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-brand *, .theme-brand *::before, .theme-brand *::after { transition: none !important; }
  .theme-brand :is(.button, .duggie-button):hover { transform: none; }
}
@media print {
  .theme-brand * { box-shadow: none !important; text-shadow: none !important; }
  .theme-brand .site-hero::before, .theme-brand .site-hero::after { display: none; }
}
