/* Dekorator website. The store pictures' system ("the reveal"): espresso, ivory, deep green, charcoal, cream and
   terracotta grounds in turn, Vazirmatn at 900 for headlines, and the app's compare line (an ivory seam with a round
   terracotta handle) as the one motif. Persian first: every box uses logical properties (inline-start is the right in
   Persian, the left in English), headlines carry no letter-spacing (it breaks Persian joins), and Persian body text
   gets a tall line height. */

@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/fonts/vazirmatn-subset.1adc895142.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --espresso: #1f1a16;
  --espresso-2: #2a231e;
  --green: #1d3128;
  --green-2: #24392f;
  --charcoal: #272523;
  --ivory: #f4eee4;
  --cream: #eadfcb;
  --paper: #fbf8f2;
  --ink: #1c1a17;
  --terra: #b04a22;
  --clay: #b4532a;
  --clay-hi: #e58a5c;
  --amber: #f5c47a;
  --leaf: #2f6b4f;

  --fg: var(--ink);
  --fg-dim: rgba(28, 26, 23, 0.72);
  --hair: rgba(28, 26, 23, 0.16);
  --acc: var(--clay);
  --card: #fffdf9;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 60px -30px rgba(20, 14, 8, 0.45), 0 10px 24px -14px rgba(20, 14, 8, 0.3);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 400;
  color: var(--fg);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}
