:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --text: #111111;
  --muted: #666a73;
  --muted-strong: #3f4248;
  --line: #e7e7ea;
  --line-strong: #d2d3d8;
  --shadow: 0 24px 70px rgba(20, 20, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% -20%, #f2f2f4 0, transparent 36rem),
    var(--bg);
  color: var(--text);
}

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

.site-shell,
.page-shell {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
}

.site-shell {
  padding: 28px 0 48px;
}

.page-shell {
  padding: 40px 0 56px;
}

.topbar-inner,
.wordmark,
.topbar-inner nav,
.actions,
.site-footer,
.site-footer nav {
  display: flex;
  align-items: center;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100vw;
  margin: 0 calc(50% - 50vw) 56px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.topbar-inner {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.wordmark {
  gap: 8px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.wordmark-mark {
  width: 50px;
  height: 50px;
}

.topbar-inner nav,
.site-footer nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.topbar-inner a:hover,
.site-footer a:hover,
.support-section a:hover {
  color: var(--text);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 104px);
  padding: clamp(76px, 12vh, 138px) 0 0;
  text-align: center;
}

.hero-copy {
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 920px;
  letter-spacing: -0.07em;
}

.hero-title {
  display: grid;
  gap: 2px;
}

.hero-title span {
  display: block;
  font-size: clamp(72px, 9vw, 118px);
  font-weight: 680;
  line-height: 0.92;
}

.hero-title span:last-child {
  font-size: clamp(84px, 10.8vw, 146px);
  font-weight: 780;
}

.hero-subtitle {
  max-width: 760px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.45;
}

h2 {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
}

.button-primary {
  background: #111111;
  color: #ffffff;
}

.button-primary:hover {
  background: #333333;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  color: var(--muted-strong);
}

.button-secondary:hover {
  border-color: #111111;
  color: #111111;
}

.hero-image-card {
  width: min(1280px, 100%);
  margin: clamp(86px, 13vh, 142px) auto -70px;
  border-radius: 30px;
  overflow: hidden;
  background: #f2f3f5;
  box-shadow: var(--shadow);
}

.hero-image-card img,
.hero-image-card video {
  display: block;
  width: 100%;
  height: auto;
}

.feature-grid span,
.price-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-grid p,
.steps li,
.price-card p,
.support-section p {
  color: var(--muted);
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 22px;
}

.feature-grid h2 {
  margin-bottom: 10px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding: 42px 0;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 21px;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-soft);
  padding: 24px;
}

.price-card strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.045em;
}

.price-card p {
  margin-top: 16px;
}

.support-section {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.support-section a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.legal-shell {
  width: min(820px, calc(100vw - 48px));
}

.legal-header {
  margin-bottom: 28px;
}

.legal-header h1 {
  margin: 0 0 12px;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.panel {
  border-top: 1px solid var(--line);
  padding: 26px 0;
}

.legal-content .panel p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

@media (max-width: 860px) {
  .site-shell,
  .page-shell,
  .legal-shell {
    width: min(100vw - 28px, 1120px);
  }

  .topbar-inner,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar {
    margin-bottom: 36px;
  }

  .topbar-inner {
    width: min(100vw - 28px, 1120px);
    padding: 24px 0;
  }

  .hero,
  .split-section,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-title span {
    font-size: clamp(56px, 16vw, 82px);
  }

  .hero-title span:last-child {
    font-size: clamp(66px, 18vw, 96px);
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-image-card {
    margin-top: 54px;
    margin-bottom: 0;
  }
}
