/* sunchat marketing site — shared styles
   Palette pulled directly from theme.jsx (sunrise + night) */

:root {
  --bg: #FFF4EC;
  --bg-soft: #FCE8D6;
  --card: #FFFFFF;
  --ink: #2B1810;
  --ink-soft: #6B4A3A;
  --muted: rgba(43, 24, 16, 0.55);
  --hairline: rgba(43, 24, 16, 0.10);
  --hairline-strong: rgba(43, 24, 16, 0.18);
  --peach: #E87A4F;
  --peach-deep: #D85A2A;
  --blush: #C85C7E;
  --plum: #8B5A9F;
  --glow: radial-gradient(120% 80% at 50% 0%, #FFD4A8 0%, #FFE8D0 40%, #FFF4EC 80%);
  --nav-bg: rgba(255, 244, 236, 0.78);
  --phone-bezel: #15102A;
  --display: 'Fraunces', ui-serif, Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --container: 1140px;
  --container-narrow: 760px;
  --radius: 18px;
  --radius-sm: 12px;
}

/* Night theme — values lifted from theme.jsx */
:root[data-theme="night"] {
  --bg: #0E0B1F;
  --bg-soft: #1A1530;
  --card: #1E1938;
  --ink: #F5EFE0;
  --ink-soft: #C4B8D4;
  --muted: rgba(245, 239, 224, 0.50);
  --hairline: rgba(245, 239, 224, 0.10);
  --hairline-strong: rgba(245, 239, 224, 0.18);
  --peach: #F4B876;
  --peach-deep: #F4B876;
  --blush: #E89BB8;
  --plum: #9F8FD6;
  --glow: radial-gradient(130% 90% at 50% 0%, #2A1F4A 0%, #1A1530 45%, #0E0B1F 85%);
  --nav-bg: rgba(14, 11, 31, 0.78);
}
/* In night theme the nav CTA inverts — keep crisp ink-on-cream */
:root[data-theme="night"] .nav-cta {
  background: #F5EFE0;
  color: #0E0B1F;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.20) inset, 0 4px 14px -4px rgba(0, 0, 0, 0.6);
}
:root[data-theme="night"] .nav-cta:hover {
  background: #F4B876;
  color: #0E0B1F;
}
:root[data-theme="night"] .store-badge {
  background: #F5EFE0;
  color: #0E0B1F;
}
:root[data-theme="night"] .store-badge .glyph { color: #0E0B1F; }
:root[data-theme="night"] .store-badge:hover { background: #F4B876; color: #0E0B1F; }
:root[data-theme="night"] .store-badge:hover .glyph { color: #0E0B1F; }
/* Soft star-dust speckle on night bg, echoing the app wake screen */
:root[data-theme="night"] body {
  background-color: var(--bg);
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(245,239,224,0.30) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 32%, rgba(245,239,224,0.22) 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 72%, rgba(245,239,224,0.20) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 88%, rgba(245,239,224,0.18) 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 92%, rgba(245,239,224,0.18) 50%, transparent 51%);
  background-size: 380px 520px, 460px 600px, 520px 480px, 600px 540px, 540px 500px;
  background-attachment: fixed;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover { color: var(--peach-deep); }

img, svg { display: block; max-width: 100%; }

/* Display type ---------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  font-weight: 400;
}
h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.04;
}
h3 {
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h4 {
  font-size: 18px;
  letter-spacing: -0.015em;
}

p { margin: 0; text-wrap: pretty; }
.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 56ch;
}
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--peach-deep);
}

/* Layout primitives ----------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: var(--container-narrow); }

section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.rule { height: 1px; background: var(--hairline); border: 0; }

/* Nav ------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.25s ease;
}
.nav.scrolled { border-bottom-color: var(--hairline); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 15px;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--ink);
  color: var(--cta-fg, #FFF8EE);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 4px 14px -4px rgba(43, 24, 16, 0.35);
}
.nav-cta:hover { background: var(--peach-deep); color: #FFF8EE; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.10) inset, 0 6px 16px -4px rgba(216, 90, 42, 0.45); }
.nav-links a.nav-cta { color: #FFF8EE; }
.nav-links a.nav-cta:hover { color: #FFF8EE; }
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* Buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  font-family: inherit;
  line-height: 1;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--peach-deep); color: var(--bg); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-strong);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* App store badges (drawn in CSS — original artwork) -------------------- */

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
  min-width: 180px;
  transition: transform 0.12s ease, background 0.18s ease;
}
.store-badge:hover { background: var(--peach-deep); color: var(--bg); transform: translateY(-1px); }
.store-badge .glyph {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: var(--bg);
}
.store-badge .label-tiny {
  font-size: 10px;
  opacity: 0.75;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 2px;
}
.store-badge .label-big {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* Hero ------------------------------------------------------------------ */

.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -80px 0 auto 0;
  height: 520px;
  background: var(--glow);
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
/* Hero copy sits above the photo bleed */
.hero-copy {
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: left;
  }
}
.hero h1 .accent {
  font-style: italic;
  color: var(--peach-deep);
  font-weight: 400;
}
.hero p.lead {
  margin-top: 24px;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-actions .micro {
  font-size: 13px;
  color: var(--muted);
}

/* Hero photo (product shot — phone on pillows) -------------------------
   Sits in the right column of the grid but bleeds well past it: ~150%
   the column width to the right (off the viewport edge) and feathers
   out to the left so it can overlap the headline without fighting it. */

.hero-photo {
  position: relative;
  /* Break out of the right grid column to make the image huge.
     Portrait image — let it stretch tall and bleed both sides */
  margin: -120px -18vw -120px -22%;
  pointer-events: none;
  z-index: 1;
}
.hero-photo-img {
  width: 100%;
  height: auto;
  display: block;
  /* Feather the left edge so the phone emerges from the page */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.15) 14%,
    rgba(0,0,0,0.55) 26%,
    #000 42%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.15) 14%,
    rgba(0,0,0,0.55) 26%,
    #000 42%
  );
  /* Soft drop-shadow on the cut-out object */
  filter: drop-shadow(0 30px 50px rgba(43, 24, 16, 0.18))
          drop-shadow(0 10px 24px rgba(43, 24, 16, 0.10));
}
:root[data-theme="night"] .hero-photo-img {
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55))
          drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}
@media (max-width: 1200px) {
  .hero-photo { margin-right: -16vw; margin-left: -10%; }
}
@media (max-width: 900px) {
  .hero-photo {
    margin: 0;
    max-width: 620px;
    /* On stacked layout no overlap is happening; soften feather */
  }
  .hero-photo-img {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Phone mock ------------------------------------------------------------ */

.phone {
  position: relative;
  width: 280px;
  margin: 0 auto;
  aspect-ratio: 9 / 19.5;
  background: var(--phone-bezel);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.45),
    0 8px 20px -10px rgba(0, 0, 0, 0.30);
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #FFD4A8 0%, #FFE8D0 35%, #FFF4EC 65%);
  display: flex;
  flex-direction: column;
}
/* When the screen holds a full-bleed screenshot, drop the gradient
   and let the image carry the look. */
.phone--image .phone-screen {
  background: #15102A;
}
.phone-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  background: var(--phone-bezel);
  border-radius: 999px;
  z-index: 4;
}
.phone-status {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 26px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  z-index: 2;
}
.phone-content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 44px 24px 32px;
  z-index: 1;
}
.phone-sun {
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #FFC58A 0%, #F4A267 55%, transparent 75%);
  filter: blur(2px);
  z-index: 0;
}
.phone-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--peach-deep);
  font-weight: 600;
  margin-top: 96px;
  position: relative;
  z-index: 2;
}
.phone-from {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 8px;
  position: relative;
  z-index: 2;
}
.phone-from em {
  font-style: italic;
  color: var(--peach-deep);
}
.phone-time {
  font-family: var(--display);
  font-size: 48px;
  letter-spacing: -0.04em;
  margin-top: 20px;
  position: relative;
  z-index: 2;
  line-height: 1;
}
.phone-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  position: relative;
  z-index: 2;
}
.phone-wave {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 36px;
  margin-top: auto;
  position: relative;
  z-index: 2;
}
.phone-wave span {
  flex: 1;
  background: var(--ink);
  border-radius: 2px;
  opacity: 0.85;
}
.phone-cta {
  margin-top: 20px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  padding: 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* Sections / cards ------------------------------------------------------ */

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 56px;
  max-width: 640px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.step-num {
  font-family: var(--display);
  font-size: 28px;
  color: var(--peach-deep);
  letter-spacing: -0.02em;
  line-height: 1;
}
.step h3 { margin: 0; }
.step p { color: var(--ink-soft); font-size: 15px; }

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature h3 { font-size: 22px; }
.feature p { color: var(--ink-soft); font-size: 15px; }
.feature .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  color: var(--peach-deep);
}

