:root {
  --ink: #18211d;
  --muted: #66716b;
  --line: #dce3df;
  --paper: #f7f8f3;
  --panel: #ffffff;
  --green: #0f6d4e;
  --green-dark: #0a4735;
  --lime: #d8f36a;
  --blue: #244cba;
}

* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
a { color: inherit; }
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 243, .92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}
.brand {
  text-decoration: none;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  width: min(230px, 48vw);
}
.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}
nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
nav a { text-decoration: none; color: var(--muted); font-weight: 700; }
nav .site-edit-block,
.button .site-edit-block,
summary .site-edit-block,
footer .site-edit-block,
.value li .site-edit-block,
.price-card li .site-edit-block {
  display: contents;
}
main { overflow: hidden; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  min-height: calc(100vh - 76px);
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 72px);
  align-items: center;
  background:
    linear-gradient(115deg, rgba(216,243,106,.4), transparent 34%),
    linear-gradient(180deg, #fbfcf8, var(--paper));
}
.hero h1 {
  font-size: clamp(42px, 7vw, 88px);
  line-height: .95;
  max-width: 850px;
  margin: 0 0 24px;
}
.hero p { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 680px; }
.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  color: var(--green);
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  border: 0;
  font-weight: 900;
  cursor: pointer;
}
.button.secondary { background: transparent; color: var(--green-dark); border: 1px solid var(--green-dark); }
.button.full { width: 100%; }
.fine, .muted { color: var(--muted); font-size: 13px; }
.product-panel, .summary-card, .checkout-panel, .price-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(24, 33, 29, .08);
}
.product-panel { padding: 24px; border-radius: 8px; }
.hero-panel {
  position: relative;
  padding-top: clamp(190px, 23vw, 300px);
}
.hero-mascot {
  position: absolute;
  top: -40px;
  left: 50%;
  width: min(520px, 105%);
  transform: translateX(-50%);
  filter: drop-shadow(0 24px 34px rgba(24, 33, 29, .14));
}
.panel-top, .search-line, .score-strip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.panel-top span { font-weight: 900; font-size: 24px; }
.panel-top b { color: var(--blue); }
.search-line span {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  flex: 1;
  color: var(--muted);
}
.lead-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.lead-row small { color: var(--muted); text-align: right; }
.score-strip { border: 0; margin: 20px 0 0; padding: 0; }
.score-strip span { background: var(--lime); border-radius: 6px; padding: 9px 10px; font-weight: 800; font-size: 13px; }
.band, .pricing, .faq, .value, .video-section {
  padding: clamp(50px, 7vw, 86px) clamp(18px, 5vw, 72px);
}
.mascot-story {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(50px, 7vw, 86px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 18% 18%, rgba(216,243,106,.55), transparent 28%),
    linear-gradient(135deg, #ffffff, #eef7ee);
}
.mascot-card {
  border: 1px solid rgba(15,109,78,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 24px 70px rgba(24, 33, 29, .1);
  padding: clamp(12px, 3vw, 28px);
  transform: rotate(-2deg);
}
.mascot-card img {
  display: block;
  width: 100%;
  height: auto;
}
.mascot-story p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 680px;
}
.video-section {
  background:
    linear-gradient(180deg, #f7f8f3, #ffffff 46%, #eef7ee);
}
.video-frame {
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid rgba(15,109,78,.18);
  border-radius: 22px;
  background: #101714;
  box-shadow: 0 26px 80px rgba(24, 33, 29, .18);
  overflow: hidden;
  padding: clamp(8px, 1.6vw, 16px);
}
.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 14px;
  background: #101714;
}
.section-title { max-width: 760px; margin-bottom: 30px; }
h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.05; margin: 0 0 14px; }
.section-title p, .value p { color: var(--muted); }
.steps, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.steps article {
  border-top: 3px solid var(--green);
  padding: 22px 0;
}
.steps b { color: var(--blue); }
.steps p, .price-card p, .faq p { color: var(--muted); line-height: 1.55; }
.value {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  background: var(--green-dark);
  color: #fff;
}
.value .eyebrow, .value p { color: var(--lime); }
.value ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.value li { border-bottom: 1px solid rgba(255,255,255,.18); padding: 0 0 12px; }
.price-card {
  padding: 24px;
  border-radius: 8px;
  position: relative;
}
.price-card.featured { border-color: var(--green); transform: translateY(-10px); }
.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--lime);
  color: var(--green-dark);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 900;
}
.price { font-size: 36px; font-weight: 950; color: var(--ink); margin: 8px 0; }
.price small { font-size: 15px; color: var(--muted); }
.price-card ul { padding-left: 18px; line-height: 1.8; color: var(--muted); min-height: 140px; }
.annual-price { color: var(--green); font-weight: 900; margin-top: -6px; }
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  margin: 0 0 24px;
  border: 1px solid rgba(15,109,78,.22);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #edf5ee);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 14px 36px rgba(24,33,29,.09);
}
.billing-toggle button,
form .billing-toggle button,
.cycle-field .billing-toggle button {
  appearance: none;
  -webkit-appearance: none;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  background: transparent;
  color: var(--muted);
  font: 900 14px/1 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 900;
  cursor: pointer;
  box-shadow: none;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.billing-toggle button.is-active,
form .billing-toggle button.is-active,
.cycle-field .billing-toggle button.is-active {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 22px rgba(15,109,78,.24);
}
.billing-toggle span {
  font-size: 12px;
  opacity: .86;
}
.cycle-field {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--ink);
}
.cycle-field > span {
  font-size: 15px;
  font-weight: 900;
}
.cycle-field small {
  color: var(--muted);
  font-weight: 500;
}
.checkout-toggle {
  margin: 0;
  width: 100%;
  display: flex;
  align-self: stretch;
}
.checkout-toggle button {
  flex: 1;
}
.faq {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
}
details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
summary { cursor: pointer; font-weight: 900; }
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.checkout {
  min-height: calc(100vh - 140px);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 8% 8%, rgba(216,243,106,.5), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(19,185,133,.2), transparent 24%),
    linear-gradient(180deg, #fbfcf8, var(--paper));
}
.checkout-copy h1 { font-size: clamp(38px, 5vw, 72px); line-height: .98; margin: 0 0 18px; }
.checkout-copy { min-width: 0; }
.checkout-copy p { overflow-wrap: anywhere; }
.summary-card { border-radius: 8px; padding: 20px; margin-top: 28px; display: grid; gap: 6px; max-width: 420px; }
.summary-card span, .summary-card small { color: var(--muted); }
.summary-card b { font-size: 28px; color: var(--green); }
.checkout-mascot {
  width: min(360px, 100%);
  margin-top: 24px;
  border: 1px solid rgba(15,109,78,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 20px 60px rgba(24,33,29,.1);
  overflow: hidden;
}
.checkout-mascot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.checkout-panel { border-radius: 8px; padding: clamp(20px, 4vw, 34px); }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 800; color: var(--ink); }
input, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 46px;
  padding: 0 12px;
  font-size: 15px;
  background: #fff;
}
.alert { margin: 18px clamp(18px, 5vw, 72px) 0; padding: 14px; border-radius: 8px; background: #e5f5ec; }
.alert.error { background: #ffe4e1; }
.token { white-space: pre-wrap; word-break: break-all; background: #eef2ea; padding: 14px; border-radius: 8px; }
@media (max-width: 820px) {
  .top, footer { align-items: flex-start; flex-direction: column; }
  .top { gap: 12px; padding: 10px 18px 16px; position: relative; }
  .brand-logo { width: min(150px, 42vw); max-height: 76px; overflow: hidden; }
  .brand-logo img { max-height: 76px; object-fit: contain; object-position: left center; }
  nav { flex-wrap: wrap; }
  .hero, .steps, .pricing-grid, .value, .faq, .checkout, .mascot-story { grid-template-columns: 1fr; }
  .hero { min-height: auto; overflow: hidden; }
  .hero h1, .checkout-copy h1 { overflow-wrap: anywhere; }
  .hero-panel { padding-top: 150px; margin-top: 24px; overflow: hidden; }
  .hero-mascot { top: -24px; width: min(310px, 88vw); }
  .mascot-story { overflow: hidden; }
  .mascot-card { max-width: min(330px, 88vw); margin: 0 auto; }
  .checkout { overflow: hidden; gap: 22px; padding-top: 36px; }
  .checkout-copy h1 { font-size: clamp(34px, 10vw, 46px); line-height: 1.02; }
  .checkout-copy > .site-edit-block,
  .checkout-copy > .site-edit-block > p,
  .checkout-copy > .site-edit-block > div { max-width: 100%; }
  .summary-card { max-width: 100%; margin-top: 22px; }
  .checkout-mascot {
    width: min(280px, 74vw);
    max-height: 280px;
    margin: 18px auto 0;
    overflow: hidden;
  }
  .checkout-mascot img {
    max-height: 280px;
    object-fit: contain;
    object-position: center top;
  }
  .price-card.featured { transform: none; }
}
