/* ============================================================
   Supplira — main.css
   Design: editorial confidence, dark navy + off-white + teal
   ============================================================ */

:root {
  --navy:       #0d1b2a;
  --navy-mid:   #122030;
  --navy-light: #1a2e42;
  --navy-border:#1e3347;
  --teal:       #3ecfaa;
  --teal-dark:  #29a888;
  --teal-pale:  #e6faf5;
  --off-white:  #f5f4f0;
  --white:      #ffffff;
  --text-main:  #1a1a1a;
  --text-muted: #5a6070;
  --text-light: #8a93a0;
  --border:     #e4e2dc;
  --red:        #e05252;
  --amber:      #e8970a;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { color: var(--text-muted); }

.lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ---- Layout ---- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--navy);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  text-decoration: none;
}
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy-border);
}
.btn-outline-dark:hover {
  border-color: var(--teal-dark);
  color: var(--teal-dark);
  text-decoration: none;
}
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: relative;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__logo img { height: 28px; width: auto; }
.nav__logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--white); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__signin {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.nav__signin:hover { color: var(--white); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ---- Hero ---- */
.hero {
  background: var(--navy);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(62,207,170,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--teal);
}
.hero h1 { color: var(--white); max-width: 720px; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { color: rgba(255,255,255,0.65); max-width: 540px; margin-bottom: 36px; }
.hero__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero__trust {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--navy-border);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.hero__trust-item svg { flex-shrink: 0; }

/* ---- Screenshot band ---- */
.screenshot-band {
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  padding: 40px 0;
  overflow: hidden;
}
.screenshot-band img {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--navy-border);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

/* ---- Section base ---- */
.section { padding: 88px 0; }
.section--alt { background: var(--off-white); }
.section--dark { background: var(--navy); }
.section__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.section--dark .section__label { color: var(--teal); }
.section__title { margin-bottom: 16px; }
.section--dark .section__title { color: var(--white); }
.section__subtitle { font-size: 1.0625rem; color: var(--text-muted); max-width: 520px; }
.section--dark .section__subtitle { color: rgba(255,255,255,0.55); }
.section__header { margin-bottom: 52px; }
.section__header--center { text-align: center; }
.section__header--center .section__subtitle { margin: 0 auto; }

/* ---- Problem strip ---- */
.problem-strip {
  background: var(--navy-light);
  padding: 56px 0;
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
}
.problem-strip .container {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0;
}
.problem-item {
  padding: 0 36px;
  text-align: center;
}
.problem-item:first-child { padding-left: 0; }
.problem-item:last-child { padding-right: 0; }
.problem-divider { background: var(--navy-border); }
.problem-item__icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}
.problem-item__text {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.problem-item__text strong { color: var(--white); display: block; font-weight: 600; margin-bottom: 4px; font-size: 15px; }

/* ---- Feature grid ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-card {
  background: var(--white);
  padding: 32px;
}
.feature-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card__icon svg { color: var(--teal-dark); }
.feature-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.feature-card p { font-size: 14px; line-height: 1.65; }

/* ---- How it works ---- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  position: relative;
  padding-bottom: 40px;
}
.step:last-child { padding-bottom: 0; }
.step__num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step__line {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin-top: 8px;
}
.step:last-child .step__line { display: none; }
.step__content { padding-top: 8px; }
.step__content h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.step__content p { font-size: 14px; }

/* ---- Comparison table ---- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 14px;
}
.compare-table thead th {
  background: var(--off-white);
  padding: 14px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}
.compare-table thead th:first-child { width: 30%; }
.compare-table thead th.col-hl {
  background: var(--navy);
  color: var(--white);
}
.compare-table tbody td {
  padding: 13px 20px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td:first-child { font-weight: 500; color: var(--text-main); }
.compare-table tbody td.col-hl {
  background: #f0faf7;
  color: var(--navy);
  font-weight: 500;
}
.check { color: var(--teal-dark); font-weight: 700; }
.cross { color: var(--text-light); }

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
}
.pricing-card--featured {
  border-color: var(--teal);
  border-width: 2px;
  position: relative;
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card__name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 8px;
}
.pricing-card__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-card__price span { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.pricing-card__desc { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; }
.pricing-card__features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.pricing-card__features li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 5px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
}
.pricing-card__features li:last-child { border-bottom: none; }
.pricing-card__features li::before {
  content: '✓';
  color: var(--teal-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 20px;
}

/* ---- Regulatory strip ---- */
.reg-strip {
  padding: 56px 0;
  background: var(--navy);
}
.reg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.reg-card {
  background: var(--navy-light);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.reg-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(62,207,170,0.1);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.reg-card h3 { font-size: 15px; color: var(--white); margin-bottom: 8px; }
.reg-card p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--teal);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: var(--navy); margin-bottom: 12px; }
.cta-band p { color: rgba(13,27,42,0.7); margin-bottom: 32px; font-size: 1.0625rem; }
.cta-band .btn-primary {
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  padding: 14px 32px;
}
.cta-band .btn-primary:hover { background: var(--navy-mid); }

/* ---- Security badges ---- */
.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.sec-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 6px 12px;
}
.sec-badge svg { flex-shrink: 0; }

/* ---- Footer ---- */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--navy-border);
  padding: 56px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--navy-border);
  margin-bottom: 28px;
}
.footer__brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.footer__brand-desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 260px; }
.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
}
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.15s; }
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__legal { font-size: 12px; color: rgba(255,255,255,0.25); line-height: 1.7; }
.footer__legal a { color: rgba(255,255,255,0.35); text-decoration: underline; }

