@font-face {
  font-family: "ToolBistro Sans";
  src: url("/fonts/Inter.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "ToolBistro Sans", "Avenir Next", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 4%, var(--glow), transparent 28rem),
    var(--paper);
}

a {
  color: inherit;
}

.app-page {
  --paper: #f4f0e8;
  --surface: #fffdf7;
  --ink: #15201b;
  --muted: #667069;
  --line: rgba(21, 32, 27, 0.14);
  --accent: #e85d3f;
  --accent-ink: #ffffff;
  --glow: rgba(232, 93, 63, 0.15);
}

.subsniper {
  --paper: #0b0d0c;
  --surface: #151816;
  --ink: #f4f7ef;
  --muted: #9ea79e;
  --line: rgba(244, 247, 239, 0.14);
  --accent: #c8ff48;
  --accent-ink: #10130f;
  --glow: rgba(200, 255, 72, 0.12);
  color-scheme: dark;
}

.babylog {
  --paper: #f8f2e9;
  --surface: #fffaf2;
  --ink: #29312c;
  --muted: #6f746f;
  --line: rgba(41, 49, 44, 0.14);
  --accent: #e86f51;
  --accent-ink: #ffffff;
  --glow: rgba(232, 111, 81, 0.17);
}

.snapcard {
  --paper: #eef2ff;
  --surface: #ffffff;
  --ink: #101b43;
  --muted: #5f6885;
  --line: rgba(16, 27, 67, 0.14);
  --accent: #2457f5;
  --accent-ink: #ffffff;
  --glow: rgba(36, 87, 245, 0.16);
}

.liftlog {
  --paper: #11110f;
  --surface: #1c1c18;
  --ink: #f5f1e8;
  --muted: #aaa79e;
  --line: rgba(245, 241, 232, 0.14);
  --accent: #ff6b35;
  --accent-ink: #15110e;
  --glow: rgba(255, 107, 53, 0.15);
  color-scheme: dark;
}

.expensekit {
  --paper: #eaf3ef;
  --surface: #fafffc;
  --ink: #12352d;
  --muted: #58726b;
  --line: rgba(18, 53, 45, 0.14);
  --accent: #0b8f70;
  --accent-ink: #ffffff;
  --glow: rgba(11, 143, 112, 0.16);
}

.wakefold {
  --paper: #fbf8f0;
  --surface: #ffffff;
  --ink: #0d1d3a;
  --muted: #555b65;
  --line: rgba(13, 29, 58, 0.14);
  --accent: #c73331;
  --accent-ink: #ffffff;
  --glow: rgba(79, 187, 171, 0.18);
}

.switchpath {
  --paper: #f7f0df;
  --surface: #fffaf0;
  --ink: #132b3a;
  --muted: #5c6a70;
  --line: rgba(19, 43, 58, 0.15);
  --accent: #d64d3d;
  --accent-ink: #ffffff;
  --glow: rgba(79, 176, 168, 0.19);
}

.mimicloop {
  --paper: #fffbed;
  --surface: #fbf2de;
  --ink: #091020;
  --muted: #5f666d;
  --line: rgba(9, 16, 32, 0.14);
  --accent: #ef5c48;
  --accent-ink: #ffffff;
  --glow: rgba(99, 209, 186, 0.2);
}

.medtally {
  --paper: #faf7ee;
  --surface: #fffef9;
  --ink: #0e1a2b;
  --muted: #5c6675;
  --line: rgba(14, 26, 43, 0.14);
  --accent: #2259c8;
  --accent-ink: #ffffff;
  --glow: rgba(118, 199, 167, 0.2);
}

.archiveproof {
  --paper: #faf7ee;
  --surface: #fffef9;
  --ink: #1b1916;
  --muted: #645e54;
  --line: rgba(27, 25, 22, 0.14);
  --accent: #9a4322;
  --accent-ink: #ffffff;
  --glow: rgba(194, 148, 69, 0.2);
}

.pauseplan {
  --paper: #f7f4ea;
  --surface: #fffdf6;
  --ink: #0c2330;
  --muted: #56686f;
  --line: rgba(12, 35, 48, 0.15);
  --accent: #d95345;
  --accent-ink: #ffffff;
  --glow: rgba(79, 181, 154, 0.2);
}

.examtriage {
  --paper: #f4efe4;
  --surface: #fffaf0;
  --ink: #121821;
  --muted: #5f6268;
  --line: rgba(18, 24, 33, 0.14);
  --accent: #ad2417;
  --accent-ink: #ffffff;
  --glow: rgba(42, 139, 110, 0.2);
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 820;
  text-decoration: none;
}

.app-monogram {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--accent-ink);
  background: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.app-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.app-nav a {
  text-decoration: none;
}

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

.app-shell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: clamp(44px, 8vw, 112px);
  align-items: center;
  min-height: 700px;
  padding: 84px 0 96px;
}

