:root {
  --ground: #FFF6EE;
  --ink: #1E1B16;
  --muted: #5E5A52;
  --coral: #D93A2B;
  --pine: #1F4A44;
  --hairline: #EADDCF;
  --card: #FFFDFA;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(30, 27, 22, 0.07);
  --shadow-lg: 0 18px 48px rgba(30, 27, 22, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

p { margin: 0; }

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

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

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

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--coral);
  color: #FFF6EE;
  box-shadow: 0 6px 18px rgba(217, 58, 43, 0.28);
}
.btn-primary:hover { background: #c23225; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}
.btn-ghost:hover { background: #fff; border-color: var(--muted); }
.btn-light {
  background: #FFF6EE;
  color: var(--coral);
}
.btn-light:hover { background: #fff; }
.btn-sm { min-height: 40px; font-size: 15px; padding: 0 18px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 246, 238, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.wordmark .dot { color: var(--coral); }
.wordmark-light { color: #FFF6EE; }
.header-nav {
  display: none;
  gap: 24px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.header-nav a:hover { color: var(--ink); }
.header-inner .btn { margin-left: auto; }
@media (min-width: 760px) {
  .header-nav { display: flex; margin-left: 32px; }
  .header-inner .btn { margin-left: auto; }
}

/* Hero */
.hero { padding: 40px 0 56px; }
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(34px, 7vw, 64px);
  max-width: 12ch;
}
.hl {
  background: linear-gradient(transparent 62%, rgba(217, 58, 43, 0.28) 62%);
  padding: 0 2px;
}
.subhead {
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
  max-width: 42ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.proof-badge {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}
.stars { color: var(--coral); letter-spacing: 1px; }

.hero-visual {
  position: relative;
  display: grid;
  gap: 20px;
}
.hero-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 900px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 48px;
  }
  .hero-visual {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    position: absolute;
    right: -8px;
    bottom: -28px;
    width: 46%;
    border: 5px solid var(--ground);
  }
}

/* App frame */
.app-frame {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px;
}
.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.app-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.seg {
  display: inline-flex;
  background: #F4EADF;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.seg-btn {
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.seg-btn.is-active {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(30, 27, 22, 0.12);
}

.left-to-spend {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 16px;
  background: #FBF1E7;
  border-radius: 12px;
  margin-bottom: 14px;
}
.lts-label { font-size: 14px; color: var(--muted); font-weight: 500; }
.lts-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.2s ease;
}

.frame-people {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #FFF6EE;
}
.av-maya { background: var(--coral); }
.av-jonas { background: var(--pine); margin-left: -10px; border: 2px solid var(--card); }
.frame-people-names { font-size: 13px; color: var(--muted); font-weight: 500; }

.frame-rows { margin: 0; }
.frame-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid var(--hairline);
  font-size: 15px;
}
.frame-row dt { color: var(--ink); font-weight: 500; }
.frame-row dd { margin: 0; font-weight: 600; }
.muted-sm { color: var(--muted); font-weight: 400; font-size: 13px; }
.paid { color: var(--pine); }
.new-row {
  opacity: 0;
  transform: translateY(6px);
  animation: rowIn 0.6s ease 0.5s forwards;
}
@keyframes rowIn {
  to { opacity: 1; transform: translateY(0); }
}

.savings { margin-top: 14px; }
.savings-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.bar-track {
  height: 10px;
  background: #F0E4D6;
  border-radius: 999px;
  overflow: hidden;
}
.bar-track.sm { height: 7px; margin: 4px 0 12px; }
.bar-fill {
  height: 100%;
  width: 0;
  background: var(--coral);
  border-radius: 999px;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.savings .bar-fill { background: var(--pine); }

/* Logo strip */
.logo-strip { padding: 28px 0 36px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.logo-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.logo-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
}
.logo-row li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--muted);
  opacity: 0.75;
}

/* Section headings */
.section-h2 {
  font-size: clamp(28px, 4.4vw, 44px);
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin-top: 10px;
  font-size: 17px;
}

/* Product screen */
.product-screen { padding: 64px 0; }
.big-frame { margin-top: 32px; padding: 24px; }
.big-frame-body {
  display: grid;
  gap: 28px;
}
@media (min-width: 860px) {
  .big-frame-body { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}
.budget-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.budget-table th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 0 0 10px;
}
.budget-table td {
  padding: 11px 0;
  border-top: 1px solid var(--hairline);
}
.budget-table td:not(:first-child),
.budget-table th:not(:first-child) { text-align: right; }
.budget-table td:first-child { font-weight: 500; }

.chart {
  background: #FBF1E7;
  border-radius: 12px;
  padding: 18px;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 170px;
}
.chart-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 8px;
}
.chart-bar {
  width: 100%;
  max-width: 34px;
  height: var(--h);
  background: var(--coral);
  border-radius: 6px 6px 2px 2px;
  opacity: 0.85;
}
.chart-col span { font-size: 12px; color: var(--muted); }
.chart-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  font-weight: 600;
}
.chart-summary .good { color: var(--pine); }

