@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #f4f1ea;
  --paper-bright: #fffdf8;
  --paper-soft: #ebe6dc;
  --paper-deep: #ded7c9;
  --ink: #14181c;
  --ink-soft: #4a535c;
  --ink-faint: #6e7982;
  --rule: #d7cfc1;
  --signal: #de5a15;
  --signal-dark: #a9410d;
  --signal-wash: #fbe7da;
  --blue: #3564e8;
  --blue-wash: #e2e9ff;
  --green: #0e9268;
  --green-wash: #d9f2e8;
  --mulberry: #b03a63;
  --mulberry-wash: #f9e3eb;
  --iris: #5850c4;
  --iris-wash: #e6e4fa;
  --moss: #5f7a2e;
  --moss-wash: #e8f0d9;
  --ochre: #a87813;
  --ochre-wash: #f7ebd2;
  --rose: #c0304a;
  --shadow: 0 24px 70px rgba(20, 24, 28, 0.12);
  --shadow-small: 0 12px 34px rgba(20, 24, 28, 0.08);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --content: 1180px;
  --readable: 760px;
  --header-height: 82px;
}

[data-theme="dark"] {
  --paper: #0e1113;
  --paper-bright: #171b1f;
  --paper-soft: #232a2f;
  --paper-deep: #303840;
  --ink: #f2efe9;
  --ink-soft: #b9c0c7;
  --ink-faint: #8a939b;
  --rule: #353e45;
  --signal: #ff9b62;
  --signal-dark: #ffc2a0;
  --signal-wash: #4a1d05;
  --blue: #8ba8ff;
  --blue-wash: #182857;
  --green: #5fd3aa;
  --green-wash: #04321f;
  --mulberry: #f08caf;
  --mulberry-wash: #451020;
  --iris: #a9a3f5;
  --iris-wash: #211d57;
  --moss: #afc97a;
  --moss-wash: #22300e;
  --ochre: #e0b457;
  --ochre-wash: #3b2905;
  --rose: #f59aa9;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --shadow-small: 0 12px 34px rgba(0, 0, 0, 0.24);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.55;
  background-image: radial-gradient(rgba(20, 24, 28, 0.055) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
}

[data-theme="dark"] body::before {
  opacity: 0.2;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.7px);
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper-bright);
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.readable {
  width: min(100%, var(--readable));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--rule);
  box-shadow: 0 8px 30px rgba(20, 24, 28, 0.06);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper-bright);
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  line-height: 1;
  box-shadow: 4px 4px 0 var(--signal);
}

.brand-word {
  font-size: 0.94rem;
  letter-spacing: 0.08em;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--paper-soft);
  color: var(--ink);
}

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

.icon-button,
.menu-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: 13px;
  display: inline-grid;
  place-items: center;
  background: var(--paper-bright);
  color: var(--ink);
  cursor: pointer;
}

.icon-button:hover,
.menu-button:hover {
  border-color: var(--ink-faint);
}

.theme-icon {
  font-size: 1.12rem;
  line-height: 1;
}

.menu-button {
  display: none;
  padding: 0;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  width: 18px;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }

.menu-button[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-button[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

.eyebrow {
  margin: 0 0 14px;
  color: var(--signal-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7.7vw, 6.6rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
}

h3 {
  margin-bottom: 9px;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 700px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 138px) 0 clamp(76px, 10vw, 126px);
}

.hero::after {
  position: absolute;
  top: 6%;
  right: -14%;
  width: min(48vw, 620px);
  aspect-ratio: 1;
  border: 1px solid var(--rule);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 54px color-mix(in srgb, var(--paper-soft) 70%, transparent), 0 0 0 108px color-mix(in srgb, var(--paper-deep) 35%, transparent);
  opacity: 0.7;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(350px, 0.86fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
}

.hero h1 .accent,
.page-hero h1 .accent {
  color: var(--signal);
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper-bright);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--signal);
}

.button.secondary {
  border-color: var(--rule);
  background: var(--paper-bright);
  color: var(--ink);
}

.button.small {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.arrow {
  font-size: 1.2em;
  line-height: 1;
}

.proof-line {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  color: var(--ink-faint);
  font-size: 0.88rem;
  font-weight: 600;
}

.proof-line span::before {
  margin-right: 7px;
  color: var(--green);
  content: "✓";
}

.ledger-card {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper-bright);
  box-shadow: var(--shadow);
}

.hero-ledger {
  transform: rotate(2deg);
  padding: 12px;
}

.hero-ledger::before {
  position: absolute;
  inset: 12px;
  z-index: -1;
  border-radius: var(--radius);
  background: var(--blue);
  content: "";
  transform: rotate(-5deg) translate(-17px, 17px);
}

.hero-ledger-inner {
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 24px;
  background: var(--paper-bright);
}

.ledger-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--rule);
}

