/* Contomi — marketing site */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --cream: #FFF4E6;
  --cream-2: #FFE8D1;
  --paper: #FFFDF9;
  --ink: #2A1B3D;
  --ink-2: #1a1024;
  --ink-soft: #5A4A6E;
  --ink-mute: #8B7A9E;
  --line: rgba(42, 27, 61, 0.08);
  --line-strong: rgba(42, 27, 61, 0.14);

  --coral: #FF6B6B;
  --marigold: #FFB84D;
  --mint: #4ECDC4;
  --lilac: #A78BFA;
  --sky: #5EC3FF;
  --rose: #FF9EC7;

  --shadow-sm: 0 2px 6px rgba(42, 27, 61, 0.06);
  --shadow-md: 0 8px 24px rgba(42, 27, 61, 0.10);
  --shadow-lg: 0 20px 50px rgba(42, 27, 61, 0.18);
  --shadow-card: 0 4px 0 rgba(42, 27, 61, 0.12), 0 6px 18px rgba(42, 27, 61, 0.10);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.display { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; }
.mono { font-family: 'JetBrains Mono', monospace; }

a { color: inherit; }

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

/* ---------- Site shell ---------- */
.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.site-nav .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.brand .brand-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}
.brand .mi {
  background: linear-gradient(120deg, #FF6B6B 0%, #FFB84D 35%, #4ECDC4 70%, #A78BFA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 150ms, color 150ms;
}
.nav-links a:hover { background: rgba(42,27,61,0.05); color: var(--ink); }
.nav-links a.cta {
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  margin-left: 6px;
  box-shadow: 0 3px 0 var(--ink-2);
}
.nav-links a.cta:hover { background: var(--ink-2); color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 120ms, box-shadow 150ms;
  padding: 14px 22px;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 4px 0 var(--ink-2), 0 6px 18px rgba(42,27,61,0.25);
}
.btn-primary:hover { background: var(--ink-2); }
.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
}
.btn-ghost:hover { color: var(--ink); }

/* Store badges — use official artwork */
.store-badge {
  display: inline-block;
  text-decoration: none;
  transition: transform 150ms;
  line-height: 0;
  position: relative;
}
.store-badge img {
  height: 52px;
  width: auto;
  display: block;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge:active { transform: translateY(1px); }

/* "Coming soon" state — replaces the badge img with a placeholder pill */
body[data-ios-ready="false"] .store-badge[data-platform="ios"],
body[data-android-ready="false"] .store-badge[data-platform="android"] {
  pointer-events: none;
}
body[data-ios-ready="false"] .store-badge[data-platform="ios"] img,
body[data-android-ready="false"] .store-badge[data-platform="android"] img {
  visibility: hidden;
}
body[data-ios-ready="false"] .store-badge[data-platform="ios"]::after,
body[data-android-ready="false"] .store-badge[data-platform="android"]::after {
  content: 'Coming soon';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cream-2);
  border: 1.5px dashed var(--line-strong);
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 0 18px;
  white-space: nowrap;
}
body[data-ios-ready="false"] .store-badge[data-platform="ios"]::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 50%; left: 16px;
  transform: translateY(-50%);
  width: 14px; height: 16px;
  background: var(--ink-soft);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.05 12.04c-.03-3.16 2.58-4.69 2.7-4.76-1.47-2.15-3.76-2.45-4.58-2.48-1.95-.2-3.8 1.15-4.79 1.15-.99 0-2.51-1.12-4.13-1.09-2.12.03-4.08 1.23-5.17 3.13-2.21 3.83-.57 9.5 1.59 12.61 1.05 1.52 2.31 3.23 3.95 3.17 1.59-.07 2.19-1.03 4.11-1.03 1.92 0 2.46 1.03 4.13.99 1.71-.03 2.79-1.55 3.83-3.08 1.21-1.77 1.71-3.49 1.74-3.58-.04-.02-3.34-1.28-3.38-5.06zM13.92 3.45c.87-1.05 1.46-2.51 1.3-3.97-1.26.05-2.78.84-3.68 1.89-.81.93-1.52 2.42-1.33 3.85 1.4.11 2.84-.71 3.71-1.77z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.05 12.04c-.03-3.16 2.58-4.69 2.7-4.76-1.47-2.15-3.76-2.45-4.58-2.48-1.95-.2-3.8 1.15-4.79 1.15-.99 0-2.51-1.12-4.13-1.09-2.12.03-4.08 1.23-5.17 3.13-2.21 3.83-.57 9.5 1.59 12.61 1.05 1.52 2.31 3.23 3.95 3.17 1.59-.07 2.19-1.03 4.11-1.03 1.92 0 2.46 1.03 4.13.99 1.71-.03 2.79-1.55 3.83-3.08 1.21-1.77 1.71-3.49 1.74-3.58-.04-.02-3.34-1.28-3.38-5.06zM13.92 3.45c.87-1.05 1.46-2.51 1.3-3.97-1.26.05-2.78.84-3.68 1.89-.81.93-1.52 2.42-1.33 3.85 1.4.11 2.84-.71 3.71-1.77z'/></svg>") no-repeat center / contain;
}
body[data-android-ready="false"] .store-badge[data-platform="android"]::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 50%; left: 16px;
  transform: translateY(-50%);
  width: 14px; height: 16px;
  background: var(--ink-soft);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.6 9.48l1.84-3.18a.4.4 0 00-.69-.4l-1.86 3.22a11.4 11.4 0 00-9.78 0L5.25 5.9a.4.4 0 00-.69.4l1.84 3.18A10.78 10.78 0 001 18h22a10.78 10.78 0 00-5.4-8.52zM7 15.25a1 1 0 110-2 1 1 0 010 2zm10 0a1 1 0 110-2 1 1 0 010 2z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.6 9.48l1.84-3.18a.4.4 0 00-.69-.4l-1.86 3.22a11.4 11.4 0 00-9.78 0L5.25 5.9a.4.4 0 00-.69.4l1.84 3.18A10.78 10.78 0 001 18h22a10.78 10.78 0 00-5.4-8.52zM7 15.25a1 1 0 110-2 1 1 0 010 2zm10 0a1 1 0 110-2 1 1 0 010 2z'/></svg>") no-repeat center / contain;
}
/* Make placeholder match badge dimensions */
body[data-ios-ready="false"] .store-badge[data-platform="ios"],
body[data-android-ready="false"] .store-badge[data-platform="android"] {
  display: inline-block;
  min-width: 178px;
}
/* Dark CTA placement — placeholder needs different bg/colors */
.section.dark .store-badge[data-platform="ios"]::after,
.section.dark .store-badge[data-platform="android"]::after {
  background: rgba(255,244,230,0.06);
  border-color: rgba(255,244,230,0.22);
  color: rgba(255,244,230,0.7);
}
.section.dark .store-badge[data-platform="ios"]::before,
.section.dark .store-badge[data-platform="android"]::before {
  background: rgba(255,244,230,0.7);
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section.dark {
  background: var(--ink);
  color: var(--cream);
}
.section.dark .ink-mute { color: rgba(255,244,230,0.6); }
.section.cream-2 { background: var(--cream-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  padding: 6px 12px;
  background: rgba(42,27,61,0.05);
  border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--coral); }

.section.dark .eyebrow {
  background: rgba(255,244,230,0.08);
  color: rgba(255,244,230,0.7);
}

.section-title {
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 16px 0 18px;
  text-wrap: balance;
}
.section-sub {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 580px;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.section.dark .section-sub { color: rgba(255,244,230,0.7); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 40px;
}
.site-footer .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}
.site-footer .small {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,244,230,0.12);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,244,230,0.55);
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer .links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer .links a {
  text-decoration: none;
  color: rgba(255,244,230,0.7);
  font-size: 15px;
}
.site-footer .links a:hover { color: var(--cream); }
.site-footer h5 {
  font-family: 'Space Grotesk';
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,244,230,0.5);
  margin: 0 0 16px;
  font-weight: 600;
}

