@charset "UTF-8";
/* ==========================================================================
   Atlas Ventures Group — site template v2
   One stylesheet, no build step, no CDN framework. Every page on the domain
   (and every product site) pulls this file and composes the same components.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  --bg:          #FFFCFA;   /* warm paper */
  --bg-tint:     #FAF5F0;   /* alternating section wash */
  --bg-card:     #FFFFFF;
  --ink:         #252522;   /* near-black, warm */
  --ink-70:      rgba(37, 37, 34, .70);
  --ink-56:      rgba(37, 37, 34, .56);
  --ink-40:      rgba(37, 37, 34, .40);
  --line:        rgba(37, 37, 34, .10);
  --line-soft:   rgba(37, 37, 34, .06);

  --accent:      #E0532E;   /* clay */
  --accent-ink:  #B93F1F;
  --accent-soft: rgba(224, 83, 46, .10);
  --green:       #2E9E63;
  --green-soft:  rgba(46, 158, 99, .10);
  --amber:       #B7791F;
  --amber-soft:  rgba(183, 121, 31, .10);

  --maxw:        1120px;
  --maxw-narrow: 720px;
  --r-sm:        10px;
  --r:           16px;
  --r-lg:        24px;
  --pill:        100px;

  --shadow-sm:   0 1px 2px rgba(37, 37, 34, .04);
  --shadow:      0 1px 3px rgba(37, 37, 34, .05), 0 12px 32px -12px rgba(37, 37, 34, .10);

  --font: "Instrument Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* --- Layout --------------------------------------------------------------- */
.wrap   { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: var(--maxw-narrow); }
.section       { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--bg-tint); }
.section--line { border-top: 1px solid var(--line-soft); }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }

/* --- Type ----------------------------------------------------------------- */
.display {
  font-size: clamp(2.5rem, 6.2vw, 4.25rem);
  letter-spacing: -.045em;
  line-height: 1.04;
  font-weight: 500;
}
.h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  letter-spacing: -.038em;
  line-height: 1.08;
}
.h3 { font-size: 1.25rem; letter-spacing: -.025em; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.42; color: var(--ink-70); }
.body { color: var(--ink-70); }
.small { font-size: .875rem; color: var(--ink-56); }
.tiny  { font-size: .78rem; line-height: 1.55; color: var(--ink-40); }
.ink   { color: var(--ink); }
.accent { color: var(--accent); }
.measure { max-width: 34em; }
.measure-tight { max-width: 26em; }
.center .measure, .center .measure-tight { margin-inline: auto; }

/* Author-controlled line break: honoured once there's room, ignored on narrow
   screens where the headline should wrap on its own. */
.br-lg { display: none; }
@media (min-width: 760px) { .br-lg { display: inline; } }

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-56);
}

/* --- Badges --------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 600; letter-spacing: .01em;
  padding: 5px 11px; border-radius: var(--pill);
  background: rgba(37, 37, 34, .05); color: var(--ink-70);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--live  { background: var(--green-soft);  color: var(--green); }
.badge--build { background: var(--amber-soft);  color: var(--amber); }
.badge--next  { background: var(--accent-soft); color: var(--accent-ink); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: var(--pill);
  font-size: .95rem; font-weight: 500; letter-spacing: -.005em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, opacity .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: #3A3A35; }
.btn--accent  { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-ink); }
.btn--ghost   { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: rgba(37, 37, 34, .28); background: rgba(37, 37, 34, .03); }
.btn--sm { padding: 9px 20px; font-size: .875rem; }
.btn--block { width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .9rem; font-weight: 600; color: var(--accent);
  transition: gap .15s ease, color .15s ease;
}
.link::after { content: "›"; font-size: 1.05em; line-height: 1; translate: 0 -1px; }
.link:hover { gap: 9px; color: var(--accent-ink); }
.link--quiet { color: var(--ink-70); }
.link--quiet:hover { color: var(--ink); }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 250, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line-soft); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -.03em; font-size: 1.06rem; white-space: nowrap; }
.brand__mark { width: 20px; height: 20px; flex: none; }
.brand__sub {
  font-size: .62rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-56); background: rgba(37, 37, 34, .06);
  padding: 3px 7px; border-radius: 5px; translate: 0 -1px;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: .93rem; color: var(--ink-70); transition: color .15s ease; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 16px; }

/* Mobile menu — a <details> disclosure, so it works with JS disabled. */
.menu { display: none; }
.menu > summary {
  list-style: none; cursor: pointer; padding: 8px; margin: -8px;
  border-radius: 8px; color: var(--ink);
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary svg { width: 22px; height: 22px; }
.menu[open] > summary .i-open,  .menu:not([open]) > summary .i-close { display: none; }
.menu__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 12px 24px 20px; display: flex; flex-direction: column;
}
.menu__panel a { padding: 12px 0; font-size: 1.02rem; border-bottom: 1px solid var(--line-soft); }
.menu__panel a:last-child { border-bottom: 0; }
.menu__panel .btn { margin-top: 14px; }

