:root {
  color-scheme: light dark;
  --page: #faf8f3;
  --surface: #f1eee7;
  --ink: #26283c;
  --muted: #5e5c69;
  --accent: #914322;
  --line: #d7d1c7;
  --amber: #f4b568;
  --on-amber: #302638;
  --stage: #f5dfc4;
  --stage-glow: #ffce98;
  --stage-line: #98644033;
  --panel: #26283c;
  --panel-text: #faf2e6;
  --panel-link: #ffcb91;
  --measure: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #191b2b;
    --surface: #25283a;
    --ink: #f5f0e6;
    --muted: #c0bece;
    --accent: #ffc88b;
    --line: #45485e;
    --stage: #29283d;
    --stage-glow: #604137;
    --stage-line: #ffc88b33;
    --panel: #292c42;
  }
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .23em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
main:focus { outline: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--measure)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; inset: .5rem auto auto .5rem; transform: translateY(-180%); padding: .7rem 1rem; background: var(--page); }
.skip:focus { transform: none; }
section[id] { scroll-margin-block-start: 1.5rem; }

.site-header, .site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1rem;
}
.site-header { min-height: 5rem; border-bottom: 1px solid var(--line); }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: .25rem clamp(.75rem, 3vw, 1.75rem); }
.site-header a, .site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.site-header nav a, .site-footer a { color: var(--muted); }
.site-header nav a[aria-current="page"] { color: var(--ink); text-decoration-thickness: 2px; }
.brand { gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 1.4rem; letter-spacing: -.055em; }
.brand-mark { width: 1.35rem; height: 1.35rem; flex: none; border: .18rem solid var(--accent); border-right-color: transparent; border-radius: 50%; transform: rotate(-38deg); }

.hero { display: grid; gap: 2rem; align-items: center; padding-block: clamp(2.65rem, 7vw, 6.5rem); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { line-height: 1.07; letter-spacing: -.055em; }
h1 { font-size: clamp(2.65rem, 6vw, 5rem); font-weight: 730; }
h1 span { display: block; color: var(--accent); }
h2 { font-size: clamp(1.85rem, 4vw, 3.15rem); font-weight: 710; }
h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -.02em; }
.intro { max-width: 34ch; color: var(--muted); margin-top: 1.35rem; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.stores { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.6rem; }
.store {
  min-height: 3.7rem;
  min-width: 8.25rem;
  padding: .45rem .85rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  opacity: 1;
  -webkit-text-fill-color: currentColor;
}
.store span, .store small { display: block; }
.store small { font-size: .875rem; font-weight: 500; }
.store-primary { color: var(--on-amber); background: var(--amber); border-color: transparent; }
.phone-stage {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 21rem;
  border-radius: clamp(1.5rem, 4vw, 2.6rem);
  padding: 1rem;
  background: radial-gradient(circle at 50% 72%, var(--stage-glow), transparent 67%), var(--stage);
}
.phone-stage::before, .phone-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 132%;
  aspect-ratio: 1;
  border: 1px solid var(--stage-line);
  border-radius: 50%;
  inset: 20% auto auto;
}
.phone-stage::after { width: 108%; inset-block-start: 27%; }
.phone-stage img { width: min(100%, 17rem); }
figcaption { color: var(--muted); font-size: .875rem; margin-top: .65rem; text-align: center; }

.section { padding-block: clamp(2.25rem, 5.5vw, 4.5rem); border-top: 1px solid var(--line); }
.feature-grid { display: grid; gap: 1.5rem; margin-top: 1.85rem; }
.feature-grid p { color: var(--muted); margin-top: .55rem; }
.presets { background: var(--surface); border-radius: 1.35rem; padding: clamp(1.05rem, 3vw, 1.65rem); }
.preset-list { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.preset-list li { padding: .32rem .68rem; background: var(--page); border: 1px solid var(--line); border-radius: 3rem; font-weight: 650; font-size: .9rem; }
.feature-grid article { padding: .3rem 0 .9rem; border-bottom: 1px solid var(--line); }
.trust { display: grid; align-items: start; gap: 1rem; }
.privacy-panel, .no-catches { padding: clamp(1.35rem, 4vw, 2.5rem); border-radius: 1.45rem; }
.privacy-panel { background: var(--panel); color: var(--panel-text); }
.privacy-panel p { max-width: 57ch; margin: .95rem 0 .65rem; }
.privacy-panel a { display: inline-flex; align-items: center; min-height: 44px; color: var(--panel-link); }
.privacy-panel a:focus-visible { outline-color: var(--panel-link); }
.no-catches { background: var(--surface); }
.no-catches ul { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 8rem),1fr)); list-style: none; gap: .75rem; padding: 0; margin: 1.15rem 0 0; }
.no-catches li { display: flex; align-items: baseline; gap: .5rem; }
.no-catches li::before { content: ""; align-self: center; width: .42rem; height: .42rem; flex: none; background: var(--accent); border-radius: 50%; }
.faq-list { margin-top: 1.5rem; max-width: 48rem; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { padding: .8rem .3rem; min-height: 44px; cursor: pointer; font-weight: 670; }
summary::marker { color: var(--accent); }
details p { color: var(--muted); margin: .15rem .3rem 1rem; max-width: 66ch; }
.site-footer { padding-block: 1rem 1.6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }

.prose { max-width: 46rem; padding-block: clamp(2.5rem, 8vw, 5.5rem); }
.prose h1 { font-size: clamp(2.4rem, 6vw, 4.3rem); }
.prose h2 { font-size: clamp(1.4rem, 3.5vw, 1.85rem); margin: 2.25rem 0 .65rem; letter-spacing: -.035em; }
.prose > p { margin-top: .9rem; max-width: 65ch; }
.prose .lead { font-size: 1.125rem; color: var(--muted); }
.prose a { overflow-wrap: anywhere; }
.prose .contact { margin-top: 2.3rem; padding: 1.25rem 1.5rem; background: var(--surface); border-radius: 1.25rem; }
.prose .contact h2 { margin-top: 0; }
.prose .contact a, .return-link { display: inline-flex; align-items: center; min-height: 44px; }
.return-link { margin-top: 1rem; }

@media (min-width: 40rem) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .presets { grid-column: 1 / -1; }
  .trust { grid-template-columns: 1.45fr 1fr; align-items: stretch; }
}

@media (min-width: 55rem) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5.25rem); }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2rem; }
  .presets { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .25rem 1.5rem; }
  .presets p { grid-area: 2 / 1; margin-top: 0; }
  .preset-list { grid-area: 1 / 2 / 3; margin-top: 0; }
  .faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2rem; }
  .faq-list { margin-top: 0; }
}

.privacy-panel h3 { margin-top: 1.25rem; }
.privacy-panel h3 + p { margin-top: .5rem; }
.privacy-panel p + p { margin-top: .65rem; }

@media (min-width: 55rem) {
  .steps-feature { grid-column: span 2; }
}
