:root {
  color-scheme: light;
  --ink: #11161d;
  --muted: #65707d;
  --quiet: #8a95a3;
  --paper: #f5f4ee;
  --panel: #fffefa;
  --line: #d8d6cb;
  --line-dark: #242b34;
  --brand: #16b9c7;
  --brand-deep: #0f7883;
  --mint: #75d8ae;
  --amber: #c99732;
  --navy: #151c25;
  --max: 1180px;
  --radius: 6px;
  --shadow: 0 28px 70px rgba(17, 22, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 22, 29, 0.045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(rgba(17, 22, 29, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--paper);
  font-family: "PingFang SC", "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

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

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

p,
h1,
h2,
h3 {
  overflow-wrap: break-word;
  text-wrap: pretty;
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  width: min(var(--max), calc(100% - 32px));
  min-height: 62px;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  margin: 12px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(216, 214, 203, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(17, 22, 29, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  border-radius: 8px;
  box-shadow: none;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 720;
}

.nav a,
.footer-links a {
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--ink);
  border-color: currentColor;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 820;
  white-space: nowrap;
}

.header-cta {
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
}

.button {
  min-width: 174px;
  padding: 0 20px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 36px rgba(17, 22, 29, 0.2);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 254, 250, 0.82);
  color: var(--ink);
}

.hero .button.primary {
  background: #f8fbfb;
  color: #0d141b;
  box-shadow: 0 18px 48px rgba(22, 185, 199, 0.18);
}

.hero .button.secondary {
  border-color: rgba(133, 158, 166, 0.32);
  background: rgba(255, 255, 255, 0.04);
  color: #d4e4e5;
}

.button.disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.button.disabled:hover {
  transform: none;
  border-color: var(--line);
}

.hero {
  position: relative;
  display: grid;
  min-height: 680px;
  place-items: center;
  width: 100%;
  margin: -74px 0 0;
  padding: 142px 16px 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(22, 185, 199, 0.28), transparent 23rem),
    linear-gradient(90deg, rgba(154, 189, 197, 0.08) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(rgba(154, 189, 197, 0.08) 1px, transparent 1px) 0 0 / 44px 44px,
    #051012;
  color: #f2f7f7;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 16, 18, 0) 68%, var(--paper) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(1120px, 100%);
  text-align: center;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 58px;
  color: #f2f7f7;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 860;
  letter-spacing: 0;
}

.hero-logo {
  width: clamp(74px, 8vw, 104px);
  height: clamp(74px, 8vw, 104px);
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(22, 185, 199, 0.3);
}

.eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--brand-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-family: "PingFang SC", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3.1rem, 6.2vw, 6rem);
  font-weight: 860;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-family: "PingFang SC", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 760;
  font-size: clamp(1.85rem, 3.1vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.06rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 520px;
  margin-bottom: 0;
  color: #9dacb0;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  font-weight: 720;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-shortcuts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 62px;
}

.hero-shortcut {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 18px;
  padding: 10px 16px;
  border: 1px solid rgba(133, 158, 166, 0.18);
  border-radius: var(--radius);
  background: rgba(3, 12, 14, 0.52);
  color: #eaf4f4;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.hero-shortcut strong {
  font-size: 0.95rem;
}

.hero-shortcut .key-combo {
  min-width: auto;
  align-items: center;
  color: #53666b;
  font-weight: 800;
}

.hero-shortcut .key-combo span {
  color: #52656a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
}

.hero-shortcut kbd {
  min-width: 44px;
  min-height: 34px;
  border-color: rgba(50, 184, 201, 0.34);
  background: rgba(22, 185, 199, 0.09);
  color: #6ee8f0;
  font-size: 0.88rem;
  box-shadow: 0 0 20px rgba(22, 185, 199, 0.08);
}

.key-combo {
  display: inline-flex;
  min-width: 98px;
  gap: 4px;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
}

.section-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
  align-items: end;
  margin-bottom: 28px;
}

.section-title-row p,
.audience > p {
  margin-bottom: 0;
  color: var(--muted);
}

.stacked-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.compare,
.pricing {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100% - var(--max)) / 2));
  padding-left: max(16px, calc((100% - var(--max)) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.72);
}

.flow-compare,
.feature-matrix,
.audience-grid,
.price-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

.flow-compare {
  grid-template-columns: 1.1fr 0.9fr;
}

