:root {
  --ink: #12141a;
  --ink-soft: #383b44;
  --paper: #f6f4ef;
  --card: #ffffff;
  --line: #e3ded2;
  --line-soft: #ece8dd;
  --muted: #6b6a63;
  --accent: #b8862f;
  --accent-deep: #8f6821;
  --accent-tint: #f6ecd8;
  --good: #1e7a4c;
  --good-tint: #e5f3ea;
  --warn: #a15b12;
  --warn-tint: #fbeddc;
  --bad: #a12727;
  --bad-tint: #f8e4e4;
  --max: 1280px;
  --max-narrow: 760px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(18,20,26,.04), 0 12px 32px -16px rgba(18,20,26,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  font-size: 16.5px;
}
h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; margin: 0 0 .6rem; letter-spacing: -.01em; color: var(--ink); }
a { color: inherit; }
button, .btn { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
p { margin: 0 0 .9rem; }
.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto; }
.wrap-narrow { width: min(var(--max-narrow), calc(100% - 2.5rem)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
::selection { background: var(--accent-tint); color: var(--ink); }

/* ---------------------------------------------------------------- Topbar */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(246,244,239,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding: .95rem 0; gap: 1rem; }
.brand { display: flex; align-items: baseline; gap: .55rem; text-decoration: none; flex-shrink: 0; }
.brand b { font-family: Georgia, serif; font-size: 1.18rem; letter-spacing: -.01em; }
.brand span { color: var(--muted); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; border-left: 1px solid var(--line); padding-left: .6rem; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; font-size: .89rem; font-weight: 550; }
.nav-links a { text-decoration: none; color: var(--ink-soft); white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: .5rem .7rem; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ------------------------------------------------------------------- Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .82rem 1.4rem; border-radius: 10px; border: 0; font-weight: 650; text-decoration: none; transition: background .12s ease, transform .08s ease; white-space: nowrap; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #262a33; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; border-color: #d5cfc0; }
.btn-danger { background: var(--bad); color: #fff; }
.btn-text { background: transparent; color: var(--accent-deep); padding: .4rem 0; font-weight: 650; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-sm { padding: .52rem .9rem; font-size: .84rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; border-radius: 12px; }

/* --------------------------------------------------------------------- Hero */
/* Trimmed from the original clamp(3.2rem,7vw,5.6rem)/clamp(2.4rem,5vw,3.6rem)
   - the shorter, punchier headline no longer needs as much vertical room,
   and the principal campaign-building interaction should stay above the
   fold on a normal laptop/desktop screen. */
.hero { padding: clamp(2.6rem, 5.6vw, 4.4rem) 0 clamp(2rem, 4vw, 3rem); }
.eyebrow { color: var(--accent-deep); text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 750; margin: 0 0 1rem; }
/* Small, restrained geographic cue beside the eyebrow - sized to the
   eyebrow's own small text, never larger, so it reads as identity
   punctuation rather than competing with the headline below it. */
.flag-mark { display: inline-block; font-size: 1.05em; margin-right: .45em; text-transform: none; letter-spacing: normal; vertical-align: -0.05em; }
/* Reduced from clamp(2.5rem,5vw,4.2rem)/max-width 640px - still large and
   editorial, but no longer visually overwhelms the campaign-builder card
   beside it now that the headline itself is one short, direct sentence
   rather than two lines of copy. */
.hero h1 { font-size: clamp(2.15rem, 4.1vw, 3.5rem); max-width: 600px; line-height: 1.08; }
.hero p.lede { max-width: 520px; color: var(--muted); font-size: 1.15rem; margin: 1.1rem 0 .7rem; }
/* The mechanism line ("Tell DailyCut who you want to reach...") is
   secondary to the emotional lede above it - same content column, a step
   down in size/weight so the copy block reads as a hierarchy, not two
   competing headlines. */
.hero-mechanism { max-width: 520px; color: var(--ink-soft); font-size: 1rem; margin: 0 0 1.5rem; }
.hero .ctas { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.hero .ctas .tertiary { color: var(--muted); font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }

/* The campaign builder sits beside the hero copy on desktop instead of
   stacking beneath it - it's the primary action, not a follow-on block, and
   this reclaims the vertical space a fully-stacked hero would waste. An
   even split (not the copy column's old 1.06fr edge) reads as two
   equally-intentional halves - editorial headline, functional tool -
   rather than a big headline with a form squeezed in beside it. */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.2rem, 4vw, 3.6rem); align-items: start; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------- Campaign starter */
.starter-eyebrow { color: var(--accent-deep); text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; font-weight: 750; margin: 0 0 .8rem; }
.starter { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-card); padding: clamp(1.6rem, 3vw, 2.3rem); }
.starter-tabs { display: flex; gap: .4rem; margin-bottom: 1.4rem; }
.starter-tab { flex: 1; padding: .9rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); text-align: left; }
.starter-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.starter-tab b { display: block; font-size: .92rem; }
.starter-tab span { display: block; font-size: .78rem; opacity: .78; margin-top: .15rem; }
.starter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 760px) { .starter-grid { grid-template-columns: 1fr; } }
.starter-field label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: .4rem; display: block; }
.starter-actions { margin-top: 1.4rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ------------------------------------------------------------------ Sections */
/* Two weights of section rhythm, not one uniform gap everywhere: primary,
   informative sections (how it works, the example plan, publisher preview,
   FAQ) keep full breathing room; connective/secondary ones (the buying-mode
   panels, the comparison, the agency aside) run tighter so the page doesn't
   accumulate dead space between its real content. */
section.block { padding: clamp(2.8rem, 5.4vw, 4.6rem) 0; }
section.block.tight { padding: clamp(1.8rem, 3.2vw, 2.6rem) 0; }
section.block.bordered { border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto 2rem; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.left { text-align: left; margin: 0 0 2rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.1rem; }
.panel h3 { font-size: 1.3rem; }
.panel p { color: var(--muted); margin-bottom: 0; }
.panel .kicker { font-size: .74rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: .6rem; }

/* ------------------------------------------------------------------ How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step-card .num { font-family: Georgia, serif; font-size: 1.6rem; color: var(--accent); margin-bottom: .6rem; }
.step-card h4 { font-size: 1.02rem; margin-bottom: .4rem; }
.step-card p { color: var(--muted); font-size: .92rem; }

/* -------------------------------------------------------------- Example plan */
.example-plan { background: var(--ink); color: #f2efe6; border-radius: 20px; padding: clamp(2.2rem, 4.4vw, 3.2rem); }
.example-plan .demo-tag { display: inline-block; background: rgba(184,134,47,.22); color: #e9c47f; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; margin-bottom: 1.1rem; }
.example-plan-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.6rem; flex-wrap: wrap; }
.example-plan h3 { color: #fff; font-size: 1.85rem; margin-bottom: 0; }
.example-plan .ep-sub { color: #b9b6a9; font-size: .95rem; max-width: 380px; margin: 0; }
.example-plan .stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin: 1.9rem 0; }
@media (max-width: 760px) { .example-plan .stat-row { grid-template-columns: 1fr 1fr; } }
.example-plan .stat b { display: block; font-family: Georgia, serif; font-size: 1.75rem; color: #fff; }
.example-plan .stat span { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: #b9b6a9; margin-top: .25rem; }

/* Allocation bar - shows how the fictional budget splits across format
   types at a glance, in addition to the line-item list below it. */
.ep-alloc-bar { height: 15px; border-radius: 8px; overflow: hidden; display: flex; background: rgba(255,255,255,.08); }
.ep-alloc-bar span { display: block; height: 100%; }
.ep-alloc-legend { display: flex; flex-wrap: wrap; gap: 1.3rem; margin-top: .9rem; font-size: .84rem; color: #c7c4b7; }
.ep-alloc-legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; margin-right: .45rem; vertical-align: middle; }

.example-plan .plan-rows { border-top: 1px solid rgba(255,255,255,.14); margin-top: 1.7rem; padding-top: 1.3rem; }
.example-plan .plan-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .96rem; }
.example-plan .plan-row .fmt { color: #b9b6a9; font-size: .82rem; }
.example-plan .plan-row.total { border-bottom: 0; padding-top: 1.1rem; font-size: 1.05rem; font-weight: 700; }
.example-plan .plan-row.total .mono { color: #e9c47f; }

/* -------------------------------------------------------------- Comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare .col { border-radius: var(--radius); padding: 1.8rem; }
.compare .col.without { background: var(--card); border: 1px solid var(--line); }
.compare .col.with { background: var(--accent-tint); border: 1px solid #e5cf9e; }
.compare .col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 1rem; }
.compare .col.with h4 { color: var(--accent-deep); }
.compare ul { margin: 0; padding: 0; list-style: none; }
.compare li { padding: .5rem 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: .92rem; }
.compare li:last-child { border-bottom: 0; }

/* ---------------------------------------------------------------- Cards / grid */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-card); }
.card + .card { margin-top: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Publisher cards are the core marketplace asset on display, so they carry
   more weight than a generic content card: bigger mark, room for a real
   description snippet and a reach figure, not just name + price. */
.pub-card { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-card); transition: transform .12s ease, box-shadow .12s ease; }
.pub-card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(18,20,26,.06), 0 20px 40px -18px rgba(18,20,26,.2); }
.pub-logo { width: 54px; height: 54px; border-radius: 12px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: Georgia, serif; font-size: 1.3rem; margin-bottom: 1.1rem; }
.pub-card h3 { font-size: 1.2rem; margin-bottom: .2rem; overflow-wrap: break-word; }
.pub-card .loc { color: var(--muted); font-size: .86rem; margin-bottom: .7rem; }
.pub-card .desc { color: var(--ink-soft); font-size: .92rem; margin: 0 0 .8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pub-card .reach { color: var(--muted); font-size: .82rem; margin: 0 0 .3rem; }
.pub-card .fmt-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0; }
.pub-card .price-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.pub-card .price-row b { font-family: Georgia, serif; font-size: 1.2rem; }

/* ------------------------------------------------------------------ Forms */
label { display: block; font-size: .82rem; font-weight: 650; margin: 1rem 0 .4rem; color: var(--ink-soft); }
label:first-child { margin-top: 0; }
input[type=text], input[type=email], input[type=number], input[type=date], input[type=url], input[type=search], select, textarea {
  width: 100%; padding: .78rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: .95rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { min-height: 96px; resize: vertical; }
.help { color: var(--muted); font-size: .8rem; margin-top: .35rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.chip { padding: .55rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .86rem; cursor: pointer; font-weight: 550; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-static { padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .8rem; color: var(--muted); }

/* ---------------------------------------------------------- Wizard / stepper */
.stepper { display: flex; align-items: center; gap: .35rem; margin-bottom: 2rem; overflow-x: auto; padding-bottom: .2rem; }
.step-dot { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.step-dot .circle { width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; }
.step-dot.done .circle { background: var(--good); color: #fff; }
.step-dot.active .circle { background: var(--ink); color: #fff; }
.step-dot .label { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.step-dot.active .label { color: var(--ink); font-weight: 650; }
.step-line { width: 22px; height: 1px; background: var(--line); flex-shrink: 0; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 1.8rem; }

/* -------------------------------------------------------------------- Tables */
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .75rem .6rem; border-bottom: 1px solid var(--line-soft); }
th { color: var(--muted); font-weight: 650; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; }
/* Every table on Marketplace is already wrapped in .table-wrap (scrolls
   inside its own box on narrow screens) - this is the second line of
   defense so a long unbroken value (a publisher ID, an email, a URL)
   inside a cell can never itself force that scroll area, or the page,
   wider than intended. break-word (not anywhere): anywhere counts toward a
   column's min-content size, so table auto-layout reads ordinary text as
   "free to shrink to nothing" and starves that column even when the table
   has room - producing exactly the unreadable one-letter-per-line wrap
   this is supposed to prevent. break-word still catches a genuinely long
   unbroken token as a last resort, but doesn't fight normal word wrapping
   or the table's own width allocation to get there. */
td, .mono { overflow-wrap: break-word; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* table { width: 100% } alone means a table just shrinks its columns to
   fit a narrow viewport - every cell's ordinary text (not just a long
   unbroken token) starts wrapping mid-word, which is unreadable, not
   "responsive." A table is meant to use .table-wrap's horizontal scroll
   instead: give it a floor so it keeps natural column widths and the
   *wrap* scrolls, rather than the *columns* collapsing. */
.table-wrap table { min-width: 480px; }

/* ------------------------------------------------------------------- Badges */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .62rem; border-radius: 999px; font-size: .72rem; font-weight: 750; letter-spacing: .02em; white-space: nowrap; }
.badge-good { background: var(--good-tint); color: var(--good); }
.badge-warn { background: var(--warn-tint); color: var(--warn); }
.badge-bad { background: var(--bad-tint); color: var(--bad); }
.badge-neutral { background: #eeece5; color: var(--muted); }
.badge-verified { background: #eaf3ee; color: var(--good); border: 1px solid #cfe6d9; }
.badge-demo { background: #f2ece0; color: var(--accent-deep); }

.status-msg { padding: .85rem 1.05rem; border-radius: 10px; margin: 1rem 0; font-size: .9rem; }
.status-msg.error { background: var(--bad-tint); color: var(--bad); }
.status-msg.ok { background: var(--good-tint); color: var(--good); }
.status-msg.info { background: #eef2f6; color: #33475b; }

/* --------------------------------------------------------------------- Tabs */
.tabs { display: flex; gap: .3rem; border-bottom: 1px solid var(--line); margin-bottom: 1.4rem; flex-wrap: wrap; overflow-x: auto; }
.tab { padding: .75rem 1.05rem; border: 0; background: transparent; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 650; white-space: nowrap; }
.tab.active { color: var(--ink); border-bottom-color: var(--accent); }

/* -------------------------------------------------------------------- Stats */
.stat { display: flex; flex-direction: column; gap: .2rem; }
.stat b { font-size: 1.7rem; font-family: Georgia, serif; }
.stat span { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.stat-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem; }

/* --------------------------------------------------------------- Match / budget */
.match-bar { height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
.match-bar > span { display: block; height: 100%; background: var(--accent); }
.explain { font-size: .84rem; color: var(--muted); }
.budget-bar { height: 28px; border-radius: 8px; overflow: hidden; display: flex; border: 1px solid var(--line); }
.budget-bar > span { display: block; height: 100%; }
.budget-legend { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .8rem; font-size: .82rem; }
.budget-legend .dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-right: .4rem; }

.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.pill-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.small { font-size: .82rem; color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------------------- FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: transparent; border: 0; padding: 1.1rem 0; display: flex; justify-content: space-between; align-items: center; font-weight: 650; font-size: .98rem; }
.faq-a { padding: 0 0 1.1rem; color: var(--muted); display: none; max-width: 720px; }
.faq-item.open .faq-a { display: block; }
.faq-q .plus { transition: transform .15s ease; color: var(--accent); font-size: 1.2rem; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }

/* --------------------------------------------------------- Market strip */
/* A tasteful, decorative pre-footer identity cue ("DailyCut serves the
   U.S. market" - never "these are our advertisers/publishers/customers",
   hence the explicit label and plain topic/geography words, not logos).
   Not user-scrollable - overflow:hidden on the section itself clips the
   animated track locally, rather than leaning on the page-level
   html,body overflow-x:hidden safety net alone. Two identical groups
   scrolled together by exactly -50% of the track produce a seamless
   loop; the CSS is the entire mechanism, no carousel library. */
.market-strip { overflow: hidden; padding: 2.2rem 0; margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); background: var(--card); }
.market-strip-label { text-align: center; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; font-weight: 750; margin: 0 0 1.2rem; }
.market-strip-track { display: flex; width: max-content; animation: market-strip-scroll 32s linear infinite; }
.market-strip-group { display: flex; align-items: center; gap: 1.4rem; flex-shrink: 0; padding-right: 1.4rem; }
.market-strip-group span { white-space: nowrap; font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; letter-spacing: .02em; color: var(--ink-soft); }
.market-strip-group span.dot { color: var(--line); font-size: .8rem; font-family: inherit; }
@keyframes market-strip-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Motion is decorative only - anyone who has asked the OS to reduce motion
   gets the same content with zero animation, not a smaller version of it. */
@media (prefers-reduced-motion: reduce) { .market-strip-track { animation: none; } }

/* -------------------------------------------------------------------- Footer */
.footer { padding: 3.5rem 0 2.5rem; color: var(--muted); font-size: .86rem; border-top: 1px solid var(--line); margin-top: 3rem; background: var(--card); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; margin-bottom: 2.2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h5 { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: .8rem; }
.footer-grid a { display: block; text-decoration: none; color: var(--muted); padding: .3rem 0; }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; }

/* -------------------------------------------------------------- Misc/layout */
.centered-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 2.5rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
.trust-item { text-align: center; padding: 1.2rem .6rem; }
.trust-item .glyph { font-family: Georgia, serif; font-size: 1.6rem; color: var(--accent); margin-bottom: .5rem; }
.trust-item h4 { font-size: .88rem; margin-bottom: .3rem; }
.trust-item p { font-size: .8rem; color: var(--muted); margin: 0; }

.filters-bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1.5rem; }
.filters-bar input[type=search] { flex: 1; min-width: 220px; }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.view-toggle button { padding: .6rem .9rem; background: #fff; border: 0; border-right: 1px solid var(--line); }
.view-toggle button:last-child { border-right: 0; }
.view-toggle button.active { background: var(--ink); color: #fff; }

.tooltip-wrap { position: relative; display: inline-flex; }
.tooltip-wrap .tip { display: none; position: absolute; bottom: 130%; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: .78rem; padding: .6rem .8rem; border-radius: 8px; width: 220px; z-index: 5; line-height: 1.4; }
.tooltip-wrap:hover .tip, .tooltip-wrap:focus-within .tip { display: block; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(18,20,26,.45); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 1.5rem; }
.modal { background: #fff; border-radius: var(--radius); padding: 1.8rem; max-width: 460px; width: 100%; box-shadow: 0 24px 60px rgba(0,0,0,.25); }

@media (max-width: 640px) {
  .wrap, .wrap-narrow { width: calc(100% - 1.6rem); }
  body { font-size: 15.5px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  table { font-size: .84rem; }
  th, td { padding: .6rem .45rem; }
  .btn-lg { padding: .9rem 1.3rem; }
  .pub-card { padding: 1.4rem; }
  .example-plan-head { align-items: flex-start; }

  /* Mobile hero: the first viewport must lead with the eyebrow, headline,
     American-audience proposition and Build a Campaign - not be consumed
     by an oversized headline before any of that is visible. The campaign
     builder immediately follows as a plain full-width component (the
     hero-grid already collapses to one column below 980px). */
  .hero { padding: 1.8rem 0 1.6rem; }
  .hero h1 { font-size: clamp(1.9rem, 8.4vw, 2.5rem); line-height: 1.12; }
  .hero p.lede { font-size: 1.04rem; margin: .9rem 0 .6rem; }
  .hero-mechanism { font-size: .92rem; margin-bottom: 1.2rem; }
  .hero .ctas .btn { flex: 1 1 auto; }
  .starter { border-radius: 16px; }

  /* Comfortable touch targets throughout, not just the hero CTAs. */
  .btn { min-height: 44px; }
  .btn-sm { min-height: 38px; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
  .chip { min-height: 40px; }
  .view-toggle button { min-height: 40px; }

  .market-strip { padding: 1.6rem 0; margin-top: 2.2rem; }
  .market-strip-label { font-size: .62rem; }
  .market-strip-group { gap: 1rem; padding-right: 1rem; }
  .market-strip-group span { font-size: .92rem; }
  .market-strip-track { animation-duration: 22s; }
}

@media (max-width: 400px) {
  /* At the narrowest phone widths the fixed-width brand lockup ("DAILYCUT |
     MARKETPLACE") plus the Sign In button and nav toggle no longer both fit
     on one row - drop the "MARKETPLACE" subtitle here so the real controls
     (Sign In, menu) never get clipped off the right edge of the viewport.
     "DAILYCUT" alone still identifies the app; the page itself, and the
     hero directly beneath it, already establish it's the Marketplace. */
  .brand span { display: none; }
}