.ledger-date {
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ledger-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px var(--signal-wash);
}

.ledger-body {
  padding: 30px 28px 26px;
}

.story-emoji {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  background: var(--signal-wash);
  font-size: 1.7rem;
}

.ledger-body h2 {
  margin-bottom: 12px;
  font-size: 2.1rem;
}

.ledger-body p {
  color: var(--ink-soft);
}

.sum-row {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sum-chip {
  min-width: 80px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper-soft);
  text-align: center;
  font-weight: 800;
}

.sum-operator {
  font-weight: 800;
}

.ledger-rule {
  height: 1px;
  margin: 24px 0 18px;
  background: repeating-linear-gradient(90deg, var(--rule), var(--rule) 7px, transparent 7px, transparent 13px);
}

.mini-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-faint);
  font-size: 0.8rem;
  font-weight: 700;
}

.mini-bar {
  height: 7px;
  flex: 1;
  overflow: hidden;
  border-radius: 99px;
  background: var(--paper-soft);
}

.mini-bar::after {
  width: 64%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--green);
  content: "";
}

.trust-strip {
  border-block: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper-bright) 55%, transparent);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 128px;
  padding: 28px 26px;
  border-right: 1px solid var(--rule);
}

.trust-item:first-child { border-left: 1px solid var(--rule); }
.trust-number {
  display: block;
  margin-bottom: 7px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.trust-label {
  color: var(--ink-faint);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: clamp(78px, 10vw, 130px) 0;
}

.section.compact {
  padding: clamp(60px, 8vw, 94px) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.feature-card {
  min-height: 270px;
  padding: 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper-bright) 62%, transparent);
}

.feature-card:nth-child(2n) {
  background: color-mix(in srgb, var(--paper-soft) 66%, transparent);
}

.feature-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 38px;
  border-radius: 15px;
  background: var(--signal-wash);
  color: var(--signal-dark);
  font-size: 1.25rem;
  font-weight: 800;
}

.feature-card:nth-child(2) .feature-icon { background: var(--green-wash); color: var(--green); }
.feature-card:nth-child(3) .feature-icon { background: var(--blue-wash); color: var(--blue); }
.feature-card:nth-child(4) .feature-icon { background: var(--mulberry-wash); color: var(--mulberry); }
.feature-card:nth-child(5) .feature-icon { background: var(--iris-wash); color: var(--iris); }
.feature-card:nth-child(6) .feature-icon { background: var(--ochre-wash); color: var(--ochre); }

.statement-panel {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper-bright);
}

.statement-inner {
  padding: clamp(38px, 6vw, 76px);
}

.statement-panel h2 {
  max-width: 870px;
  margin-bottom: 24px;
  font-size: clamp(2.3rem, 5vw, 5rem);
}

.statement-panel .lead {
  color: color-mix(in srgb, var(--paper-bright) 70%, transparent);
}

.statement-panel .eyebrow {
  color: var(--signal);
}

.statement-panel .button {
  border-color: var(--paper-bright);
  background: var(--paper-bright);
  color: var(--ink);
}

.statement-panel .button.secondary {
  border-color: color-mix(in srgb, var(--paper-bright) 35%, transparent);
  background: transparent;
  color: var(--paper-bright);
}

.category-marquee {
  overflow: hidden;
  border-block: 1px solid color-mix(in srgb, var(--paper-bright) 20%, transparent);
}

.category-track {
  width: max-content;
  display: flex;
  gap: 10px;
  padding: 18px 0;
  animation: drift 35s linear infinite;
}

.category-track span {
  padding: 8px 13px;
  border: 1px solid color-mix(in srgb, var(--paper-bright) 22%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--paper-bright) 82%, transparent);
  font-size: 0.82rem;
  font-weight: 700;
}

@keyframes drift {
  to { transform: translateX(-50%); }
}

.app-showcase {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--blue);
}

.app-showcase::before,
.app-showcase::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.app-showcase::before {
  width: 390px;
  height: 390px;
  top: -150px;
  left: -110px;
}