.app-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.app-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.2rem, 7.4vw, 6.8rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
}

.app-hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.app-lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.65;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.app-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 760;
  text-decoration: none;
}

.app-button.primary {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}

.app-button:hover {
  transform: translateY(-1px);
}

.app-proof {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.app-instrument {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.12);
}

.app-instrument::before {
  position: absolute;
  inset: 12px -12px -12px 12px;
  z-index: -1;
  border: 1px solid var(--accent);
  border-radius: 8px;
  content: "";
  opacity: 0.28;
}

.instrument-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.instrument-value {
  margin: 0;
  color: var(--accent);
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 850;
  letter-spacing: -0.07em;
}

.instrument-caption {
  margin: 4px 0 28px;
  color: var(--muted);
}

.instrument-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.instrument-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-weight: 660;
}

.instrument-list span {
  color: var(--muted);
  font-weight: 520;
}

.app-section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 50px;
}

.section-intro h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.3rem, 5.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-intro p,
.feature p {
  color: var(--muted);
  line-height: 1.65;
}

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

.feature {
  padding-top: 22px;
  border-top: 3px solid var(--accent);
}

.feature-index {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.feature h3 {
  margin: 38px 0 8px;
  font-size: 1.3rem;
}

.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  gap: 54px;
  margin: 16px 0 96px;
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.privacy-band h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.privacy-band p {
  color: var(--muted);
  line-height: 1.65;
}

.privacy-points {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-points li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 680;
}

.privacy-points strong {
  margin-right: 10px;
  color: var(--accent);
}

.legal-shell {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 112px;
}

.legal-shell h1 {
  margin: 0 0 36px;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.legal-shell h2 {
  margin-top: 2.2em;
  font-size: 1.32rem;
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
  line-height: 1.72;
}

.legal-shell a {
  color: var(--accent);
}

.legal-callout {
  margin: 30px 0 42px;
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  background: var(--surface);
}

.legal-callout strong {
  color: var(--ink);
}

.app-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 38px 0 52px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.app-footer nav {
  display: flex;
  gap: 20px;
}

.app-footer a {
  text-decoration: none;
}

@media (max-width: 820px) {
  .app-header {
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0;
  }

  .app-nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 0.82rem;
  }

  .app-hero,
  .section-intro,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .app-hero {
    min-height: 0;
    padding: 64px 0 80px;
  }

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

  .app-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .app-header,
  .app-shell,
  .app-footer,
  .legal-shell {
    width: min(100% - 32px, 1160px);
  }

  .app-header {
    display: block;
  }

  .app-nav {
    justify-content: flex-start;
    margin-top: 16px;
  }

  .app-hero h1 {
    font-size: clamp(2.9rem, 15vw, 4.5rem);
  }

  .app-instrument,
  .privacy-band {
    padding: 22px;
  }
}

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

  .app-button:hover {
    transform: none;
  }
}