/* ---- Blog ---- */
.blog-hero {
  background: var(--navy);
  padding: 64px 0 56px;
}
.blog-hero h1 { color: var(--white); margin-bottom: 12px; }
.blog-hero p { color: rgba(255,255,255,0.55); font-size: 1.0625rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 60px 0;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-pale);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.blog-card h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.4; }
.blog-card p { font-size: 13px; line-height: 1.6; flex: 1; }
.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-light);
}
.blog-card__read { color: var(--teal-dark); font-weight: 500; font-size: 12px; text-decoration: none; }

/* ---- Article ---- */
.article-hero {
  background: var(--navy);
  padding: 64px 0 52px;
}
.article-hero__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(62,207,170,0.12);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.article-hero h1 { color: var(--white); margin-bottom: 16px; }
.article-hero__meta { font-size: 13px; color: rgba(255,255,255,0.4); }

.article-body {
  padding: 56px 0 80px;
}
.article-body .container--narrow > * + * { margin-top: 1.25rem; }
.article-body h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--teal);
}
.article-body h3 { font-size: 1.125rem; color: var(--navy); margin-top: 1.75rem; }
.article-body p { font-size: 16px; color: var(--text-muted); line-height: 1.8; }
.article-body ul, .article-body ol {
  padding-left: 24px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}
.article-body li { margin-bottom: 6px; }
.article-body strong { color: var(--text-main); }
.article-callout {
  background: var(--teal-pale);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin: 2rem 0;
}
.article-callout p { color: var(--navy); font-size: 15px; }
.article-cta {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin-top: 3rem;
}
.article-cta h3 { color: var(--white); margin-bottom: 8px; }
.article-cta p { color: rgba(255,255,255,0.55); margin-bottom: 20px; }

/* ---- Legal pages ---- */
.legal-hero {
  background: var(--navy);
  padding: 56px 0 48px;
}
.legal-hero h1 { color: var(--white); font-size: 2rem; }
.legal-hero p { color: rgba(255,255,255,0.45); font-size: 14px; margin-top: 8px; }

.legal-body {
  padding: 56px 0 80px;
}
.legal-body .container--narrow > * + * { margin-top: 1.25rem; }
.legal-body h2 { font-size: 1.25rem; color: var(--navy); margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.legal-body h3 { font-size: 1rem; color: var(--navy); margin-top: 1.5rem; }
.legal-body p { font-size: 15px; color: var(--text-muted); line-height: 1.8; }
.legal-body ul, .legal-body ol { padding-left: 22px; color: var(--text-muted); font-size: 15px; line-height: 1.8; }
.legal-body li { margin-bottom: 5px; }
.legal-body strong { color: var(--text-main); }
.legal-body a { color: var(--teal-dark); }
.legal-toc {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 2rem;
}
.legal-toc p { font-size: 13px; font-weight: 600; color: var(--text-main); margin-bottom: 10px; }
.legal-toc ol { padding-left: 18px; }
.legal-toc li { font-size: 13px; margin-bottom: 4px; }
.legal-toc a { color: var(--teal-dark); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav__links, .nav__signin { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--navy-border);
    gap: 16px;
  }
  .problem-strip .container { grid-template-columns: 1fr; }
  .problem-divider { display: none; }
  .problem-item { padding: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .compare-table { font-size: 12px; }
  .compare-table thead th, .compare-table tbody td { padding: 10px 12px; }
  h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
  .hero { padding: 52px 0 48px; }
  .section { padding: 56px 0; }
  .footer__top { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
