/* ============================================================
   The Minimal Lists — Website Stylesheet
   ============================================================ */

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

:root {
  --bg:       #f4f4f4;
  --white:    #ffffff;
  --text:     #111111;
  --mid:      #555555;
  --muted:    #666666;   /* Darkened from #888 for WCAG AA contrast */
  --light:    #777777;   /* Darkened from #9b9b9b for WCAG AA contrast */
  --border:   #cccccc;
  --border-l: #dddddd;
  --max-w:    920px;
}

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ─── Skip Link ──────────────────────────────────────────── */

.skip-link {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -999;
  text-decoration: none;
}

.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: var(--text);
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 9999;
  overflow: visible;
  outline: none;
}

/* ─── Visually hidden (accessible but not visible) ──────── */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Focus styles ───────────────────────────────────────── */

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

:focus:not(:focus-visible) {
  outline: none;
}

/* ─── Layout ─────────────────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── Navigation ─────────────────────────────────────────── */

.site-nav {
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.nav-brand {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.15s;
}

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

/* ─── Hamburger button ───────────────────────────────────── */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 4px;
  color: var(--text);
  line-height: 0;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -6px; }
.hamburger::after  { top:  6px; }

/* Open state — becomes × */
.nav-toggle[aria-expanded="true"] .hamburger             { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before     { transform: rotate(45deg);  top: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::after      { transform: rotate(-45deg); top: 0; }

/* ─── Hero ───────────────────────────────────────────────── */

.hero {
  background: var(--white);
  padding: 100px 0 92px;
  text-align: center;
  /*border-bottom: 0.5px solid var(--border);*/
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 40px;
  font-weight: normal;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 40px;
}

/* ─── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-block;
  background: var(--text);
  color: var(--white);
  padding: 12px 30px;
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover { background: #333333; }

/* ─── Divider ────────────────────────────────────────────── */

.rule {
  border: none;
  border-top: 0.5px solid var(--border);
  width: 70%;
  margin: 0 auto;
}

/* ─── Section Base ───────────────────────────────────────── */

.sect {
  padding: 72px 0;
}

.sect-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 36px;
}

.sect h2 {
  font-size: 26px;
  font-weight: normal;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 16px;
}

/* ─── Mission ────────────────────────────────────────────── */

.mission {
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
}

.mission-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.mission-inner .pull {
  font-size: 22px;
  font-weight: normal;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 28px;
}

.mission-inner p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 14px;
}

.mission-inner p:last-child { margin-bottom: 0; }

/* ─── How It Works ───────────────────────────────────────── */

.how {
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 0.5px solid var(--border);
  margin-top: 40px;
  background: var(--white);
}

.step {
  background: var(--white);
  padding: 32px 28px;
}

.step-num {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  display: block;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 14px;
  font-weight: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}

.step p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.75;
}

/* ─── Products ───────────────────────────────────────────── */

.products {
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
}

.products-intro {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
  margin-bottom: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--white);
  border: 0.5px solid var(--border);
  margin-top: 40px;
}

.product-card {
  background: var(--white);
  padding: 28px 24px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: background 0.15s;
}

.product-card:hover { background: #fafafa; }

.product-num {
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 10px;
  display: block;
}

.product-card h3 {
  font-size: 13px;
  font-weight: normal;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-card p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.product-cta {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── CTA Banner ─────────────────────────────────────────── */

.cta-banner {
  background: var(--text);
  color: var(--white);
  padding: 88px 0;
  text-align: center;
}

.cta-banner .sect-label { color: #888888; margin-bottom: 28px; }

.cta-banner h2 {
  font-size: 28px;
  font-weight: normal;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 15px;
  color: #888888;
  max-width: 400px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.cta-banner .btn {
  background: var(--white);
  color: var(--text);
}

.cta-banner .btn:hover { background: var(--bg); }

/* ─── Coming Soon ────────────────────────────────────────── */

.coming-soon {
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
}

.coming-soon-inner {
  max-width: 560px;
  text-align: center;
  margin: 0 auto;
}

.coming-soon-inner h2 {
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 12px;
}

.coming-soon-inner p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.8;
}

/* ─── Footer ─────────────────────────────────────────────── */

.site-footer {
  background: var(--white);
  border-top: 0.5px solid var(--border);
  padding: 48px 0;
}

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

.footer-brand {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  display: block;
}

.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-top: -6px;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

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

.footer-copy {
  font-size: 11px;
  color: var(--muted);
  border-top: 0.5px solid var(--border-l);
  padding-top: 18px;
  width: 100%;
  text-align: center;
}

/* ─── Policy Pages ───────────────────────────────────────── */

.policy-header {
  background: var(--white);
  padding: 64px 0 56px;
  border-bottom: 0.5px solid var(--border);
  text-align: center;
}

.policy-header .eyebrow {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.policy-header h1 {
  font-size: 28px;
  font-weight: normal;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.policy-header .meta {
  font-size: 12px;
  color: var(--muted);
}

.policy-body {
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
}

.policy-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 32px 80px;
}

.policy-content h2 {
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin: 44px 0 14px;
  padding-top: 32px;
  border-top: 0.5px solid var(--border-l);
}

.policy-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.policy-content p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 14px;
}

.policy-content p:last-child { margin-bottom: 0; }

.policy-content ul {
  margin: 10px 0 14px 18px;
}

.policy-content li {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 6px;
}

.policy-content a { color: var(--text); }

/* ─── Responsive ─────────────────────────────────────────── */

@media (max-width: 768px) {

  /* Show hamburger, hide desktop links */
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 0.5px solid var(--border);
    flex-direction: column;
    padding: 0 24px;
    gap: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }

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

  .nav-links li {
    border-bottom: 0.5px solid var(--border-l);
  }

  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 12px;
    color: var(--text);
    padding: 0;
  }

  .products-grid,
  .steps { grid-template-columns: repeat(2, 1fr); }

  .hero h1 { font-size: 30px; }
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
}

@media (max-width: 540px) {
  .products-grid,
  .steps { grid-template-columns: 1fr; }

  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 24px; }
  .sect { padding: 52px 0; }

  .footer-links {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }

  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
}
