/*
 * Deon Corp: the satire.
 *
 * A plausible, polished direct-to-consumer storefront: warm, round, loud where it wants your
 * money. Everything is scoped under .shop so none of it can leak into the honest frame
 * (frame.css, classes starting with "hf-").
 *
 * Class names here are deliberately bland (pill, chip, clock, tiny). On specimen pages the
 * markup must not say what a thing is; build.mjs checks that.
 *
 * Some rules below break accessibility guidance on purpose (pale text, tiny targets).
 * Those are the specimens. They are marked "the pattern" in comments. Everything else
 * tries to be usable, including by keyboard: you have to be able to finish the funnel.
 */

.shop {
  --ink: #1b1712;
  --ink-2: #5c544a;        /* 7.2:1 on cream */
  --cream: #fffaf3;
  --sand: #fff1de;
  --card: #ffffff;
  --line: #eadfce;
  --hot: #ff5a1f;          /* accents; dark text only */
  --cta: #d93a00;          /* white text: 4.6:1 */
  --cta-2: #a82d00;
  --sun: #ffd60a;
  --red: #d6002a;
  --leaf: #0b6b3a;
  --blue: #2f6bff;
  --pale: #b9b1a6;         /* about 2:1 on white. Only specimens use it. */
  --r: 18px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sh-lift: 0px;          /* height of the cookie sheet while it is open */
  min-height: 100vh;
  background: var(--cream); color: var(--ink);
  font: 400 17px/1.55 var(--sans);
}
.shop img { max-width: 100%; height: auto; display: block; }
:where(.shop) a { color: inherit; text-underline-offset: 3px; }
.shop :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.shop main:focus { outline: none; }
.shop h1, .shop h2, .shop h3 { margin: 0; letter-spacing: -.02em; }
.shop p { margin: 0 0 12px; }
.shop small { font-size: .82em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Twin hosts stay invisible until core.js has swapped in the fair version. */
html[data-fair="pending"] [data-twin] { visibility: hidden; }
/* Decoration that only makes sense in one mode (not specimens; plain copy). */
.only-f { display: none; }
html[data-fair] .only-d { display: none; }
html[data-fair] .only-f { display: revert; }

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

.sh-bar {
  margin: 0 !important; padding: 9px 16px;
  background: var(--ink); color: var(--cream);
  text-align: center; font: 700 13px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase;
}
.sh-bar small { display: inline-block; margin-left: 8px; color: #8c8378; font-weight: 400; font-size: 10px; letter-spacing: .02em; text-transform: none; }
.sh-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 1160px; margin: 0 auto; padding: 14px 24px;
}
.sh-logo { color: var(--ink); font: 900 32px/1 var(--sans); letter-spacing: -.05em; text-decoration: none; }
.sh-logo span { color: var(--hot); }
.sh-nav { display: flex; align-items: center; gap: 4px; }
.sh-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px;
  border-radius: 999px; color: var(--ink); font-weight: 650; font-size: 15px; text-decoration: none;
}
.sh-nav a:hover { background: #f5e8d6; }
.sh-nav a[aria-current="page"] { background: var(--ink); color: var(--cream); }
.sh-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; padding: 0 6px;
  border-radius: 11px; background: var(--sun); color: var(--ink); font: 800 12px/1 var(--sans);
}

/* ---------- buttons ---------- */