.app-showcase::after {
  width: 270px;
  height: 270px;
  right: -60px;
  bottom: -80px;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(74%, 330px);
  padding: 12px;
  border: 2px solid #090b0d;
  border-radius: 44px;
  background: #090b0d;
  box-shadow: 0 30px 70px rgba(2, 9, 30, 0.34);
  transform: rotate(-3deg);
}

.phone-screen {
  min-height: 520px;
  padding: 28px 20px 22px;
  border-radius: 33px;
  background: #f4f1ea;
  color: #14181c;
}

.phone-notch {
  width: 72px;
  height: 7px;
  margin: -13px auto 27px;
  border-radius: 999px;
  background: #090b0d;
}

.phone-overline {
  margin-bottom: 8px;
  color: #ae440e;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.phone-screen h3 {
  margin-bottom: 8px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.8rem;
}

.phone-screen > p {
  color: #4a535c;
  font-size: 0.86rem;
}

.phone-receipt {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #ded7c9;
  border-radius: 18px;
  background: white;
}

.phone-receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #ebe6dc;
  font-size: 0.82rem;
}

.phone-receipt-row.total {
  border-bottom: 0;
  font-weight: 800;
}

.phone-answer {
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #14181c;
  color: white;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.activity-list {
  list-style: none;
  margin: 30px 0;
  padding: 0;
}

.activity-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--rule);
}

.activity-list li:last-child { border-bottom: 1px solid var(--rule); }

.activity-number {
  color: var(--signal-dark);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
}

.activity-list strong {
  display: block;
  margin-bottom: 3px;
}

.activity-list span:not(.activity-number) {
  color: var(--ink-soft);
}

.page-hero {
  padding: clamp(70px, 10vw, 132px) 0 clamp(62px, 9vw, 108px);
  border-bottom: 1px solid var(--rule);
}

.page-hero h1 {
  max-width: 980px;
  margin-bottom: 26px;
  font-size: clamp(3.1rem, 8vw, 7rem);
}

.page-hero .lead {
  max-width: 780px;
  margin-bottom: 0;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: end;
}

.page-aside {
  padding: 24px;
  border-left: 4px solid var(--signal);
  background: var(--paper-bright);
  color: var(--ink-soft);
}

.page-aside strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--rule);
}

.fact {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
}

.fact:first-child { border-left: 1px solid var(--rule); }
.fact-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fact-value {
  font-weight: 700;
}

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

.value-card {
  padding: 30px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-bright);
}

.value-card .number {
  display: block;
  margin-bottom: 46px;
  color: var(--signal);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.value-card p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.app-hero-icon {
  max-width: 430px;
  margin-left: auto;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.category-card {
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--paper-bright);
}

.category-card .emoji {
  display: block;
  margin-bottom: 30px;
  font-size: 1.7rem;
}

.category-card p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.84rem;
}

.demo-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper-bright);
  box-shadow: var(--shadow-small);
}

.demo-copy {
  padding: clamp(32px, 5vw, 62px);
  background: var(--ink);
  color: var(--paper-bright);
}

.demo-copy .eyebrow { color: var(--signal); }
.demo-copy h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.demo-copy p { color: color-mix(in srgb, var(--paper-bright) 70%, transparent); }

.math-demo {
  padding: clamp(32px, 5vw, 62px);
}

.demo-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 30px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--signal-wash);
  color: var(--signal-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-count {
  color: var(--ink-faint);
  font-size: 0.82rem;
  font-weight: 700;
}

.math-demo h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
}

.answer-row {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}

.answer-row label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.answer-input {
  min-width: 0;
  flex: 1;
  padding: 13px 15px;
  border: 1px solid var(--rule);
  border-radius: 13px;
  background: var(--paper);
  color: var(--ink);
}

.answer-input[aria-invalid="true"] { border-color: var(--rose); }
.demo-feedback {
  min-height: 28px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.demo-feedback.success { color: var(--green); font-weight: 700; }
.demo-feedback.error { color: var(--rose); font-weight: 700; }
.demo-explanation {
  margin-top: 16px;
  padding: 16px;
  border-left: 3px solid var(--green);
  background: var(--green-wash);
  color: var(--ink);
  font-size: 0.9rem;
}

.support-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: start;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-bright);
}

.contact-card + .contact-card { margin-top: 14px; }

.contact-card p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.contact-card a { color: var(--signal-dark); font-weight: 700; }

