/* ═══════════════════════════════════════════════════════════════════════
   rshift.it — refreshed styles
   Bold app-aesthetic at the top (peachy red wash, big icon, white type),
   sober white sections for technical content, dramatic dark section for
   the "why a code" pull quote.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --primary:        #C73F3C;
  --primary-dark:   #A63330;
  --primary-light:  #D85855;
  --primary-tint:   rgba(199, 63, 60, 0.08);
  --primary-tint-2: rgba(199, 63, 60, 0.14);
  --primary-line:   rgba(199, 63, 60, 0.28);

  --peach:          #E89B85;
  --peach-2:        #F2BBA8;
  --peach-glow:     rgba(232, 155, 133, 0.22);

  --success:        #28A745;

  /* Light-mode neutrals (used for sober sections) */
  --bg:        #FBFAF8;
  --bg-2:      #F3F1ED;
  --surface:   #FFFFFF;
  --surface-2: #F8F6F2;
  --text-1:    #1A1714;
  --text-2:    #4A4540;
  --text-3:    #756E66;
  --text-4:    #AAA29A;
  --divider:   rgba(20, 14, 10, 0.10);
  --divider-2: rgba(20, 14, 10, 0.06);
  --on-primary:#FFFFFF;

  --shadow-1:  0 1px 2px rgba(0,0,0,0.04), 0 1px 0 rgba(0,0,0,0.02);
  --shadow-2:  0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);

  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 16px; --sp-4: 24px;
  --sp-5: 32px; --sp-6: 48px; --sp-7: 72px; --sp-8: 96px;

  --r-sm: 8px;  --r-md: 12px; --r-lg: 16px; --r-xl: 24px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  --motion: 200ms cubic-bezier(.2,.7,.2,1);
}

/* ───────────────────────────────────────────────────────────────────────
   Dark mode — derived from the light-mode design, NOT the original
   bundle palette.

   Reasoning: the light mode is warm and friendly (peachy wash, warm
   off-white bg, warm near-black ink). The original dark mode dropped to
   cool charcoal which lost the brand family. This version keeps the
   same warm hue family — peachy/burgundy/coral — just dimmed to
   "embers at night". Backgrounds carry red undertones; ink is warm
   off-white; the wash is a deep ember gradient instead of cold black.
   ─────────────────────────────────────────────────────────────────── */

