:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #5b6573;
  --faint: #8a94a3;
  --line: #eef1f5;
  --line-2: #e7ebf1;
  --accent: #1f5eff;
  --accent-hover: #1747d6;
  --accent-soft: #eef3ff;
  --tint: #f6f9ff;
  --panel: #ffffff;
  --shadow-card: 0 30px 70px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 650;
  font-size: 17px;
  letter-spacing: 0;
  text-decoration: none;
}

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

nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
  color: var(--muted);
  font-size: 15px;
}

nav a {
  text-decoration: none;
}

nav a:hover,
.text-link:hover {
  color: var(--accent);
}

.nav-cta {
  padding: 9px 18px;
  color: #ffffff;
  background: var(--accent);
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.1;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 8px 22px rgba(31, 94, 255, 0.28);
}

.button.primary:hover {
  background: var(--accent-hover);
}

.button.secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: #d8dee8;
}

.button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.button.full {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(32px, 5vw, 56px);
  padding: clamp(56px, 7vw, 80px) clamp(20px, 5vw, 64px) clamp(48px, 5vw, 64px);
  background: linear-gradient(180deg, var(--tint) 0%, #ffffff 70%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 84px;
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 680;
}

h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 680;
}

h3 {
  margin: 0 0 10px;
  font-size: 19px;
  letter-spacing: 0;
}

.lede {
  max-width: 540px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

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

.fine-print {
  margin: 18px 0 0;
  color: var(--faint);
  font-size: 14px;
}

/* ---------- Product window mock ---------- */
.product-visual {
  display: flex;
  justify-content: center;
}

.window {
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  background: #f4f6fa;
  border-bottom: 1px solid var(--line-2);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.window-bar span:nth-child(1) { background: #ec6a5e; }
.window-bar span:nth-child(2) { background: #f4bf50; }
.window-bar span:nth-child(3) { background: #61c554; }

.window-bar strong {
  flex: 1;
  text-align: center;
  margin-left: -44px;
  font-size: 13px;
  color: #64748b;
}

.window-body {
  padding: 24px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.toolbar button {
  min-height: 36px;
  padding: 8px 14px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid #e2e8f1;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.toolbar button.is-active {
  color: var(--ink);
  background: #eef2f8;
}

.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line-2);
  border-radius: 8px;
}

.file-row b,
.file-row small {
  display: block;
}

.file-row b {
  font-size: 14px;
}

.file-row small {
  margin-top: 3px;
  color: var(--faint);
}

mark {
  padding: 6px 11px;
  color: #15803d;
  background: #dcfce7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.mask-preview {
  margin: 16px 0;
  padding: 18px;
  background: #0f1729;
  border-radius: 8px;
}

.mask-preview p {
  margin: 0;
  color: #cdd6e4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
}

.mask-preview p + p {
  margin-top: 10px;
}

.mask-preview span {
  color: #fdba74;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.status-grid div {
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line-2);
  border-radius: 8px;
}

.status-grid strong,
.status-grid small {
  display: block;
}

.status-grid strong {
  font-size: 22px;
  letter-spacing: 0;
}

.status-grid div:last-child strong {
  font-size: 18px;
}

.status-grid small {
  margin-top: 4px;
  color: var(--faint);
  font-size: 12px;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
  color: #334155;
  font-weight: 600;
  font-size: 14px;
  border-right: 1px solid var(--line);
}

.trust-strip span:last-child {
  border-right: none;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(64px, 9vw, 100px) clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-grid article {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 8px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  background: var(--accent-soft);
  border-radius: 8px;
}

.feature-icon::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 5px;
}

.feature-grid p,
.info-grid p,
.policy-grid p,
.split p,
.support p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/* ---------- Purchase process ---------- */
.process {
  background: #ffffff;
}

.info-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-grid article,
.policy-grid article {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 8px;
}

.info-grid h3,
.policy-grid h3 {
  margin-bottom: 12px;
}

/* ---------- Privacy split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 0.52fr;
  gap: clamp(36px, 5vw, 60px);
  align-items: start;
  background: var(--tint);
}

.split h2 {
  margin: 0 0 22px;
}

.split p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.text-link {
  display: inline-flex;
  margin-top: 2px;
  color: var(--accent);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

.privacy-panel {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.privacy-panel img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
}

dl {
  margin: 22px 0 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--faint);
  font-size: 15px;
}

dd {
  margin: 0;
  font-weight: 650;
  font-size: 15px;
  text-align: right;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px;
  max-width: 900px;
}

.plan {
  position: relative;
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 8px;
}

.plan.featured {
  border: 1.5px solid var(--accent);
  box-shadow: 0 24px 60px rgba(31, 94, 255, 0.14);
}

.plan-badge {
  position: absolute;
  top: 22px;
  right: 24px;
  padding: 5px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.plan h3 {
  margin: 0;
  font-size: 20px;
}

.price {
  margin: 6px 0 24px;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0;
}

.plan ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.plan-features {
  columns: 2;
  column-gap: 24px;
}

.plan li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  break-inside: avoid;
}

.plan li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.plan-note {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- Policies ---------- */
.policies {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.policy-grid .text-link {
  margin-top: 16px;
  font-size: 15px;
}

/* ---------- Support ---------- */
.support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--tint);
  border-top: 1px solid var(--line);
}

.support > div {
  max-width: 720px;
}

.support h2 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.1;
}

.support p {
  font-size: 16px;
  line-height: 1.7;
}

.support .button {
  white-space: nowrap;
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 34px clamp(20px, 5vw, 64px);
  color: var(--faint);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

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

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

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero,
  .split,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 68px;
  }

  h2 {
    font-size: 36px;
  }

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

  .info-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  nav {
    width: 100%;
  }

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

  .trust-strip span:nth-child(2) {
    border-right: none;
  }

  .plan-features {
    columns: 1;
  }

  .support {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 30px;
  }

  .lede {
    font-size: 17px;
  }

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

  .trust-strip span {
    border-right: none;
  }

  .hero-actions .button {
    width: 100%;
  }

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