/* AdSuite — public marketing pages only.
   The app itself stays dark (media buyers live in Ads Manager). The public site is
   the estate-registered "chalk + pine" identity: paper ground, green-black ink, wide
   Archivo display type, verdict-stamp eyebrows, and a market-read instrument panel as
   the hero signature. No blue anywhere — buyers stare at Meta's blue all day.
   Loaded after app.css, overriding the tokens on body.marketing.
   Fingerprint: jarvis-core/config/estate_design_registry.json → adsuite. */

@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,100..900&display=swap");

body.marketing {
  --bg: #f6f5ef;
  --panel: #fffef9;
  --panel-2: #edece2;
  --line: #dcdbd0;
  --ink: #131b15;
  --muted: #5b655c;
  --accent: #14614a;
  --accent-ink: #f6f5ef;
  --good: #14614a;
  --bad: #a8452e;
  --display: "Archivo", var(--sans);
  background: var(--bg);
  color: var(--ink);
}
/* The display face carries the identity: Archivo set wide and heavy. */
body.marketing h1, body.marketing h2, body.marketing h3, body.marketing .brand,
body.marketing .planform button, body.marketing .btn-lg {
  font-family: var(--display); font-stretch: 115%;
}
body.marketing h1, body.marketing h2 { font-weight: 800; }
body.marketing header.site,
body.marketing footer.site { border-color: var(--line); background: transparent; }
body.marketing header.site { border-bottom: 1px solid var(--line); }
body.marketing header.site nav a { color: var(--muted); font-weight: 500; }
body.marketing header.site nav a:hover { color: var(--ink); }
/* app.css styles .btn for the dark app, where accent-on-accent reads fine. On the light
   marketing header it rendered as a blue block with invisible text. Restate it here. */
body.marketing header.site nav a.btn {
  background: var(--ink); color: var(--bg); padding: .58rem 1.15rem;
  border-radius: 8px; font-weight: 600;
}
body.marketing header.site nav a.btn:hover { background: var(--accent); color: var(--accent-ink); text-decoration: none; }

/* Type scale: the hero should dominate the viewport the way a poster does.
   clamp() so it stays large on desktop without overflowing a phone. */
body.marketing h1 { font-size: clamp(2.6rem, 7.5vw, 5.6rem); letter-spacing: -0.035em; line-height: 1.02; }
body.marketing h2 { font-size: clamp(1.7rem, 3.6vw, 2.9rem); letter-spacing: -0.03em; line-height: 1.1; }
body.marketing h3 { font-size: clamp(1.05rem, 1.7vw, 1.3rem); letter-spacing: -0.01em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.1rem, 5vw, 2rem); }
.section { padding: clamp(3.5rem, 9vw, 7rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.lede { font-size: clamp(1.05rem, 1.9vw, 1.35rem); color: var(--muted); max-width: 34em; line-height: 1.5; }
/* Eyebrows read as verdict stamps: mono, boxed, ink on paper. */
.eyebrow { display: inline-block; font: 600 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); border: 1.5px solid var(--ink); border-radius: 3px; padding: .3rem .6rem; margin: 0 0 1.4rem; }

/* Hero split: thesis left, market-read instrument right. */
.hero .wrap.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
.hero .wrap.split h1 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); max-width: none; }
.hero .wrap.split .planform { margin-top: 1.8rem; }
@media (max-width: 940px) { .hero .wrap.split { grid-template-columns: 1fr; } }

/* Signature: the market-read panel — a ranked read of a live ad landscape,
   longevity bars in ochre, one row stamped OPEN. */
.marketread { background: var(--panel); border: 1.5px solid var(--ink); border-radius: 10px;
  padding: 1.1rem 1.2rem 1.2rem; box-shadow: 7px 7px 0 var(--panel-2); }
.mr-head { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem;
  border-bottom: 1px solid var(--line); padding-bottom: .55rem; margin-bottom: .5rem; }
