:root {
  --paper: #F6F4EF;
  --card: #FFFFFF;
  --ink: #14233B;
  --mut: #5A6577;
  --line: #DED8CE;
  --teal: #0E6E66;
  --teal-deep: #0A5750;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--teal-deep); text-underline-offset: 0.16em; }
a:hover { color: var(--teal); }
a:focus-visible { outline: 3px solid rgba(14, 110, 102, 0.32); outline-offset: 4px; border-radius: 3px; }
@font-face {
  font-family: "Iterative Sans";
  src: url("fonts/iterative-sans-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }
header.site { padding: 28px 0; }
header.site .wordmark { font-size: 28px; color: var(--teal); text-decoration: none; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { display: inline-flex; min-width: 118px; min-height: 36px; align-items: center; }
.nav-wordmark { display: inline-flex; align-items: center; min-height: 36px; }
header.site nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
header.site nav a { color: var(--ink); text-decoration: none; }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--teal); }
.hero { padding: 56px 0 40px; }
.hero-heading { display: flex; flex-direction: column; align-items: flex-start; margin: 0; }
.hero-outcome { max-width: 680px; font-size: 38px; line-height: 1.15; }
.hero .tag { font-size: 30px; color: var(--ink); margin-top: 16px; }
.hero .tag .wordmark { font-size: inherit; }
.hero .tag em { font-style: italic; }
.hero .sub { color: var(--mut); max-width: 560px; margin-top: 18px; }
.launch-price {
  display: inline-block; margin-top: 20px; padding: 8px 13px;
  border: 1px solid rgba(14, 110, 102, 0.25); border-radius: 999px;
  background: rgba(14, 110, 102, 0.08); color: var(--teal-deep); font-size: 15px;
}
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 44px 0 8px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 20px 18px; }
.fact b { display: block; font-size: 19px; margin-bottom: 6px; }
.fact span { color: var(--mut); font-size: 15px; }
section { padding: 44px 0; border-top: 1px solid var(--line); }
h2 { font-size: 26px; margin-bottom: 18px; }
.steps { counter-reset: s; display: grid; gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 20px 20px 20px 66px; position: relative; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 20px; top: 20px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal); color: var(--paper);
  display: grid; place-items: center; font-weight: 600;
}
.promise { background: var(--ink); color: var(--paper); border-radius: 8px; padding: 32px 28px; }
.promise h2 { color: var(--paper); }
.promise p { color: #C8CFDC; }
.promise .never { color: var(--paper); font-size: 20px; margin-top: 14px; }
blockquote { border-left: 3px solid var(--teal); padding-left: 18px; color: var(--mut); font-style: italic; }
.cta { display: inline-block; background: var(--teal); color: var(--paper); text-decoration: none;
  padding: 14px 26px; border-radius: 8px; font-family: "Iterative Sans", sans-serif; font-size: 18px;
  font-weight: 500; font-synthesis: none; }
.cta:hover { background: var(--teal-deep); }
.action-row { margin-top: 16px; }
.hero > .action-row { margin-left: auto; margin-right: auto; text-align: center; }
.app-store-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(320px, 100%);
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  line-height: 0;
}
.app-store-action .launch-price {
  display: block;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}
.app-store-badge-link {
  display: inline-block;
  padding: 14px;
  line-height: 0;
  border-radius: 8px;
}
.app-store-badge-link:focus-visible { border-radius: 8px; }
.app-store-badge { display: block; width: auto; height: 56px; }
@media (min-width: 900px) {
  div.app-store-action {
    width: min(680px, 100%);
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
  }
  div.app-store-action .launch-price {
    flex: 1;
    margin: 0;
    text-align: left;
  }
  div.app-store-action .app-store-badge-link { flex-shrink: 0; }
  p.app-store-action {
    width: fit-content;
    padding: 0;
    border: 0;
  }
}

