/* Beauts — shared styles.
   Plain CSS. No preprocessor. No framework.
   Palette: slate-blue accent on warm white ground.
   Mobile-first. Dark mode included. */

:root {
  /* Brand */
  --blue-700:   #2563c8;
  --blue-600:   #3070d8;
  --blue-100:   #dbeafe;
  --blue-50:    #eff6ff;

  /* Neutrals — warm white ground */
  --ink:        #1a1a2e;
  --ink-mid:    #3d3d56;
  --ink-light:  #6b6b85;
  --rule:       #e2e2ec;
  --surface:    #f8f8fc;
  --white:      #ffffff;

  /* Status */
  --green-700:  #15803d;
  --green-50:   #f0fdf4;

  /* Layout */
  --max-width:  960px;
  --gutter:     24px;
  --radius:     12px;
  --radius-sm:  8px;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.4em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ─── Layout helpers ─────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─── Navigation ─────────────────────────────────────────── */
nav.top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
}
nav.top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
nav.top .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
nav.top .brand:hover { text-decoration: none; }
nav.top .brand img { width: 26px; height: 26px; }
nav.top .links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
nav.top .links a {
  color: var(--ink-mid);
  font-size: 14px;
  font-weight: 500;
}
nav.top .links a:hover { color: var(--blue-700); text-decoration: none; }
nav.top .links .btn-nav {
  background: var(--blue-700);
  color: #fff;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
nav.top .links .btn-nav:hover { background: var(--blue-600); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--blue-700);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37,99,200,0.28);
}
.btn-primary:hover {
  background: var(--blue-600);
  box-shadow: 0 4px 16px rgba(37,99,200,0.36);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--rule);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.btn-secondary:hover {
  background: var(--surface);
  border-color: #c8c8d8;
}
.btn-large {
  padding: 17px 32px;
  font-size: 17px;
  border-radius: 14px;
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  padding: 72px 0 0;
  text-align: center;
  overflow: hidden;
}
.hero-text { max-width: 640px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 0 20px;
  color: var(--ink);
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-700);
}
.hero .lead {
  font-size: clamp(17px, 2.5vw, 20px);
  color: var(--ink-mid);
  max-width: 520px;
  margin: 0 auto 36px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-reassure {
  font-size: 13px;
  color: var(--ink-light);
  margin: 0 0 56px;
}

/* Contact sheet visual */
.contact-sheet-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 var(--gutter) 72px;
}
.sheet-before,
.sheet-after {
  /* nothing extra — children fill */
}
.sheet-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 10px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}
.contact-grid .thumb {
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
/* Generate varied photo-like colour thumbnails using CSS */
.contact-grid .thumb svg { width: 100%; height: 100%; display: block; }

/* Rejected thumb — slightly desaturated, marked */
.contact-grid .thumb.rejected { opacity: 0.55; }
.contact-grid .thumb.selected {
  outline: 2.5px solid var(--blue-700);
  outline-offset: 1px;
  opacity: 1;
}
.keeper-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.keeper-frame {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 0 0 3px var(--blue-700);
}
.keeper-frame svg { width: 100%; height: 100%; display: block; }
.keeper-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }
.keeper-caption {
  font-size: 13px;
  color: var(--ink-light);
  margin-top: 10px;
  text-align: center;
}
.sheet-arrow {
  font-size: 28px;
  color: var(--ink-light);
  user-select: none;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .contact-sheet-wrap {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 16px;
  }
  .sheet-arrow { display: flex; justify-content: center; }
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
  .keeper-frame { max-width: 180px; }
}

/* ─── Section base ───────────────────────────────────────── */
section {
  padding: 72px 0;
}
section + section {
  border-top: 1px solid var(--rule);
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 12px;
}
section h2 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.6px;
  margin: 0 0 12px;
  line-height: 1.2;
}
section .subhead {
  color: var(--ink-mid);
  font-size: 18px;
  margin: 0 0 48px;
  max-width: 560px;
}

/* ─── How it works ───────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  counter-reset: steps;
}
.step {
  counter-increment: steps;
}
.step-num {
  width: 36px;
  height: 36px;
  background: var(--blue-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--blue-700);
  margin-bottom: 14px;
}
.step h3 {
  font-size: 17px;
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}
.step p {
  color: var(--ink-mid);
  font-size: 15px;
  margin: 0;
}

/* ─── Why people use it ──────────────────────────────────── */
.personas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.persona {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
}
.persona-icon {
  font-size: 28px;
  margin-bottom: 12px;
  line-height: 1;
}
.persona h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}
.persona p {
  font-size: 14px;
  color: var(--ink-mid);
  margin: 0;
}