@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; }
  .header-cta > .link { display: none; }
}
@media (max-width: 520px) { .header-cta .btn { display: none; } .brand__sub { display: none; } }

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(72px, 11vw, 132px) clamp(48px, 7vw, 88px); }
.hero__dots {
  position: absolute; inset: -10% -10% auto -10%; height: 78%;
  background-image: radial-gradient(rgba(37, 37, 34, .11) 1.15px, transparent 1.15px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 62% 74% at 50% 32%, #000 8%, transparent 72%);
          mask-image: radial-gradient(ellipse 62% 74% at 50% 32%, #000 8%, transparent 72%);
  pointer-events: none;
}
.hero__inner { position: relative; }
.hero .lede { margin-top: 22px; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* --- Split ---------------------------------------------------------------- */
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; grid-template-columns: 1fr 1fr; }
.split__text .h2 + .body { margin-top: 18px; }
.split__text .btn { margin-top: 28px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* --- Cards ---------------------------------------------------------------- */
.grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.card--dashed { background: transparent; border-style: dashed; box-shadow: none; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card .h3 { margin-top: 14px; }
.card__body { margin-top: 10px; color: var(--ink-70); font-size: .95rem; flex: 1; }
.card__price { margin-top: 16px; font-size: .95rem; color: var(--ink-70); }
.card__price strong { color: var(--ink); font-weight: 600; }
.card__actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.card__foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-soft); }

/* --- Mock UI (illustration chrome, all CSS — no images to ship) ------------ */
.mock {
  background: var(--bg-tint);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 16px;
  margin-bottom: 20px;
  overflow: hidden;
}
.mock--tall { min-height: 208px; }
/* Inside a product card every mock is the same height, so the badges and titles
   below them line up across the grid regardless of what's drawn inside. */
.card > .mock { height: 240px; display: flex; flex-direction: column; justify-content: center; }
.card > .mock--empty { align-items: center; }
.mock__bar { display: flex; gap: 5px; margin-bottom: 12px; }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(37, 37, 34, .12); }
.mock__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 9px;
  padding: 9px 12px; font-size: .8rem; margin-top: 7px;
}
.mock__row:first-of-type { margin-top: 0; }
.mock__row b { font-weight: 500; }
.mock__tag {
  font-size: .68rem; font-weight: 600; padding: 2px 8px; border-radius: var(--pill); white-space: nowrap;
}
.mock__tag--red   { background: var(--accent-soft); color: var(--accent-ink); }
.mock__tag--amber { background: var(--amber-soft); color: var(--amber); }
.mock__tag--green { background: var(--green-soft); color: var(--green); }
.mock__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); font-size: .74rem; background: #fff;
  border: 1px solid var(--line-soft); border-radius: 9px; overflow: hidden; }
