/* Design tokens — HetrixTools / DESIGN.md */
: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;
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 16px;
  --radius-pill: 10rem;
  --container: min(1140px, 100% - 2rem);
  --section-pad: clamp(3rem, 8vw, 5.5rem);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 200;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 2px solid var(--primary);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  background: 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: var(--container);
  margin-inline: auto;
}

/* 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: 1rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-decoration: none;
}

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

.logo span {
  color: var(--primary);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  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;
}

.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  cursor: pointer;
  color: var(--ink);
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(25, 25, 25, 0.08);
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile li {
  border-bottom: 1px solid var(--border);
}

.nav-mobile a {
  display: block;
  padding: 0.75rem 0;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}

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

.site-header {
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  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;
  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;
}

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

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

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

.hero-brand {
  font-size: clamp(2.75rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.hero-brand .dot {
  color: var(--primary);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--on-primary);
}

.hero-title {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--body);
  margin: 0 0 1rem;
}

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

.hero-bullets {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.hero-bullets li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  font-size: 16px;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  background: var(--accent-wash);
  border: 2px solid var(--primary);
  border-radius: 2px;
}

.hero-bullets li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.65em;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.storage-panel {
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
}

.storage-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}

.storage-row:last-child {
  border-bottom: none;
}

.label-up {
  color: var(--success);
  font-weight: 600;
}

.label-secure {
  color: var(--primary);
  font-weight: 600;
}

.visual-caption {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

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

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

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.section-header p {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

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

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: 100%;
}

.product-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0.75rem 0 0.5rem;
}

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

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-wash);
  border-radius: var(--radius-lg);
  color: var(--primary);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

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

.feature-tile h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0.5rem 0 0.35rem;
  color: var(--ink);
}

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

/* Trust */
.trust-stats {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

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

.stat-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 0.25rem;
}

.testimonial {
  max-width: 36rem;
  margin: 2.5rem auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  text-align: center;
}

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

.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-size: 14px;
  font-style: normal;
  color: var(--muted);
  font-weight: 600;
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  background: var(--surface);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item button:hover {
  background: var(--surface-alt);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.faq-panel {
  padding: 0 1.25rem 1rem;
  font-size: 15px;
  color: var(--body);
  display: none;
}

.faq-item.is-open .faq-panel {
  display: block;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

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

.cta-band h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--on-dark);
}

.cta-band p {
  font-size: 18px;
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: var(--muted-soft);
}

.cta-band .btn-primary {
  font-size: 16px;
  padding: 14px 28px;
}

/* Footer */
.site-footer {
  background: #1e222d;
  color: var(--on-dark);
  padding: 3rem 0 2rem;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--on-dark);
  margin-bottom: 0.5rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted-soft);
  line-height: 1.6;
}

.footer-links h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--on-dark);
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted-soft);
  font-size: 13px;
}

.disclaimer {
  margin-top: 0.75rem;
  font-size: 12px;
  opacity: 0.85;
}