/* Big quote / closer ---------------------------------------------------- */

.closer {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.closer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}
.closer h2 { max-width: 18ch; }

/* Footer ---------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--hairline);
  padding: 56px 0 40px;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-col h4 {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a { color: var(--ink-soft); }
.footer-col a:hover { color: var(--peach-deep); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

/* Logo mark (linked orbs) ----------------------------------------------- */

.orb-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

/* Long-form content (legal / contact) ----------------------------------- */

.legal-hero {
  padding: 56px 0 32px;
}
.legal-hero .eyebrow { margin-bottom: 16px; }
.legal-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
}
.legal-hero p {
  margin-top: 16px;
  color: var(--ink-soft);
}
.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  padding-top: 16px;
  padding-bottom: 96px;
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
}
.legal-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  font-size: 14px;
}
.legal-toc h4 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: toc;
}
.legal-toc li {
  counter-increment: toc;
}
.legal-toc a {
  color: var(--ink-soft);
  display: block;
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  margin-right: 10px;
  font-size: 12px;
}
.legal-toc a:hover { color: var(--peach-deep); }

@media (max-width: 900px) {
  .legal-toc { position: static; display: none; }
}

.legal-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 68ch;
}
.legal-body h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-top: 56px;
  margin-bottom: 12px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 17px;
  margin-top: 28px;
  margin-bottom: 6px;
  letter-spacing: 0;
}
.legal-body p { margin: 12px 0; color: var(--ink-soft); }
.legal-body ul {
  padding-left: 22px;
  margin: 12px 0;
  color: var(--ink-soft);
}
.legal-body ul li { margin: 6px 0; }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--peach-deep); border-bottom: 1px solid var(--hairline); }
.legal-body a:hover { border-bottom-color: var(--peach-deep); }