/* ─── "What it isn't" ────────────────────────────────────── */
.not-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.not-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.not-item-x {
  width: 22px;
  height: 22px;
  background: #fee2e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #b91c1c;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.not-item p {
  font-size: 15px;
  color: var(--ink-mid);
  margin: 0;
}
.not-item strong { color: var(--ink); }

/* ─── Trust band ─────────────────────────────────────────── */
.trust-band {
  background: var(--surface);
  padding: 56px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  text-align: center;
}
.trust-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 10px 0 4px;
  color: var(--ink);
}
.trust-item p {
  font-size: 13px;
  color: var(--ink-light);
  margin: 0;
}
.trust-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
  font-size: 20px;
}

/* ─── Buy section ────────────────────────────────────────── */
.buy-section {
  text-align: center;
  padding: 80px 0;
}
.buy-section h2 {
  margin-bottom: 8px;
}
.buy-section .subhead {
  margin: 0 auto 40px;
}
.buy-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 680px;
  margin: 0 auto;
}
@media (max-width: 560px) {
  .buy-cards { grid-template-columns: 1fr; }
}
.buy-card {
  background: var(--white);
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: left;
}
.buy-card.featured {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 4px var(--blue-50), 0 8px 28px rgba(37,99,200,0.12);
}
.buy-card .card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 8px;
}
.buy-card.featured .card-label { color: var(--blue-700); }
.buy-card .price {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1;
}
.buy-card .price-note {
  font-size: 13px;
  color: var(--ink-light);
  margin-bottom: 20px;
}
.buy-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.buy-card ul li {
  font-size: 14px;
  color: var(--ink-mid);
  padding: 5px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 8px;
}
.buy-card ul li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-700);
  flex-shrink: 0;
}
.buy-card .btn { width: 100%; }
.buy-reassure {
  font-size: 13px;
  color: var(--ink-light);
  margin-top: 20px;
  text-align: center;
}
.buy-reassure a { color: var(--ink-light); text-decoration: underline; }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-section { padding: 72px 0; }
.faq-section h2 { margin-bottom: 32px; }
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-light);
  flex-shrink: 0;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  color: var(--ink-mid);
  font-size: 15px;
  padding-bottom: 18px;
  margin: 0;
}
.faq details p a { font-size: 15px; }

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: #9090ae;
  font-size: 14px;
  padding: 52px 0 36px;
}
footer a { color: #9090ae; }
footer a:hover { color: #fff; text-decoration: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-bottom: 10px;
}
.footer-brand .brand-mark img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.footer-brand p { color: #9090ae; font-size: 13px; line-height: 1.5; margin: 0; }
footer h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer ul li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid #2a2a40;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #60607a;
}
.footer-bottom a { color: #9090ae; }

/* ─── Legal / doc pages ──────────────────────────────────── */
.doc {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px var(--gutter) 96px;
}
.doc h1 {
  font-size: 34px;
  letter-spacing: -0.8px;
  margin: 0 0 8px;
}
.doc h2 {
  font-size: 20px;
  margin: 40px 0 10px;
  letter-spacing: -0.3px;
}
.doc h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 8px;
}
small.updated {
  color: var(--ink-light);
  font-size: 13px;
  display: block;
  margin-bottom: 40px;
}
.doc table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0;
  font-size: 14px;
}
.doc th, .doc td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--rule);
}
.doc th {
  background: var(--surface);
  font-weight: 600;
  font-size: 13px;
}
.doc ul, .doc ol { margin: 8px 0 16px; }
.doc li { margin-bottom: 6px; }

/* ─── Responsive nav collapse ────────────────────────────── */
@media (max-width: 600px) {
  nav.top .links .nav-hide { display: none; }
}

/* ─── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ─── Dark mode ──────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --ink:        #e8e8f4;
    --ink-mid:    #9090ae;
    --ink-light:  #666684;
    --rule:       #2a2a40;
    --surface:    #14141f;
    --white:      #0e0e18;
    --blue-50:    #0e1a38;
    --green-50:   #052e1c;
  }
  body { background: var(--white); color: var(--ink); }
  nav.top {
    background: rgba(14,14,24,0.92);
    border-bottom-color: var(--rule);
  }
  .buy-card {
    background: #14141f;
  }
  .buy-card.featured {
    box-shadow: 0 0 0 4px rgba(37,99,200,0.2), 0 8px 28px rgba(37,99,200,0.15);
  }
  .not-item-x { background: #3b1111; color: #f87171; }
  footer { background: #07070f; }
  .contact-grid .thumb { opacity: 0.8; }
  .contact-grid .thumb.rejected { opacity: 0.35; }
  .doc th { background: #14141f; }
}
