@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/fraunces.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/manrope.woff2") format("woff2");
}

:root {
  --bg: #f3eee4;
  --bg-deep: #e7dfd1;
  --paper: #fffcf7;
  --ink: #1a231e;
  --muted: #5a655e;
  --green: #245c43;
  --green-2: #163727;
  --green-soft: #dce8e1;
  --line: #e2d8c8;
  --late: #9a3b1c;
  --due: #8a5a12;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 18px 50px rgba(26, 35, 30, 0.1);
  --radius: 1.25rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(36, 92, 67, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 8%, rgba(154, 59, 28, 0.07), transparent 50%),
    var(--bg);
  color-scheme: light;
}

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

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

header {
  padding: 1.25rem 0 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img,
.brand svg {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero {
  display: grid;
  gap: 2.75rem;
  padding: 2rem 0 3.25rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(2.15rem, 7.2vw, 3.55rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.range {
  margin: -0.25rem 0 0.9rem;
  color: var(--green);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.subhead {
  margin: 0 0 1.6rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.55;
}

.soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.7rem 1.05rem 0.7rem 0.85rem;
  border-radius: 999px;
  background: var(--green-2);
  color: #f6f1e8;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px rgba(22, 55, 39, 0.22);
}

.soon-pill svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.device {
  position: relative;
  width: min(100%, 21rem);
  margin: 0 auto;
  padding: 0.85rem 0.7rem 0.65rem;
  border-radius: 1.85rem;
  background: #1a231e;
  box-shadow: var(--shadow), 0 0 0 1px rgba(26, 35, 30, 0.15);
}

.device-bar {
  width: 3.1rem;
  height: 0.35rem;
  margin: 0 auto 0.55rem;
  border-radius: 999px;
  background: #3a4640;
}

.device-home {
  width: 4.25rem;
  height: 0.32rem;
  margin: 0.55rem auto 0.1rem;
  border-radius: 999px;
  background: #3a4640;
}

.device-screen {
  overflow: hidden;
  border-radius: 1.3rem;
  background: var(--paper);
  padding: 1.15rem 1.1rem 1.2rem;
}

.ledger-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.ledger-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.ledger-head p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.tally {
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
}

.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.row:last-child {
  border-bottom: 0;
  padding-bottom: 0.15rem;
}

.row .addr {
  font-weight: 650;
  font-size: 0.92rem;
}

.row .meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.row-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.28rem;
}

.row .amt {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: right;
}

.status {
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.status.paid {
  background: var(--green-soft);
  color: var(--green);
}

.status.due {
  background: #f3e5c6;
  color: var(--due);
}

.status.late {
  background: #f3d8cf;
  color: var(--late);
}

.features {
  padding: 0 0 3.5rem;
}

.features-kicker {
  margin: 0 0 1.25rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.feature-grid {
  display: grid;
  gap: 0.9rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.25rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.icon {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  border-radius: 0.75rem;
  background: var(--green-soft);
  color: var(--green-2);
}

.icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

footer {
  border-top: 1px solid var(--line);
  padding: 1.35rem 0 2rem;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}


.pricing {
  padding: 0 0 3.5rem;
}

.pricing-lead,
.pricing-note {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.pricing-lead {
  font-size: 1.08rem;
  margin-bottom: 0.3rem;
}

.pricing-note {
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.pricing-grid {
  display: grid;
  gap: 0.9rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.price-card h3 {
  margin-bottom: 0.75rem;
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.15rem 0.4rem;
  margin: 0;
}

.price .amount {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 2.2rem;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price .amount.custom {
  font-size: 1.85rem;
}

.price .period {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.units {
  margin: 0.55rem 0 0;
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 700;
}

.yearly {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.1rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--green-2);
  color: #f6f1e8;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  min-height: 2.75rem;
  box-shadow: 0 8px 24px rgba(22, 55, 39, 0.18);
}

.contact-btn:hover,
.contact-btn:focus-visible {
  background: var(--green);
}

.contact-btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

@media (min-width: 800px) {
  header {
    padding-top: 1.6rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    gap: 3.5rem;
    padding: 3rem 0 4.25rem;
  }

  .subhead {
    font-size: 1.15rem;
  }

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

  .card {
    padding: 1.4rem 1.35rem 1.45rem;
  }

  .pricing-lead {
    font-size: 1.15rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.05rem;
  }

  .price-card.enterprise {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    padding-top: 1.3rem;
    padding-bottom: 1.3rem;
  }

  .enterprise-copy {
    min-width: 0;
  }

  .price-card.enterprise .contact-btn {
    margin-top: 0;
    flex-shrink: 0;
  }

  footer {
    padding-bottom: 2.5rem;
  }
}

@media (min-width: 1120px) {
  .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .price .amount {
    font-size: 2.25rem;
  }

  .price-card.enterprise {
    padding: 1.45rem 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