html[lang="en"] body { line-height: 1.65; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 900; line-height: 1.22; letter-spacing: 0; text-wrap: balance; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -0.015em; line-height: 1.1; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 8px 16px; border-radius: 10px; font-weight: 700;
  text-decoration: none; transition: top 0.15s;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* grounds: each section sets its own colours; dark grounds swap the variables */
.g-espresso { background: var(--espresso); }
.g-green { background: radial-gradient(1200px 800px at 85% 0%, var(--green-2) 0%, var(--green) 70%); }
.g-charcoal { background: var(--charcoal); }
.g-ivory { background: var(--ivory); }
.g-cream { background: var(--cream); }
.g-paper { background: var(--paper); }
.g-terra { background: radial-gradient(1200px 900px at 80% 0%, #bc5428 0%, var(--terra) 60%, #9c3f1c 100%); }
.g-espresso, .g-green, .g-charcoal, .g-terra {
  --fg: #f4ede2; --fg-dim: rgba(244, 237, 226, 0.74); --hair: rgba(244, 237, 226, 0.2); --acc: var(--clay-hi);
  --card: rgba(255, 255, 255, 0.05);
  color: var(--fg);
}
.g-terra { --acc: var(--amber); --fg-dim: rgba(252, 243, 232, 0.9); --hair: rgba(252, 243, 232, 0.35); }
.g-cream { --card: #f6eedf; }

.section { padding-block: clamp(64px, 9vw, 128px); }
.section.tight { padding-block: clamp(48px, 6vw, 88px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 15px; line-height: 1.5; font-weight: 700; color: var(--fg-dim);
}
.eyebrow::before { content: ""; inline-size: 9px; block-size: 9px; border-radius: 50%; background: var(--acc); flex: none; }
.acc { color: var(--acc); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.85; color: var(--fg-dim); max-inline-size: 38em; }
html[lang="en"] .lead { line-height: 1.6; }
.h2 { font-size: clamp(32px, 4.4vw, 58px); margin-block-end: 18px; }
.h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 800; line-height: 1.4; margin-block-end: 8px; }
.head { max-inline-size: 760px; margin-block-end: clamp(32px, 4vw, 56px); }
.head.center { margin-inline: auto; text-align: center; }
.head.center .lead { margin-inline: auto; }
.head.center .eyebrow { justify-content: center; }
.muted { color: var(--fg-dim); }
.small { font-size: 14.5px; line-height: 1.8; }

/* ───────────── header ───────────── */
.site-head {
  position: sticky; top: 0; z-index: 50; color: #f4ede2;
  background: rgba(31, 26, 22, 0.86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-block-end: 1px solid rgba(244, 237, 226, 0.08);
}
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-block-size: 68px; }
.wordmark {
  display: inline-flex; align-items: baseline; gap: 7px; font-size: 24px; font-weight: 800; line-height: 1;
  text-decoration: none; color: inherit; flex: none;
}
.wordmark i { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--clay-hi); display: inline-block; }
html[lang="en"] .wordmark { letter-spacing: -0.01em; }
.nav { display: none; gap: 4px; margin-inline-start: auto; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 999px;
  color: rgba(244, 237, 226, 0.82);
}
.nav a:hover { color: #fff; background: rgba(244, 237, 226, 0.08); }
.head-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.nav + .head-actions { margin-inline-start: 8px; }
.lang {
  font-size: 14px; font-weight: 700; text-decoration: none; padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(244, 237, 226, 0.22); color: rgba(244, 237, 226, 0.9); line-height: 1.4;
}
.lang:hover { border-color: rgba(244, 237, 226, 0.5); }
.btn-get {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 15px;
  padding: 9px 16px; border-radius: 999px; background: var(--clay); color: #fff; line-height: 1.4; white-space: nowrap;
}
.btn-get:hover { background: #c25d31; }
@media (min-width: 940px) { .nav { display: flex; } }
@media (max-width: 380px) { .btn-get .long { display: none; } }

/* ───────────── store buttons ───────────── */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-inline-size: 196px;
  padding: 11px 20px 11px 22px; border-radius: 16px; line-height: 1.3; transition: transform 0.2s var(--ease), background 0.2s;
  background: var(--paper); color: var(--ink); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.5);
}
.store:hover { transform: translateY(-2px); }
.store svg { inline-size: 28px; block-size: 28px; flex: none; }
.store span { display: flex; flex-direction: column; }
.store small { font-size: 12.5px; font-weight: 600; opacity: 0.7; }
.store b { font-size: 18px; font-weight: 900; }
.store.alt { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--hair); }
.store.alt:hover { box-shadow: inset 0 0 0 1.5px var(--fg-dim); }
.g-ivory .store:not(.alt), .g-cream .store:not(.alt), .g-paper .store:not(.alt) { background: var(--espresso); color: #f7f1e7; }
.store-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-block-start: 18px; font-size: 15px; color: var(--fg-dim); }
.store-note span { display: inline-flex; align-items: center; gap: 8px; }
.store-note svg { inline-size: 18px; block-size: 18px; color: var(--acc); flex: none; }

/* ───────────── the compare line ───────────── */
.compare {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 2;
  background: #2b241f; isolation: isolate; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: ew-resize; box-shadow: var(--shadow);
}
.compare .before, .compare .after, .compare picture, .compare img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.compare img { object-fit: cover; -webkit-user-drag: none; }
/* the design is always the layer on top, cut by the line. In Persian «قبل» sits on the right of the line and «بعد»
   on the left, as in the app; in English the before is on the left. --pos is measured from the physical left. */
.compare .after { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
[dir="ltr"] .compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .after picture { transition: opacity 0.45s var(--ease); }
.compare .after picture[data-off] { opacity: 0; }
.compare .seam {
  position: absolute; top: 0; bottom: 0; left: var(--pos); inline-size: 4px; margin-left: -2px; z-index: 3;
  background: #fbf8f2; box-shadow: 0 0 0 1px rgba(28, 26, 23, 0.08), 0 0 18px rgba(20, 16, 12, 0.4); pointer-events: none;
}
.compare .handle {
  position: absolute; top: 50%; left: 50%; inline-size: 58px; block-size: 58px; margin: -29px 0 0 -29px;
  border-radius: 50%; background: var(--clay); border: 4px solid #fbf8f2; display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(30, 16, 8, 0.65), 0 4px 10px rgba(30, 16, 8, 0.3);
}
.compare .handle svg { inline-size: 28px; block-size: 28px; }
.compare .pill {
  position: absolute; z-index: 4; top: 14px; padding: 3px 14px 5px; border-radius: 999px; font-size: 14px; font-weight: 800;
  line-height: 1.5; color: #fbf8f2; background: rgba(24, 20, 16, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  pointer-events: none; transition: opacity 0.2s;
}
.compare .pill.b { right: 14px; }
.compare .pill.a { left: 14px; background: var(--clay); }
[dir="ltr"] .compare .pill.b { right: auto; left: 14px; }
[dir="ltr"] .compare .pill.a { left: auto; right: 14px; }
.compare input[type="range"] {
  position: absolute; inset: 0; inline-size: 100%; block-size: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 5;
  pointer-events: none;
}
.compare:has(input:focus-visible) .handle { outline: 3px solid var(--amber); outline-offset: 3px; }
.compare.hint .seam, .compare.hint .after { transition: left 0.9s var(--ease), clip-path 0.9s var(--ease); }
.compare-cap { display: flex; justify-content: space-between; gap: 12px; margin-block-start: 12px; font-size: 14px; color: var(--fg-dim); }
@media (min-width: 900px) { .compare .handle { inline-size: 66px; block-size: 66px; margin: -33px 0 0 -33px; } .compare .pill { font-size: 15px; top: 18px; } }

/* chips that swap the design under the line */
.swaps { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 18px; }
.swaps button {
  display: inline-flex; align-items: center; gap: 9px; border: 0; cursor: pointer; border-radius: 999px;
  padding: 8px 16px 9px; font-size: 15px; font-weight: 700; line-height: 1.5;
  background: var(--card); color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--hair); transition: background 0.2s, box-shadow 0.2s;
}
.swaps button:hover { box-shadow: inset 0 0 0 1.5px var(--fg-dim); }
.swaps button[aria-pressed="true"] { background: var(--clay); color: #fff; box-shadow: none; }
.swaps .dot { inline-size: 16px; block-size: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.15); flex: none; }

/* ───────────── hero ───────────── */
.hero { position: relative; overflow: hidden; padding-block: clamp(28px, 5vw, 72px) clamp(56px, 8vw, 104px); }
.hero .grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(46px, 7.4vw, 100px); line-height: 1.12; }
html[lang="en"] .hero h1 { line-height: 1.02; }
.hero h1 .kicker {
  display: block; font-size: clamp(15px, 1.3vw, 17px); font-weight: 700; line-height: 1.6; color: var(--fg-dim);
  margin-block-end: 18px; letter-spacing: 0; text-wrap: initial;
}
.hero .lead { margin-block: 22px 30px; }
@media (min-width: 980px) {
  .hero .grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .hero .compare { border-radius: 28px; }
}
.page-hero h1 { font-size: clamp(38px, 5.6vw, 76px); }

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--hair); border-radius: var(--radius); overflow: hidden; margin-block-start: clamp(40px, 6vw, 72px); }
.facts > div { background: var(--espresso-2); padding: 20px 22px; }
.facts b { display: block; font-size: clamp(18px, 1.8vw, 22px); font-weight: 900; line-height: 1.4; color: var(--fg); }
.facts span { display: block; font-size: 14.5px; line-height: 1.7; color: var(--fg-dim); margin-block-start: 4px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ───────────── cards ───────────── */
.grid-3 { display: grid; gap: clamp(20px, 2.4vw, 32px); }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grid-2 { display: grid; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 900px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qcard h3 { font-size: clamp(22px, 2vw, 27px); font-weight: 900; margin-block: 22px 8px; }
.qcard p { color: var(--fg-dim); margin-block-end: 10px; }
.more {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15.5px; color: var(--acc); text-decoration: none;
}
.more svg { inline-size: 18px; block-size: 18px; transition: transform 0.2s var(--ease); }
[dir="rtl"] .more svg, [dir="rtl"] .flip { transform: scaleX(-1); }
.more:hover svg { transform: translateX(3px); }
[dir="rtl"] .more:hover svg { transform: scaleX(-1) translateX(3px); }

.features { display: grid; gap: 14px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.feature {
  position: relative; background: var(--card); border-radius: var(--radius); padding: 24px 22px 22px;
  box-shadow: inset 0 0 0 1px var(--hair); display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
a.feature:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--hair), var(--shadow); }
.feature .ico {
  inline-size: 44px; block-size: 44px; border-radius: 12px; display: grid; place-items: center; margin-block-end: 16px;
  background: rgba(180, 83, 42, 0.1); color: var(--clay);
}
.feature .ico svg { inline-size: 24px; block-size: 24px; }
.feature h3 { font-size: 19px; font-weight: 800; line-height: 1.45; margin-block-end: 6px; }
.feature p { font-size: 15.5px; line-height: 1.85; color: var(--fg-dim); margin: 0; }
html[lang="en"] .feature p { line-height: 1.6; }
.feature .more { margin-block-start: auto; padding-block-start: 14px; font-size: 14.5px; }

/* the looks */
.looks .compare { max-inline-size: 1080px; margin-inline: auto; }
.looks .swaps { justify-content: center; }

/* steps */
.steps { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.step { background: var(--card); border-radius: var(--radius); padding: 28px 26px; box-shadow: inset 0 0 0 1px var(--hair); }
.step .n {
  inline-size: 46px; block-size: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; font-weight: 900;
  background: var(--clay); color: #fff; margin-block-end: 18px; line-height: 1;
}
.step h3 { font-size: 21px; font-weight: 900; margin-block-end: 8px; }
.step p { color: var(--fg-dim); margin: 0; font-size: 16px; }
.note-line { margin-block-start: 28px; display: flex; gap: 12px; align-items: flex-start; color: var(--fg-dim); font-size: 15.5px; max-inline-size: 52em; }
.note-line svg { inline-size: 22px; block-size: 22px; flex: none; color: var(--acc); margin-block-start: 4px; }

/* split: text beside a picture */
.split { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .split.rev > :first-child { order: 2; } }
.ticks { list-style: none; display: grid; gap: 10px; margin-block: 8px 26px; }
.ticks li { position: relative; padding-inline-start: 34px; color: var(--fg-dim); }
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.5em; inline-size: 22px; block-size: 22px; border-radius: 50%;
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
html[lang="en"] .ticks li::before { top: 0.2em; }
.g-espresso .ticks li::before, .g-green .ticks li::before, .g-charcoal .ticks li::before { background-color: var(--clay); }
.ticks b { color: var(--fg); font-weight: 800; }

.duo { display: grid; gap: 24px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo figure { margin: 0; }
.duo figcaption { margin-block-start: 14px; }
.duo figcaption b { display: block; font-size: 19px; font-weight: 900; line-height: 1.5; }
.duo figcaption span { color: var(--fg-dim); font-size: 15.5px; }

/* audiences */
.people { display: grid; gap: 14px; }
@media (min-width: 700px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .people { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.person { background: var(--card); border-radius: var(--radius); padding: 22px 20px; box-shadow: inset 0 0 0 1px var(--hair); }
.person b { display: block; font-size: 17.5px; font-weight: 900; line-height: 1.5; margin-block-end: 6px; }
.person p { font-size: 15px; line-height: 1.85; color: var(--fg-dim); margin: 0; }
html[lang="en"] .person p { line-height: 1.6; }

/* packs */
.packs { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .packs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.pack {
  background: var(--card); border-radius: var(--radius); padding: 24px 20px 22px; box-shadow: inset 0 0 0 1px var(--hair);
  display: flex; flex-direction: column; gap: 4px;
}
.pack .count { font-size: clamp(34px, 3.6vw, 46px); font-weight: 900; line-height: 1.1; }
.pack .count small { font-size: 0.42em; font-weight: 700; color: var(--fg-dim); margin-inline-start: 6px; }
.pack .price { font-size: clamp(18px, 1.6vw, 21px); font-weight: 800; margin-block-start: 12px; line-height: 1.5; }
.pack .per { font-size: 14px; color: var(--fg-dim); line-height: 1.6; }
.pack-notes { margin-block-start: 30px; }
.pack-notes .ticks { margin-block-end: 0; }
@media (min-width: 900px) { .pack-notes .ticks { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* trust */
.trust { display: grid; gap: 24px; }
@media (min-width: 900px) { .trust { grid-template-columns: 1fr 1fr; gap: 40px; } }
.panel { background: var(--card); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: inset 0 0 0 1px var(--hair); }
.panel h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; margin-block-end: 14px; }
.panel .ticks { margin-block-end: 14px; }

/* FAQ */
.faq { max-inline-size: 880px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px var(--hair); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-size: 17.5px; font-weight: 800; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; inline-size: 26px; block-size: 26px; border-radius: 50%; background: rgba(180, 83, 42, 0.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B4532A' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; color: var(--fg-dim); }
.faq .a p:last-child { margin: 0; }

/* the closing call */
.cta { text-align: center; }
.cta h2 { font-size: clamp(40px, 6vw, 84px); }
.cta .lead { margin: 10px auto 32px; }
.cta .stores { justify-content: center; }
.g-terra .store:not(.alt) { background: var(--paper); color: var(--ink); }

/* breadcrumbs and related pages */
.crumbs { font-size: 14px; color: var(--fg-dim); margin-block-end: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.related { display: grid; gap: 12px; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .related { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.related a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: var(--radius-sm);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--hair); text-decoration: none; font-weight: 800; line-height: 1.5;
}
.related a:hover { box-shadow: inset 0 0 0 1px var(--fg-dim); }
.related svg { inline-size: 18px; block-size: 18px; color: var(--acc); flex: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 6px; border-radius: 999px; font-size: 15px; font-weight: 600;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--hair); line-height: 1.6;
}
.chips .dot { inline-size: 14px; block-size: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.optgroup { margin-block-end: 22px; }
.optgroup h3 { font-size: 17px; font-weight: 800; margin-block-end: 10px; }

.prose { max-inline-size: 760px; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); margin-block: 40px 14px; }
.prose h2:first-child { margin-block-start: 0; }

.inset { position: relative; }
.inset .shop {
  position: absolute; z-index: 6; inset-block-end: -18px; inset-inline-start: -10px; inline-size: 30%; min-inline-size: 120px;
  background: #fff; border-radius: 14px; padding: 8px; box-shadow: var(--shadow); transform: rotate(-3deg);
}
[dir="ltr"] .inset .shop { transform: rotate(3deg); }
.inset .shop img { border-radius: 8px; inline-size: 100%; block-size: auto; }
.inset .shop span { display: block; text-align: center; font-size: 12.5px; font-weight: 700; color: #5b544c; padding-block: 4px 0; line-height: 1.5; }

/* ───────────── footer ───────────── */
.site-foot { background: var(--espresso); color: rgba(244, 237, 226, 0.78); padding-block: 64px 36px; font-size: 15px; }
.site-foot .top { display: grid; gap: 36px; }
@media (min-width: 900px) { .site-foot .top { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.site-foot .wordmark { color: #f4ede2; font-size: 26px; margin-block-end: 14px; }
.site-foot h2 { font-size: 15px; font-weight: 800; color: #f4ede2; margin-block-end: 12px; line-height: 1.6; }
.site-foot ul { list-style: none; display: grid; gap: 6px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot .bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-block-start: 48px; padding-block-start: 22px;
  border-block-start: 1px solid rgba(244, 237, 226, 0.12); font-size: 13.5px; color: rgba(244, 237, 226, 0.6);
}
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* reveal on scroll (only when scripts run) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .compare.hint .seam, .compare.hint .after, .compare .after picture { transition: none; }
}

.notfound { min-block-size: 60vh; display: grid; place-items: center; text-align: center; }

/* spacing helpers (no inline styles: the content security policy allows none) */
.mt-xs { margin-block-start: 8px; }
.mt-s { margin-block-start: 18px; }
.mt-m { margin-block-start: 26px; }
.m0 { margin: 0; }
.faq summary h3 { font: inherit; margin: 0; }
/* colour dots for the app's own colour names */
.sw-cream { background: #efe4cc; } .sw-sage { background: #a8b89e; } .sw-bluegrey { background: #a3b1bb; }
.sw-blush { background: #e6c2b4; } .sw-warmgrey { background: #b7afa4; } .sw-charcoal { background: #3a4049; }
.sw-warm { background: linear-gradient(135deg, #f1d9b0, #d9a46a); } .sw-green { background: linear-gradient(135deg, #b9c8ae, #7f9a7a); }
.sw-white { background: linear-gradient(135deg, #fbfaf6, #e4e1da); } .sw-dark { background: linear-gradient(135deg, #4a4038, #1f1a16); }

/* ───────────── refinements after the first renders ───────────── */
.steps, .ticks, .chips, .faq { list-style: none; }
p, li, figcaption span { text-wrap: pretty; }
@media (max-width: 559px) {
  .stores { flex-wrap: nowrap; }
  .stores .store { flex: 1 1 0; min-inline-size: 0; padding-inline: 14px; gap: 10px; }
  .stores .store b { font-size: 16.5px; }
}
@media (max-width: 639px) {
  .feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 18px 18px 16px; }
  .feature .ico { grid-row: 1 / span 3; margin: 0; }
  .feature > :not(.ico) { grid-column: 2; }
  .feature .more { padding-block-start: 8px; }
  .person { padding: 18px; }
  .pack { padding: 18px 14px 16px; }
  .pack .price { font-size: 16.5px; white-space: nowrap; }
  .pack .per { font-size: 13px; }
  .section { padding-block: 64px; }
}

/* ───────────── after the independent review (19 Nov) ───────────── */
/* a switched-off before is hidden too (the empty-room chips swap both pictures) */
.compare .before picture { transition: opacity 0.45s var(--ease); }
.compare .before picture[data-off] { opacity: 0; }
/* the labels fade when their side is almost gone, and the handle stays inside the picture */
.compare.no-a .pill.a, .compare.no-b .pill.b { opacity: 0; }
.compare .handle { transform: translateX(var(--hshift, 0px)); }

/* the header's button: a sized icon, a short label on narrow phones, a real tap target */
.btn-get { min-block-size: 38px; }
.btn-get svg { inline-size: 18px; block-size: 18px; flex: none; }
.btn-get .short { display: none; }
@media (max-width: 380px) { .btn-get .long { display: none; } .btn-get .short { display: inline; } }

/* contrast: a darker accent on light grounds (5.7:1 on ivory), a deeper terracotta behind the closing call */
:root, .g-ivory, .g-cream, .g-paper { --acc: #9a4220; --focus: #9a4220; }
.g-espresso, .g-green, .g-charcoal { --focus: var(--amber); }
.g-terra { --focus: #fbf8f2; background: radial-gradient(1200px 900px at 80% 0%, #a9481f 0%, #9c3f1c 60%, #8c3818 100%); }
.g-terra .store small { opacity: 1; }
:focus-visible { outline-color: var(--focus, var(--amber)); }
.site-head :focus-visible, .site-foot :focus-visible, .compare :focus-visible { outline-color: var(--amber); }
.feature .ico { color: var(--acc); }

/* the default pack is ringed, as in the app */
.pack.main { box-shadow: inset 0 0 0 2px var(--acc); }
.pack .count small { margin-inline-start: 2px; }

/* chips carry an arrow icon (the font has no arrows) */
.swaps button svg { inline-size: 16px; block-size: 16px; flex: none; }

/* real screens of the app */
.screens { display: grid; gap: 24px; margin-block-start: clamp(32px, 4vw, 48px); }
@media (min-width: 900px) { .screens { grid-template-columns: 1fr 1fr; gap: 32px; } }
.screen { margin: 0; }
.screen .frame { background: #f5f4f1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.screen .frame img { inline-size: 100%; block-size: auto; }
.screen figcaption { display: flex; align-items: center; gap: 10px; margin-block-start: 14px; font-weight: 800; font-size: 16.5px; line-height: 1.6; }
.screen figcaption .n {
  inline-size: 30px; block-size: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 15px;
  background: var(--clay); color: #fff; line-height: 1;
}
.screen figcaption small { font-weight: 500; color: var(--fg-dim); font-size: 14px; }
.screen-wide { max-inline-size: 640px; margin-block: 8px 28px; }

/* audience cards that lead to their page */
a.person { text-decoration: none; color: inherit; transition: transform 0.2s var(--ease), box-shadow 0.2s; }
a.person:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--hair), var(--shadow); }
a.person .more { margin-block-start: 10px; font-size: 14.5px; }

/* 404 */
.notfound .lead { margin-inline: auto; }
.notfound + section .stores { justify-content: center; }
