:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-dark: #005bb5;
  --dark: #111114;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.hidden {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 245, 247, 0.82);
  border-bottom: 1px solid rgba(210, 210, 215, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.nav-actions,
.hero-actions {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.nav-links {
  gap: 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.nav-links a {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);
}

.nav-actions,
.hero-actions {
  gap: 10px;
}

.primary-link,
.secondary-link {
  min-height: 36px;
  padding: 0 17px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 720;
  white-space: nowrap;
}

.primary-link {
  color: #fff;
  background: var(--blue);
}

.primary-link:hover {
  background: var(--blue-dark);
}

.secondary-link {
  color: var(--blue);
  background: rgba(0, 113, 227, 0.08);
}

.secondary-link:hover {
  background: rgba(0, 113, 227, 0.13);
}

.nav-buy-link {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.06);
}

.nav-buy-link:hover {
  background: rgba(0, 0, 0, 0.1);
}

.large {
  min-height: 48px;
  padding: 0 24px;
  font-size: 16px;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 780;
}

.hero-panel {
  min-height: calc(100vh - 68px);
  padding: 72px 20px 42px;
  display: grid;
  align-items: end;
  justify-items: center;
  gap: 38px;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  width: min(980px, 100%);
  display: grid;
  justify-items: center;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.hero-content h1,
.showcase-head h2,
.plans-head h2,
.cta-panel h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.03;
}

.hero-content h1 {
  max-width: 940px;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 850;
}

.hero-content p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 28px);
  line-height: 1.34;
}

.hero-device {
  width: min(1080px, 92vw);
  border: 1px solid #d7d7dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-device img {
  width: 100%;
}

.showcase,
.billing-highlight,
.plans,
.tile-grid,
.cta-panel,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.showcase {
  padding: 70px 0 34px;
}

.billing-highlight {
  padding: 18px 0 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.billing-card {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.billing-card span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
}

.billing-card h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.billing-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.42;
}

.billing-card .primary-link,
.billing-card .secondary-link {
  justify-self: start;
}

.billing-card.dark {
  color: #fff;
  background: #111114;
  border-color: #111114;
}

.billing-card.dark span,
.billing-card.dark p {
  color: rgba(255, 255, 255, 0.76);
}

.billing-card.dark .light-link {
  color: #111114;
  background: #fff;
}

.billing-card.soft {
  background: #eaf2ff;
  border-color: #d5e6ff;
}

.billing-card.enterprise {
  background: #f6f2ea;
  border-color: #e7dece;
}

.showcase-head,
.plans-head {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-bottom: 26px;
  text-align: center;
}

.showcase-head h2,
.plans-head h2,
.cta-panel h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 840;
}

.plans-head p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.showcase-frame {
  position: relative;
  min-height: 620px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.1);
}

.showcase-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 28px;
  padding: 48px;
  opacity: 0;
  transform: translateX(2%);
  transition: opacity 360ms ease, transform 360ms ease;
  pointer-events: none;
}

.showcase-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.slide-copy {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.slide-copy span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.slide-copy h3 {
  margin: 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
}

.slide-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 22px;
}

.showcase-slide img {
  max-height: 380px;
  width: min(880px, 100%);
  object-fit: contain;
  border: 1px solid #e3e3e8;
  border-radius: 8px;
  background: #fff;
}

.showcase-controls {
  margin: 18px auto 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.showcase-controls button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: #56565b;
  background: #e8e8ed;
  font-weight: 740;
  cursor: pointer;
}

.showcase-controls button.is-active {
  color: #fff;
  background: var(--ink);
}

.tile-grid {
  padding: 36px 0 70px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-tile {
  min-height: 430px;
  padding: 30px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.feature-tile span {
  font-size: 15px;
  font-weight: 820;
}

.feature-tile h2 {
  margin: auto 0 12px;
  font-size: clamp(31px, 3.8vw, 48px);
  line-height: 1.06;
}

.feature-tile p {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.feature-tile.dark {
  color: #fff;
  background: var(--dark);
}

.feature-tile.light {
  background: #fff;
  border: 1px solid var(--line);
}

.feature-tile.soft {
  color: #142033;
  background: #eaf2ff;
}

.plans {
  padding: 24px 0 70px;
}

.plan-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.plan-strip article {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  gap: 10px;
  align-content: start;
}

.plan-strip span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 780;
}

.plan-strip strong {
  font-size: 28px;
  line-height: 1.08;
}

.plan-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.plan-strip a {
  min-height: 38px;
  margin-top: 4px;
  padding: 0 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 760;
}

.plan-strip a:hover {
  background: var(--blue-dark);
}

.cta-panel {
  min-height: 330px;
  margin-bottom: 72px;
  padding: 42px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 28px;
  text-align: center;
}

.cta-panel .primary-link {
  background: #fff;
  color: var(--ink);
}

.site-footer {
  min-height: 82px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

.site-footer a {
  color: inherit;
  white-space: nowrap;
}

.site-footer a:hover {
  color: var(--blue);
}

@media (max-width: 1020px) {
  .nav-links {
    display: none;
  }

  .showcase-frame {
    min-height: 560px;
  }

  .tile-grid {
    grid-template-columns: 1fr;
  }

  .billing-highlight {
    grid-template-columns: 1fr;
  }

  .feature-tile {
    min-height: 300px;
  }

  .plan-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .nav-shell,
  .showcase,
  .billing-highlight,
  .plans,
  .tile-grid,
  .cta-panel,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .nav-shell {
    min-height: 66px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0;
  }

  .nav-actions {
    width: 100%;
    justify-content: stretch;
  }

  .nav-actions .primary-link,
  .nav-actions .secondary-link {
    flex: 1;
  }

  .hero-panel {
    min-height: auto;
    padding: 46px 14px 28px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .primary-link,
  .hero-actions .secondary-link {
    width: 100%;
  }

  .showcase {
    padding-top: 48px;
  }

  .showcase-frame {
    min-height: 520px;
  }

  .showcase-slide {
    padding: 28px 18px;
  }

  .slide-copy p {
    font-size: 18px;
  }

  .showcase-slide img {
    max-height: 300px;
  }

  .plan-strip {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    min-height: 260px;
    padding: 30px 18px;
  }

  .site-footer {
    padding: 22px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}
