:root {
  --ink: #1c160f;
  --ink-2: #3d3528;
  --ink-3: #6c6253;
  --ink-4: #9a907f;
  --paper: #f7f1e6;
  --paper-2: #efe6d4;
  --paper-3: #e8dec5;
  --card: #ffffff;
  --line: #e6dcc6;
  --line-2: #d6c9aa;
  --terracotta: #b85c38;
  --terracotta-soft: #f3dccf;
  --olive: #5b6a3c;
  --olive-soft: #e2e7d0;
  --gold: #a07628;
  --gold-soft: #f1e2bd;
  --rust: #9a3d23;
  --plum: #6f3a55;
  --walnut: #181410;
  --cream: #f5ecd6;
  --nav-bg: rgba(247, 241, 230, 0.88);
  --menu-bg: rgba(247, 241, 230, 0.97);
  --glass: rgba(255, 255, 255, 0.56);
  --glow-a: rgba(184, 92, 56, 0.2);
  --glow-b: rgba(91, 106, 60, 0.17);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

:root[data-palette='coast'] {
  --ink: #122827;
  --ink-2: #304c49;
  --ink-3: #58716d;
  --ink-4: #839792;
  --paper: #eef5f3;
  --paper-2: #deebe8;
  --paper-3: #d0e1dd;
  --card: #fbfefd;
  --line: #c8dcd8;
  --line-2: #b4ceca;
  --terracotta: #c8583a;
  --terracotta-soft: #f4d7cc;
  --olive: #176b69;
  --olive-soft: #d2e9e5;
  --gold: #397f99;
  --gold-soft: #d7e9ef;
  --rust: #a9422a;
  --plum: #536b87;
  --walnut: #102827;
  --cream: #effffb;
  --nav-bg: rgba(238, 245, 243, 0.89);
  --menu-bg: rgba(238, 245, 243, 0.97);
  --glass: rgba(251, 254, 253, 0.62);
  --glow-a: rgba(23, 107, 105, 0.2);
  --glow-b: rgba(200, 88, 58, 0.16);
}

:root[data-palette='grove'] {
  --ink: #1c291c;
  --ink-2: #3c513b;
  --ink-3: #63755d;
  --ink-4: #8b9983;
  --paper: #f1f4e9;
  --paper-2: #e2e8d5;
  --paper-3: #d4dfc3;
  --card: #fcfdf8;
  --line: #cdd9bf;
  --line-2: #b9c9a7;
  --terracotta: #a95e25;
  --terracotta-soft: #f1dcc9;
  --olive: #3f7047;
  --olive-soft: #d9e9d7;
  --gold: #6c8736;
  --gold-soft: #e4eccf;
  --rust: #8a481b;
  --plum: #5f5d87;
  --walnut: #172417;
  --cream: #f8ffef;
  --nav-bg: rgba(241, 244, 233, 0.89);
  --menu-bg: rgba(241, 244, 233, 0.97);
  --glass: rgba(252, 253, 248, 0.62);
  --glow-a: rgba(63, 112, 71, 0.2);
  --glow-b: rgba(169, 94, 37, 0.15);
}

:root[data-palette='plum'] {
  --ink: #2d1b28;
  --ink-2: #533d4c;
  --ink-3: #765f70;
  --ink-4: #9e8998;
  --paper: #f7f0f5;
  --paper-2: #ede0e9;
  --paper-3: #e4d3df;
  --card: #fff9fd;
  --line: #dfc9d7;
  --line-2: #cdb4c4;
  --terracotta: #b94f49;
  --terracotta-soft: #f4d7d5;
  --olive: #754563;
  --olive-soft: #ecd9e6;
  --gold: #8e659c;
  --gold-soft: #e9ddf0;
  --rust: #983c39;
  --plum: #754563;
  --walnut: #271722;
  --cream: #fff5fc;
  --nav-bg: rgba(247, 240, 245, 0.89);
  --menu-bg: rgba(247, 240, 245, 0.97);
  --glass: rgba(255, 249, 253, 0.62);
  --glow-a: rgba(117, 69, 99, 0.2);
  --glow-b: rgba(185, 79, 73, 0.15);
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  scroll-behavior: smooth;
  transition:
    color 0.24s ease,
    background-color 0.24s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.wrap {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
}

.wrap-tight {
  width: min(920px, calc(100% - 56px));
  margin: 0 auto;
}

.row {
  display: flex;
  align-items: center;
}

.between {
  justify-content: space-between;
}

.gap-s {
  gap: 8px;
}

.gap-m {
  gap: 14px;
}

.gap-l {
  gap: 22px;
}

.serif {
  font-family: var(--serif);
  font-feature-settings: 'ss01', 'ss02';
}

.num {
  font-variant-numeric: tabular-nums;
}

.muted {
  color: var(--ink-3);
}

.micro {
  font-size: 11.5px;
}

.center {
  text-align: center;
}

.center-text {
  text-align: center;
}

.eyebrow {
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.012em;
}

h1 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.022em;
}

h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.018em;
}

