:root {
  color-scheme: light;
  --paper: #fbf4ea;
  --surface: #fffdf8;
  --ink: #211a17;
  --muted: #6f635b;
  --subtle: #9a8d82;
  --line: rgba(33, 26, 23, 0.12);
  --radish: #d81e5b;
  --radish-deep: #a8123f;
  --leaf: #2f8f5b;
  --night: #14110f;
  --amber: #b45309;
  --shadow: 0 24px 70px rgba(33, 26, 23, 0.14);
  --radius: 16px;
  --max: 1120px;
  --display: "Avenir Next", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Avenir Next", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--radish-deep);
  outline-offset: 4px;
  border-radius: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 244, 234, 0.84);
  border-bottom: 1px solid rgba(33, 26, 23, 0.08);
  backdrop-filter: blur(14px) saturate(160%);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 800 21px/1 var(--display);
  letter-spacing: 0;
}

.brand-mark {
  width: 30px;
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

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

.nav-links a.button-primary,
.nav-links a.button-primary:hover {
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

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

.button-primary {
  background: var(--radish);
  color: white;
  box-shadow: 0 14px 28px rgba(216, 30, 91, 0.18);
}

.button-primary:hover {
  background: var(--radish-deep);
}

.button-secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.74);
}

.section {
  padding: clamp(64px, 9vw, 112px) 22px;
}

.section-tight {
  padding: clamp(44px, 7vw, 78px) 22px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  padding: clamp(28px, 4vw, 50px) 22px clamp(42px, 5vw, 58px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(38px, 6vw, 76px);
  align-items: center;
}

.kicker {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--leaf);
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: 0;
  color: var(--ink);
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1;
  font-weight: 720;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  font-weight: 720;
}

h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 720;
}