.flow-compare article,
.feature-matrix article,
.audience-grid article,
.price-card,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.flow-compare article {
  padding: 24px;
}

.flow-compare ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.flow-compare .preferred {
  border-color: rgba(22, 185, 199, 0.44);
  background: linear-gradient(180deg, rgba(22, 185, 199, 0.08), var(--panel));
}

.section-note {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  text-align: center;
}

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

.feature-matrix article {
  min-height: 190px;
  padding: 22px;
}

.feature-matrix span {
  display: block;
  margin-bottom: 30px;
  color: var(--brand-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 900;
}

.feature-matrix p,
.audience-grid p,
.price-card p,
details p {
  color: var(--muted);
}

.workflow {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100% - var(--max)) / 2));
  padding-left: max(16px, calc((100% - var(--max)) / 2));
  background: var(--navy);
  color: #f7faf8;
}

.workflow .section-kicker {
  color: var(--mint);
}

.workflow-steps {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  gap: 12px;
}

.workflow-steps article {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.workflow-steps span {
  color: var(--mint);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.workflow-steps p {
  margin-bottom: 0;
  color: #bdcbd1;
}

.workflow .section-note {
  color: #bdcbd1;
}

.workflow .stacked-heading h2 {
  color: #fff;
}

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

.audience-grid article {
  padding: 24px;
}

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

.price-card {
  padding: 30px;
}

.price-card.pro {
  border-color: rgba(117, 216, 174, 0.56);
  box-shadow: var(--shadow);
}

.price {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: "PingFang SC", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 760;
  line-height: 1;
}

.price-card .button {
  margin-top: 20px;
}

.tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(117, 216, 174, 0.18);
  color: #176747;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.muted-tag {
  background: rgba(17, 22, 29, 0.08);
  color: var(--muted);
}

.purchase-meter {
  margin-top: 18px;
}

.meter-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 760;
}

.meter-copy span {
  color: var(--muted);
  font-weight: 650;
}

.meter-track {
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 22, 29, 0.1);
}

.meter-track span {
  display: block;
  width: 78.5%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--mint));
}

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

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.final-band {
  display: flex;
  width: min(var(--max), calc(100% - 32px));
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin: 0 auto 70px;
  padding: 36px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.final-band .section-kicker {
  color: var(--mint);
}

.final-band h2 {
  max-width: 620px;
}

.final-band .button.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.footer {
  display: flex;
  width: min(var(--max), calc(100% - 32px));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-brand {
  color: var(--ink);
}

.legal-page .section {
  max-width: 920px;
}

.legal-hero {
  padding-bottom: 42px;
}

.legal-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.legal-content {
  padding-top: 0;
}

.legal-content h2 {
  margin-top: 34px;
  font-family: "PingFang SC", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
}

.legal-content p,
.support-card p {
  color: var(--muted);
}

.legal-content a,
.support-card a {
  color: var(--brand-deep);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-grid {
  max-width: 920px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 0;
}

.support-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

kbd {
  display: inline-flex;
  min-width: 1.7rem;
  min-height: 1.55rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.42rem;
  border: 1px solid #c5c2b6;
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #faf9f2;
  color: #29313d;
  font-size: 0.82em;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
  }

  .nav {
    display: none;
  }

  .section-title-row,
  .flow-compare,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: 12px;
  }

  .feature-matrix,
  .audience-grid,
  .faq-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-title-row {
    gap: 16px;
  }

  .section-title-row p {
    max-width: 680px;
  }

  .final-band {
    display: block;
  }
}

@media (max-width: 680px) {
  .site-header,
  .section,
  .footer,
  .final-band {
    width: min(100% - 24px, var(--max));
  }

  .header-cta {
    padding: 0 12px;
  }

  .hero {
    min-height: 620px;
    padding: 84px 12px 74px;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-logo {
    width: 74px;
    height: 74px;
  }

  .hero-brand {
    gap: 14px;
    margin-bottom: 42px;
  }

  .hero-shortcuts {
    display: grid;
    width: min(100%, 360px);
    margin-top: 40px;
  }

  .hero-shortcut {
    justify-content: space-between;
  }

  .hero-actions,
  .final-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .feature-matrix,
  .audience-grid,
  .faq-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .workflow-steps article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section,
  .compare,
  .workflow,
  .pricing {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .final-band {
    margin-bottom: 64px;
    padding: 30px 22px;
  }

  .footer {
    display: grid;
  }
}
