/* Dixon School — pCloud affiliate landing (HetrixTools design tokens) */
:root {
  --primary: #50A1FF;
  --accent-hover: #3A8AE6;
  --accent-soft: #96C7FF;
  --accent-wash: #EAF0FF;
  --ink: #191919;
  --body: #323D47;
  --muted: #757575;
  --muted-soft: #868E96;
  --canvas: #F8F9FA;
  --surface: #FFFFFF;
  --surface-alt: #F1F2F3;
  --surface-soft: #EAEFF4;
  --border: #DEE2E6;
  --border-strong: #C9CCCE;
  --success: #3CD458;
  --footer-bg: #262A37;
  --on-primary: #FFFFFF;
  --on-dark: #F8F9FA;
  --container: 1140px;
  --section-pad: clamp(56px, 10vw, 88px);
  --hero-pad: clamp(64px, 12vw, 96px);
  --radius-lg: 8px;
  --radius-pill: 10rem;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
  background-color: var(--canvas);
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--on-dark);
}

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

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: 64px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

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

.site-logo:hover {
  text-decoration: none;
  color: var(--primary);
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

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

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

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

.btn-secondary:hover {
  background: var(--surface-alt);
  color: var(--ink);
  text-decoration: none;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

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

/* Hero */
.hero {
  padding: var(--hero-pad) 0;
  background: linear-gradient(180deg, var(--surface) 0%, var(--canvas) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--accent-wash);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-subtitle {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  max-width: 36em;
}

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

.hero-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.hero-bullets .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--success);
  color: var(--on-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.hero-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 24px rgba(25, 25, 25, 0.06);
}

.storage-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.storage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.storage-row.featured {
  background: var(--accent-wash);
  border-color: var(--accent-soft);
}

.storage-label {
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}

.storage-size {
  font-size: 14px;
  color: var(--muted);
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--success);
  color: var(--on-primary);
}

.badge-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.sync-caption {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

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

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

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

/* Plan cards */
.plan-grid {
  display: grid;
  gap: 24px;
}

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

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan-card.highlight {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

.plan-name {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}

.plan-capacity {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.plan-desc {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--muted);
  flex-grow: 1;
}

.plan-card .btn {
  width: 100%;
  margin-top: auto;
}

.plan-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 8px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  gap: 20px;
}

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

@media (min-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-wash);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 700;
}

.feature-tile h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.feature-tile p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.45;
}

/* Trust */
.trust-grid {
  display: grid;
  gap: 24px;
}

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

.trust-card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.trust-stat {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.trust-label {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 720px;
  margin: 48px auto 0;
}

.testimonial blockquote {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  font-style: normal;
}

.testimonial cite {
  font-size: 14px;
  font-style: normal;
  color: var(--muted);
  font-weight: 600;
}

/* Billing options */
.billing-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.billing-pill {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--body);
}

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

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--on-dark);
}

.cta-band p {
  margin: 0 auto 28px;
  max-width: 520px;
  font-size: 18px;
  opacity: 0.9;
}

.cta-band .btn-primary {
  font-size: 15px;
}

/* Footer */
.site-footer {
  background: #1e222d;
  color: var(--muted-soft);
  padding: 48px 0 32px;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.footer-brand {
  font-weight: 600;
  color: var(--on-dark);
  font-size: 14px;
}

.footer-disclaimer {
  max-width: 640px;
  line-height: 1.45;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--accent-soft);
}

.footer-links a:hover {
  color: var(--on-dark);
}

/* Mobile nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 0;
  text-decoration: none;
}

.mobile-nav a:hover {
  color: var(--primary);
}

.site-header {
  position: relative;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}