.b {
  appearance: none; -webkit-appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; margin: 0; padding: 14px 30px;
  border: 0; border-radius: 999px;
  font: 800 17px/1.1 var(--sans); letter-spacing: -.005em; text-align: center; text-decoration: none;
  cursor: pointer;
}
.b-cta { background: var(--cta); color: #fff; box-shadow: 0 4px 0 var(--cta-2), 0 16px 30px rgba(217, 58, 0, .28); }
.b-cta:hover { background: #c23400; }
.b-cta:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cta-2); }
.b-ink { background: var(--ink); color: var(--cream); }
.b-ink:hover { background: #3a332a; }
.b-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.b-ghost:hover { background: #f5e8d6; }
/* Fair twins use one plain button style for every choice: same size, same weight. */
.b-even { min-height: 48px; padding: 10px 22px; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); font-weight: 700; }
.b-even:hover { background: var(--ink); color: var(--cream); }
.b-wide { width: 100%; }
.b[disabled] { background: #e5dccd; color: #8c8378; box-shadow: none; cursor: not-allowed; }
.b-text {
  appearance: none; -webkit-appearance: none; margin: 0; padding: 4px 2px; border: 0; background: none;
  color: var(--ink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

.eyebrow { margin: 0 0 10px !important; color: var(--cta); font: 800 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.lede { max-width: 46ch; color: var(--ink-2); font-size: 20px; line-height: 1.45; }
.plain { color: var(--ink-2); font-size: 16px; }

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

.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: center;
  max-width: 1160px; margin: 0 auto; padding: 24px 24px 64px;
}
.hero h1 { margin: 0 0 16px; font: 900 clamp(40px, 5.4vw, 68px)/.98 var(--sans); letter-spacing: -.05em; text-wrap: balance; }
.hero h1 em { color: var(--cta); font-style: normal; }
.art {
  position: relative; display: grid; place-items: center; aspect-ratio: 1;
  border-radius: 40px;
  background: radial-gradient(circle at 28% 22%, #fff0d6 0, #ffd596 55%, #ffbb6b 100%);
}
.art img { width: 80%; }
.sticker {
  position: absolute; top: 5%; right: 5%;
  display: grid; place-items: center; width: 118px; height: 118px;
  border: 3px solid var(--ink); border-radius: 50%;
  background: var(--sun); color: var(--ink);
  font: 900 24px/.95 var(--sans); letter-spacing: -.03em; text-align: center;
  transform: rotate(12deg); box-shadow: 0 6px 0 var(--ink);
}
.sticker small { display: block; font-size: 12px; letter-spacing: .08em; }

.buy { margin-top: 24px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 14px !important; }
.price s { color: var(--ink-2); font-size: 22px; }
.price strong { font: 900 46px/1 var(--sans); letter-spacing: -.04em; }
.tag { padding: 6px 11px; border-radius: 999px; background: var(--red); color: #fff; font: 800 13px/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; }
.pill {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  margin: 0 0 12px !important; padding: 9px 16px;
  border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 700; font-size: 15px;
}
.clock { color: var(--sun); font: 800 21px/1 var(--mono); font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.chip { padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 650; }
.chip--hot { border-color: #ffb3a1; background: #ffe9e4; color: #8f1a00; }
.chip b { font-variant-numeric: tabular-nums; }
.chips--calm .chip { border-color: var(--ink-2); }
.buy__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.buy__note { margin: 0 !important; color: var(--ink-2); font-size: 14px; }

/* ---------- home: bands ---------- */

.band { padding: 56px 0; }
.band--sand { background: var(--sand); }
.band--ink { background: var(--ink); color: var(--cream); }
.band h2 { margin: 0 0 8px; font: 900 clamp(28px, 4vw, 42px)/1.05 var(--sans); letter-spacing: -.04em; text-wrap: balance; }
.band__sub { max-width: 56ch; color: var(--ink-2); font-size: 18px; }
.band--ink .band__sub { color: #d9cfc2; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.card {
  padding: 26px; border-radius: var(--r); background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 14px 30px rgba(27, 23, 18, .06);
}
.card h3 { margin: 0 0 8px; font: 800 21px/1.2 var(--sans); }
.card p { margin: 0; color: var(--ink-2); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 16px; background: var(--sand); font-size: 26px; }
.seals { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin: 0; padding: 22px 24px; list-style: none; border-block: 1px solid var(--line); background: var(--card); }
.seals li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.seals b { display: block; }
.seals span { color: var(--ink-2); font-size: 13px; }
.seal { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 50%; font: 900 15px/1 var(--sans); }
.split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.stars { color: #e08a00; letter-spacing: 2px; }

/* ---------- cookie sheet ---------- */

.sheet {
  position: fixed; z-index: 900;
  left: 0; right: var(--hf-dock, 0px); bottom: 0;
  display: flex; justify-content: flex-end;
  padding: 0 16px 16px; pointer-events: none;
}
.sheet__in {
  width: min(100%, 460px); max-height: calc(100vh - var(--hf-ribbon-h, 44px) - 32px); overflow-y: auto;
  padding: 24px 26px 18px; border-radius: 24px; background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 30px 90px rgba(27, 23, 18, .4);
  pointer-events: auto;
}
.sheet h2 { margin: 0 0 6px; font: 800 23px/1.2 var(--sans); }
.sheet p { color: var(--ink-2); font-size: 15px; }
.sheet__act { display: grid; gap: 8px; margin-top: 16px; }
.sheet__yes { min-height: 66px; font-size: 21px; }
/* The pattern: 11px, 2:1 contrast, no underline. Legal says this is a button. */
.shop .tiny { display: flex; justify-content: center; gap: 18px; margin: 2px 0 0; font-size: 11px; line-height: 1.2; }
.tiny a, .tiny button { padding: 0; border: 0; background: none; color: var(--pale); font: inherit; text-decoration: none; cursor: pointer; }
.sheet__act--even { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sheet__act--even .b { padding-inline: 8px; }
.rows { max-height: min(38vh, 260px); overflow-y: auto; margin: 12px 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 14px; }
.rows li { border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows label { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 14px; font-size: 14px; cursor: pointer; }
.rows small { display: block; color: var(--ink-2); }
.sw {
  appearance: none; -webkit-appearance: none; flex: none; position: relative;
  width: 42px; height: 24px; margin: 0; border-radius: 12px; background: #b3a999; cursor: pointer;
}
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.sw:checked { background: var(--leaf); }
.sw:checked::after { transform: translateX(18px); }
.sheet__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 4px !important; font-size: 13px; }
.sheet__more .b { min-height: 38px; padding: 6px 16px; font-size: 14px; }

/* ---------- newsletter pop-up ---------- */

.pop {
  position: fixed; z-index: 1000; inset: 0;
  display: grid; place-items: center;
  padding: calc(var(--hf-ribbon-h, 44px) + 12px) calc(var(--hf-dock, 0px) + 16px) 16px 16px;
}
.pop__shade { position: absolute; inset: 0; background: rgba(27, 23, 18, .66); }
.pop__box {
  position: relative; width: min(100%, 470px); max-height: 100%; overflow-y: auto;
  padding: 34px 30px 22px; border-radius: 28px; background: var(--card); text-align: center;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .45);
}
.pop__box:focus { outline: none; }
.pop__box h2 { margin: 0 0 8px; font: 900 32px/1.02 var(--sans); letter-spacing: -.04em; text-wrap: balance; }
.pop__box p { color: var(--ink-2); }
/* The pattern: a close button that is 14px, pale, and in the corner. */
.pop__x { position: absolute; top: 12px; right: 14px; width: 16px; height: 16px; padding: 0; border: 0; background: none; color: #d8d0c4; font: 400 14px/1 var(--sans); cursor: pointer; }
.field { display: grid; gap: 4px; margin: 14px 0; text-align: left; }
.field label { font-size: 13px; font-weight: 700; }
.field input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #faf6ef; color: var(--ink-2); font: 400 16px var(--sans); }
.field small { color: var(--ink-2); }
/* The pattern: the way out is 12px, pale, and an insult. */
.pop__no { display: inline-block; margin-top: 14px; color: #a39b90; font-size: 12px; text-underline-offset: 2px; }
.news {
  display: grid; gap: 6px; max-width: 760px; margin: 0 auto; padding: 26px 28px;
  border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--line);
}
.news h2 { font: 800 24px/1.2 var(--sans); }
.news__act { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0 !important; }
.done { font-weight: 700; }

/* ---------- toasts ---------- */

.toasts {
  position: fixed; z-index: 940; left: 16px; bottom: calc(var(--sh-lift) + 16px);
  display: grid; gap: 8px; width: min(340px, calc(100vw - 110px));
}
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px 10px 14px; border-radius: 16px; background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(27, 23, 18, .2);
  font-size: 14px; line-height: 1.35;
}
.toast p { margin: 0; flex: 1; }
.toast small { display: block; color: var(--ink-2); }
.toast__dot { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sand) url(/assets/img/mug.svg) center / 78% no-repeat; }
.toast__x { flex: none; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink-2); font-size: 18px; line-height: 1; cursor: pointer; }
.toast__x:hover { background: var(--sand); }

/* ---------- Dee ---------- */

.dee {
  position: fixed; z-index: 950;
  right: calc(var(--hf-dock, 0px) + 16px); bottom: calc(var(--sh-lift) + 16px);
  display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 10px;
}
.dee__fab {
  position: relative; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%;
  background: var(--ink); color: var(--cream); font: 900 26px/1 var(--sans);
  box-shadow: 0 0 0 2px var(--cream), 0 12px 30px rgba(27, 23, 18, .35); cursor: pointer;
}
.dee__fab::after { content: ""; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border: 2px solid var(--cream); border-radius: 50%; background: var(--red); }
.dee__fab--plain { width: auto; height: auto; min-height: 44px; padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 700; }
.dee__fab--plain::after { content: none; }
.dee__box {
  width: min(330px, calc(100vw - 32px)); overflow: hidden;
  border-radius: 22px; background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(27, 23, 18, .32);
}
.dee__top { display: flex; align-items: center; gap: 8px; margin: 0 !important; padding: 12px 10px 12px 16px; background: var(--ink); color: var(--cream); font-size: 13px; }
.dee__top strong { font-size: 16px; }
.dee__top span { color: #d9cfc2; }
.dee__x { margin-left: auto; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--cream); font-size: 22px; line-height: 1; cursor: pointer; }
.dee__x:hover { background: #3a332a; }
.dee__x:focus-visible { outline-color: var(--sun); }
.dee__msg { margin: 0 !important; padding: 16px 16px 12px; font-size: 15px; }
.dee__replies { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 !important; padding: 0 16px 16px; }
.dee__replies button {
  min-height: 34px; padding: 6px 12px; border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--card); color: var(--ink); font: 650 13px/1.2 var(--sans); cursor: pointer;
}
.dee__replies button:hover { background: var(--ink); color: var(--cream); }

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

.sh-foot { margin-top: 72px; padding: 52px 0 28px; background: var(--ink); color: #d9cfc2; font-size: 14px; }
.sh-foot__grid { display: grid; grid-template-columns: 1.3fr 1.4fr 1fr 1.2fr; gap: 32px; }
.sh-foot h2 { margin: 0 0 10px; color: #fff; font: 800 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.sh-foot ul { margin: 0; padding: 0; list-style: none; }
.sh-foot li { margin-bottom: 8px; }
.sh-foot a { color: #fff; text-underline-offset: 3px; }
.sh-foot :focus-visible { outline-color: var(--sun); }
.sh-logo--foot { color: #fff; margin-bottom: 8px !important; }
/* Room on the right so that Dee's launcher never sits on top of the last line. */
.sh-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 18px; padding-right: 76px; border-top: 1px solid #3a332a; }
.sh-foot__base p { margin: 0; }
/* The pattern: the door to cancelling is the palest thing in the footer. */
.sh-foot__tiny a { color: #5f574d; font-size: 11px; text-decoration: none; }

/* ---------- small screens ---------- */

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 44px; }
  .hero .art { order: -1; max-width: 420px; width: 100%; margin: 0 auto; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .sh-foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .band { padding: 44px 0; }
}
@media (max-width: 560px) {
  .wrap, .sh-head, .hero { padding-left: 16px; padding-right: 16px; }
  .sh-head { padding-top: 10px; padding-bottom: 10px; }
  .sh-logo { font-size: 28px; }
  .sh-nav a { padding: 8px 10px; font-size: 14px; }
  .sticker { width: 92px; height: 92px; font-size: 19px; }
  .price strong { font-size: 40px; }
  .lede { font-size: 18px; }
  .sheet { padding: 0 8px 8px; }
  .sheet__in { padding: 18px 18px 14px; border-radius: 20px; }
  .sheet h2 { font-size: 20px; }
  .sheet__yes { min-height: 58px; font-size: 19px; }
  .sheet__act--even { grid-template-columns: minmax(0, 1fr); }
  .pop__box { padding: 30px 20px 18px; }
  .pop__box h2 { font-size: 27px; }
  .sh-foot__grid { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 20px; }
}

@media (prefers-reduced-motion: no-preference) {
  .b-cta { transition: background-color .12s, transform .08s, box-shadow .08s; }
  .sw::after { transition: transform .15s; }
  .toast { animation: rise .3s ease-out; }
  .dee__box { animation: rise .25s ease-out; }
  .pop__box { animation: rise .3s ease-out; }
  .sticker { animation: wobble 2.4s ease-in-out infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes wobble { 0%, 100% { transform: rotate(12deg); } 50% { transform: rotate(7deg) scale(1.04); } }

/* ==========================================================================
   Product page
   ========================================================================== */

.page-h { margin: 18px 0 20px !important; font: 900 clamp(32px, 5vw, 48px)/1.05 var(--sans); letter-spacing: -.04em !important; }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; padding-top: 12px; padding-bottom: 56px; }
.crumbs { margin-bottom: 10px; color: var(--ink-2); font-size: 13px; }
.crumbs a { color: inherit; }
.pdp h1 { font: 900 clamp(36px, 5vw, 56px)/1 var(--sans); letter-spacing: -.045em; }
.pdp__sub { margin: 6px 0 8px !important; color: var(--ink-2); font-size: 20px; }
.pdp__rate { font-size: 15px; }
.pdp__rate a { color: var(--ink); }
.pdp .buy { margin-top: 16px; }
.pdp .chips { margin-bottom: 0; }

.opts { display: grid; gap: 8px; min-width: 0; margin: 20px 0 0; padding: 0; border: 0; }
.opts legend { margin-bottom: 8px; padding: 0; font-weight: 800; }
.opt {
  display: grid; grid-template-columns: 20px minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, 1.5fr); align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: 15px; cursor: pointer;
}
.opt:has(input:checked) { box-shadow: inset 0 0 0 2.5px var(--ink); }
.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--cta); }
.opt__name { font-weight: 800; }
.opt__name em { display: inline-block; margin-left: 4px; padding: 2px 7px; border-radius: 999px; background: var(--sun); font: 800 10px/1.4 var(--sans); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.opt__holds { color: var(--ink-2); }
.opt__cost { font-weight: 700; text-align: right; }
.opts--cols .opt, .opts__head { grid-template-columns: 20px minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); }
.opts--cols .opt__cost, .opts--cols .opt__unit { font-weight: 400; text-align: left; font-variant-numeric: tabular-nums; }
.opts__head { display: grid; gap: 10px; margin: 0 !important; padding: 0 14px; color: var(--ink-2); font: 700 12px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.opts__head span:first-child { grid-column: 2; }
.opts .plain { margin: 4px 0 0; font-size: 14px; }
.pdp__go { margin: 20px 0 12px !important; }
.perks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; }
.perks li::before { content: "\2713\00A0"; color: var(--leaf); font-weight: 800; }

.revs { margin-top: 24px; }
.rev { display: grid; gap: 6px; align-content: start; }
.rev__who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--ink) !important; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #e3f4ea; color: var(--leaf); font: 800 11px/1.5 var(--sans); white-space: nowrap; }
.rev__when { font-size: 13px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 24px 0 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; color: var(--ink-2); text-align: right; }

/* ==========================================================================
   Cart and checkout
   ========================================================================== */

.cart, .co { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 24px; }
.lines { margin: 0 0 20px; padding: 0; list-style: none; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 16px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line img { border-radius: 14px; background: var(--sand); }
.line h2 { font: 800 18px/1.2 var(--sans); }
.line__info p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.line__price { min-width: 72px; margin: 0 !important; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.line__qty { min-width: 96px; margin: 0 !important; color: var(--ink-2); text-align: center; }
/* The pattern: "remove" is 11px, pale and not underlined. */
.line__rm { padding: 0; border: 0; background: none; color: var(--pale); font: inherit; font-size: 11px; cursor: pointer; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.qty button { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); font: 700 18px/1 var(--sans); cursor: pointer; }
.qty button[disabled] { color: #c9bfb0; cursor: not-allowed; }
.qty span { min-width: 24px; font-weight: 800; text-align: center; }
.cart__note { margin: 0 0 16px !important; padding: 12px 16px; border-radius: 14px; background: #fff3c4; font-size: 15px; }
.extras { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.extras legend { margin-bottom: 10px; padding: 0; font: 800 20px/1.2 var(--sans); }
.extra { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.extra input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--cta); }
.extra small { display: block; color: var(--ink-2); }
.extra__cost { font-weight: 800; }

.sum { position: sticky; top: calc(var(--hf-ribbon-h, 44px) + 16px); padding: 22px; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 14px 30px rgba(27, 23, 18, .06); }
.sum h2 { margin-bottom: 12px; font: 800 20px/1.2 var(--sans); }
.sum__rows { margin: 0; }
.sum__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 15px; }
.sum__rows dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum__rows--late div { color: var(--red); font-weight: 700; }
.sum__total { display: flex; align-items: baseline; justify-content: space-between; margin: 10px 0 8px !important; padding-top: 12px; border-top: 1.5px solid var(--ink); font-weight: 800; }
.sum__total b { font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sum__note { color: var(--ink-2); font-size: 13px; }

.trail { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; counter-reset: trail; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.trail li { counter-increment: trail; display: flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.trail li::before { content: counter(trail); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: var(--ink); font-size: 12px; }
.trail li[aria-current] { background: var(--ink); color: var(--cream); box-shadow: none; }
.trail li[aria-current]::before { background: var(--sun); }
.panel { padding: 26px; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.panel h1, .panel h2 { margin: 0 0 12px; font: 900 clamp(24px, 3.4vw, 32px)/1.1 var(--sans); letter-spacing: -.03em; text-wrap: balance; }
.filled { display: grid; gap: 2px; margin: 0 0 14px !important; padding: 12px 14px; border-radius: 12px; background: #faf6ef; box-shadow: inset 0 0 0 1px var(--line); }
.filled b { font-size: 13px; }
.filled small { color: var(--ink-2); }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; color: var(--ink-2); font-size: 14px; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--cta); }
.check--plain { color: var(--ink); font-size: 16px; }
/* The pattern: the terms that cost the most are 9px tall and pale grey. */
.fine { margin: 10px 0 0 !important; color: var(--pale) !important; font-size: 9px; line-height: 1.35; }
.yay { padding: 12px 14px; border-radius: 12px; background: #fff3c4; }

/* ==========================================================================
   Deon+
   ========================================================================== */

.plus { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px; align-items: center; padding-top: 20px; padding-bottom: 56px; }
.plus h1 { margin: 0 0 14px; font: 900 clamp(40px, 6vw, 72px)/.98 var(--sans); letter-spacing: -.05em; text-wrap: balance; }
.free { color: var(--cta); white-space: nowrap; }
/* The pattern: the asterisk carries the contract and is as small and pale as it can be. */
.free sup { color: var(--pale); font-size: .3em; vertical-align: top; }
.plans { display: grid; gap: 8px; min-width: 0; margin: 22px 0 14px; padding: 0; border: 0; }
.plans legend { margin-bottom: 14px; padding: 0; font-weight: 800; }
.plan { position: relative; display: grid; gap: 2px; padding: 16px 18px 16px 52px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; }
.plan input { position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; margin: 0; accent-color: var(--cta); }
.plan:has(input:checked) { box-shadow: inset 0 0 0 2.5px var(--ink); }
.plan--big, .plan--big:has(input:checked) { padding-top: 24px; box-shadow: inset 0 0 0 3px var(--cta), 0 14px 30px rgba(217, 58, 0, .16); }
.plan--big input { top: 26px; }
.plan__flag { position: absolute; top: -11px; left: 18px; padding: 4px 10px; border-radius: 999px; background: var(--sun); font: 800 11px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.plan__name { font: 800 19px/1.2 var(--sans); }
.plan__cost { font: 900 28px/1.1 var(--sans); letter-spacing: -.03em; }
.plan__sub { color: var(--pale); font-size: 11px; }
/* The pattern: the cheaper commitment is one pale line with a 13px radio. */
.plan--small, .plan--small:has(input:checked) { padding: 2px 0 2px 24px; background: none; box-shadow: none; color: var(--pale); font-size: 12px; }
.plan--small input { left: 4px; top: 4px; width: 13px; height: 13px; }
.plans--even .plan__cost { font: 400 16px/1.4 var(--sans); letter-spacing: 0; }
.plus__out { margin: 10px 0 0 !important; font-size: 10px; }
.plus__out a { color: #d8d0c4; text-decoration: none; }
.plus .panel { margin: 20px 0 0; }
.plus__art { display: grid; place-items: center; aspect-ratio: 1; border-radius: 40px; background: linear-gradient(140deg, #1b1712 0, #4a2410 100%); color: var(--cream); font: 900 clamp(52px, 9vw, 116px)/1 var(--sans); letter-spacing: -.06em; }
.plus__art b { color: var(--sun); }

/* ==========================================================================
   Cancelling
   ========================================================================== */

.leave { max-width: 620px; margin: 28px auto 0; }
.leave__note { padding: 12px 16px; border-radius: 14px; background: #fff3c4; font-size: 15px; }
.leave__bar { margin: 0 0 18px; }
.leave__bar::before { content: ""; display: block; height: 10px; border-radius: 5px; background: var(--line); }
.leave__bar span { display: block; width: 86%; height: 10px; margin-top: -10px; border-radius: 5px; background: var(--leaf); }
.leave__bar p { margin: 6px 0 0; color: var(--ink-2); font-size: 12px; font-weight: 700; text-align: right; }
.leave .panel { padding: 34px 30px 26px; text-align: center; }
.leave .panel h1 { font-size: clamp(28px, 4.4vw, 38px); }
.leave__face { margin: 0 0 8px !important; color: var(--ink-2); font: 900 60px/1 var(--sans); }
.leave__act { display: grid; gap: 10px; margin-top: 20px; }
.survey { display: grid; gap: 8px; min-width: 0; margin: 16px 0 20px; padding: 0; border: 0; text-align: left; }
.survey legend { margin-bottom: 8px; padding: 0; font-weight: 800; }
.survey legend span { color: var(--red); font-weight: 600; }
.survey label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; }
.survey label:has(input:checked) { box-shadow: inset 0 0 0 2.5px var(--ink); }
.survey input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--cta); }
.leave__dense { color: var(--ink-2); font-size: 12px; line-height: 1.5; text-align: left; }
/* The pattern: the link that really cancels looks exactly like the sentence around it. */
.leave__dense a { color: inherit; text-decoration: none; }
.shop .tiny--left { margin-top: 14px; }
.leave .news__act { justify-content: center; }

@media (max-width: 860px) {
  .pdp, .cart, .co, .plus { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pdp .art { max-width: 420px; width: 100%; margin: 0 auto; }
  .sum { position: static; }
  .specs { grid-template-columns: minmax(0, 1fr); }
  .plus__art { order: -1; aspect-ratio: 5 / 2; border-radius: 28px; font-size: 64px; }
}
@media (max-width: 560px) {
  .opt { grid-template-columns: 20px minmax(0, 1fr) auto; }
  .opt__holds { grid-column: 2; grid-row: 2; }
  .opt__cost { grid-column: 3; grid-row: 1 / span 2; max-width: 9.5em; }
  .opts--cols .opt, .opts__head { grid-template-columns: 20px minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 6px; padding-left: 10px; padding-right: 10px; font-size: 14px; }
  .opts--cols .opt__holds, .opts--cols .opt__cost { grid-column: auto; grid-row: auto; max-width: none; }
  .opts__head { font-size: 10px; }
  .line { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "img info price" "img more more"; gap: 8px 12px; padding: 14px; }
  .line img { grid-area: img; width: 64px; height: 64px; }
  .line__info { grid-area: info; }
  .line__price { grid-area: price; min-width: 0; }
  .qty, .line__qty { grid-area: more; justify-self: start; min-width: 0; text-align: left; }
  .panel, .sum { padding: 20px; }
  .leave .panel { padding: 26px 20px 20px; }
  .plan__cost { font-size: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .sum__rows--late div { animation: rise .3s ease-out; }
}
