:root {
  color-scheme: light;
  --night: #101a1b;
  --night-soft: #1b292a;
  --ink: #172021;
  --muted: #657172;
  --paper: #f3f6f2;
  --surface: #ffffff;
  --line: #d9e0da;
  --accent: #17715f;
  --accent-dark: #105448;
  --accent-soft: #dff1ea;
  --focus: #0b67a3;
  --shadow: 0 24px 70px rgba(22, 45, 42, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 7%, rgba(23, 113, 95, .11), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  background: var(--night);
  color: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 10px;
  color: #dff7ef;
  font-size: 12px;
  letter-spacing: .04em;
}
.manage {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  color: #eef5f2;
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
.manage:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.5); }

main { padding: 72px 0 84px; }
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, .65fr);
  gap: 80px;
  align-items: end;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(45px, 6.5vw, 76px);
  font-weight: 690;
  letter-spacing: -.058em;
  line-height: .98;
}
.lede { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }

.order-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 52px;
}
.order-note { margin: 0; color: var(--muted); font-size: 14px; }
.billing-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 24px rgba(23,32,33,.05);
}
.billing-switch button {
  min-width: 138px;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
}
.billing-switch button[aria-selected="true"] { background: var(--night); color: #fff; box-shadow: 0 7px 16px rgba(16,26,27,.2); }

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.plan {
  position: relative;
  display: flex;
  min-height: 438px;
  padding: 30px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 38px rgba(22,45,42,.055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan:hover { transform: translateY(-3px); border-color: #b8c7be; box-shadow: var(--shadow); }
.plan.popular { border: 2px solid var(--accent); padding: 29px; }
.popular-tag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 14px;
  border-radius: 0 18px 0 13px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.plan-label { margin: 0; color: var(--accent); font-size: 12px; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
.plan h2 { margin: 9px 0 0; font-size: 29px; font-weight: 720; letter-spacing: -.04em; }
.plan-copy { min-height: 45px; margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.price { display: flex; align-items: baseline; gap: 9px; margin: 36px 0 9px; }
.price strong { font-size: 54px; font-weight: 720; letter-spacing: -.06em; line-height: 1; }
.price span { color: var(--muted); font-size: 14px; }
.saving { min-height: 22px; margin: 0; color: var(--accent); font-size: 13px; font-weight: 760; }
.features { display: grid; gap: 12px; margin: 28px 0; padding: 0; color: #4f5b5c; font-size: 14px; line-height: 1.4; list-style: none; }
.features li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; align-items: start; }
.features li::before {
  content: "✓";
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  margin-top: auto;
  padding: 0 19px;
  border: 1px solid var(--night);
  border-radius: 11px;
  color: var(--night);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .16s ease, background .16s ease, color .16s ease;
}
.popular .cta { border-color: var(--accent); background: var(--accent); color: #fff; }
.cta:hover { border-color: var(--night); background: var(--night); color: #fff; }
.cta:active { transform: translateY(1px); }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.64);
}
.trust-item { padding: 21px 24px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-bottom: 4px; font-size: 14px; }
.trust-item span { color: var(--muted); font-size: 13px; }
.assurance { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.assurance p { margin: 0; }
.assurance a { font-weight: 700; text-underline-offset: 3px; }

.billing-switch button:focus-visible, .cta:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }

@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; gap: 22px; }
  .plans { grid-template-columns: 1fr; max-width: 620px; margin-right: auto; margin-left: auto; }
  .plan { min-height: 0; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 540px); }
  .header-inner { min-height: 70px; }
  .manage { padding: 0 12px; }
  main { padding: 48px 0 56px; }
  h1 { font-size: clamp(41px, 13vw, 58px); }
  .order-bar { align-items: stretch; flex-direction: column-reverse; margin-top: 36px; }
  .billing-switch { width: 100%; }
  .billing-switch button { min-width: 0; }
  .plan { padding: 25px; border-radius: 17px; }
  .plan.popular { padding: 24px; }
  .price strong { font-size: 50px; }
  .assurance { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plan, .cta, .manage { transition: none; }
  .plan:hover { transform: none; }
}