/* Auto dark — applies whenever the OS prefers dark AND no force-light override */
@media (prefers-color-scheme: dark) {
  html:not(.theme-light) {
    --bg:        #1A1310;   /* warm near-black, red undertone */
    --bg-2:      #221A15;   /* slightly warmer elevated bg */
    --surface:   #2A1F19;   /* card on bg */
    --surface-2: #322620;   /* nested / hover surfaces */
    --text-1:    #F4EBE2;   /* warm off-white */
    --text-2:    #D6C7B8;
    --text-3:    #A39080;
    --text-4:    #6A5A4D;
    --divider:   rgba(255, 220, 195, 0.12);
    --divider-2: rgba(255, 220, 195, 0.06);

    --primary:        #E96764;   /* brand red, slightly brighter against warm-dark */
    --primary-dark:   #C73F3C;
    --primary-light:  #F38683;
    --primary-tint:   rgba(233, 103, 100, 0.14);
    --primary-tint-2: rgba(233, 103, 100, 0.22);
    --primary-line:   rgba(233, 103, 100, 0.36);

    --shadow-1: 0 1px 0 rgba(0,0,0,0.5);
    --shadow-2: 0 1px 0 rgba(0,0,0,0.5), 0 14px 36px rgba(0,0,0,0.55);
    color-scheme: dark;
  }
  html:not(.theme-light) .wash {
    /* Dark sibling of the light cream wash. Mirrors light mode's
       structure (one warm highlight + a soft body gradient) but in
       warm-dark values. NO brand-red bleed in the background — brand
       red appears only on the icon, the accent line ("Reveal nothing."),
       and primary buttons, matching how light mode uses red sparingly. */
    background:
      radial-gradient(70% 50% at 18% 4%, rgba(60, 38, 32, 0.55) 0%, transparent 65%),
      linear-gradient(180deg, #1A1411 0%, #0A0605 100%);
  }
}

/* Forced-dark override — wins over OS light preference */
html.theme-dark {
  --bg:        #1A1310;
  --bg-2:      #221A15;
  --surface:   #2A1F19;
  --surface-2: #322620;
  --text-1:    #F4EBE2;
  --text-2:    #D6C7B8;
  --text-3:    #A39080;
  --text-4:    #6A5A4D;
  --divider:   rgba(255, 220, 195, 0.12);
  --divider-2: rgba(255, 220, 195, 0.06);

  --primary:        #E96764;
  --primary-dark:   #C73F3C;
  --primary-light:  #F38683;
  --primary-tint:   rgba(233, 103, 100, 0.14);
  --primary-tint-2: rgba(233, 103, 100, 0.22);
  --primary-line:   rgba(233, 103, 100, 0.36);

  --shadow-1: 0 1px 0 rgba(0,0,0,0.5);
  --shadow-2: 0 1px 0 rgba(0,0,0,0.5), 0 14px 36px rgba(0,0,0,0.55);
  color-scheme: dark;
}
html.theme-dark .wash {
  background:
    radial-gradient(70% 50% at 18% 4%, rgba(60, 38, 32, 0.55) 0%, transparent 65%),
    linear-gradient(180deg, #1A1411 0%, #0A0605 100%);
}
html.theme-light { color-scheme: light; }

/* ─── Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--primary-tint-2); color: var(--text-1); }
code, .mono { font-family: var(--font-mono); font-feature-settings: 'liga' 0; }

/* ─── Peachy wash — the bold sections backdrop ─────── */
.wash {
  position: relative;
  background:
    radial-gradient(60% 50% at 18% 12%, #E8B0A0 0%, transparent 60%),
    radial-gradient(55% 50% at 82% 28%, #C97570 0%, transparent 65%),
    radial-gradient(70% 60% at 50% 100%, #8F3F3B 0%, transparent 75%),
    radial-gradient(40% 40% at 88% 78%, #D9907E 0%, transparent 60%),
    linear-gradient(160deg, #BC6764 0%, #8F3F3B 100%);
  color: #fff;
  isolation: isolate;
}
.wash::before {
  /* extra subtle film grain via dots for texture */
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 24px 24px;
  z-index: -1;
  opacity: 0.6;
  mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
}

/* Dark mode — text & component overrides for sections OUTSIDE .wash.
   The .wash itself already has white text via the base rule. These
   ensure section content (security, footer, etc.) is readable. */
html.theme-dark .section-head h2,
html.theme-dark .sec-item h4,
html.theme-dark .sec-item code,
html.theme-dark .transfer-fallback h3,
html.theme-dark .transfer-fallback ol b,
html.theme-dark .notfound h1,
html.theme-dark .notfound p code,
html.theme-dark .transfer-code,
html.theme-dark .transfer-fallback ol code { color: var(--text-1); }

html.theme-dark .section-head p,
html.theme-dark .sec-item p,
html.theme-dark .transfer-fallback p,
html.theme-dark .transfer-fallback ol,
html.theme-dark .notfound p { color: var(--text-2); }

html.theme-dark .sec-item {
  background: var(--surface);
  border-color: var(--divider);
}
html.theme-dark .sec-item code {
  background: var(--surface-2);
  border-color: var(--divider);
}

/* Same overrides under OS dark when no force-light */
@media (prefers-color-scheme: dark) {
  html:not(.theme-light) .section-head h2,
  html:not(.theme-light) .sec-item h4,
  html:not(.theme-light) .sec-item code,
  html:not(.theme-light) .transfer-fallback h3,
  html:not(.theme-light) .transfer-fallback ol b,
  html:not(.theme-light) .notfound h1,
  html:not(.theme-light) .notfound p code,
  html:not(.theme-light) .transfer-code,
  html:not(.theme-light) .transfer-fallback ol code { color: var(--text-1); }

  html:not(.theme-light) .section-head p,
  html:not(.theme-light) .sec-item p,
  html:not(.theme-light) .transfer-fallback p,
  html:not(.theme-light) .transfer-fallback ol,
  html:not(.theme-light) .notfound p { color: var(--text-2); }

  html:not(.theme-light) .sec-item {
    background: var(--surface);
    border-color: var(--divider);
  }
  html:not(.theme-light) .sec-item code {
    background: var(--surface-2);
    border-color: var(--divider);
  }
}

/* h2 inside the wash is white by default, but in forced/auto light it
   flips to dark via the html.theme-light .wash rule below. */
.wash .wash-head { color: #fff; }
html.theme-light .wash .wash-head { color: var(--text-1); }
html.theme-light .wash .how-cue code { background: rgba(0,0,0,0.04); border: 1px solid var(--divider); color: var(--text-1); }
.wash, .wash h1, .wash h2, .wash h3, .wash p { color: #fff; }
.wash a { color: #fff; }

/* ─── Nav ───────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: transparent;
  transition: background var(--motion), backdrop-filter var(--motion);
}
.nav.is-stuck {
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--divider-2);
}
/* On .wash sections, the nav text is white */
.wash > .nav, .wash .nav { color: #fff; }
.wash > .nav.is-stuck, .wash .nav.is-stuck {
  background: rgba(0,0,0,0.22);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.wash .nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav.min .nav-links, .nav.min .nav-cta { display: none; }
.nav.min .help { display: inline-flex; font-size: 13px; color: rgba(255,255,255,0.7); }
@media (max-width: 720px) {
  .nav { padding: 12px 16px; }
  .nav-links { display: none; }
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff;
}
.brand img {
  width: 28px; height: 28px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.10);
  display: block;
}
.brand span {
  font-weight: 600; font-size: 16px;
  letter-spacing: -0.015em;
}

/* ─── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: var(--r-md); border: 0;
  font: 500 15px/1 var(--font-sans);
  transition: background var(--motion), color var(--motion), transform var(--motion), box-shadow var(--motion);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: var(--on-primary);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 10px 24px -8px rgba(199,63,60,0.45);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost {
  background: transparent; color: var(--text-1);
  box-shadow: inset 0 0 0 1px var(--divider);
}
.btn-ghost:hover { background: var(--surface-2); }
.btn-light {
  background: #fff; color: var(--primary);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 10px 28px -8px rgba(0,0,0,0.25);
}
.btn-light:hover { transform: translateY(-1px); }
.btn-onwash {
  background: rgba(255,255,255,0.16);
  color: #fff;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
}
.btn-onwash:hover { background: rgba(255,255,255,0.24); }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }

/* ─── Pills, eyebrows ───────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 999px;
  font: 500 12px/1 var(--font-sans);
  background: var(--primary-tint); color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary-line);
}
.pill-onwash {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px; border-radius: 999px;
  font: 600 12px/1 var(--font-sans);
  color: #fff;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
}
.eyebrow {
  font: 600 12px/1 var(--font-sans);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary);
}
.wash .eyebrow {
  color: #fff;
  opacity: 0.9;
  display: inline-flex; align-items: center; gap: 8px;
}
.wash .eyebrow::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--peach);
  box-shadow: 0 0 0 3px rgba(232,155,133,0.3);
}

/* ─── App Store badge ───────────────────────────────── */
.appstore {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 18px;
  background: #000; color: #fff;
  border-radius: 12px;
  transition: transform var(--motion);
}
.appstore:hover { transform: translateY(-1px); }
.appstore svg { width: 22px; height: 22px; flex-shrink: 0; }
.appstore .as-text { display: flex; flex-direction: column; line-height: 1.05; }
.appstore .as-text small { font-size: 10px; opacity: 0.85; font-weight: 400; }
.appstore .as-text strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.appstore.mac .as-text strong { font-size: 17px; }

/* ─── Hero (bold, on .wash) ─────────────────────────── */
.hero {
  position: relative;
  padding: 56px 32px 80px;
  max-width: 1240px; margin: 0 auto; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
@media (max-width: 720px) { .hero { padding: 32px 20px 56px; } }

.hero-icon {
  position: relative;
  width: 128px; height: 128px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  flex-shrink: 0;
}
.hero-icon__ring {
  position: absolute; inset: -10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
}
.hero-icon__halo {
  position: absolute; inset: -32px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,155,133,0.35), transparent 60%);
  filter: blur(20px);
  z-index: -1;
}
.hero-icon img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  border-radius: 50%;
  box-shadow:
    0 18px 48px -12px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.10);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 6.6vw, 72px);
  line-height: 1.02; letter-spacing: -0.03em;
  font-weight: 700;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 1px 2px rgba(0,0,0,0.10);
  max-width: 880px;
}
.hero h1 .accent { color: var(--peach-2); }

.hero .sub {
  font-size: 18px; line-height: 1.5;
  max-width: 600px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.86);
  text-wrap: pretty;
}

.hero .ctas {
  display: flex; flex-wrap: wrap;
  gap: 16px; align-items: center; justify-content: center;
}
.hero .cli-link {
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 18px;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.10);
  border-radius: 12px;
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  transition: background var(--motion), color var(--motion);
}
.hero .cli-link:hover { background: rgba(255,255,255,0.18); color: #fff; }
.hero .cli-link code {
  font: 13px/1 var(--font-mono);
  padding: 4px 8px; border-radius: 6px;
  background: rgba(0,0,0,0.22);
  color: #fff;
}

/* tiny scroll cue under hero ctas */
.hero-cue {
  margin-top: 40px;
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}
.hero-cue svg { width: 14px; height: 14px; opacity: 0.7; }

/* ─── Sections (sober white) ────────────────────────── */
.section {
  padding: 96px 32px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
.section--bleed {
  /* full-bleed bg color; inner content stays max-width */
  max-width: none; padding-left: 0; padding-right: 0;
}
.section--bleed .section-inner {
  padding: 96px 32px;
  max-width: 1240px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .section { padding: 56px 20px; }
  .section--bleed .section-inner { padding: 56px 20px; }
}

.section-head {
  margin-bottom: 56px;
  max-width: 760px;
}
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 {
  margin: 12px 0 12px;
  font-size: clamp(30px, 4vw, 44px); line-height: 1.1;
  letter-spacing: -0.025em; font-weight: 700;
  text-wrap: balance;
}
.section-head p {
  margin: 0; font-size: 17px; line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
  max-width: 600px;
}
.section-head--center p { margin-left: auto; margin-right: auto; }
.wash .section-head p { color: rgba(255, 255, 255, 0.84); }

/* ─── How it works — demo embed strip ──────────────── */
.how {
  padding: 80px 32px 96px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}
@media (max-width: 720px) { .how { padding: 56px 20px 72px; } }

.how-demo {
  width: 100%;
  height: 620px;
  border: 0;
  border-radius: 20px;
  background: rgba(0,0,0,0.30);
  display: block;
  box-shadow:
    0 24px 60px -16px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.how-cues {
  margin-top: 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
@media (max-width: 720px) { .how-cues { grid-template-columns: 1fr; } }
.how-cue {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px;
  background: rgba(255,255,255,0.10);
  border-radius: 14px;
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
}
.how-cue .n {
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0; min-width: 22px;
}
.how-cue .t { display: flex; flex-direction: column; gap: 4px; }
.how-cue h3 { margin: 0; font-size: 15px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.how-cue p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.75); line-height: 1.45; }

/* ─── Security (sober white section) ────────────────── */
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 720px) { .sec-grid { grid-template-columns: 1fr; } }
.sec-item {
  display: flex; gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
}
.sec-item .ico {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: var(--primary-tint); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.sec-item .ico svg { width: 18px; height: 18px; }
.sec-item h4 {
  margin: 0 0 6px; font-size: 15px; font-weight: 600;
  color: var(--text-1); letter-spacing: -0.01em;
}
.sec-item p {
  margin: 0; font-size: 14px; line-height: 1.55;
  color: var(--text-2);
}
.sec-item code {
  font-size: 12.5px;
  background: var(--surface-2);
  border: 1px solid var(--divider);
  padding: 1px 5px; border-radius: 4px;
  color: var(--text-1);
}

/* ─── Why a code — dark dramatic pull-quote ────────── */
.why {
  background:
    radial-gradient(60% 50% at 18% 18%, #2C1110 0%, transparent 70%),
    radial-gradient(40% 40% at 82% 88%, #4A1817 0%, transparent 70%),
    #08070A;
  color: #fff;
}
.why .section-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
@media (max-width: 880px) {
  .why .section-inner { grid-template-columns: 1fr; gap: 32px; }
}
.why .eyebrow { color: var(--peach); }
.why .quote {
  margin: 12px 0 0;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15; font-weight: 700;
  letter-spacing: -0.022em;
  color: #fff;
  text-wrap: balance;
}
.why .quote em {
  font-style: normal;
  color: var(--peach);
  background: linear-gradient(transparent 65%, rgba(232,155,133,0.18) 65%);
  padding: 0 4px;
}
.why p {
  margin: 0 0 14px;
  font-size: 16px; line-height: 1.65;
  color: rgba(255,255,255,0.78);
}
.why p code {
  font-size: 13.5px;
  padding: 2px 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 5px;
  color: var(--peach);
}

/* ─── Footer (dark) ─────────────────────────────────── */
.footer {
  margin-top: auto;
  background: #08070A;
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 32px 32px;
}
@media (max-width: 720px) { .footer-inner { padding: 40px 20px 24px; } }
.footer .top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; margin-bottom: 32px;
}
.footer .lockup { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.footer .lockup p {
  margin: 0; font-size: 14px; line-height: 1.55;
  color: rgba(255,255,255,0.55);
}
.footer .links {
  display: flex; gap: 48px; flex-wrap: wrap;
  font-size: 14px;
}
.footer .links .col { display: flex; flex-direction: column; gap: 10px; }
.footer .links .col-head {
  font-weight: 600;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer .links a {
  color: rgba(255,255,255,0.7);
  transition: color var(--motion);
}
.footer .links a:hover { color: #fff; }
.footer .legal {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}
.footer .legal .status { display: inline-flex; align-items: center; gap: 6px; }
.footer .legal .status .ok {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 0 3px rgba(40,167,69,0.2);
}

/* Footer in light mode — soft cream surface to match the page, not the
   dark contrast band the bundle ships. Mirrors the editorial+daylight
   light-cream aesthetic of the rest of the light-mode page. */
html.theme-light .footer {
  background: #F8EFE5;
  color: var(--text-2);
  border-top: 1px solid var(--divider);
}
html.theme-light .footer .lockup p { color: var(--text-2); }
html.theme-light .footer .links .col-head { color: var(--text-1); }
html.theme-light .footer .links a { color: var(--text-2); }
html.theme-light .footer .links a:hover { color: var(--primary); }
html.theme-light .footer .legal {
  color: var(--text-3);
  border-top-color: var(--divider);
}
html.theme-light .footer .brand { color: var(--text-1); }

/* ═══════════════════════════════════════════════════════════════════
   Transfer landing — full-bleed app feel
   ═══════════════════════════════════════════════════════════════════ */
.transfer {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 32px 32px 64px;
  text-align: center;
  position: relative;
}
@media (max-width: 720px) { .transfer { padding: 24px 20px 48px; } }

.transfer .icon-stack {
  margin: 24px 0 28px;
}

.transfer h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1; letter-spacing: -0.022em;
  font-weight: 700;
  color: #fff;
  text-wrap: balance;
}
.transfer .lede {
  margin: 0 0 32px;
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  max-width: 440px;
}

.transfer-card {
  width: 100%; max-width: 520px;
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px;
  padding: 32px 28px 28px;
  display: flex; flex-direction: column;
  align-items: stretch;
  gap: 18px;
}
@media (max-width: 560px) { .transfer-card { padding: 24px 20px; border-radius: 20px; } }

.transfer-card .code-label {
  font: 600 11px/1 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  text-align: center;
}

/* Big literal code, clickable to copy. One line, never wraps. */
.transfer-code {
  position: relative;
  width: 100%;
  appearance: none; -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0 8px;
  color: #fff;
  /* clamp tuned so the longest plausible code (~22 chars) fits on a 480-720px card */
  font: 700 clamp(20px, 4.2vw, 36px)/1.05 var(--font-mono);
  letter-spacing: -0.025em;
  text-align: center;
  cursor: pointer;
  font-variant-ligatures: none;
  white-space: nowrap;
  overflow: visible;
  transition: color var(--motion);
}
.transfer-code:hover { color: var(--peach-2); }
.transfer-code:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(255,255,255,0.3); border-radius: 8px; }
.transfer-code[data-copied="true"] { color: var(--peach); }
.transfer-code .hy { opacity: 0.65; font-weight: 500; }
.transfer-code .copy-hint {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 12px;
  font: 500 12px/1 var(--font-sans);
  letter-spacing: 0;
  color: rgba(255,255,255,0.65);
  vertical-align: middle;
}
.transfer-code .copy-hint svg { width: 14px; height: 14px; }
@media (max-width: 560px) { .transfer-code .copy-hint { display: none; } }

.transfer-card .qr-row {
  margin-top: 4px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.transfer-card .qr-plate {
  padding: 10px;
  background: #fff;
  color: #000;
  border-radius: 12px;
  display: inline-flex;
  box-shadow: 0 12px 32px -10px rgba(0,0,0,0.4);
}
.transfer-card .qr-plate img, .transfer-card .qr-plate svg {
  display: block;
  width: 132px; height: 132px;
}
.transfer-card .qr-row .rs-uri {
  font: 500 11.5px/1 var(--font-mono);
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
}

.transfer-card .open-cta {
  margin-top: 6px;
  width: 100%;
  height: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 14px;
  background: #fff;
  color: var(--primary);
  font: 700 16px/1 var(--font-sans);
  letter-spacing: -0.01em;
  box-shadow: 0 14px 32px -10px rgba(0,0,0,0.35);
  transition: transform var(--motion);
}
.transfer-card .open-cta:hover { transform: translateY(-1px); }
.transfer-card .open-cta svg { width: 18px; height: 18px; }

.transfer-card .seclaim {
  align-self: center;
  margin-top: 4px;
}

.transfer-fallback {
  width: 100%; max-width: 520px;
  margin-top: 28px;
  padding: 24px 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  text-align: left;
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
}
@media (max-width: 560px) { .transfer-fallback { padding: 20px; border-radius: 16px; } }
.transfer-fallback h3 {
  margin: 0 0 4px;
  font-size: 15px; font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.transfer-fallback p {
  margin: 0 0 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.transfer-fallback ol {
  margin: 0 0 20px; padding-left: 18px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px; line-height: 1.5;
  color: rgba(255,255,255,0.78);
}
.transfer-fallback ol li::marker {
  color: rgba(255,255,255,0.5);
  font-variant-numeric: tabular-nums;
}
.transfer-fallback ol b { color: #fff; font-weight: 600; }
.transfer-fallback ol code {
  font: 13px/1 var(--font-mono);
  padding: 1px 6px; border-radius: 4px;
  background: rgba(0,0,0,0.25);
  color: var(--peach);
}
.transfer-fallback .badges { display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════════
   404 — peachy with center icon
   ═══════════════════════════════════════════════════════════════════ */
.notfound {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 64px 24px;
  text-align: center;
  gap: 16px;
  position: relative;
}
.notfound .icon-stack { margin-bottom: 16px; }
.notfound .label {
  font: 600 12px/1 var(--font-mono);
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}
.notfound h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.05; letter-spacing: -0.025em;
  font-weight: 700; color: #fff;
  text-wrap: balance;
}
.notfound p {
  margin: 0;
  max-width: 480px;
  font-size: 16px; line-height: 1.55;
  color: rgba(255,255,255,0.78);
}
.notfound p code {
  font: 14px/1 var(--font-mono);
  padding: 2px 7px;
  background: rgba(0,0,0,0.25);
  border-radius: 5px;
  color: var(--peach);
}
.notfound .actions {
  display: flex; gap: 12px; margin-top: 12px;
}

/* ───────────────────────────────────────────────────────────────────────
   LIGHT-MODE OVERLAY for the bold sections.
   Re-skins .wash to a soft cream (matching the original Superpowers
   preview), and — in editorial layout — swaps the icon for an iPhone
   screenshot pulled from the live app.
   ─────────────────────────────────────────────────────────────────────── */
.hero-phone { display: none; }

/* Editorial / cinematic layout: hide the small icon ring, show the iPhone
   screenshot in its grid cell. Applies in both light AND dark mode — the
   phone mockup is the editorial hero in both. */
body[data-layout="editorial"] .hero-icon,
body[data-layout="cinematic"] .hero-icon { display: none; }
body[data-layout="editorial"] .hero-phone,
body[data-layout="cinematic"] .hero-phone {
  display: block;
  grid-area: icon;
  width: 280px;
  align-self: center;
  filter: drop-shadow(0 24px 60px rgba(199, 63, 60, 0.22));
}
body[data-layout="cinematic"] .hero-phone {
  width: 360px;
}
body[data-layout="editorial"] .hero-phone img,
body[data-layout="cinematic"] .hero-phone img {
  width: 100%;
  height: auto;
  border-radius: 36px;
  display: block;
}
@media (max-width: 880px) {
  body[data-layout="editorial"] .hero-phone,
  body[data-layout="cinematic"] .hero-phone {
    width: 220px;
    justify-self: center;
  }
}

html.theme-light {

  /* Light cream wash — no more peachy red on light-mode browsers */
  .wash {
    background:
      radial-gradient(60% 40% at 18% 4%, #FFFFFF 0%, transparent 60%),
      radial-gradient(50% 40% at 100% 20%, #F8DDD2 0%, transparent 60%),
      radial-gradient(70% 60% at 30% 100%, #F8E2D7 0%, transparent 70%),
      linear-gradient(180deg, #FBF6F1 0%, #F6DED1 100%);
    color: #1A1714;
  }
  .wash, .wash h1, .wash h2, .wash p { color: #1A1714; }
  .wash a:not(.appstore) { color: #1A1714; }
  .wash .accent { color: var(--primary); }
  .wash .eyebrow { color: var(--primary); }
  .wash .eyebrow::before { background: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint-2); }

  /* Nav: dark text on light bg */
  .nav-links { color: var(--text-2); }
  .nav-links a:hover { color: var(--text-1); }
  .wash .nav.is-stuck {
    background: rgba(251, 246, 241, 0.85);
    border-bottom: 1px solid var(--divider);
  }
  .wash .brand { color: var(--text-1); }
  /* Get the app — make it the solid red on light mode (matches Superpowers) */
  .btn-onwash {
    background: var(--primary);
    color: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 8px 24px -8px rgba(199,63,60,0.45);
  }
  .btn-onwash:hover { background: var(--primary-dark); }

  /* Hero subcopy + cli-link colors */
  .hero .sub { color: var(--text-2); }
  .hero .cli-link {
    background: transparent;
    color: var(--text-2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero .cli-link:hover { background: rgba(0,0,0,0.04); color: var(--text-1); }
  .hero .cli-link code {
    background: var(--surface);
    border: 1px solid var(--divider);
    color: var(--text-1);
  }
  .hero-cue { color: var(--text-3); }

  /* App Store badge — pure black still works on cream bg, but soften the contrast slightly */
  .appstore { box-shadow: 0 8px 24px -10px rgba(0,0,0,0.30); }

  /* Hero icon (when shown) — ring/halo recolored for the cream bg */
  .hero-icon__ring {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(199, 63, 60, 0.18);
  }
  .hero-icon__halo {
    background: radial-gradient(circle, rgba(232, 155, 133, 0.30), transparent 60%);
  }

  /* (Phone-swap rules moved out of theme-light — see below — so dark
     mode also gets the phone mockup instead of the small icon ring.) */

  /* How-it-works section on light wash — recolor cue cards */
  .how-cue {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(199, 63, 60, 0.10);
  }
  .how-cue .n { color: var(--text-3); }
  .how-cue h3 { color: var(--text-1); }
  .how-cue p  { color: var(--text-2); }
  .how-cue code {
    background: rgba(0,0,0,0.04) !important;
    border: 1px solid var(--divider);
    color: var(--text-1) !important;
  }

  /* Demo iframe gets a lighter shadow on cream */
  .how-demo {
    background: rgba(0,0,0,0.06);
    box-shadow:
      0 24px 60px -16px rgba(199, 63, 60, 0.18),
      0 0 0 1px rgba(199, 63, 60, 0.12);
  }

  /* Pill on light wash */
  .pill-onwash {
    background: var(--surface);
    color: var(--text-1);
    border: 1px solid var(--divider);
  }

  /* Transfer landing on light wash — use the original cream + dark text */
  .transfer h1, .transfer .lede { color: var(--text-1); }
  .transfer .lede { color: var(--text-2); }
  .transfer-card { background: var(--surface); border: 1px solid var(--divider); }
  .transfer-card .code-label { color: var(--text-3); }
  .transfer-code { color: var(--text-1); }
  .transfer-code .hy { color: var(--text-3); }
  .transfer-card .open-cta {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 28px -8px rgba(199,63,60,0.4);
  }
  .transfer-card .qr-row .rs-uri { color: var(--text-3); }
  .transfer-fallback {
    background: var(--surface);
    border: 1px solid var(--divider);
  }
  .transfer-fallback h3 { color: var(--text-1); }
  .transfer-fallback p  { color: var(--text-2); }
  .transfer-fallback ol { color: var(--text-2); }
  .transfer-fallback ol b { color: var(--text-1); }

  /* 404 on light wash */
  .notfound .label { color: var(--text-3); }
  .notfound h1 { color: var(--text-1); }
  .notfound p  { color: var(--text-2); }
  .notfound p code {
    background: var(--surface);
    border: 1px solid var(--divider);
    color: var(--text-1);
  }
}

/* ─── MOOD: palette + wash background ─────────────────────────────── */

/* dawn — soft peach/cream, dark text on light wash */
body[data-mood="dawn"] .wash {
  background:
    radial-gradient(60% 50% at 18% 12%, #FFE4D2 0%, transparent 60%),
    radial-gradient(55% 50% at 82% 28%, #F4BCA8 0%, transparent 65%),
    radial-gradient(70% 60% at 50% 100%, #E08A78 0%, transparent 75%),
    radial-gradient(40% 40% at 88% 78%, #FFD0BD 0%, transparent 60%),
    linear-gradient(160deg, #FFD8C6 0%, #D77B6F 100%);
  color: #2A1716;
}
body[data-mood="dawn"] .wash h1,
body[data-mood="dawn"] .wash h2,
body[data-mood="dawn"] .wash p,
body[data-mood="dawn"] .wash a:not(.appstore),
body[data-mood="dawn"] .nav-links { color: #2A1716; }
body[data-mood="dawn"] .wash .accent { color: var(--primary); }
body[data-mood="dawn"] .hero .sub { color: rgba(42, 23, 22, 0.78); }
body[data-mood="dawn"] .hero .cli-link {
  color: rgba(42, 23, 22, 0.85);
  background: rgba(0, 0, 0, 0.05);
}
body[data-mood="dawn"] .hero .cli-link code {
  background: rgba(42, 23, 22, 0.12);
  color: #2A1716;
}
body[data-mood="dawn"] .hero-icon__ring {
  background: rgba(42, 23, 22, 0.06);
  border-color: rgba(42, 23, 22, 0.18);
}
body[data-mood="dawn"] .hero-cue { color: rgba(42, 23, 22, 0.55); }
body[data-mood="dawn"] .how-cue { background: rgba(42, 23, 22, 0.06); }
body[data-mood="dawn"] .how-cue .n { color: rgba(42, 23, 22, 0.55); }
body[data-mood="dawn"] .how-cue h3 { color: #2A1716; }
body[data-mood="dawn"] .how-cue p  { color: rgba(42, 23, 22, 0.78); }
body[data-mood="dawn"] .pill-onwash {
  background: rgba(0, 0, 0, 0.12);
  color: #2A1716;
}
body[data-mood="dawn"] .wash .eyebrow { color: #2A1716; }
body[data-mood="dawn"] .wash .nav.is-stuck {
  background: rgba(255, 232, 220, 0.85);
}
body[data-mood="dawn"] .btn-onwash {
  background: rgba(0, 0, 0, 0.12);
  color: #2A1716;
}

/* dusk — deeper crimson, the current vibe just darker */
body[data-mood="dusk"] .wash {
  background:
    radial-gradient(60% 50% at 18% 12%, #8F3F3B 0%, transparent 60%),
    radial-gradient(55% 50% at 82% 28%, #5C2521 0%, transparent 65%),
    radial-gradient(70% 60% at 50% 100%, #1E0908 0%, transparent 80%),
    radial-gradient(40% 40% at 88% 78%, #6B302B 0%, transparent 60%),
    linear-gradient(160deg, #6B2D2B 0%, #1A0707 100%);
}

/* midnight — near black with red glow accents */
body[data-mood="midnight"] .wash {
  background:
    radial-gradient(60% 50% at 18% 12%, #2A0F0E 0%, transparent 60%),
    radial-gradient(55% 50% at 82% 28%, #1A0807 0%, transparent 70%),
    radial-gradient(70% 60% at 50% 100%, #000 0%, transparent 85%),
    radial-gradient(35% 35% at 85% 70%, #3D1413 0%, transparent 70%),
    linear-gradient(160deg, #15050A 0%, #000 100%);
}
body[data-mood="midnight"] .wash .accent { color: var(--peach); }
body[data-mood="midnight"] .hero-icon__halo {
  background: radial-gradient(circle, rgba(229, 85, 82, 0.45), transparent 60%);
  filter: blur(28px);
}
body[data-mood="midnight"] .nav.is-stuck { background: rgba(0,0,0,0.7); }


/* ─── LAYOUT: hero composition ────────────────────────────────────── */

/* editorial — left-aligned hero, icon on the right inline */
body[data-layout="editorial"] .hero {
  display: grid;
  grid-template-columns: 1.4fr auto;
  grid-template-areas:
    "eyebrow icon"
    "title   icon"
    "sub     icon"
    "ctas    icon"
    "cue     icon";
  gap: 0 64px;
  text-align: left;
  align-items: center;
  max-width: 1240px;
}
body[data-layout="editorial"] .hero .eyebrow  { grid-area: eyebrow; justify-self: start; margin-bottom: 16px; }
body[data-layout="editorial"] .hero h1        { grid-area: title;   text-align: left; max-width: none; margin-bottom: 20px; }
body[data-layout="editorial"] .hero .sub      { grid-area: sub;     text-align: left; max-width: none; margin-bottom: 32px; }
body[data-layout="editorial"] .hero .ctas     { grid-area: ctas;    justify-content: flex-start; }
body[data-layout="editorial"] .hero-cue       { grid-area: cue;     align-self: start; margin-top: 32px; }
body[data-layout="editorial"] .hero-icon      { grid-area: icon;    width: 200px; height: 200px; margin: 0; }
@media (max-width: 880px) {
  body[data-layout="editorial"] .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "icon" "eyebrow" "title" "sub" "ctas" "cue";
    text-align: center;
  }
  body[data-layout="editorial"] .hero-icon { justify-self: center; }
  body[data-layout="editorial"] .hero .ctas { justify-content: center; }
}

/* cinematic — huge icon left, oversized headline right */
body[data-layout="cinematic"] .hero {
  display: grid;
  grid-template-columns: auto 1.4fr;
  grid-template-areas:
    "icon eyebrow"
    "icon title"
    "icon sub"
    "icon ctas"
    "icon cue";
  gap: 8px 80px;
  text-align: left;
  align-items: center;
  padding: 80px 64px 120px;
  max-width: 1400px;
}
body[data-layout="cinematic"] .hero .eyebrow  { grid-area: eyebrow; justify-self: start; margin-bottom: 8px; }
body[data-layout="cinematic"] .hero h1        { grid-area: title;   text-align: left; max-width: none;
                                                font-size: clamp(56px, 8vw, 104px); line-height: 0.98;
                                                letter-spacing: -0.035em; margin-bottom: 24px; }
body[data-layout="cinematic"] .hero .sub      { grid-area: sub;     text-align: left; max-width: 520px; margin-bottom: 32px; }
body[data-layout="cinematic"] .hero .ctas     { grid-area: ctas;    justify-content: flex-start; }
body[data-layout="cinematic"] .hero-cue       { grid-area: cue;     align-self: start; margin-top: 28px; }
body[data-layout="cinematic"] .hero-icon      { grid-area: icon;    width: 280px; height: 280px; margin: 0; }
@media (max-width: 980px) {
  body[data-layout="cinematic"] .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "icon" "eyebrow" "title" "sub" "ctas" "cue";
    text-align: center; padding: 40px 24px 72px;
  }
  body[data-layout="cinematic"] .hero-icon { width: 180px; height: 180px; justify-self: center; }
  body[data-layout="cinematic"] .hero .ctas { justify-content: center; }
}


/* ─── ENERGY: visual intensity ────────────────────────────────────── */

/* calm — quieter, smaller, more whitespace */
body[data-energy="calm"] .hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.022em;
}
body[data-energy="calm"][data-layout="cinematic"] .hero h1 {
  font-size: clamp(44px, 6vw, 76px);
}
body[data-energy="calm"] .hero-icon { width: 92px; height: 92px; }
body[data-energy="calm"][data-layout="editorial"]  .hero-icon { width: 150px; height: 150px; }
body[data-energy="calm"][data-layout="cinematic"]  .hero-icon { width: 200px; height: 200px; }
body[data-energy="calm"] .hero { padding-top: 36px; padding-bottom: 56px; }
body[data-energy="calm"] .hero .sub { font-size: 16px; }
body[data-energy="calm"] .section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
}

/* wired — bigger, bolder, animated halo */
body[data-energy="wired"] .hero h1 {
  font-size: clamp(56px, 9vw, 100px);
  letter-spacing: -0.04em;
  font-weight: 800;
  line-height: 0.95;
}
body[data-energy="wired"][data-layout="cinematic"] .hero h1 {
  font-size: clamp(64px, 10vw, 128px);
}
body[data-energy="wired"] .hero-icon { width: 160px; height: 160px; }
body[data-energy="wired"][data-layout="editorial"]  .hero-icon { width: 240px; height: 240px; }
body[data-energy="wired"][data-layout="cinematic"]  .hero-icon { width: 340px; height: 340px; }
body[data-energy="wired"] .hero-icon__halo {
  animation: hero-pulse 2.6s ease-in-out infinite;
}
body[data-energy="wired"] .hero { padding-top: 72px; padding-bottom: 110px; }
body[data-energy="wired"] .hero .sub { font-size: 19px; }
body[data-energy="wired"] .section-head h2 {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
@keyframes hero-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.22); opacity: 0.65; }
}


/* ─── Floating tweaks panel — only renders when activated ──────── */
.rs-tweaks {
  position: fixed; right: 16px; bottom: 16px;
  z-index: 200;
  font: 13px/1.4 var(--font-sans);
  display: none;
}
.rs-tweaks[data-open] { display: block; }

.rs-tweaks__panel {
  width: 300px;
  background: #1A1714;
  color: #F4EFE8;
  border-radius: 14px;
  box-shadow:
    0 24px 60px -16px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.08);
  padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  max-height: calc(100vh - 32px);
  overflow: auto;
}
.rs-tweaks__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rs-tweaks__head h3 {
  margin: 0; font: 600 13px/1 var(--font-sans);
}
.rs-tweaks__close {
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.06);
  border: 0; border-radius: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 16px; line-height: 1; cursor: pointer;
}
.rs-tweaks__close:hover { background: rgba(255,255,255,0.12); color: #fff; }

.rs-tweaks__section {
  display: flex; flex-direction: column; gap: 6px;
}
.rs-tweaks__label {
  font: 600 10px/1 var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.rs-tweaks__label small {
  display: block;
  font: 400 11px/1.3 var(--font-sans);
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}
.rs-tweaks__seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: rgba(255,255,255,0.05);
  padding: 2px;
  border-radius: 8px;
  gap: 2px;
}
.rs-tweaks__seg button {
  padding: 6px 6px;
  background: transparent; border: 0; border-radius: 6px;
  color: rgba(255,255,255,0.7);
  font: 500 12px/1 var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  text-overflow: ellipsis; overflow: hidden;
}
.rs-tweaks__seg button:hover { color: #fff; }
.rs-tweaks__seg button[aria-pressed="true"] {
  background: rgba(255,255,255,0.14);
  color: #fff;
}
.icon-stack {
  position: relative;
  width: 96px; height: 96px;
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-stack__ring {
  position: absolute; inset: -8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
}
.icon-stack__halo {
  position: absolute; inset: -28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,155,133,0.32), transparent 60%);
  filter: blur(18px);
  z-index: -1;
}
.icon-stack img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  border-radius: 50%;
  box-shadow:
    0 14px 36px -10px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.10);
}