.faq-list {
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font-weight: 700;
}

.faq-question::after {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-soft);
  content: "+";
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 42px 24px 4px;
  color: var(--ink-soft);
}

.faq-answer p:last-child { margin-bottom: 0; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 0.84rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper-bright);
  color: var(--ink);
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field-hint {
  color: var(--ink-faint);
  font-size: 0.76rem;
}

.form-note {
  margin: 18px 0;
  color: var(--ink-faint);
  font-size: 0.82rem;
}

.form-status {
  min-height: 26px;
  margin: 12px 0 0;
  color: var(--green);
  font-weight: 700;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, var(--readable));
  gap: clamp(40px, 8vw, 90px);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.legal-nav strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-nav a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.88rem;
}

.legal-nav a:hover { color: var(--signal-dark); }

.legal-content {
  min-width: 0;
}

.legal-content h2 {
  margin: 54px 0 16px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

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

.legal-content h3 {
  margin: 28px 0 10px;
  font-size: 1rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content li + li { margin-top: 8px; }

.legal-note {
  margin: 34px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--signal);
  background: var(--signal-wash);
  color: var(--ink);
}

.legal-note p:last-child { margin: 0; color: inherit; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  color: var(--ink-faint);
  font-size: 0.84rem;
}

.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper-bright) 52%, transparent);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 40px;
  padding: 64px 0 48px;
}

.footer-brand p {
  max-width: 370px;
  margin: 20px 0 0;
  color: var(--ink-soft);
}

.footer-column strong {
  display: block;
  margin-bottom: 14px;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-column a:hover { color: var(--signal-dark); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--rule);
  color: var(--ink-faint);
  font-size: 0.78rem;
}

.not-found {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-items: center;
  padding: 70px 0;
  text-align: center;
}

.not-found .code {
  margin-bottom: 14px;
  color: var(--signal);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(5rem, 15vw, 11rem);
  font-weight: 700;
  line-height: 0.8;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    display: none;
    padding: 12px;
    border: 1px solid var(--rule);
    border-radius: 16px;
    background: var(--paper-bright);
    box-shadow: var(--shadow-small);
  }

  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 12px; }
  .menu-button { display: inline-grid; }
  .nav-actions { margin-left: auto; }
  .hero-grid,
  .page-hero-grid,
  .split,
  .demo-shell,
  .support-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid { gap: 72px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(100%, 520px); margin-inline: auto; }
  .hero::after { right: -32%; width: 80vw; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 1px solid var(--rule); }
  .trust-item:nth-child(-n + 2) { border-bottom: 1px solid var(--rule); }
  .app-showcase { min-height: 650px; }
  .page-aside { max-width: 620px; }
  .app-hero-icon { margin: 0; max-width: 360px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 45px; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { --header-height: 72px; }
  .container { width: min(calc(100% - 30px), var(--content)); }
  .nav-shell { gap: 12px; }
  .brand-word { display: none; }
  .hero { padding-top: 62px; }
  h1 { font-size: clamp(2.85rem, 16vw, 4.7rem); }
  .hero-ledger { transform: none; }
  .hero-ledger::before { transform: rotate(-3deg) translate(-8px, 13px); }
  .ledger-body { padding: 25px 21px 22px; }
  .sum-row { flex-wrap: wrap; }
  .trust-grid,
  .feature-grid,
  .values-grid,
  .company-facts,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:first-child,
  .trust-item:nth-child(3),
  .fact,
  .fact:first-child {
    border-left: 0;
    border-right: 0;
  }

  .trust-item:not(:last-child),
  .fact:not(:last-child) { border-bottom: 1px solid var(--rule); }
  .feature-card { min-height: 220px; }
  .feature-icon { margin-bottom: 26px; }
  .section-heading { margin-bottom: 34px; }
  .app-showcase { min-height: 570px; }
  .phone { width: min(82%, 315px); }
  .phone-screen { min-height: 480px; }
  .page-hero { padding-top: 62px; }
  .category-grid { grid-template-columns: 1fr; }
  .answer-row { flex-direction: column; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .legal-nav a { display: inline-block; margin-right: 16px; }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header,
  .site-footer,
  .legal-nav,
  .button,
  .skip-link { display: none !important; }
  body { background: white; color: black; }
  .page-hero { padding: 30px 0; }
  .section { padding: 30px 0; }
  .legal-layout { display: block; }
  .legal-content p,
  .legal-content li { color: #222; }
}