.lead {
  max-width: 52ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.compat-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.hero-device {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.phone-screenshot {
  width: min(100%, 322px);
  height: auto;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.receipt-slip {
  position: absolute;
  left: 0;
  bottom: 54px;
  width: 214px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid rgba(33, 26, 23, 0.1);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(33, 26, 23, 0.16);
  transform: rotate(-3deg);
}

.receipt-brand {
  color: var(--ink);
  font: 800 11px/1.2 var(--mono);
  letter-spacing: 0;
}

.receipt-line,
.receipt-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.receipt-line b {
  color: var(--ink);
}

.receipt-total {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px dashed rgba(33, 26, 23, 0.2);
}

.receipt-total strong {
  color: var(--radish);
}

.trust-strip {
  background: var(--night);
  color: var(--paper);
  padding: 30px 22px;
}

.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
  align-items: center;
  text-align: center;
}

.trust-strip p {
  max-width: 780px;
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.48;
  font-weight: 650;
}

.trust-strip a {
  color: #6ee19b;
  font-weight: 800;
  text-decoration: none;
}

.center {
  text-align: center;
}

.center .lead {
  margin-left: auto;
  margin-right: auto;
}

.steps {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.step {
  background: rgba(255, 253, 248, 0.64);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.step-visual {
  min-height: 214px;
  border-radius: 14px;
  border: 1px solid rgba(33, 26, 23, 0.08);
  background: #fffaf2;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.capture-visual {
  background:
    linear-gradient(90deg, rgba(47, 143, 91, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(47, 143, 91, 0.08) 1px, transparent 1px),
    #fffaf2;
  background-size: 24px 24px;
}

.scan-frame {
  position: absolute;
  inset: 28px;
  border: 2px solid rgba(47, 143, 91, 0.68);
  border-radius: 18px;
}

.scan-frame span {
  position: absolute;
  left: 18px;
  right: 18px;
  height: 2px;
  background: rgba(216, 30, 91, 0.72);
}

.scan-frame span:first-child {
  top: 44%;
}

.scan-frame span:last-child {
  top: 56%;
}

.mini-receipt {
  width: 156px;
  padding: 15px;
  background: var(--surface);
  border: 1px solid rgba(33, 26, 23, 0.12);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(33, 26, 23, 0.12);
  transform: rotate(-3deg);
}

.mini-receipt b,
.mini-receipt span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.65;
}

.mini-receipt b {
  color: var(--ink);
}

.mini-receipt span {
  color: var(--muted);
}

.review-visual {
  background: linear-gradient(180deg, #fffdf8, #f8efe3);
}

.review-sheet {
  width: min(86%, 250px);
  padding: 18px;
  background: var(--surface);
  border: 1px solid rgba(33, 26, 23, 0.1);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(33, 26, 23, 0.1);
}

.review-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(33, 26, 23, 0.08);
  font-size: 14px;
}

.review-row span {
  color: var(--ink);
  font-weight: 700;
}

.review-row b {
  color: var(--muted);
}

.review-save {
  margin-top: 14px;
  min-height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--radish);
  font-size: 13px;
  font-weight: 800;
}

.decide-visual {
  background: linear-gradient(180deg, #fffaf2, #fbf4ea);
}

.decision-card {
  width: min(86%, 260px);
  padding: 18px;
  background: var(--surface);
  border: 1px solid rgba(33, 26, 23, 0.1);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(33, 26, 23, 0.1);
}

.decision-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-weight: 800;
}

.decision-bar {
  display: grid;
  grid-template-columns: 68% 32%;
  height: 13px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(33, 26, 23, 0.08);
}

.decision-bar span {
  background: var(--leaf);
}

.decision-bar strong {
  background: var(--radish);
}

.pill-row {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.pill-row span,
.pill-row b {
  min-height: 34px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 12px;
}

.pill-row span {
  color: var(--leaf);
  background: rgba(47, 143, 91, 0.12);
}

.pill-row b {
  color: #fff;
  background: var(--radish);
}

.step-number {
  margin-top: 18px;
  color: var(--radish);
  font: 800 12px/1 var(--mono);
  letter-spacing: 0;
}

.step h3 {
  margin-top: 8px;
}

.step p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.52;
}

.feature-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-row {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 13px;
  align-items: start;
}

.dot {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--radish);
}

.dot.green {
  background: var(--leaf);
}

.feature-row p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.household-visual {
  min-height: 520px;
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
}

.household-card {
  position: absolute;
  left: 4px;
  top: 54px;
  width: 260px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid rgba(33, 26, 23, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(33, 26, 23, 0.12);
  z-index: 2;
}

.household-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.household-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font: 800 44px/1 var(--display);
}

.household-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.household-split div {
  padding: 10px;
  border-radius: 12px;
  background: #f7efe4;
}

.household-split b,
.household-split small {
  display: block;
}

.household-split b {
  color: var(--ink);
  font-size: 15px;
}

.household-split small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.mini-phone {
  width: 280px;
  min-height: 468px;
  padding: 18px;
  background: var(--surface);
  border: 10px solid var(--night);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.category-phone {
  justify-self: end;
}

.mini-phone-top {
  width: 82px;
  height: 18px;
  margin: -8px auto 20px;
  border-radius: 0 0 13px 13px;
  background: var(--night);
}

.mini-phone h4 {
  margin: 0;
  font: 800 22px/1.1 var(--display);
}

.category-total {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.mini-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(33, 26, 23, 0.1);
  font-size: 13px;
}

.mini-line span {
  color: var(--ink);
  font-weight: 700;
}

.mini-line b {
  color: var(--ink);
}

.mini-tags {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.mini-tags span,
.mini-tags b {
  padding: 6px 8px;
  border-radius: 7px;
  font-size: 10px;
  line-height: 1;
}

.mini-tags span {
  color: var(--leaf);
  background: rgba(47, 143, 91, 0.12);
}

.mini-tags b {
  color: #fff;
  background: var(--radish);
}

.pricing {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 38px);
  box-shadow: 0 18px 58px rgba(33, 26, 23, 0.08);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.price {
  font-family: var(--display);
  font-size: clamp(46px, 7vw, 72px);
  font-weight: 900;
  letter-spacing: 0;
}

.price small {
  color: var(--muted);
  font-size: 19px;
  letter-spacing: 0;
}

.pricing ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 36px auto 0;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.72);
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  background: var(--night);
  color: var(--paper);
  padding: 44px 22px 30px;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr repeat(3, auto);
  gap: 32px;
  align-items: start;
}

.site-footer a {
  color: rgba(251, 244, 234, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-title {
  margin-bottom: 12px;
  color: rgba(251, 244, 234, 0.46);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.copyright {
  max-width: var(--max);
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(251, 244, 234, 0.12);
  color: rgba(251, 244, 234, 0.52);
  font-size: 13px;
}

.legal-hero {
  padding: 58px 22px 38px;
}

.legal-shell {
  max-width: 820px;
  margin: 0 auto;
}

.legal-card {
  margin-bottom: 22px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.legal-card h2 {
  margin-bottom: 14px;
  font-size: clamp(25px, 3vw, 34px);
}

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

.legal-card ul,
.legal-card ol {
  padding-left: 22px;
}

.small {
  color: var(--subtle);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .hero-grid,
  .feature-grid,
  .pricing,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-device {
    max-width: 430px;
    min-height: 520px;
    margin: 0 auto;
  }

  .receipt-slip {
    left: 14px;
    bottom: 42px;
    transform: rotate(-2deg);
  }

  .category-phone {
    justify-self: center;
  }

  .household-card {
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
  }

  .household-visual {
    min-height: 620px;
  }

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

  .nav-links {
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .nav {
    padding-inline: 16px;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-device {
    min-height: 500px;
  }

  .phone-screenshot {
    width: min(100%, 318px);
  }

  .receipt-slip {
    display: none;
  }

  .household-visual {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .household-card {
    position: static;
    width: 100%;
    transform: none;
  }

  .mini-phone {
    width: min(100%, 286px);
  }

  .section,
  .section-tight {
    padding-inline: 16px;
  }
}

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

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