/* Pair landing ---------------------------------------------------------- */

.pair-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pair-page::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 60vh;
  background: var(--glow);
  z-index: 0;
  pointer-events: none;
}
.pair-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 60px;
}
.pair-card {
  width: 100%;
  max-width: 460px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: 0 20px 60px -30px rgba(43, 24, 16, 0.25);
}
.pair-orbs {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.pair-card .eyebrow { display: block; margin-bottom: 12px; }
.pair-card h1 {
  font-size: clamp(32px, 4.4vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.pair-card h1 em {
  font-style: italic;
  color: var(--peach-deep);
}
.pair-card .sub {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 28px;
}
.pair-code {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 14px 20px;
  margin: 0 auto 28px;
  background: var(--bg);
  border: 1px dashed var(--hairline-strong);
  border-radius: 14px;
  font-family: 'SF Mono', 'JetBrains Mono', ui-monospace, monospace;
  font-size: 22px;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: var(--ink);
}
.pair-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pair-actions .btn { width: 100%; padding: 16px; font-size: 16px; }
.pair-fallback {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: none;
  flex-direction: column;
  gap: 16px;
}
.pair-fallback.show { display: flex; }
.pair-fallback p {
  font-size: 14px;
  color: var(--ink-soft);
}
.pair-fallback .store-row {
  justify-content: center;
}
.pair-status {
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
  min-height: 18px;
}
.pair-foot {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding: 24px;
}
.pair-foot a { color: var(--ink-soft); }

/* Contact --------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.contact-card h3 {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 10px;
  letter-spacing: 0.16em;
}
.contact-card .big {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.contact-card .big a { color: var(--ink); }
.contact-card .big a:hover { color: var(--peach-deep); }
.contact-card p { color: var(--ink-soft); font-size: 15px; margin-top: 6px; }

/* Focus styles ---------------------------------------------------------- */
a:focus-visible, .btn:focus-visible, .store-badge:focus-visible {
  outline: 2px solid var(--peach-deep);
  outline-offset: 3px;
  border-radius: 999px;
}

/* Reduce motion --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* Tweaks panel ---------------------------------------------------------- */
.tweaks {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  width: 320px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
  border-radius: 16px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.45), 0 6px 18px -10px rgba(0, 0, 0, 0.25);
  font-family: var(--body);
  overflow: hidden;
}
.tweaks[hidden] { display: none; }
.tweaks-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline);
}
.tweaks-title {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.tweaks-close {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tweaks-close:hover { background: var(--hairline); color: var(--ink); }
.tweaks-body { padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.tweak-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tweak-label { display: flex; flex-direction: column; gap: 2px; }
.tweak-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.tweak-hint { font-size: 12px; color: var(--muted); line-height: 1.4; }
.tweak-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: var(--bg-soft);
  border-radius: 12px;
}
.tweak-segmented button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tweak-segmented button:hover { color: var(--ink); }
.tweak-segmented button svg { width: 16px; height: 16px; flex: 0 0 16px; }
.tweak-segmented button.is-on {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--hairline-strong), 0 2px 6px -2px rgba(0, 0, 0, 0.15);
}