.mock__grid span { padding: 7px 10px; border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); }
.mock__grid span:nth-child(4n) { border-right: 0; }
.mock__grid span:nth-child(-n+4) { background: rgba(37, 37, 34, .035); font-weight: 600; }
.mock__grid span:nth-last-child(-n+4) { border-bottom: 0; }
.mock__code {
  font-family: var(--mono); font-size: .74rem; line-height: 1.75; color: var(--ink-70);
  background: #fff; border: 1px solid var(--line-soft); border-radius: 9px; padding: 12px 14px;
  white-space: pre; overflow-x: auto;
}
.mock__code .ok { color: var(--green); }
.mock__code .cm { color: var(--ink-40); }
.mock__bars { display: flex; align-items: flex-end; gap: 8px; height: 76px; padding-top: 8px; }
.mock__bars i { flex: 1; border-radius: 5px 5px 0 0; background: rgba(37, 37, 34, .12); }
.mock__bars i.on { background: var(--accent); }

/* Three-up cards carry a shorter mock than the two-up grid. The title reserves
   two lines so the spec lists below stay on one baseline across the row. */
.grid-3 > .card > .mock { height: 190px; }
.grid-3 > .card > .h3 { min-height: 2.5em; }

/* --- Spec list (what's in the file) --------------------------------------- */
.speclist { list-style: none; margin: 0; padding: 0; font-size: .82rem; color: var(--ink-56); }
.speclist li { position: relative; padding-left: 16px; margin-top: 6px; }
.speclist li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--ink-40);
}

/* --- Inline code ---------------------------------------------------------- */
code {
  font-family: var(--mono); font-size: .88em;
  background: rgba(37, 37, 34, .055); padding: 1px 5px; border-radius: 4px;
  color: var(--ink);
}

/* --- Code block ----------------------------------------------------------- */
.codeblock {
  margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 24px; overflow-x: auto;
  font-family: var(--mono); font-size: .84rem; line-height: 1.8;
  color: var(--ink); white-space: pre;
}
.codeblock code { background: none; padding: 0; font-size: inherit; }
.codeblock .cm { color: var(--ink-40); }
.codeblock .st { color: var(--accent-ink); }

/* --- Table ---------------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; text-align: left; font-size: .93rem; }
.table th {
  font-weight: 600; padding: 0 28px 14px 0;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table td { padding: 16px 28px 16px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink-70); vertical-align: top; }
.table td:first-child { color: var(--ink); min-width: 15em; }
.table tr:last-child td { border-bottom: 0; }
.table th:last-child, .table td:last-child { padding-right: 0; }

/* --- Definition pairs ----------------------------------------------------- */
.defs { display: grid; gap: 26px 40px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .defs { grid-template-columns: 1fr; } }
.defs dt { font-weight: 600; }
.defs dd { margin: 6px 0 0; color: var(--ink-70); font-size: .93rem; }

/* --- Article prose (guides) ----------------------------------------------- */
.prose > p { color: var(--ink-70); margin-top: 14px; }
.prose > h2 { font-size: 1.35rem; letter-spacing: -.025em; margin-top: 42px; line-height: 1.25; }
.prose > h2 + p { margin-top: 10px; }
.prose > ol, .prose > ul { color: var(--ink-70); padding-left: 22px; margin-top: 14px; }
.prose > ol li, .prose > ul li { margin-top: 10px; }
.article-meta { font-size: .85rem; color: var(--ink-40); margin-top: 14px; }

/* --- Callout -------------------------------------------------------------- */
.callout {
  background: var(--accent-soft);
  border: 1px solid rgba(224, 83, 46, .18);
  border-radius: var(--r);
  padding: 24px 26px;
}
.callout h3 { font-size: 1.1rem; }
.callout p { margin-top: 8px; color: var(--ink-70); font-size: .95rem; }

/* --- Callout, warning variant --------------------------------------------- */
.callout--warn { background: var(--amber-soft); border-color: rgba(183, 121, 31, .22); }