/* Features */
.features { padding: 32px 0 64px; }
.feature {
  display: grid;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--hairline);
  align-items: center;
}
.feature:first-child { border-top: 0; }
@media (min-width: 820px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 56px; padding: 40px 0; }
  .feature:nth-child(even) .feature-copy { order: 2; }
}
.line-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FBF1E7;
  color: var(--coral);
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.line-icon svg { width: 24px; height: 24px; }
.feature h3 {
  font-size: clamp(24px, 3.4vw, 32px);
  margin-bottom: 10px;
}
.feature-copy p { color: var(--muted); font-size: 17px; max-width: 44ch; }

.frag {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  gap: 10px;
}
.frag-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.frag-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -0.03em;
}
.frag-note { font-size: 13px; color: var(--muted); }
.split-row, .pot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  padding: 6px 0;
}
.split-pill {
  background: #FBF1E7;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.split-pill.good { background: #E3EDE9; color: var(--pine); }
.frag-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
}
.alert-dot {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--coral);
}

/* Numbers band */
.numbers-band {
  background: var(--pine);
  color: #FFF6EE;
  padding: 56px 0;
}
.numbers-grid {
  display: grid;
  gap: 36px;
  text-align: center;
}
@media (min-width: 760px) {
  .numbers-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.stat { display: grid; gap: 8px; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 8vw, 68px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label { font-size: 15px; opacity: 0.85; }

/* Use cases */
.use-cases { padding: 64px 0; }
.usecase-grid {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}
@media (min-width: 780px) {
  .usecase-grid { grid-template-columns: repeat(3, 1fr); }
}
.usecase-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.usecase-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.usecase-body { padding: 24px; }
.usecase-body h3 { font-size: 22px; margin-bottom: 8px; }
.usecase-body p { color: var(--muted); font-size: 15px; }
.mini-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}
.mini-list li { position: relative; padding-left: 20px; }
.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

/* Pricing */
.pricing { padding: 64px 0; }
.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 24px auto 36px;
  background: #F4EADF;
  border-radius: 999px;
  padding: 4px;
  width: fit-content;
}
.toggle-btn {
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.toggle-btn.is-active {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(30, 27, 22, 0.12);
}
.save-tag {
  font-size: 12px;
  color: var(--coral);
  font-weight: 700;
  margin-left: 2px;
}
.pricing-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 860px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-card.recommended {
  border: 2px solid var(--coral);
  box-shadow: var(--shadow-lg);
}
.rec-label {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--coral);
  color: #FFF6EE;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.price-card h3 { font-size: 24px; }
.price-for { font-size: 14px; color: var(--muted); min-height: 40px; }
.price { display: flex; align-items: baseline; gap: 4px; }
.price-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.per { font-size: 15px; color: var(--muted); }
.billed { font-size: 13px; color: var(--muted); }
.price-list {
  list-style: none;
  margin: 8px 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.price-list li { position: relative; padding-left: 20px; }
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pine);
}
.price-card .btn { margin-top: auto; }

/* FAQ */
.faq { padding: 64px 0; }
.faq-wrap { max-width: 760px; }
.faq details {
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--hairline); margin-top: 28px; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--coral);
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
}

/* Final CTA */
.final-cta {
  background: var(--coral);
  color: #FFF6EE;
  padding: 64px 0;
}
.final-cta-inner { max-width: 560px; text-align: center; }
.final-cta h2 { font-size: clamp(32px, 5vw, 48px); }
.hl-light {
  background: linear-gradient(transparent 62%, rgba(255, 246, 238, 0.35) 62%);
  padding: 0 2px;
}
.final-sub { margin-top: 12px; font-size: 17px; opacity: 0.92; }
.signup-form {
  margin-top: 28px;
  display: grid;
  gap: 14px;
  text-align: left;
}
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 246, 238, 0.5);
  background: rgba(255, 246, 238, 0.12);
  color: #FFF6EE;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 0 14px;
}
.field input::placeholder { color: rgba(255, 246, 238, 0.6); }
.field input:focus {
  outline: 2px solid #FFF6EE;
  outline-offset: 1px;
}
.field-error {
  font-size: 13px;
  color: #FFF6EE;
  font-weight: 600;
  min-height: 0;
}
.field.invalid input { border-color: #FFF6EE; background: rgba(255, 246, 238, 0.22); }
.form-confirm {
  margin-top: 20px;
  background: rgba(255, 246, 238, 0.16);
  border: 1px solid rgba(255, 246, 238, 0.5);
  border-radius: 12px;
  padding: 16px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--pine);
  color: #FFF6EE;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 780px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 24px; }
}
.footer-brand { display: grid; gap: 12px; justify-items: start; }
.footer-tag { font-size: 14px; opacity: 0.8; max-width: 26ch; }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
  margin: 0 0 4px;
  font-weight: 600;
}
.footer-col a, .footer-text { font-size: 14px; opacity: 0.9; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 246, 238, 0.18);
  font-size: 13px;
  opacity: 0.7;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .new-row { animation: none; opacity: 1; transform: none; }
  .bar-fill { transition: none; }
}