:root {
  --bg: #ffffff;
  --surface: #f5f5f5;
  --surface-hover: #ebebeb;
  --border: #d4d4d4;
  --text: #111111;
  --text-muted: #5c5c5c;
  --text-soft: #767676;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
  --radius: 14px;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 148px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.15s, color 0.15s;
}

.site-nav a:hover {
  background: var(--surface);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 2px solid var(--text);
  background: var(--text);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background-color 0.15s, color 0.15s;
}

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

.btn-secondary {
  background: transparent;
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface);
}

.btn-small {
  padding: 10px 16px;
  font-size: 14px;
}

main {
  padding: 0 24px 80px;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 56px;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-copy .lead {
  margin: 0 0 28px;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-note {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

.hero-card {
  padding: 28px;
  border: 2px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  box-shadow: var(--shadow);
}

.hero-card-logo {
  width: min(100%, 280px);
  margin: 0 auto 24px;
}

.hero-points {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-muted);
}

.hero-points strong {
  color: var(--text);
}

.point-dot {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--text);
  flex-shrink: 0;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 42rem;
}

.download-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 24px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.card p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.card .btn {
  width: 100%;
}

.card-meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  padding: 24px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.privacy-panel {
  padding: 32px;
  border: 2px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  background: #fafafa;
}

.privacy-panel p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.privacy-panel strong {
  color: var(--text);
}

.site-footer {
  max-width: var(--max);
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 2px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-soft);
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

#download {
  scroll-margin-top: 88px;
}

.security-eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

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

.security-card {
  background: #fafafa;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card-featured {
  border-color: var(--text);
  box-shadow: var(--shadow);
}

.pricing-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.pricing-amount {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.pricing-amount span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0;
}

.pricing-copy {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.pricing-list {
  margin: 0 0 24px;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.pricing-list li + li {
  margin-top: 8px;
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-single {
  max-width: 520px;
  margin: 0 auto;
}

.legal-page {
  max-width: 680px;
}

.legal-page h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.thank-you-page {
  max-width: var(--max);
  padding-top: 40px;
  padding-bottom: 24px;
}

.thank-you-hero {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.thank-you-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}

.thank-you-lead {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.thank-you-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 2px solid #111;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: #f5f5f5;
}

.thank-you-panel {
  padding: 28px;
  border: 2px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  background: #fafafa;
}

.thank-you-panel h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

.thank-you-timeline {
  margin: 0;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.thank-you-timeline li + li {
  margin-top: 10px;
}

.thank-you-timeline strong {
  color: var(--text);
}

.thank-you-tip {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--text);
  background: var(--bg);
  font-size: 14px;
  color: var(--text-muted);
}

/* Purchase page */
.purchase-page {
  max-width: 720px;
  margin: 0 auto;
}

.purchase-hero {
  text-align: center;
  margin-bottom: 32px;
}

.purchase-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
}

.purchase-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.os-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.os-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, transform 0.15s;
}

.os-card:hover {
  border-color: var(--text-soft);
  background: var(--surface);
}

.os-card-selected {
  border-color: var(--text);
  background: #fafafa;
  box-shadow: var(--shadow);
}

.os-card-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.os-card-detail {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.os-card-note {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.os-card-soon {
  color: var(--text-soft);
}

.purchase-checkout {
  text-align: center;
  margin-bottom: 8px;
}

.purchase-checkout .btn {
  min-width: 280px;
}

.purchase-checkout .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.purchase-hint {
  margin: 14px 0 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.purchase-back {
  text-align: center;
  margin-top: 24px;
}

.download-card-primary {
  border-color: var(--text);
  box-shadow: var(--shadow);
}

.download-card-muted {
  opacity: 0.72;
}

.download-card .coming-soon-pill {
  display: inline-block;
  margin: 8px 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}

.thank-you-support {
  margin-top: 24px;
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you-support a {
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .hero,
  .download-grid,
  .feature-grid,
  .steps,
  .security-grid,
  .pricing-grid,
  .os-choice-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .site-nav a:not(.btn) {
    display: none;
  }
}