h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.18;
}

.lede {
  max-width: 62ch;
  color: var(--ink-2);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
}

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 64px 0;
}

.section-hero {
  padding: 80px 0 72px;
}

.page-enter {
  animation: fadeUp 0.4s cubic-bezier(0.2, 0.7, 0.25, 1);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.25, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.25, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(230, 220, 198, 0.6);
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: var(--cream);
  background: linear-gradient(
    140deg,
    var(--terracotta),
    color-mix(in srgb, var(--terracotta) 36%, var(--ink))
  );
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--terracotta);
  content: '';
  opacity: 0;
  transform: scaleX(0.45);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-links a[aria-current='true'] {
  color: var(--ink);
}

.nav-links a[aria-current='true']::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.palette-switcher {
  display: flex;
  height: 36px;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--glass);
  box-shadow: 0 5px 16px rgba(26, 18, 8, 0.05);
}

.palette-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  margin-right: 1px;
  color: var(--ink-3);
}

.palette-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.palette-dot {
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-radius: 99px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.palette-dot:hover {
  transform: scale(1.15);
}

.palette-dot.active {
  box-shadow:
    0 0 0 2px var(--card),
    0 0 0 4px var(--ink);
  transform: scale(0.85);
}

.palette-dot.hearth {
  background: #b95131;
}

.palette-dot.coast {
  background: #176b69;
}

.palette-dot.grove {
  background: #3f7047;
}

.palette-dot.plum {
  background: #754563;
}

.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--glass);
}

.nav-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 99px;
  background: var(--ink);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.nav-burger[aria-expanded='true'] span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-burger[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.nav-burger[aria-expanded='true'] span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.btn {
  display: inline-flex;
  min-width: max-content;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  transition:
    transform 0.12s ease,
    background 0.18s ease,
    border-color 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  color: var(--cream);
  background: var(--ink);
}

.btn.primary:hover {
  background: color-mix(in srgb, var(--ink) 86%, var(--terracotta));
}

.btn.ghost {
  border: 1px solid var(--line-2);
  color: var(--ink);
  background: transparent;
}

.btn.ghost:hover {
  border-color: var(--ink-3);
  background: var(--glass);
}

.btn.link {
  min-width: 0;
  height: auto;
  padding: 0;
  border-radius: 0;
  color: var(--ink-3);
  background: transparent;
}

.btn.link:hover {
  color: var(--ink);
}

.btn.sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13.5px;
}

.btn.lg {
  height: 50px;
  padding: 0 22px;
  font-size: 15.5px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink-2);
  background: var(--card);
  font-size: 12px;
  font-weight: 500;
}

.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--olive);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  margin-top: 18px;
}

.hero-copy h1 em {
  color: var(--terracotta);
  font-style: italic;
}

.hero-copy .lede {
  margin-top: 22px;
}

.hero-actions {
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-proof {
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-proof span {
  color: var(--ink-3);
  font-size: 13.5px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 660px;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-atmosphere::before {
  position: absolute;
  top: 14%;
  left: 50%;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 38%, var(--glow-a), transparent 53%),
    radial-gradient(circle at 68% 70%, var(--glow-b), transparent 58%);
  content: '';
  filter: blur(8px);
  transform: translateX(-50%);
}

.hero-orbit {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--terracotta) 36%, transparent);
  border-radius: 50%;
  animation: orbitFloat 7s ease-in-out infinite;
}