/* ---------- Disc primitive (logo) ---------- */
.disc {
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    var(--c1, #FF6B6B) 0 25%,
    var(--c2, #4ECDC4) 25% 50%,
    var(--c3, #FFB84D) 50% 75%,
    var(--c4, #A78BFA) 75% 100%
  );
  position: relative;
  box-shadow: inset 0 -4% 0 rgba(42,27,61,0.10);
}
.disc::before {
  content:''; position:absolute; inset:0; border-radius:50%;
  background:
    linear-gradient(0deg,  transparent 49.2%, var(--seam, #FFFDF9) 49.2% 50.8%, transparent 50.8%),
    linear-gradient(90deg, transparent 49.2%, var(--seam, #FFFDF9) 49.2% 50.8%, transparent 50.8%);
}
.disc::after {
  content:''; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:18%; height:18%; border-radius:50%;
  background: var(--center, #2A1B3D);
  box-shadow: 0 0 0 4% var(--seam, #FFFDF9);
}

/* App icon tile (squircle on cream/ink) */
.app-tile {
  border-radius: 22.37%;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 10px 28px rgba(42,27,61,0.22),
    0 2px 5px rgba(42,27,61,0.10);
}

/* ---------- Phone mock for hero ---------- */
.phone-mini {
  width: 320px;
  height: 660px;
  background: var(--cream);
  border-radius: 44px;
  box-shadow:
    0 0 0 2px rgba(42,27,61,0.08),
    0 0 0 12px var(--ink-2),
    0 0 0 13px rgba(255,255,255,0.08),
    0 40px 80px rgba(42,27,61,0.35);
  position: relative;
  overflow: hidden;
}
.phone-mini::before {
  content: '';
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 28px;
  background: var(--ink-2);
  border-radius: 18px;
  z-index: 40;
}
.phone-mini .home-bar {
  position: absolute; bottom: 8px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 5px;
  border-radius: 3px;
  background: var(--ink);
  opacity: 0.4;
}

/* ---------- Cards ---------- */
.feature-card {
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-card .feat-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  flex-shrink: 0;
}
.feature-card h3 {
  font-family: 'Space Grotesk';
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0;
}
.feature-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* ---------- Walkthrough beats ---------- */
.beats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.beat {
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  min-height: 340px;
}
.beat .num {
  font-family: 'JetBrains Mono';
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}
.beat h4 {
  font-family: 'Space Grotesk';
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0;
}
.beat p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}
.beat .stage {
  flex: 1;
  background: var(--cream);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--line);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq details {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Space Grotesk';
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: 'Space Grotesk';
  font-weight: 400;
  font-size: 24px;
  color: var(--ink-mute);
  transition: transform 200ms;
  flex-shrink: 0;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--coral);
}
.faq .body {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- Legal docs ---------- */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 28px 120px;
}
.doc h1 {
  font-family: 'Space Grotesk';
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.doc .updated {
  font-family: 'JetBrains Mono';
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.doc h2 {
  font-family: 'Space Grotesk';
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
}
.doc h3 {
  font-family: 'Space Grotesk';
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 8px;
}
.doc p, .doc li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.doc ul { padding-left: 22px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero (homepage) ---------- */
.hero { padding: 80px 0 100px; position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,184,77,0.35) 0%, transparent 45%),
    radial-gradient(circle at 88% 82%, rgba(255,158,199,0.35) 0%, transparent 45%),
    var(--cream);
  z-index: -1;
}
.hero h1 {
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 16px 0 20px;
  text-wrap: balance;
}
.hero .lead {
  font-size: 21px;
  color: var(--ink-soft);
  line-height: 1.45;
  max-width: 460px;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.hero .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* receipt motif */
.receipt {
  background: var(--paper);
  font-family: 'JetBrains Mono';
  font-size: 11px;
  color: var(--ink);
  padding: 16px 14px;
  line-height: 1.6;
  position: relative;
  box-shadow: var(--shadow-md);
  width: 200px;
}
.receipt::before, .receipt::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 8px;
  background-image:
    linear-gradient(-45deg, transparent 33.333%, var(--paper) 33.333%, var(--paper) 66.667%, transparent 66.667%),
    linear-gradient(45deg, transparent 33.333%, var(--paper) 33.333%, var(--paper) 66.667%, transparent 66.667%);
  background-size: 8px 8px;
}
.receipt::before { top: -7px; }
.receipt::after { bottom: -7px; }
.receipt .row { display: flex; justify-content: space-between; }
.receipt .total { font-weight: 600; padding-top: 6px; margin-top: 6px; border-top: 1px dashed var(--line-strong); }

/* mini avatars row */
.avatars-row { display: flex; }
.avatars-row .av {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: 'Space Grotesk'; font-weight: 700; font-size: 14px;
  border: 3px solid var(--paper);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.12);
  margin-left: -10px;
}
.avatars-row .av:first-child { margin-left: 0; }

/* ---------- Tweaks panel (hero variants) ---------- */
.tweaks-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147483646;
  width: 240px;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(42,27,61,0.25), 0 0 0 1px var(--line-strong);
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  overflow: hidden;
}
.tweaks-panel .twk-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px 12px 16px;
  border-bottom: 1px solid var(--line);
}
.tweaks-panel .twk-hd b {
  font-family: 'Space Grotesk';
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tweaks-panel .twk-x {
  appearance: none;
  border: 0;
  background: transparent;
  width: 24px; height: 24px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--ink-mute);
  font-size: 13px;
}
.tweaks-panel .twk-x:hover { background: rgba(42,27,61,0.06); color: var(--ink); }
.tweaks-panel .twk-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tweaks-panel .twk-section {
  font-family: 'JetBrains Mono';
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin: 0 0 4px 4px;
}
.tweaks-panel .twk-opt {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 120ms, background 120ms;
}
.tweaks-panel .twk-opt:hover { background: rgba(42,27,61,0.04); }
.tweaks-panel .twk-opt.active {
  border-color: var(--ink);
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.tweaks-panel .twk-opt-label {
  font-family: 'Space Grotesk';
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.tweaks-panel .twk-opt-desc {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* Toggle row (with switch) */
.tweaks-panel .twk-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 120ms, background 120ms;
}
.tweaks-panel .twk-toggle:hover { background: rgba(42,27,61,0.04); }
.tweaks-panel .twk-toggle.on {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.tweaks-panel .twk-tog-label { flex: 1; min-width: 0; }
.tweaks-panel .twk-switch {
  width: 36px;
  height: 22px;
  border-radius: 999px;
  background: var(--cream-2);
  border: 1.5px solid var(--line-strong);
  position: relative;
  flex-shrink: 0;
  transition: background 150ms, border-color 150ms;
}
.tweaks-panel .twk-toggle.on .twk-switch {
  background: var(--mint);
  border-color: var(--ink);
}
.tweaks-panel .twk-knob {
  position: absolute;
  top: 1px; left: 1px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  transition: transform 150ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tweaks-panel .twk-toggle.on .twk-knob {
  transform: translateX(14px);
  border-color: var(--ink);
}

/* responsive */
@media (max-width: 760px) {
  .nav-links a:not(.cta) { display: none; }
  .beats { grid-template-columns: 1fr; }
  .site-footer .row { gap: 32px; }
  .hero { padding: 56px 0 72px; }
}
