:root {
  --bg: #f5fbf0;
  --bg-strong: #e6f6d9;
  --panel: rgba(255, 255, 255, 0.86);
  --ink: #183126;
  --muted: #607564;
  --line: rgba(24, 49, 38, 0.09);
  --green: #91d84d;
  --green-deep: #299648;
  --green-darker: #115d31;
  --green-soft: #dff4c7;
  --yellow: #f5de6f;
  --shadow: 0 30px 70px rgba(21, 94, 45, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(245, 222, 111, 0.55), transparent 22%),
    radial-gradient(circle at 100% 10%, rgba(145, 216, 77, 0.34), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(41, 150, 72, 0.14), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, #fbfef8 36%, var(--bg-strong) 100%);
  overflow-x: hidden;
}

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

.site-shell,
.legal-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.brand span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-note {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  box-shadow: 0 18px 30px rgba(42, 116, 49, 0.18);
}

.nav-links,
.footer-links,
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a,
.footer-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.hero {
  padding-bottom: 30px;
}

.legal-topbar {
  padding-bottom: 22px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
  padding: 34px 0 18px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-darker);
}

.eyebrow-soft {
  background: rgba(127, 209, 76, 0.14);
}

.hero-copy h1,
.legal-card h1 {
  margin: 16px 0 16px;
  font-size: clamp(2.4rem, 5.2vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.hero-copy h1 span {
  display: block;
  color: var(--green-darker);
}

.lede,
.feature-card p,
.step-card p,
.faq-item p,
.footer p,
.legal-card p {
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #fff;
  box-shadow: 0 20px 36px rgba(45, 143, 61, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border: 1px solid var(--line);
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.avatars {
  display: flex;
}

.avatars span {
  width: 34px;
  height: 34px;
  margin-left: -8px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: linear-gradient(135deg, #ffffff, #d9f1cc);
  box-shadow: 0 10px 20px rgba(21, 72, 37, 0.12);
}

.avatars span:first-child {
  margin-left: 0;
}

.device-stage {
  position: relative;
  min-height: 620px;
}

.device-badge {
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  display: inline-flex;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(17, 93, 49, 0.08);
  color: var(--green-darker);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.device-card {
  position: absolute;
  inset: 0;
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(233,247,224,0.96));
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow);
}

.device-card-back {
  transform: rotate(-8deg) scale(0.95);
  background: linear-gradient(180deg, rgba(248,255,236,0.72), rgba(191,234,153,0.82));
}

.device-card-front {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 34px;
}

.device-logo {
  width: min(100%, 410px);
  filter: drop-shadow(0 30px 50px rgba(48, 120, 55, 0.22));
}

.device-copy {
  max-width: 390px;
  text-align: center;
}

.device-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 420px;
  margin-top: 20px;
}

.device-metrics div {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(17, 93, 49, 0.08);
  text-align: center;
}

.device-metrics strong,
.store-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.device-metrics span,
.store-card small {
  color: var(--muted);
  line-height: 1.5;
}

.device-copy h2 {
  margin: 12px 0 12px;
  font-size: 1.75rem;
  letter-spacing: -0.04em;
}

.section {
  padding: 42px 0;
}

.section-alt {
  padding-top: 16px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 22px;
}

.section-heading.narrow {
  max-width: 620px;
}

.section-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.feature-grid,
.steps-grid,
.legal-content-grid,
.store-grid,
.pricing-grid,
.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-card,
.step-card,
.faq-item,
.legal-card,
.pricing-card,
.flow-card,
.pricing-callout {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.feature-card,
.step-card,
.legal-card,
.pricing-card,
.flow-card,
.pricing-callout {
  padding: 24px;
  border-radius: 28px;
}

.icon-bubble,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 54px;
  border-radius: 16px;
  font-weight: 900;
  color: var(--green-darker);
  background: linear-gradient(135deg, rgba(255, 227, 122, 0.85), rgba(127, 209, 76, 0.35));
}

.feature-card h3,
.step-card h3,
.legal-card h2,
.pricing-card h3,
.flow-card h3,
.pricing-callout h2 {
  margin: 16px 0 10px;
  font-size: 1.18rem;
}

.pricing-hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 22px;
  align-items: center;
  padding: 28px 0 18px;
}

.pricing-copy h1 {
  margin: 16px 0 14px;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.pricing-copy h1 span {
  display: block;
  color: var(--green-darker);
}

.pricing-hero-card {
  position: relative;
  min-height: 520px;
  padding: 30px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(233,247,224,0.96));
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pricing-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(245, 222, 111, 0.42), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(145, 216, 77, 0.26), transparent 20%),
    linear-gradient(180deg, rgba(41, 150, 72, 0.02), rgba(17, 93, 49, 0.10));
}

.pricing-hero-card > * {
  position: relative;
  z-index: 1;
}

.pricing-mascot {
  width: min(100%, 340px);
  margin: 0 auto 12px;
  filter: drop-shadow(0 32px 54px rgba(45, 143, 61, 0.25));
}

.pricing-bullets {
  display: grid;
  gap: 12px;
}

.pricing-bullet {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 93, 49, 0.08);
}

.pricing-bullet strong,
.pricing-price,
.pricing-card strong {
  display: block;
}

.pricing-card-highlight {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(231,249,237,0.96));
}

.pricing-card-pro {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(227,246,250,0.96));
}

.pricing-chip-row,
.pricing-action-row,
.pill-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pricing-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17, 93, 49, 0.08);
  color: var(--green-darker);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-price {
  margin: 8px 0 6px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.pricing-subprice {
  color: var(--muted);
  line-height: 1.6;
}

.pricing-features {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.button-disabled {
  pointer-events: none;
  opacity: 0.6;
}

.flow-card p,
.pricing-callout p,
.pricing-card p,
.pricing-card li {
  color: var(--muted);
  line-height: 1.7;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 222, 111, 0.88), rgba(127, 209, 76, 0.38));
  color: var(--green-darker);
  font-weight: 900;
}

