:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #64748b;
  --line: rgba(31, 41, 55, 0.1);
  --paper: #fffaf0;
  --panel: rgba(255, 255, 255, 0.76);
  --green: #059669;
  --green-dark: #047857;
  --blue: #2563eb;
  --gold: #f59e0b;
  --shadow: 0 28px 90px rgba(30, 41, 59, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(16, 185, 129, 0.22), transparent 28%),
    radial-gradient(circle at 80% 6%, rgba(37, 99, 235, 0.2), transparent 30%),
    linear-gradient(135deg, #f8fafc 0%, var(--paper) 48%, #eef6ff 100%);
}

a {
  color: inherit;
}

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

.landing-hero,
.checkout-hero {
  position: relative;
  padding: 28px 0 54px;
}

.landing-hero::before,
.checkout-hero::before {
  position: absolute;
  inset: 24px -16px auto auto;
  width: 320px;
  height: 320px;
  content: "";
  background:
    linear-gradient(135deg, rgba(5, 150, 105, 0.18), transparent),
    repeating-linear-gradient(
      135deg,
      rgba(37, 99, 235, 0.11) 0 8px,
      transparent 8px 18px
    );
  border-radius: 44px;
  filter: blur(0.2px);
  transform: rotate(8deg);
  z-index: -1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 72px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.brand-pill,
.nav-cta,
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
}

.brand-pill {
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(101, 88, 245, 0.22);
  overflow: hidden;
}

.brand-mark img {
  display: block;
  height: 100%;
  width: 100%;
}

.nav-cta,
.secondary-link {
  padding: 12px 18px;
  border: 1px solid rgba(5, 150, 105, 0.18);
  background: rgba(255, 255, 255, 0.64);
}

.primary-link {
  padding: 14px 20px;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.22);
}

.landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h2 {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.06em;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.product-card {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 42px;
  background:
    radial-gradient(circle at 28% 28%, rgba(16, 185, 129, 0.38), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(239, 246, 255, 0.58));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-card::after {
  position: absolute;
  inset: auto -10% -24% 12%;
  height: 230px;
  content: "";
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(245, 158, 11, 0.25));
  filter: blur(12px);
}

.floating-chip {
  position: absolute;
  z-index: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
  font-weight: 800;
}

.chip-one {
  top: 52px;
  left: 36px;
}

.chip-two {
  top: 170px;
  right: 30px;
}

.chip-three {
  bottom: 142px;
  left: 42px;
}

.glass-panel {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  z-index: 1;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(22px);
}

.panel-label,
.status-badge {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.glass-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.launch-proof,
.plans,
.checkout-assurance {
  padding: 58px 0 86px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.plan-grid,
.proof-grid,
.checkout-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan-grid article,
.proof-grid article,
.checkout-assurance article,
.checkout-status-card,
.checkout-frame-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: 0 18px 52px rgba(30, 41, 59, 0.1);
  backdrop-filter: blur(18px);
}

.plan-grid article,
.proof-grid article,
.checkout-assurance article {
  padding: 24px;
}

.plan-grid span,
.proof-grid span,
.checkout-assurance span {
  color: var(--green-dark);
  font-weight: 850;
}

.proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-grid article {
  position: relative;
  overflow: hidden;
}

.proof-grid article::after {
  position: absolute;
  right: -42px;
  bottom: -50px;
  width: 130px;
  height: 130px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.12), rgba(37, 99, 235, 0.12));
}

.proof-grid h3 {
  margin: 14px 0 10px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.proof-grid p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.68;
}

.plan-grid strong {
  display: block;
  margin: 12px 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.featured-plan {
  background: linear-gradient(145deg, rgba(5, 150, 105, 0.14), rgba(37, 99, 235, 0.12));
}

.checkout-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 28px;
  align-items: end;
  padding-top: 34px;
}

.checkout-hero .brand-pill {
  width: max-content;
  grid-column: 1 / -1;
}

.checkout-legal-links {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -54px;
  justify-content: flex-end;
}

.checkout-legal-links a {
  padding: 10px 14px;
  border: 1px solid rgba(5, 150, 105, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.checkout-copy h1 {
  font-size: clamp(40px, 6.6vw, 78px);
}

.checkout-status-card {
  padding: 26px;
}

.checkout-status-card h2 {
  margin-bottom: 12px;
  font-size: 30px;
}

.checkout-status-card a {
  color: var(--green-dark);
  font-weight: 800;
}

.checkout-frame-card {
  padding: 20px;
}

.checkout-frame-placeholder {
  display: grid;
  min-height: 520px;
  place-items: center;
  padding: 34px;
  border: 1px dashed rgba(5, 150, 105, 0.28);
  border-radius: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.46);
}

.checkout-frame-placeholder strong {
  font-size: 28px;
  letter-spacing: -0.04em;
}

.frame-orb {
  width: 88px;
  height: 88px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 30% 20%, #ffffff 0 12%, transparent 13%),
    linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 28px 70px rgba(37, 99, 235, 0.26);
}

[data-state="error"] .status-badge {
  color: #dc2626;
}

[data-state="live"] .status-badge {
  color: var(--blue);
}

[data-state="pending"] .status-badge {
  color: var(--gold);
}

.legal-shell {
  padding: 28px 0 72px;
}

.legal-shell .topbar {
  margin-bottom: 34px;
}

.legal-card {
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 95% 4%, rgba(37, 99, 235, 0.12), transparent 32%),
    rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  max-width: 900px;
  margin-bottom: 12px;
  font-size: clamp(42px, 7vw, 74px);
}

.legal-card h2 {
  margin: 44px 0 14px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-card p,
.legal-list {
  max-width: 920px;
}

.legal-updated {
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 780;
}

.legal-list {
  display: grid;
  gap: 12px;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

@media (max-width: 860px) {
  .landing-grid,
  .checkout-hero,
  .proof-grid,
  .plan-grid,
  .checkout-assurance {
    grid-template-columns: 1fr;
  }

  .topbar {
    margin-bottom: 44px;
  }

  .checkout-legal-links {
    margin-top: -24px;
    justify-content: flex-start;
  }

  .product-card {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .landing-shell,
  .checkout-shell,
  .legal-shell {
    width: min(100% - 22px, 1180px);
  }

  .nav-cta,
  .secondary-link,
  .primary-link {
    width: 100%;
    justify-content: center;
  }

  .topbar,
  .nav-links,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .floating-chip {
    position: static;
    display: inline-flex;
    margin: 16px 0 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
