/* Hightouch-inspired tokens — Proton Drive landing */
:root {
  --accent: #40de9e;
  --accent-hover: #2ea281;
  --accent-pressed: #228457;
  --accent-wash: #e3fcee;
  --accent-soft: #b2f9d4;
  --ink: #141213;
  --body: #302d2e;
  --muted: #8f8a8b;
  --muted-strong: #696365;
  --canvas: #ffffff;
  --surface-alt: #f5f5f5;
  --surface-warm: #ebebeb;
  --border: #c7c2c3;
  --border-soft: #ebebeb;
  --on-primary: #141213;
  --on-dark: #f5f5f5;
  --footer-bg: #141213;
  --reframe-green: #efffbc;
  --radius-lg: 12px;
  --radius-card: 16px;
  --max-width: 1240px;
  --section-space: clamp(64px, 10vw, 120px);
  --hero-pad: clamp(48px, 8vw, 128px);
  --font-display: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-editorial: Georgia, "Times New Roman", serif;
  --transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--on-primary);
  font-weight: 600;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 18, 19, 0.12);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  color: var(--ink);
}

.nav-cta {
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition),
    transform var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--on-primary);
}

.btn-primary:active {
  background: var(--accent-pressed);
}

.btn-secondary {
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--muted);
  color: var(--ink);
}

.btn-block-mobile {
  width: 100%;
}

@media (min-width: 480px) {
  .btn-block-mobile {
    width: auto;
  }
}

/* Hero */
.hero {
  padding: var(--hero-pad) 0 var(--section-space);
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-strong);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 14ch;
}

.hero-carousel {
  position: relative;
  min-height: 1.1em;
}

.hero-claim {
  display: none;
  margin: 0;
}

.hero-claim.is-active {
  display: block;
}

.hero-sub {
  font-size: clamp(1.0625rem, 2vw, 1.125rem);
  line-height: 1.55;
  max-width: 38rem;
  margin: 0 0 32px;
  color: var(--body);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.hero-pause {
  background: var(--surface-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}

.hero-pause:hover {
  background: var(--surface-warm);
}

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

@media (min-width: 768px) {
  .hero-bullets {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 32px;
  }
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}

.hero-bullets .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent-wash);
  color: var(--accent-pressed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* Logo strip */
.logo-strip {
  padding: 32px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--canvas);
}

.logo-strip p {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 20px;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-logos li {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-strong);
  letter-spacing: 0.02em;
  opacity: 0.85;
}

/* Sections */
.section {
  padding: var(--section-space) 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 48px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-strong);
  margin: 0 0 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 16px;
}

.section-lead {
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
  color: var(--body);
}

/* Cards grid */
.card-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: var(--canvas);
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid var(--border-soft);
  transition: box-shadow var(--transition), transform var(--transition);
}

.section-alt .product-card {
  background: var(--canvas);
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(20, 18, 19, 0.06);
  transform: translateY(-2px);
}

.product-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 8px;
}

.product-card p {
  margin: 0;
  font-size: 15px;
  color: var(--body);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}

/* Pricing highlight */
.pricing-band {
  background: var(--reframe-green);
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .pricing-band {
    grid-template-columns: 1fr auto;
  }
}

.pricing-band h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}

.pricing-band p {
  margin: 0;
  font-size: 17px;
  max-width: 36rem;
}

.metric-card {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-card);
  padding: 32px;
}

.metric-card .metric {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin: 0 0 8px;
}

.metric-card p {
  margin: 0;
  font-size: 15px;
  color: rgba(245, 245, 245, 0.85);
}

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li {
  position: relative;
  padding: 24px;
  background: var(--surface-alt);
  border-radius: var(--radius-card);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: var(--on-primary);
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.steps h3 {
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--ink);
}

.steps p {
  margin: 0;
  font-size: 15px;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-soft);
}

.faq-item summary {
  padding: 20px 0;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--muted);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 20px;
  padding-right: 32px;
  font-size: 15px;
  color: var(--body);
}

/* CTA band */
.cta-band {
  background: var(--footer-bg);
  color: var(--on-dark);
  padding: var(--section-space) 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: var(--on-dark);
}

.cta-band p {
  font-size: 18px;
  max-width: 36rem;
  margin: 0 auto 32px;
  color: rgba(245, 245, 245, 0.88);
}

.cta-band .btn-primary {
  min-width: 220px;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0 48px;
  color: rgba(245, 245, 245, 0.65);
  font-size: 13px;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.site-footer a {
  color: rgba(245, 245, 245, 0.85);
}

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

.disclaimer {
  max-width: 42rem;
  line-height: 1.45;
}

/* Editorial quote */
.pull-quote {
  font-family: var(--font-editorial);
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin: 48px 0 0;
  max-width: 32rem;
}

.card-cta {
  margin-top: 16px;
}

.plans-grid {
  margin-bottom: 32px;
}

.metric-card-spaced {
  margin-top: 48px;
}

.metric-card .card-cta {
  margin-top: 20px;
}

.steps-cta {
  text-align: center;
  margin-top: 40px;
}