.mini-note {
  font-size: 0.9rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.download-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  padding: 28px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(17, 93, 49, 0.95), rgba(41, 150, 72, 0.92));
  color: #fff;
  box-shadow: 0 28px 60px rgba(18, 84, 42, 0.24);
}

.download-panel .section-kicker,
.download-panel p,
.download-panel h2,
.download-panel .download-copy p {
  color: inherit;
}

.download-panel .section-kicker {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.14);
}

.download-panel h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.store-card {
  display: block;
  padding: 22px;
  border-radius: 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  box-shadow: 0 20px 34px rgba(10, 40, 17, 0.12);
}

.store-card-disabled {
  pointer-events: none;
}

.store-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-darker);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.faq-item {
  border-radius: 22px;
  padding: 20px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 12px 0 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  padding: 18px 0 42px;
}

.footer-brand {
  margin-bottom: 8px;
}

.legal-shell {
  max-width: 920px;
  padding: 26px 0 42px;
}

.legal-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-bottom: 22px;
}

.legal-hero-copy,
.legal-summary {
  padding: 26px;
  border-radius: 30px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.legal-summary h2 {
  margin: 0 0 16px;
  font-size: 1.15rem;
}

.legal-summary-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.legal-content-grid {
  margin-bottom: 20px;
}

.legal-download-panel {
  margin-bottom: 20px;
}

.legal-footer {
  padding-bottom: 6px;
}

.legal-card h1 {
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
}

@media (max-width: 960px) {
  .site-shell,
  .legal-shell {
    width: min(100vw - 24px, 760px);
  }

  .hero-grid,
  .pricing-hero,
  .feature-grid,
  .steps-grid,
  .legal-content-grid,
  .store-grid,
  .pricing-grid,
  .flow-grid,
  .legal-hero,
  .download-panel,
  .footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .device-stage {
    min-height: 540px;
  }

  .pricing-hero-card {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .site-shell,
  .legal-shell {
    width: min(100vw - 20px, 680px);
  }

  .section {
    padding: 30px 0;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0 10px;
  }

  .brand {
    gap: 12px;
  }

  .brand img {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .nav-links,
  .hero-actions,
  .pricing-chip-row,
  .pricing-action-row,
  .pill-list,
  .footer-links {
    width: 100%;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a,
  .footer-links a {
    min-height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
  }

  .hero {
    padding-bottom: 18px;
  }

  .hero-grid,
  .pricing-hero {
    gap: 18px;
    padding: 18px 0 10px;
  }

  .hero-copy h1,
  .legal-card h1,
  .section-heading h2 {
    line-height: 1.02;
  }

  .hero-copy h1,
  .pricing-copy h1 {
    margin: 14px 0 12px;
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .lede,
  .feature-card p,
  .step-card p,
  .faq-item p,
  .footer p,
  .legal-card p,
  .pricing-card p,
  .flow-card p,
  .pricing-callout p {
    font-size: 0.93rem;
    line-height: 1.65;
  }

  .button {
    width: 100%;
  }

  .social-proof {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .device-stage {
    min-height: 0;
  }

  .feature-card,
  .step-card,
  .faq-item,
  .legal-card,
  .device-card,
  .pricing-card,
  .flow-card,
  .pricing-callout,
  .legal-hero-copy,
  .legal-summary,
  .download-panel,
  .store-card {
    border-radius: 24px;
  }

  .device-card {
    position: relative;
    inset: auto;
  }

  .device-card-back {
    display: none;
  }

  .device-card-front {
    padding: 22px 18px;
  }

  .device-badge {
    position: static;
    margin-bottom: 14px;
    font-size: 0.72rem;
  }

  .device-metrics {
    grid-template-columns: 1fr;
  }

  .device-copy h2 {
    font-size: 1.45rem;
  }

  .pricing-hero-card {
    padding: 22px 18px;
    min-height: 0;
    border-radius: 28px;
  }

  .pricing-mascot {
    width: min(100%, 260px);
    margin-bottom: 8px;
  }

  .pricing-price {
    font-size: clamp(1.7rem, 9vw, 2.2rem);
  }

  .download-panel,
  .legal-hero-copy,
  .legal-summary,
  .feature-card,
  .step-card,
  .pricing-card,
  .flow-card,
  .pricing-callout,
  .legal-card {
    padding: 20px;
  }

  .store-card {
    padding: 18px;
  }

  .footer {
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0 34px;
  }
}

@media (max-width: 520px) {
  .site-shell,
  .legal-shell {
    width: calc(100vw - 16px);
  }

  .topbar {
    gap: 14px;
  }

  .brand-note {
    font-size: 0.66rem;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links a,
  .footer-links a {
    justify-content: center;
    text-align: center;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .eyebrow,
  .section-kicker,
  .store-label,
  .pricing-chip {
    font-size: 0.7rem;
    letter-spacing: 0.07em;
  }

  .hero-copy h1,
  .pricing-copy h1,
  .section-heading h2,
  .download-panel h2 {
    letter-spacing: -0.04em;
  }

  .feature-card h3,
  .step-card h3,
  .legal-card h2,
  .pricing-card h3,
  .flow-card h3,
  .pricing-callout h2 {
    font-size: 1.05rem;
  }

  .icon-bubble,
  .step-number {
    min-width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .download-panel,
  .feature-card,
  .step-card,
  .pricing-card,
  .flow-card,
  .pricing-callout,
  .legal-card,
  .legal-hero-copy,
  .legal-summary,
  .faq-item,
  .store-card {
    border-radius: 20px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
