/* LifeAtlas — marketing & verification site
   Operated by Scalablegrowth LLC. Framework-free, zero build. */

:root {
  /* palette — echoes the product's night-atlas world */
  --ink:        #10151b;   /* deep night sea */
  --ink-2:      #161d26;
  --ink-3:      #1f2a35;
  --parchment:  #f6f1e7;   /* warm paper */
  --parchment-2:#efe6d5;
  --card:       #fffdf8;
  --text:       #20242b;   /* on parchment */
  --text-soft:  #58606b;
  --text-faint: #8b8576;
  --on-ink:     #ece4d4;   /* on ink */
  --on-ink-soft:#a7b0bb;
  --terracotta: #c2663b;   /* Eiffel terracotta / Rome ochre */
  --terracotta-deep:#a8512c;
  --gold:       #d6a441;   /* collected star / lamplight */
  --zinc:       #44617c;   /* Paris zinc blue */
  --line:       #e3d9c6;
  --line-ink:   rgba(236,228,212,.14);

  --maxw: 1120px;
  --gut: clamp(20px, 5vw, 56px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(20,18,12,.06), 0 18px 44px -24px rgba(20,18,12,.34);
  --shadow-img: 0 30px 70px -30px rgba(10,14,20,.55);

  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--parchment);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--terracotta-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--serif); font-weight: 460; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

.eyebrow {
  font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: var(--terracotta-deep); margin: 0 0 14px;
}
.eyebrow.on-ink { color: var(--gold); }

.lede { font-size: clamp(17px, 2.1vw, 20px); color: var(--text-soft); max-width: 56ch; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,241,231,.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; flex-direction: column; line-height: 1.05; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand b { font-family: var(--serif); font-size: 21px; letter-spacing: -.01em; }
.brand small { font-size: 11px; letter-spacing: .04em; color: var(--text-faint); font-weight: 500; }
.nav-links { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--text-soft); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 760px) { .nav-links .hide-sm { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 10px 22px -12px rgba(168,81,44,.8); }
.btn-primary:hover { background: var(--terracotta-deep); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: rgba(0,0,0,.03); }
.btn-ghost.on-ink { color: var(--on-ink); border-color: var(--line-ink); }
.btn-ghost.on-ink:hover { background: rgba(255,255,255,.05); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: var(--on-ink); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: .92fr 1.18fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(56px, 8vw, 96px); }
.hero h1 { font-size: clamp(36px, 6vw, 60px); color: #fff; font-weight: 420; }
.hero .kicker { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; font-weight: 600; }
.hero p.sub { font-size: clamp(17px, 2.2vw, 20px); color: var(--on-ink-soft); margin: 20px 0 30px; max-width: 50ch; }
.hero .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-figure { --hero-image-shift: clamp(24px, 4vw, 52px); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; margin: 0; }
.hero-figure img { width: min(112%, 820px); max-width: none; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-img); border: 1px solid rgba(255,255,255,.07); transform: translateX(var(--hero-image-shift)); }
.hero-figure figcaption { width: min(112%, 820px); margin-top: 14px; font-size: 13px; color: var(--on-ink-soft); font-style: italic; transform: translateX(var(--hero-image-shift)); }
.hero-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero-meta span {
  font-size: 12.5px; letter-spacing: .04em; color: var(--on-ink-soft);
  border: 1px solid var(--line-ink); border-radius: 999px; padding: 5px 13px;
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img,
  .hero-figure figcaption { width: 100%; max-width: 100%; transform: none; }
}

/* ---------- generic section ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section.alt { background: var(--parchment-2); }
.section.ink { background: var(--ink); color: var(--on-ink); }
.section.ink h2 { color: #fff; }
.section.ink .lede { color: var(--on-ink-soft); }
.section-head { max-width: 62ch; }
.section-head h2 { font-size: clamp(27px, 4vw, 40px); margin-bottom: 16px; }

/* ---------- feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow);
}
.card .num { font-family: var(--serif); font-size: 15px; color: var(--terracotta); border: 1px solid var(--line); width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 16px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--text-soft); margin: 0; }
@media (max-width: 940px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.shot { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-ink); box-shadow: var(--shadow-img); background: var(--ink-2); aspect-ratio: 16 / 10; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 42px 20px 16px;
  font-size: 14px; color: #f3ecdd; line-height: 1.45;
  background: linear-gradient(to top, rgba(8,11,16,.9), rgba(8,11,16,0));
}
.shot.wide { grid-column: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; }
  .shot.wide { grid-column: auto; }
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; counter-reset: step; }
.step { border-top: 2px solid var(--terracotta); padding-top: 18px; }
.step b { display: block; font-family: var(--serif); font-size: 14px; color: var(--terracotta); letter-spacing: .12em; margin-bottom: 10px; }
.step h3 { font-size: 18px; margin-bottom: 7px; }
.step p { font-size: 14.5px; color: var(--text-soft); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; max-width: 760px; }
.price {
  background: var(--card); color: var(--text); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.price .tag { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); font-weight: 600; }
.price h3 { font-size: 23px; margin: 6px 0 14px; }
.price .amount { font-family: var(--serif); font-size: 44px; color: var(--text); line-height: 1; }
.price .amount small { font-family: var(--sans); font-size: 15px; color: var(--text-soft); font-weight: 500; letter-spacing: .02em; }
.price ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 11px; }
.price li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text-soft); }
.price li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta); }
.price .btn { margin-top: auto; justify-content: center; }
.price-note { margin-top: 22px; font-size: 13.5px; color: var(--text-faint); max-width: 60ch; }
@media (max-width: 640px) { .prices { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { margin-top: 40px; max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative;
  font-family: var(--serif); font-size: 19px; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 22px; color: var(--terracotta); font-family: var(--sans); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--text-soft); font-size: 15.5px; max-width: 70ch; }

/* ---------- cta band ---------- */
.cta { background: var(--ink); color: var(--on-ink); text-align: center; }
.cta .wrap { padding-block: clamp(56px, 8vw, 92px); }
.cta h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); margin-bottom: 16px; }
.cta p { color: var(--on-ink-soft); margin: 0 auto 28px; max-width: 48ch; }
.cta .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { background: var(--ink-2); color: var(--on-ink-soft); border-top: 1px solid var(--line-ink); }
.footer .wrap { padding-block: 52px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer .f-brand b { font-family: var(--serif); color: #fff; font-size: 20px; }
.footer .f-brand p { margin: 10px 0 0; font-size: 14px; max-width: 38ch; }
.footer h4 { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink); margin: 2px 0 14px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--on-ink-soft); font-size: 14.5px; }
.footer a:hover { color: #fff; }
.footer .legal { margin-top: 8px; border-top: 1px solid var(--line-ink); }
.footer .legal .wrap { padding-block: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: 1fr 1fr; } .footer .f-brand { grid-column: 1 / -1; } }

/* ---------- legal pages ---------- */
.legal-page { max-width: 760px; padding-block: clamp(40px, 6vw, 72px); }
.legal-page .back { font-size: 14px; font-weight: 500; }
.legal-page h1 { font-size: clamp(30px, 5vw, 42px); margin: 18px 0 6px; }
.legal-page .updated { color: var(--text-faint); font-size: 14px; margin-bottom: 36px; }
.legal-page h2 { font-size: 21px; margin: 38px 0 10px; }
.legal-page p, .legal-page li { color: var(--text-soft); font-size: 16px; }
.legal-page ul { padding-left: 22px; display: grid; gap: 8px; }
.legal-page strong { color: var(--text); }
/* reduced motion */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
