:root {
  --paper: #f3efe6;
  --paper-deep: #e7e1d4;
  --card: #fffdf8;
  --ink: #1c1915;
  --muted: #5e584f;
  --line: #ddd4c4;
  --copper: #9e3412;
  --copper-soft: #f3e2d8;
  --focus: #9e3412;
  --shadow: 0 18px 40px rgba(28, 25, 21, 0.06);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(158, 52, 18, 0.08), transparent 60%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.5;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 10;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(243, 239, 230, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  height: 84px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  padding: 4.5rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 3rem;
  align-items: end;
}

.eyebrow,
.hero-kicker {
  margin: 0 0 0.75rem;
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.1rem);
  line-height: 0.95;
}

.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-panel {
  background: var(--ink);
  color: #f6f1e7;
  padding: 1.5rem 1.4rem 1.3rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-panel .hero-kicker {
  color: #e7b5a2;
}

.hero-price {
  margin: 0;
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.hero-caption,
.hero-points {
  color: #d9d0c3;
}

.hero-caption {
  margin: 0.4rem 0 1rem;
}

.hero-points {
  margin: 0;
  padding-left: 1.1rem;
}

.hero-points li + li {
  margin-top: 0.35rem;
}

.plans,
.compare {
  padding: 2.5rem 0 1rem;
  scroll-margin-top: 5rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.billing {
  display: inline-flex;
  padding: 0.25rem;
  background: var(--paper-deep);
  border-radius: 999px;
  gap: 0.2rem;
}

.billing button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
}

.billing button[aria-pressed="true"] {
  background: var(--card);
  box-shadow: 0 1px 0 rgba(28, 25, 21, 0.06);
}

.billing-hint {
  display: block;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.plan-plus {
  background: var(--ink);
  color: #f6f1e7;
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.plan-top h3 {
  margin: 0;
  font-size: 2.2rem;
  font-style: italic;
}

.plan-top p {
  margin: 0.45rem 0 0;
  min-height: 4.6rem;
  color: var(--muted);
}

.plan-plus .plan-top p,
.plan-plus .price-period,
.plan-plus .price-note {
  color: #d9d0c3;
}

.price {
  margin: 0.2rem 0 1rem;
  min-height: 6.4rem;
}

.price-amount {
  margin: 0;
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price-period,
.price-note {
  margin: 0.2rem 0 0;
}

.price-period {
  color: var(--muted);
}

.price-note {
  color: var(--copper);
  font-size: 0.92rem;
  min-height: 1.4rem;
}

.plan-plus .price-note {
  color: #e7b5a2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--copper);
  color: #fffaf6;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font-weight: 600;
  border: 1px solid var(--copper);
}

.btn:hover {
  background: #82290d;
  border-color: #82290d;
}

.plan-plus .btn {
  background: #f6f1e7;
  color: var(--ink);
  border-color: #f6f1e7;
}

.plan-plus .btn:hover {
  background: #fff;
  border-color: #fff;
}

.btn-block {
  width: 100%;
}

.limits {
  margin: 1.15rem 0 0;
}

.limits div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.plan-plus .limits div {
  border-top-color: rgba(246, 241, 231, 0.16);
}

.limits dt {
  color: var(--muted);
  font-weight: 400;
}

.plan-plus .limits dt {
  color: #d9d0c3;
}

.limits dd {
  margin: 0;
  font-weight: 600;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

thead th {
  font-size: 0.95rem;
  font-weight: 600;
}

tbody th {
  font-weight: 500;
  color: var(--muted);
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero-grid,
  .plan-grid,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section-head {
    align-items: start;
  }

  .plan-top p,
  .price {
    min-height: 0;
  }

  .nav {
    gap: 0.8rem;
  }
}

@media (max-width: 640px) {
  .logo img {
    height: 64px;
  }

  .header-inner {
    align-items: center;
    padding: 0.8rem 0;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem 0.8rem;
    font-size: 0.92rem;
  }

  h1 {
    font-size: 2.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
