:root {
  --ink: #0c1b3a;
  --navy: #0d2d6e;
  --blue: #1d5fd1;
  --green: #0f9d46;
  --paper: #f7f9fc;
  --white: #ffffff;
  --rule: #d5dce8;
  --muted: #4a5876;
  --tint: #e8effb;
  --grid: #e9eef6;
  --serif: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 40px); margin-inline: auto; }

/* header */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-family: var(--sans); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.brand img { width: 34px; height: auto; }
.brand img.brand-full { width: auto; height: 66px; max-width: 100%; }   /* the whole logo, with its tagline (21 Nov 2026) */
@media (max-width: 640px) { .brand img.brand-full { height: 56px; } }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.97rem; padding-block: 4px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--rule); color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--blue); }
.nav a.btn { color: var(--white); border-bottom: 0; padding: 9px 16px; }

.btn { display: inline-block; background: var(--blue); color: var(--white); text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 4px; border: 0; }
.btn:hover { background: var(--navy); color: var(--white); }
.btn.quiet { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn.quiet:hover { background: var(--tint); color: var(--navy); }

/* hero on chart paper */
.hero {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  border-bottom: 1px solid var(--rule);
  padding-block: 72px 80px;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.02em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.fine { font-size: 0.9rem; color: var(--muted); }

/* the evidence panel: a faithful sample from the dashboard */
.panel { background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: 22px; box-shadow: 0 1px 0 var(--rule); }
.panel .verdict { background: var(--tint); border-left: 4px solid var(--blue); padding: 12px 16px; color: var(--navy); font-weight: 600; margin-bottom: 16px; }
.panel p { margin: 0 0 14px; font-size: 0.98rem; }
.panel table { width: 100%; border-collapse: collapse; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.panel th, .panel td { text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--rule); }
.panel th { font-weight: 600; color: var(--muted); }
.panel .src { margin: 12px 0 0; font-size: 0.82rem; color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* sections */
section { padding-block: 72px; }
section + section { border-top: 1px solid var(--rule); }
.band { background: var(--white); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.cols p { max-width: 36em; }
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }

dl.measures { margin: 0; }
dl.measures div { padding: 14px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 20px; }
dl.measures div:last-child { border-bottom: 1px solid var(--rule); }
dl.measures dt { font-weight: 600; }
dl.measures dd { margin: 0; color: var(--muted); }

ul.plain { padding-left: 1.2em; margin: 0 0 1em; }
ul.plain li { margin-bottom: 0.45em; }
.ring { display: inline-block; width: 0.7em; height: 0.7em; border: 3px solid var(--green); border-radius: 50%; margin-right: 0.5em; vertical-align: baseline; }

.cant { background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--green); padding: 24px 28px; border-radius: 4px; }
.cant h2 { margin-bottom: 0.4em; }

.page-head { padding-block: 56px 28px; background: var(--white); border-bottom: 1px solid var(--rule); }
.page-head p { color: var(--muted); font-size: 1.15rem; max-width: 40em; margin: 0; }
.prose { padding-block: 48px 72px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { max-width: 42em; }

details { border-top: 1px solid var(--rule); padding: 16px 0; max-width: 46em; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; }
details p { margin: 12px 0 0; color: var(--muted); }

/* footer */
.site-footer { background: var(--ink); color: #c9d4ea; padding-block: 44px; font-size: 0.95rem; }
.site-footer a { color: #e6edfb; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.site-footer h4 { margin: 0 0 8px; font-size: 0.95rem; color: var(--white); font-family: var(--sans); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid #2a3a60; padding-top: 18px; font-size: 0.86rem; color: #9fb0d2; max-width: 60em; }
.site-footer .copy { grid-column: 1 / -1; margin: 0; font-size: 0.82rem; color: #8a9bbd; }

@media (max-width: 860px) {
  .hero { padding-block: 44px 52px; }
  .hero .wrap, .cols, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  dl.measures div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  section { padding-block: 52px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 0.15s; }
}

/* three readings, kept separate */
.lenses { background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: 8px 24px; }
.lens { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.lens:last-of-type { border-bottom: 0; }
.lens i { display: block; width: 12px; border-radius: 3px; }
.lens .t { background: var(--blue); }
.lens .s { background: var(--navy); }
.lens .c { background: var(--green); }
.lens strong { display: block; font-family: var(--sans); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.lens span { color: var(--muted); font-size: 0.97rem; }
.lenses .note { margin: 0; padding: 14px 0 12px; border-top: 1px solid var(--rule); font-size: 0.92rem; color: var(--muted); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.three h3 { border-top: 4px solid var(--blue); padding-top: 14px; }
.three > div:nth-child(2) h3 { border-top-color: var(--navy); }
.three > div:nth-child(3) h3 { border-top-color: var(--green); }
.three p { color: var(--muted); margin: 0 0 0.8em; }

/* feature rows: text beside a screenshot when there is one */
.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: start; }
.feature.has-shot { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.feature.has-shot.flip > .text { order: 2; }
.feature .text p { max-width: 36em; }
figure.shot { margin: 0; }
figure.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 6px 24px rgba(12, 27, 58, 0.10); background: var(--white); }
figure.shot figcaption { margin-top: 10px; font-size: 0.88rem; color: var(--muted); }
.wide-shot { padding-block: 0 72px; }
.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.more div { padding: 16px 0; border-top: 1px solid var(--rule); }
.more strong { display: block; }
.more span { color: var(--muted); }
@media (max-width: 860px) {
  .three, .feature.has-shot, .more { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature.has-shot.flip > .text { order: 0; }
}

/* contact form */
.form { max-width: 640px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.form label { display: block; font-weight: 600; margin: 18px 0 6px; font-size: 0.97rem; }
.form .hint { font-weight: 400; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid #aab6cc; border-radius: 4px; padding: 11px 12px;
}
.form textarea { min-height: 170px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form .check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 20px; }
.form .check input { width: 20px; height: 20px; margin-top: 3px; }
.form .check label { margin: 0; font-weight: 400; }
.form button { margin-top: 24px; font: inherit; font-weight: 600; cursor: pointer; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .form .row { grid-template-columns: minmax(0, 1fr); } }

/* wide screenshots inside the narrow reading column */
.prose figure.shot { margin: 22px 0 10px; width: min(980px, calc(100vw - 40px)); position: relative; left: 50%; transform: translateX(-50%); }

/* narrow screenshots stay narrow */
.prose figure.shot.tall { width: min(340px, 100%); left: 0; transform: none; }
.prose figure.shot.mid  { width: min(560px, 100%); left: 0; transform: none; }
figure.shot.tall img, figure.shot.mid img { width: 100%; }

/* beta request form */
.form fieldset { border: 0; padding: 0; margin: 22px 0 0; }
.form legend { font-weight: 600; font-size: 0.97rem; padding: 0; margin-bottom: 4px; }
.form .check input[type="radio"] { width: 20px; height: 20px; margin-top: 3px; }
.form fieldset .check { margin-top: 10px; }

/* pricing (17 Nov 2026) */
.notice { background: var(--tint); border-left: 4px solid var(--green); padding: 16px 20px; border-radius: 4px; color: var(--navy); max-width: 52em; }
.notice strong { color: var(--ink); }
.billing { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); padding: 4px; margin: 28px 0 0; }
.billing button { font: inherit; font-weight: 600; font-size: 0.95rem; border: 0; background: transparent; color: var(--muted); padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.billing .save { color: var(--green); font-weight: 700; margin-left: 4px; }
.billing button[aria-pressed="true"] .save { color: #9ff0bf; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.plan { background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--rule); border-radius: 6px; padding: 24px 22px; display: flex; flex-direction: column; }
.plan.plus { border-top-color: var(--blue); }
.plan.pro { border-top-color: var(--navy); box-shadow: 0 6px 24px rgba(12, 27, 58, 0.10); }
.plan.elite { border-top-color: var(--green); }
.plan h3 { margin-bottom: 4px; }
.plan .who { color: var(--muted); font-size: 0.95rem; margin: 0 0 16px; min-height: 3em; }
.plan .price { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .per { font-size: 0.88rem; color: var(--muted); margin: 6px 0 18px; min-height: 1.4em; }
.plan ul { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; }
.plan li { padding: 7px 0 7px 22px; border-top: 1px solid var(--grid); position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.95em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--green); }
.plan .tag { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); background: var(--tint); padding: 3px 8px; border-radius: 3px; margin-bottom: 10px; align-self: flex-start; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.94rem; font-variant-numeric: tabular-nums; background: var(--white); border: 1px solid var(--rule); border-radius: 6px; }
.compare th, .compare td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { background: var(--paper); font-weight: 700; }
.compare tbody th { font-weight: 600; }
.compare td { color: var(--muted); }
@media (max-width: 960px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan .who { min-height: 0; } }

/* six pillars on the home page (17 Nov 2026) */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; margin-top: 12px; }
.pillars > div { border-top: 4px solid var(--blue); padding-top: 14px; }
.pillars > div:nth-child(3n+2) { border-top-color: var(--navy); }
.pillars > div:nth-child(3n) { border-top-color: var(--green); }
.pillars .ico { font-size: 1.6rem; line-height: 1; display: block; margin-bottom: 10px; }
.pillars h3 { margin-bottom: 0.35em; }
.pillars p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Angstrom's own product names (website/brand_terms.py marks them) */
b.bt { font-weight: 700; color: var(--navy); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  b.bt { background: linear-gradient(90deg, var(--blue), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
h1 b.bt, h2 b.bt, h3 b.bt { font-weight: inherit; }

/* App screenshots (18 Nov 2026) */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
figure.shot { margin: 22px 0; }
.shots figure.shot { margin: 0; }
figure.shot img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--rule); box-shadow: 0 6px 22px rgba(11,45,107,.14); background: #0e1117; }
figure.shot figcaption { font-size: .9rem; color: var(--muted, #5f6673); margin-top: 8px; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } }

/* Line icons (the app's own set, Lucide) in place of emoji. */
.li { width: 1em; height: 1em; vertical-align: -0.14em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--blue); flex: none; }
.pillars .ico .li { width: 28px; height: 28px; }
h2 .li, .prose h2 .li { width: 0.9em; height: 0.9em; }