.orbit-one {
  top: 92px;
  left: 24px;
  width: 420px;
  height: 420px;
  transform: rotate(-18deg);
}

.orbit-two {
  right: 42px;
  bottom: 48px;
  width: 260px;
  height: 260px;
  border-color: color-mix(in srgb, var(--olive) 32%, transparent);
  animation-delay: -2.8s;
}

.hero-spark {
  position: absolute;
  z-index: 2;
  color: var(--gold);
  font-size: 22px;
  filter: drop-shadow(0 5px 12px var(--glow-a));
  animation: sparkPulse 3.6s ease-in-out infinite;
}

.spark-one {
  top: 98px;
  right: 74px;
}

.spark-two {
  bottom: 88px;
  left: 60px;
  color: var(--olive);
  font-size: 15px;
  animation-delay: -1.6s;
}

@keyframes orbitFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-18deg);
  }
  50% {
    transform: translateY(-10px) rotate(-13deg);
  }
}

@keyframes sparkPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.85) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.16) rotate(14deg);
  }
}

.hero-callout {
  position: absolute;
  z-index: 3;
  max-width: 210px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 14px 28px rgba(20, 14, 5, 0.08);
}

.capability-ribbon {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--card) 78%, transparent);
  box-shadow: 0 18px 40px rgba(28, 22, 15, 0.06);
  backdrop-filter: blur(10px);
}

.capability-item {
  display: flex;
  align-items: center;
  gap: 11px;
}

.capability-item > span:last-child {
  display: grid;
}

.capability-item strong {
  color: var(--ink);
  font-size: 13px;
}

.capability-item small {
  color: var(--ink-3);
  font-size: 11px;
}

.capability-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: var(--olive);
  background: var(--olive-soft);
}

.capability-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.capability-flow {
  color: var(--ink-4);
  font-size: 17px;
}

.callout-left {
  top: 60px;
  left: 4px;
}

.callout-right {
  right: 0;
  bottom: 110px;
}

.callout-number {
  margin-top: 2px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.check-dot {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--olive);
  background: var(--olive-soft);
  font-size: 11px;
  font-weight: 800;
}