.demo-frame { display: flex; justify-content: center; }
.demo-video { width: min(320px, 90%); height: auto; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(20,35,59,0.12); }
.demo-caption { text-align: center; color: var(--mut); font-size: 14px; margin-top: 12px; }
.section-links { margin-top: 16px; font-weight: 600; }
.answers { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 30px; }
.answers article { border-top: 2px solid var(--teal); padding-top: 12px; }
.answers h3 { font-size: 18px; line-height: 1.3; margin-bottom: 7px; }
.answers p { color: var(--mut); font-size: 15px; }
footer.site { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--mut); font-size: 14px; }
footer.site a { color: var(--teal); text-decoration: none; }
.trademark-credit { margin-top: 8px; color: var(--mut); font-size: 12px; line-height: 1.5; }
.doc h1 { font-size: 32px; margin: 24px 0 6px; }
.doc .updated { color: var(--mut); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 21px; margin: 30px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 22px; }
.legal-doc { padding-bottom: 48px; }
.legal-doc .updated { margin-bottom: 22px; }
.legal-doc h2 { margin: 28px 0 8px; text-transform: uppercase; word-spacing: 0.14em; }
.legal-clause {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.65rem;
  margin: 0.45rem 0;
  line-height: 1.58;
}
.legal-subclause { margin: 0.24rem 0 0.24rem 2.7rem; }
.legal-subclause + .legal-clause:not(.legal-subclause) { margin-top: 0.75rem; }
.legal-marker { color: var(--mut); font-variant-numeric: tabular-nums; }
.legal-definition { margin: 0.4rem 0 0.4rem 2.7rem; line-height: 1.58; }
.draft { background: #8a6d1d; color: #fff; display: inline-block; padding: 3px 10px; border-radius: 8px;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.article-hero { padding: 68px 0 48px; }
.article-hero h1 { max-width: 720px; font-size: 48px; line-height: 1.08; }
.eyebrow { color: var(--teal); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0; margin-bottom: 12px; }
.lead { max-width: 680px; margin-top: 22px; color: var(--mut); font-size: 21px; line-height: 1.55; }
.source-note { margin-top: 14px; font-weight: 600; }
.workflow-list, .check-list { padding-left: 24px; display: grid; gap: 14px; }
.workflow-list li, .check-list li { padding-left: 4px; }
.technology-note { margin-top: 24px; padding: 18px; border-left: 3px solid var(--teal); background: rgba(255,255,255,0.56); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide-card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 22px 20px; }
.guide-card h3 { font-size: 19px; line-height: 1.35; margin: 7px 0 10px; }
.guide-card h3 a { color: var(--ink); text-decoration-color: rgba(14, 110, 102, 0.38); }
.guide-card h3 a:hover { color: var(--teal-deep); }
.guide-card p:last-child { color: var(--mut); font-size: 15px; }
.guide-meta { color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.guide-callout { margin-top: 22px; padding: 20px; border-radius: 8px; background: rgba(14, 110, 102, 0.08); border: 1px solid rgba(14, 110, 102, 0.2); }
.guide-callout p + p { margin-top: 10px; }
.guide-related { display: grid; gap: 8px; margin-top: 12px; }
@media (max-width: 640px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .app-store-action { width: 100%; }
  header.site { padding: 20px 0; }
  .header-row { gap: 14px; }
  header.site nav { gap: 14px; font-size: 14px; }
  .hero { padding: 40px 0 32px; }
  .hero-outcome { font-size: 31px; }
  .hero .tag { font-size: 24px; }
  .facts, .answers, .guide-grid { grid-template-columns: 1fr; }
  .article-hero { padding: 44px 0 32px; }
  .article-hero h1 { font-size: 38px; }
  .lead { font-size: 19px; }
  .legal-clause { grid-template-columns: 1.8rem minmax(0, 1fr); gap: 0.5rem; line-height: 1.55; }
  .legal-subclause { margin-left: 0.85rem; }
  .legal-definition { margin-left: 1.65rem; }
}
@media (max-width: 430px) {
  .hero-outcome { font-size: 28px; }
}

/* Vectrari mark — DM Serif Display + slate, per the vectrari.com navmark */
@font-face {
  font-family: "DM Serif Display";
  src: url("fonts/dm-serif-display-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
.vectrari-mark {
  font-family: "DM Serif Display", serif;
  letter-spacing: -0.02em;
  color: #475569; /* slate-600 for paper bg; site navmark is slate-300 on dark */
  white-space: nowrap;
}
.vectrari-mark sup {
  font-size: 0.46em;
  margin-left: 0.1em;
  color: #64748b;
  vertical-align: top;
  position: relative;
  top: 0.18em;
}

/* Blurpeg brand face — Fredoka Medium (ruled 2026-08-02); Iterative Sans remains for CTAs */
@font-face {
  font-family: "Fredoka";
  src: url("fonts/font-Fredoka.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
.wordmark { font-family: "Fredoka", sans-serif; font-weight: 500; }
.wordmark .tm {
  font-family: sans-serif;
  font-size: 0.34em;
  font-weight: 500;
  margin-left: 0.1em;
  vertical-align: top;
  position: relative;
  top: 0.16em;
}
#heroMark { max-width: 100%; height: auto; display: block; }

.demo-video:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }

/* Approved app screenshots: full frames, deliberate native browsing. */
.screenshots-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.screenshots-rail figure { min-width: 0; }
.screenshots-rail figcaption { min-height: 168px; }
.screenshots-rail h3 { font-size: 19px; line-height: 1.3; margin-bottom: 10px; }
.screenshots-rail figcaption p { font-size: 16px; line-height: 1.5; color: var(--mut); }
.screenshot-link { display: block; border-radius: 8px; }
.screenshot-link img { display: block; width: 100%; height: auto; border-radius: 8px; }
.screenshot-link span { display: block; padding: 10px 0; font-size: 14px; }
.screenshot-help { display: none; color: var(--mut); font-size: 14px; margin-bottom: 18px; }
.screenshots-rail:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
.crowd-example { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: center; }
.crowd-example figure { min-width: 0; }
.crowd-example figcaption { color: var(--mut); font-size: 14px; margin-top: 6px; }
.screenshot-note { margin-top: 18px; color: var(--mut); }
@media (max-width: 699px) {
  .screenshots-rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(320px, calc(100% - 28px)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--teal) var(--line); }
  .screenshots-rail figure { scroll-snap-align: start; }
  .screenshot-help { display: block; }
  .crowd-example { grid-template-columns: 1fr; gap: 24px; }
  .crowd-example figure { width: min(320px, 100%); margin: 0 auto; }
}

/* Main task demonstration; retain the smaller supporting crowd example. */
.main-demo-video { width: 100%; max-width: 960px; aspect-ratio: 16 / 9; object-fit: contain; background: var(--paper); }
@media (max-width: 699px) {
  .main-demo-video { width: min(100%, 390px); aspect-ratio: 9 / 16; }
}