.mr-title, .mr-cap { font-family: var(--mono); margin: 0; }
.mr-title { font-size: .72rem; letter-spacing: .12em; }
.mr-cap { color: var(--muted); font-size: .66rem; }
.mr-row { display: grid; grid-template-columns: 1fr auto; gap: .1rem .8rem;
  padding: .55rem 0; border-bottom: 1px dashed var(--line); animation: mr-in .5s both; }
.mr-row:nth-child(3) { animation-delay: .09s; }
.mr-row:nth-child(4) { animation-delay: .18s; }
.mr-row:nth-child(5) { animation-delay: .27s; }
@keyframes mr-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .mr-row { animation: none; } }
.mr-angle { font-size: .88rem; font-weight: 600; }
.mr-stamp { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; align-self: center;
  padding: .18rem .45rem; border-radius: 3px; border: 1px solid; white-space: nowrap; }
.mr-stamp.sat { color: var(--bad); border-color: var(--bad); }
.mr-stamp.open { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.mr-bar { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: var(--panel-2);
  position: relative; margin-top: .25rem; }
.mr-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: #a97a1d; width: var(--w, 40%); }
.mr-row.gap { border: 1.5px solid var(--accent); border-radius: 6px; padding: .55rem .6rem; margin-top: .45rem; border-bottom-style: solid; }
.mr-meta { grid-column: 1 / -1; color: var(--muted); font-size: .72rem; font-family: var(--mono); }

/* Hero. The input IS the product, so it gets the visual weight a CTA usually gets. */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { max-width: 14ch; margin-bottom: 1.5rem; }
.planform { margin: 2.6rem 0 .9rem; max-width: 40rem; }
.planform .row { display: flex; gap: .6rem; flex-wrap: wrap; }
.planform input[type=url] {
  flex: 1 1 20rem; min-width: 0; padding: 1.05rem 1.2rem; font-size: 1.05rem;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--panel); color: var(--ink); font-family: var(--sans);
}
.planform input[type=url]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.planform button {
  padding: 1.05rem 1.7rem; font-size: 1.05rem; font-weight: 600; cursor: pointer;
  border: 0; border-radius: var(--radius); background: var(--ink); color: var(--bg);
  font-family: var(--sans);
}
.planform button:hover { background: var(--accent); color: var(--accent-ink); }
.planform .note { color: var(--muted); font-size: .9rem; margin: .85rem 0 0; }

.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.3rem, 2.4vw, 1.9rem); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

/* Worked example — deliberately reads like a report, not a brochure panel. */
.example { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.example header { padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.example header .url { font-family: var(--mono); font-size: .84rem; color: var(--muted); }
.example header strong { display: block; font-size: 1.05rem; }
.example .axes { display: flex; flex-wrap: wrap; gap: .4rem; padding: 1rem 1.3rem 0; }
.tag { font-family: var(--mono); font-size: .76rem; padding: .3rem .55rem; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); }
.example dl { margin: 0; padding: 1rem 1.3rem 1.4rem; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.1rem; font-size: .93rem; }
.example dt { color: var(--muted); }
.example dd { margin: 0; }

table.data { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th, table.data td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
table.data th { font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
table.data td.num, table.data th.num { text-align: right; font-family: var(--mono); }
.scroll-x { overflow-x: auto; }

ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
ul.ticks li { padding-left: 1.6rem; position: relative; }
ul.ticks li::before { content: "—"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
ul.nevers li::before { content: "×"; color: var(--bad); }

.cta-row { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; margin-top: 1.8rem; }
.btn-lg { display: inline-block; padding: .95rem 1.7rem; border-radius: var(--radius); background: var(--ink); color: var(--bg); font-weight: 600; }
.btn-lg:hover { background: var(--accent); color: var(--accent-ink); text-decoration: none; }
.btn-ghost { display: inline-block; padding: .95rem 1.5rem; border-radius: var(--radius); border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; }
.btn-ghost:hover { border-color: var(--ink); text-decoration: none; }

@media (prefers-reduced-motion: no-preference) {
  .planform input[type=url], .planform button, .btn-lg, .btn-ghost { transition: all .15s ease; }
}