.phone {
  position: relative;
  width: 300px;
  padding: 14px;
  border-radius: 42px;
  background: linear-gradient(160deg, #28200f, #0e0a05);
  box-shadow:
    0 30px 60px rgba(20, 14, 5, 0.25),
    0 12px 24px rgba(20, 14, 5, 0.18);
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 5;
  width: 96px;
  height: 26px;
  border-radius: 99px;
  background: #0c0805;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: 30px;
  color: var(--ink);
  background: var(--paper);
}

.phone-pad {
  padding: 46px 18px 0;
}

.phone-date {
  color: var(--ink-3);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.phone-greeting {
  margin-top: 2px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.phone-avatar {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  color: var(--cream);
  background: linear-gradient(
    140deg,
    var(--terracotta),
    color-mix(in srgb, var(--terracotta) 36%, var(--ink))
  );
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
}

.phone-card {
  margin: 12px 14px 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 1px 0 rgba(20, 14, 5, 0.02);
}

.ytd-card {
  margin-top: 18px;
  padding: 18px 18px 20px;
}

.ytd-number {
  margin-top: 4px;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.ytd-number span {
  margin-left: 2px;
  color: var(--ink-3);
  font-size: 16px;
}

.delta {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 99px;
  color: #3a4621;
  background: var(--olive-soft);
  font-size: 11px;
  font-weight: 600;
}

.sparkline {
  width: 100%;
  height: 50px;
  margin-top: 10px;
}

.sparkline path:first-child {
  stroke: var(--terracotta);
  stroke-width: 1.8;
}

.sparkline path:last-child {
  fill: color-mix(in srgb, var(--terracotta) 14%, transparent);
}

.inbox-card {
  padding: 14px;
}

.inbox-card strong {
  display: block;
  font-size: 13px;
}

.inbox-card p {
  color: var(--ink-3);
  font-size: 11.5px;
}

.alert-mark {
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--rust);
  background: var(--terracotta-soft);
  font-size: 14px;
  font-weight: 700;
}

.chevron {
  color: var(--ink-3);
  font-size: 22px;
}

.property-strip {
  display: flex;
  gap: 8px;
  overflow: hidden;
  padding: 12px 14px 0;
}

.property-strip article {
  flex: 0 0 100px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.property-strip strong {
  display: block;
  overflow: hidden;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-strip span {
  color: var(--ink-3);
  font-size: 10.5px;
}

.mini-photo {
  width: 100%;
  height: 42px;
  border-radius: 9px;
  background-position: center;
  background-size: cover;
}

.terracotta {
  background-color: var(--terracotta);
}

.olive {
  background-color: var(--olive);
}

.plum {
  background-color: var(--plum);
}

.gold {
  background-color: var(--gold);
}

.mini-photo.terracotta {
  background-image: url('./assets/graphics/property-marigold.svg');
}

.mini-photo.olive {
  background-image: url('./assets/graphics/channel-ledger.svg');
}

.mini-photo.plum {
  background-image: url('./assets/graphics/receipt-rituals.svg');
}

.mini-photo.gold {
  background-image: url('./assets/graphics/schedule-e.svg');
}

.phone-tabs {
  position: absolute;
  right: 10px;
  bottom: 18px;
  left: 10px;
  display: flex;
  height: 54px;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  border-radius: 24px;
  background: rgba(28, 22, 15, 0.92);
  backdrop-filter: blur(20px);
}

.phone-tabs span {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--cream);
  font-size: 16px;
}

.phone-tabs .active {
  color: var(--ink);
  background: var(--cream);
}

.early-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.early-grid {
  align-items: flex-start;
  gap: 32px;
}

.early-grid > div:first-child {
  max-width: 520px;
}

.section-title-small {
  margin-top: 8px;
  font-size: 26px;
  line-height: 1.25;
}

.early-grid p {
  max-width: 480px;
  margin-top: 10px;
  font-size: 15px;
}

.card,
.card-soft,
.card-tan {
  border: 1px solid var(--line);
  border-radius: 18px;
}

.card {
  background: var(--card);
}

.card-soft {
  background: color-mix(in srgb, var(--card) 54%, var(--paper-2));
}

.card-tan {
  border-color: var(--line-2);
  background: var(--paper-2);
}

.donation-card {
  max-width: 360px;
  padding: 24px;
}

.donation-card h3 {
  font-size: 17px;
  font-weight: 600;
}

.donation-card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
}

.donation-card .btn {
  margin-top: 16px;
}

.heart-icon {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  color: var(--gold);
  background: var(--gold-soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head h2 {
  margin-top: 10px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 24px;
}

.value-card h3 {
  margin-top: 8px;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.55;
}

.photo {
  position: relative;
  height: 180px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--paper-2);
  isolation: isolate;
}

.photo::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 0.6px, transparent 0.7px);
  background-size: 3px 3px;
  content: '';
  mix-blend-mode: overlay;
  opacity: 0.18;
}

.photo::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(circle at 70% 90%, rgba(0, 0, 0, 0.18), transparent 70%);
  content: '';
}

.photo-terracotta {
  background: url('./assets/graphics/channel-ledger.svg') center / cover no-repeat;
}

.photo-olive {
  background: url('./assets/graphics/receipt-rules.svg') center / cover no-repeat;
}

.photo-gold {
  background: url('./assets/graphics/schedule-e.svg') center / cover no-repeat;
}

.product-section {
  background: var(--paper-2);
}

.product-stack {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.product-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.product-band.reverse .phone {
  order: 2;
  margin-left: auto;
}

.product-band.reverse .product-copy {
  order: 1;
}

.product-copy h2 {
  margin-top: 10px;
  margin-bottom: 18px;
}

.product-copy .lede {
  margin-bottom: 0.9em;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
  font-size: 15px;
}

.check-list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  color: #3a4621;
  background: var(--olive-soft);
  content: '✓';
  font-size: 11px;
  font-weight: 800;
}

.phone-inbox button {
  color: var(--ink-3);
  font-size: 13px;
}

.phone-inbox h3 {
  margin-top: 14px;
  font-size: 28px;
}

.smart-bar {
  margin: 14px 14px 0;
  padding: 12px 14px;
  border: 1px solid #e9d59b;
  border-radius: 14px;
  background: #fbf2dc;
}

.smart-bar strong {
  display: block;
  color: #6f5520;
  font-size: 12px;
}

.smart-bar span {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 14px 0;
}

.review-list article {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.review-list .merchant {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.review-list div {
  min-width: 0;
  flex: 1;
}

.review-list strong {
  display: block;
  overflow: hidden;
  font-size: 13.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-list small {
  display: block;
  margin-top: 1px;
  color: var(--ink-3);
  font-size: 11.5px;
}

.review-list b {
  font-size: 13.5px;
}

.review-list .positive {
  color: #3a4621;
}

.property-photo {
  display: flex;
  height: 210px;
  align-items: flex-end;
  padding: 14px;
  color: var(--cream);
  background: url('./assets/graphics/property-marigold.svg') center / cover no-repeat;
  font-size: 11.5px;
  font-weight: 500;
  text-shadow: 0 2px 14px rgba(20, 10, 4, 0.72);
}

.phone-property .phone-pad {
  padding-top: 14px;
}

.phone-property h3 {
  font-size: 22px;
}

.mini-metrics {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.mini-metrics article {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.mini-metrics span {
  display: block;
  color: var(--ink-3);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-metrics strong {
  display: block;
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 20px;
}

.donut-card {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.donut {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  border-radius: 999px;
  background: conic-gradient(
    var(--terracotta) 0 42%,
    var(--olive) 42% 66%,
    var(--gold) 66% 80%,
    var(--terracotta-soft) 80% 100%
  );
  box-shadow: inset 0 0 0 14px var(--card);
}

.donut-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
}

.donut-card p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 2px 0;
  font-size: 11.5px;
}

.legend {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 99px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-grid .card {
  height: 100%;
  padding: 22px;
}

.feature-grid .card > span {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper-2);
}

.feature-icon-svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-grid h3 {
  font-size: 18px;
  font-weight: 500;
}

.feature-grid p {
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.5;
}

.why-section {
  color: var(--cream);
  background: var(--walnut);
}

.why-section .eyebrow {
  color: #a89a7c;
}

.why-section blockquote {
  margin: 28px 0;
  color: var(--cream);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.why-section blockquote em {
  color: #dcaa6a;
}

.why-section p {
  max-width: 520px;
  margin: 0 auto;
  color: #a89a7c;
  font-size: 15px;
}

.gold-btn {
  margin-top: 28px;
  color: var(--ink) !important;
  background: #dcaa6a !important;
}

.pricing-intro h2 {
  margin-top: 14px;
}

.pricing-intro .lede {
  margin: 18px auto 0;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 44px;
}

.pricing-card-primary,
.pricing-card-secondary {
  padding: 36px;
}

.pricing-card-primary {
  border-color: var(--ink);
  color: var(--cream);
  background: var(--walnut);
  box-shadow: 0 30px 60px rgba(20, 14, 5, 0.18);
}

.pricing-card-primary h3 {
  margin-top: 18px;
  color: var(--cream);
  font-size: 30px;
}

.pricing-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 99px;
  color: var(--ink);
  background: #dcaa6a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  margin-top: 14px;
  color: var(--cream);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.price span {
  margin-left: 6px;
  color: #a89a7c;
  font-size: 16px;
}

.pricing-card-primary p {
  max-width: 420px;
  margin-top: 14px;
  color: #cfc1a3;
  font-size: 14.5px;
}

.pricing-card-primary ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #2c2519;
  list-style: none;
}

.pricing-card-primary li {
  color: var(--cream);
  font-size: 14.5px;
}

.pricing-card-primary li::before {
  margin-right: 8px;
  color: #dcaa6a;
  content: '✓';
  font-weight: 800;
}

.pricing-card-primary .btn {
  width: 100%;
}

.pricing-card-secondary h3 {
  margin-top: 18px;
  font-size: 30px;
}

.pricing-card-secondary p {
  max-width: 420px;
  margin-top: 10px;
  font-size: 14.5px;
}

.gold-dot {
  background: var(--gold) !important;
}

.donation-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.donation-options button {
  padding: 16px 12px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--paper-2);
  text-align: center;
}

.donation-options strong {
  display: block;
  font-size: 22px;
}

.donation-options span {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 12px;
}

.pricing-card-secondary .btn {
  width: 100%;
  margin-top: 14px;
}

.donation-coming-soon {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
}

.pricing-card-secondary small {
  display: block;
  margin-top: 14px;
  color: var(--ink-4);
  font-size: 12px;
}

.journal-section {
  background: linear-gradient(180deg, var(--paper), var(--paper-2));
}

.journal-intro {
  margin-bottom: 44px;
}

.journal-intro h2 {
  margin: 14px auto 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.journal-intro .lede {
  max-width: 690px;
  margin: 18px auto 0;
}

.journal-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.journal-tags button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-2);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.journal-tags button:hover {
  border-color: var(--line-2);
  background: var(--glass);
}

.journal-tags .active,
.journal-tags button[aria-pressed='true'] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.journal-featured {
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.2fr 1fr;
  padding: 0;
}

.journal-link {
  color: inherit;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.journal-link:hover {
  border-color: var(--line-2);
  box-shadow: 0 20px 44px rgba(28, 22, 15, 0.08);
  transform: translateY(-2px);
}

.journal-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
}

.journal-featured h3 {
  max-width: 560px;
  margin-top: 10px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.journal-featured p {
  max-width: 540px;
  margin-top: 14px;
  font-size: 15.5px;
}

.journal-photo {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  background: url('./assets/graphics/channel-ledger.svg') center / cover no-repeat;
}

.journal-photo::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  content: '';
  mix-blend-mode: overlay;
  opacity: 0.5;
}

.journal-photo span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(28, 22, 15, 0.72);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
}

.journal-photo-paper {
  min-height: 420px;
  background-image: url('./assets/graphics/schedule-e.svg');
}

.journal-photo-olive {
  background-image: url('./assets/graphics/daily-review.svg');
}

.journal-photo-gold {
  background-image: url('./assets/graphics/mixed-use-math.svg');
}

.journal-photo-sky {
  background-image: url('./assets/graphics/plaid-read-only.svg');
}

.journal-photo-terracotta {
  background-image: url('./assets/graphics/customer-story.svg');
}

.journal-photo-plum {
  background-image: url('./assets/graphics/receipt-rituals.svg');
}

.journal-photo-walnut {
  background-image: url('./assets/graphics/dark-mode-books.svg');
}

.journal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 13.5px;
}

.journal-meta strong {
  color: var(--ink-2);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.journal-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.journal-card > div:last-child {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 22px;
}

.journal-card h3 {
  margin-top: 8px;
  font-size: 21px;
  line-height: 1.24;
  letter-spacing: -0.015em;
}

.journal-card p {
  flex: 1;
  margin-top: 8px;
  font-size: 14px;
}

.subscribe-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding: 36px 40px;
}

.subscribe-card h3 {
  margin-top: 6px;
  font-size: 24px;
}

.subscribe-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.subscribe-coming-soon {
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}

.journal-post-section {
  padding-top: 48px;
}

.journal-post-head .back-link {
  margin-bottom: 30px;
}

.journal-post-head h1 {
  margin-top: 18px;
  font-size: clamp(38px, 5.2vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.journal-post-head .lede {
  margin-top: 18px;
}

.journal-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: var(--ink-3);
  font-size: 13.5px;
}

.journal-author strong,
.journal-author span {
  display: block;
}

.journal-author strong {
  color: var(--ink);
}

.author-avatar {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(140deg, #e8c87a, #a07628);
}

.journal-post-photo {
  min-height: 420px;
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.journal-post-body {
  margin-top: 48px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.72;
}

.journal-post-body p + p {
  margin-top: 18px;
}

.journal-post-body .dropcap::first-letter {
  float: left;
  margin: 8px 9px 0 0;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 56px;
  line-height: 0.9;
}

.journal-post-body h2 {
  margin-top: 48px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -0.018em;
}

.journal-post-body blockquote {
  margin: 30px 0;
  padding: 8px 0 8px 24px;
  border-left: 3px solid var(--terracotta);
  color: var(--ink);
  font-size: 22px;
  font-style: italic;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.journal-post-cta {
  margin-top: 36px;
  padding: 24px;
}

.journal-post-cta h3 {
  margin-top: 6px;
  font-size: 22px;
}

.journal-post-cta p {
  margin-top: 8px;
  font-size: 15px;
}

.journal-post-cta .btn {
  margin-top: 14px;
}

.keep-reading {
  margin-top: 72px;
}

.keep-reading-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.keep-reading .journal-card > div:last-child {
  min-height: auto;
}

.cta-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 48px;
}

.cta-card h2 {
  margin-top: 10px;
  margin-bottom: 14px;
}

.cta-card p {
  max-width: 540px;
  font-size: 16px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.faq-section {
  padding-bottom: 96px;
}

.faq-section h2 {
  margin-bottom: 32px;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-family: var(--sans);
  font-size: 20px;
}

details[open] summary::after {
  content: '−';
}

details p {
  max-width: 720px;
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 15px;
}

.footer {
  margin-top: 120px;
  padding: 80px 0 28px;
  color: #cfc1a3;
  background: var(--walnut);
}

.footer h4 {
  margin: 0 0 18px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer a {
  display: block;
  padding: 5px 0;
  color: #cfc1a3;
  font-size: 14.5px;
  transition: color 0.15s ease;
}

.footer a:hover {
  color: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex !important;
  width: max-content;
  padding: 0 !important;
  color: var(--cream) !important;
}

.footer p {
  max-width: 280px;
  margin-top: 18px;
  color: #a89a7c;
  font-size: 14.5px;
  line-height: 1.55;
}

.footer-button {
  display: inline-flex !important;
  width: max-content;
  margin-top: 24px;
  border-color: #3a3022 !important;
  color: #cfc1a3 !important;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid #2c2519;
  color: #8b7e63;
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-callout {
    display: none;
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .mobile-menu {
    display: grid;
    gap: 4px;
    width: min(100% - 32px, 1240px);
    margin: -6px auto 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--menu-bg);
    box-shadow: 0 18px 45px rgba(28, 22, 15, 0.08);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--ink-2);
    font-size: 15px;
    font-weight: 650;
  }

  .mobile-menu a:hover {
    background: var(--paper-2);
    color: var(--ink);
  }

  .mobile-menu a[aria-current='true'] {
    background: var(--ink);
    color: var(--cream);
  }

  .mobile-menu .mobile-start {
    color: var(--cream);
    background: var(--ink);
  }

  .value-grid,
  .feature-grid,
  .pricing-cards,
  .journal-featured,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .product-band,
  .product-band.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
    justify-items: center;
  }

  .product-band.reverse .phone,
  .product-band.reverse .product-copy {
    order: initial;
  }

  .product-band.reverse .phone {
    margin-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .wrap,
  .wrap-tight {
    width: min(100% - 32px, 1240px);
  }

  .section {
    padding: 64px 0;
  }

  .section-tight {
    padding: 48px 0;
  }

  .section-hero {
    padding: 48px 0 32px;
  }

  .nav-inner {
    height: auto;
    min-height: 68px;
    gap: 12px;
    padding: 12px 0;
  }

  .nav-cta .btn.ghost {
    display: none;
  }

  .nav-cta .btn.primary {
    display: none;
  }

  .capability-ribbon {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .capability-ribbon::-webkit-scrollbar {
    display: none;
  }

  .capability-flow {
    display: none;
  }

  .hero-proof {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .early-grid,
  .cta-card,
  .subscribe-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .journal-featured-copy,
  .subscribe-card {
    padding: 32px;
  }

  .subscribe-action {
    align-items: flex-start;
  }

  .subscribe-coming-soon {
    text-align: left;
  }

  .journal-photo-paper {
    min-height: 300px;
  }

  .journal-post-section {
    padding-top: 36px;
  }

  .journal-post-photo {
    min-height: 300px;
  }

  .keep-reading-grid {
    grid-template-columns: 1fr;
  }

  .donation-card {
    max-width: none;
  }

  .cta-card {
    padding: 32px;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .footer {
    margin-top: 64px;
  }
}

@media (max-width: 580px) {
  .palette-switcher {
    padding: 0 7px;
  }

  .palette-icon {
    display: none;
  }

  .phone {
    width: min(300px, 100%);
  }

  .phone-screen {
    height: 580px;
  }

  .feature-grid,
  .value-grid,
  .donation-options,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Legal and support pages */
.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 8%, var(--glow-a), transparent 28rem),
    radial-gradient(circle at 92% 22%, var(--glow-b), transparent 30rem),
    var(--paper);
}

.legal-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
}

.legal-nav-inner,
.legal-footer-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.palette-switcher.compact button {
  width: 16px;
  height: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 999px;
  color: transparent;
  font-size: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.palette-switcher.compact button:nth-child(1) { background: #b95131; }
.palette-switcher.compact button:nth-child(2) { background: #176b69; }
.palette-switcher.compact button:nth-child(3) { background: #3f7047; }
.palette-switcher.compact button:nth-child(4) { background: #754563; }

.palette-switcher.compact button.active {
  box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ink);
  transform: scale(0.82);
}

.legal-hero {
  padding: 96px 0 56px;
}

.legal-hero h1 {
  max-width: 820px;
  margin-top: 12px;
}

.legal-hero .lede {
  margin-top: 22px;
}

.legal-updated {
  margin-top: 20px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12px;
}

.legal-content {
  padding: 20px 0 96px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.36fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.legal-summary {
  position: sticky;
  top: 104px;
}

.legal-summary ul {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--ink-2);
  font-size: 14px;
}

.legal-article {
  min-width: 0;
  padding: 8px 0;
}

.legal-article h2 {
  margin: 50px 0 14px;
  font-size: 27px;
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article h3 {
  margin: 25px 0 8px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 800;
}

.legal-article p,
.legal-article li {
  color: var(--ink-2);
  line-height: 1.75;
}

.legal-article ul {
  display: grid;
  gap: 8px;
  padding-left: 24px;
}

.legal-article a,
.support-card a,
.form-status a {
  color: var(--terracotta);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--terracotta) 38%, transparent);
  text-underline-offset: 3px;
}

.legal-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 62%, transparent);
}

.legal-footer-inner {
  color: var(--ink-3);
  font-size: 13px;
}

.legal-footer-inner div {
  display: flex;
  gap: 20px;
}

.support-hero {
  padding-bottom: 40px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  max-width: 1080px;
}

.support-aside {
  display: grid;
  gap: 14px;
}

.support-card {
  padding: 22px;
}

.support-card-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--card);
  color: var(--terracotta);
  font-size: 20px;
}

.support-card h2 {
  margin-bottom: 8px;
  font-size: 19px;
}

.support-card p {
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.6;
}

.support-form {
  display: grid;
  gap: 22px;
  padding: 34px;
  box-shadow: 0 24px 60px rgba(25, 18, 8, 0.09);
}

.support-form h2 {
  margin: 8px 0;
  font-size: 30px;
}

.support-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  outline: none;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.support-form input,
.support-form select {
  height: 50px;
  padding: 0 14px;
}

.support-form textarea {
  min-height: 190px;
  padding: 14px;
  resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px var(--terracotta-soft);
}

.support-form small {
  color: var(--ink-4);
  font-weight: 400;
}

.form-grid.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.support-submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.support-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  color: var(--ink-3);
  font-size: 13px;
}

.form-status.success { color: var(--olive); }
.form-status.error { color: var(--rust); }

@media (max-width: 800px) {
  .legal-layout,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .legal-summary {
    position: static;
  }

  .support-aside {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .legal-nav-actions .btn.ghost,
  .legal-nav-actions .palette-switcher {
    display: none;
  }

  .legal-hero {
    padding: 64px 0 36px;
  }

  .legal-content {
    padding-bottom: 64px;
  }

  .support-aside,
  .form-grid.two-col {
    grid-template-columns: 1fr;
  }

  .support-form {
    padding: 24px;
  }

  .support-submit-row,
  .legal-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-footer-inner {
    padding-top: 22px;
    padding-bottom: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