/* --- Stat tiles ----------------------------------------------------------- */
.stats { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }
.stat {
  background: var(--bg-tint); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: 20px 22px;
}
.stat__n { font-size: 1.65rem; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.stat__l { font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-40); margin-top: 6px; }

/* --- Embedded report frame ------------------------------------------------ */
.embed {
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff;
}
.embed iframe { display: block; width: 100%; border: 0; height: 70vh; min-height: 520px; }

/* --- Big result readout --------------------------------------------------- */
.result { text-align: center; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 26px; }
.result__label { font-size: .9rem; color: var(--ink-56); }
.result__value {
  font-size: clamp(2.1rem, 4.5vw, 2.9rem); font-weight: 500;
  letter-spacing: -.04em; color: var(--accent); margin-top: 6px;
}
.result__note { font-size: .82rem; color: var(--ink-56); margin-top: 10px; }

/* --- Bulleted prose list -------------------------------------------------- */
.bullets { list-style: none; margin: 0; padding: 0; }
.bullets li { position: relative; padding-left: 20px; margin-top: 12px; color: var(--ink-70); font-size: .95rem; }
.bullets li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}

/* --- Notes (findings, quotes, called-out detail) -------------------------- */
.notes { list-style: none; margin: 24px 0 0; padding: 0; }
.notes li {
  border-left: 2px solid var(--accent-soft);
  padding: 2px 0 2px 18px;
  color: var(--ink-70);
  font-size: .95rem;
}
.notes li + li { margin-top: 18px; }
.notes code { font-family: var(--mono); font-size: .88em; color: var(--ink); }

/* --- Steps ---------------------------------------------------------------- */
.step { border-top: 2px solid var(--ink); padding-top: 18px; }
.step__n { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-40); }
.step .h3 { margin-top: 8px; }
.step p { margin-top: 8px; color: var(--ink-70); font-size: .95rem; }

/* --- Assurances ----------------------------------------------------------- */
.assure { display: grid; gap: 28px 40px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .assure { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .assure { grid-template-columns: 1fr; } }
.assure__i { width: 22px; height: 22px; color: var(--accent); }
.assure h3 { margin-top: 12px; font-size: 1rem; }
.assure p { margin-top: 6px; font-size: .9rem; color: var(--ink-70); }

/* --- Form ----------------------------------------------------------------- */
.form { margin-top: 32px; }
.field + .field, .field + fieldset, fieldset + .field { margin-top: 18px; }
.field label, .form legend { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 7px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.input {
  width: 100%; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; font-size: .95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input::placeholder { color: var(--ink-40); }
textarea.input { resize: vertical; min-height: 90px; }
.choice { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; color: var(--ink-70); padding: 4px 0; cursor: pointer; }
.choice input { margin-top: 4px; accent-color: var(--accent); flex: none; }
.choice:hover { color: var(--ink); }
.form .btn { margin-top: 24px; }
.form .tiny { margin-top: 12px; text-align: center; }
.honey { position: absolute; left: -9999px; }

/* --- FAQ ------------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; font-size: 1.05rem; font-weight: 500; letter-spacing: -.02em;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--ink-40); line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 20px; color: var(--ink-70); max-width: 62ch; font-size: .95rem; }

/* --- Closing band --------------------------------------------------------- */
.band {
  background: var(--ink); color: var(--bg);
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 72px) 32px;
  text-align: center;
}
.band .h2 { color: var(--bg); }
.band p { color: rgba(255, 252, 250, .66); margin-top: 14px; }
.band .btn--primary { background: var(--bg); color: var(--ink); margin-top: 28px; }
.band .btn--primary:hover { background: #fff; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line-soft); padding-block: 52px 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 26px; font-size: .9rem; color: var(--ink-56); }
.footer-nav a:hover { color: var(--ink); }
.site-footer .tiny + .tiny { margin-top: 10px; }
.footer-legal { margin-top: 40px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
