/* AskTheAds — landing page
   Design source: Paper file "AdBeam – Ny design", page "v2 – In-house" */

:root {
  --ink: #0B0B0B;
  --paper: #FFFFFF;
  --marker: #EDFF3C;
  --graphite: #5C5C5C;
  --muted: #6F6F6F;
  --hairline: #E3E3E3;

  --serif: "Newsreader", Georgia, serif;
  --sans: "Schibsted Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: 96px;
  --label-col: 248px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Shared bits ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 18px;
  text-transform: uppercase;
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.04em;
}

.lede { font-size: 19px; line-height: 29px; }

.mark { position: relative; display: inline-block; isolation: isolate; }
.mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 22% -.12em 5% -.1em;
  background: var(--marker);
  transform: rotate(-.8deg);
}

.chip {
  display: inline-block;
  background: var(--marker);
  padding: 0 .3em 0 .2em;
  transform: rotate(-1deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  font-weight: 600;
  font-size: 17px;
  line-height: 22px;
  padding: 17px 24px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg path { stroke: var(--marker); }
.btn--small { font-size: 15px; line-height: 20px; padding: 12px 20px; }
.btn--marker { background: var(--marker); color: var(--ink); }
.btn--marker svg path { stroke: var(--ink); }

.fineprint { color: var(--graphite); font-size: 14px; line-height: 19px; }

.section { padding-top: 152px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 72px;
}
.section-head__title { display: flex; flex-direction: column; gap: 28px; }
.section-head__aside { width: 360px; flex-shrink: 0; padding-bottom: 8px; }

/* ---------- Nav ---------- */

.nav { border-bottom: 1px solid var(--hairline); }
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
}
.nav__links { display: flex; gap: 40px; font-size: 15px; font-weight: 500; }
.nav__links a:hover, .nav__right a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.nav__right { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }

.logo { display: inline-flex; align-items: center; }
.logo img { height: 30px; width: auto; }
/* Wordmark: Ask (grotesk bold) · the (serif italic) · Ads (bold on tilted marker) */
.wordmark { display: inline-flex; align-items: baseline; font-size: 24px; line-height: 1; white-space: nowrap; }
.wordmark b { font-family: var(--sans); font-weight: 700; letter-spacing: -.04em; }
.wordmark i { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.03em; margin: 0 .1em 0 .08em; font-size: 1.04em; }
.wordmark .hl { position: relative; isolation: isolate; padding: 0 .1em 0 .12em; margin-left: .06em; color: var(--ink); }
.wordmark .hl::before { content: ""; position: absolute; z-index: -1; inset: -.1em 0 -.12em; background: var(--marker); transform: rotate(-1.5deg); }
.footer .wordmark { color: var(--paper); font-size: 20px; }

/* ---------- Hero ---------- */

.hero { padding-top: 88px; }
.hero__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 72px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(54px, 8.6vw, 124px);
  line-height: .95;
  letter-spacing: -.045em;
  margin-top: 36px;
}
.hero__title .mark::before { inset: 24% -.12em 5% -.12em; }
.hero__aside { width: 360px; flex-shrink: 0; display: flex; flex-direction: column; gap: 28px; padding-bottom: 10px; }
.cta-row { display: flex; align-items: center; gap: 20px; }

/* Annotated report */

.report { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.report__row { display: flex; padding: 36px 0 40px; border-bottom: 1px solid var(--hairline); }
.report__row:last-child { border-bottom: 0; }
.report__label { width: var(--label-col); flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; padding-top: 6px; }
.report__label b { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; line-height: 18px; text-transform: uppercase; }
.report__label span { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; line-height: 18px; text-transform: uppercase; color: var(--graphite); }
.report__label code { font-family: var(--mono); font-size: 13px; line-height: 18px; color: var(--muted); padding-top: 14px; }
.report__body { flex: 1; min-width: 0; }

.question {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.answer { font-size: 22px; line-height: 32px; }
.answer + .ledger-scroll { margin-top: 28px; }

.done { display: flex; gap: 16px; align-items: flex-start; }
.done svg { flex-shrink: 0; margin-top: 2px; }
.done p { max-width: 760px; }

/* Ledger table */

.ledger { width: 100%; border-collapse: collapse; }
.ledger th {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--graphite); text-align: right;
  padding: 0 16px 12px; border-bottom: 1px solid var(--ink);
}
.ledger td {
  padding: 15px 16px; border-bottom: 1px solid var(--hairline);
  font-family: var(--mono); font-size: 16px; font-weight: 500; text-align: right; white-space: nowrap;
}
.ledger th:first-child, .ledger td:first-child { text-align: left; font-family: var(--sans); font-size: 18px; font-weight: 500; }
.ledger th:first-child { font-family: var(--mono); font-size: 12px; }
.ledger td.platform, .ledger th.platform { text-align: left; font-family: var(--sans); font-size: 17px; font-weight: 400; }
.ledger th.platform { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.ledger tr.hot td { background: var(--marker); }
.ledger tr.hot td:first-child { font-weight: 600; }
.ledger tr.hot td.zero { font-weight: 700; }

/* ---------- Agency vs. you ---------- */

.compare { width: 100%; border-collapse: collapse; }
.compare thead th {
  font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: -.02em; line-height: 36px;
  text-align: left; padding: 0 24px 18px 0; border-bottom: 2px solid var(--ink);
}
.compare thead th:first-child { width: var(--label-col); }
.compare tbody th {
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  text-align: left; padding: 24px 24px 24px 0; vertical-align: top;
}
.compare td { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--hairline); color: var(--graphite); vertical-align: top; }
.compare tbody th { border-bottom: 1px solid var(--hairline); }
.compare td.us { color: var(--ink); font-weight: 600; }

/* ---------- Results ---------- */

.results__example { display: flex; border-top: 2px solid var(--ink); padding-top: 36px; }
.results__label { width: var(--label-col); flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.results__label .chip { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.results__body { flex: 1; min-width: 0; }
.results__intro { font-size: 22px; line-height: 32px; max-width: 640px; margin-bottom: 48px; }

.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 64px; }
.figure { border-top: 1px solid var(--ink); padding-top: 20px; }
.figure b {
  display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 3.8vw, 56px); white-space: nowrap;
  line-height: 1; letter-spacing: -.04em; margin-bottom: 12px;
}
.figure:first-child b .mark::before { inset: 30% -.08em 4% -.08em; }
.figure > span { color: var(--graphite); font-size: 16px; line-height: 24px; display: block; max-width: 230px; }

.working h3 { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.working__row { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: 17px; }
.working__row b { font-family: var(--mono); font-weight: 500; font-size: 16px; white-space: nowrap; }
.working__row.hot { background: var(--marker); padding-inline: 12px; margin-inline: -12px; }
.assumptions { font-family: var(--mono); font-size: 12.5px; line-height: 20px; color: var(--graphite); margin-top: 24px; max-width: 860px; }

/* ---------- What you can ask ---------- */

.ask-group { display: flex; border-top: 2px solid var(--ink); padding-top: 28px; padding-bottom: 28px; }
.ask-group__label { width: var(--label-col); flex-shrink: 0; padding-right: 24px; }
.ask-group__label b { display: block; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.ask-group__label span { color: var(--graphite); font-size: 15px; line-height: 22px; display: block; max-width: 190px; }
.ask-group__list { flex: 1; min-width: 0; }
.ask-row { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; padding: 14px 0 22px; border-bottom: 1px solid var(--hairline); }
.ask-row:last-child { border-bottom: 0; }
.ask-row .question { font-size: clamp(24px, 2.2vw, 32px); }
.ask-row small { font-size: 14px; color: var(--graphite); white-space: nowrap; }

.creatives { display: flex; gap: 20px; padding-top: 24px; align-items: flex-start; flex-wrap: wrap; }
.creative { display: flex; flex-direction: column; gap: 10px; }
.creative__art { width: 230px; height: 230px; position: relative; overflow: hidden; }
.creative figcaption { font-family: var(--mono); font-size: 12px; color: var(--graphite); display: flex; gap: 8px; align-items: center; }
.creative figcaption .chip { color: var(--ink); font-size: 11px; }
.art-1 { background: var(--ink); color: var(--paper); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.art-1 small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.art-1 strong { font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1; letter-spacing: -.03em; }
.art-1 div { display: flex; flex-direction: column; gap: 6px; }
.art-1 span { font-size: 12px; }
.art-2 { background: #EDEDED; }
.art-2::before { content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%; background: #D6D6D6; top: -40px; right: -70px; }
.art-2::after { content: ""; position: absolute; width: 100px; height: 100px; border-radius: 50%; background: var(--ink); top: 24px; right: 22px; }
.art-2 p, .art-4 p { position: absolute; left: 20px; bottom: 18px; font-family: var(--serif); font-size: 30px; line-height: 1.05; letter-spacing: -.02em; z-index: 1; }
.art-3 { border: 1.5px solid var(--ink); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.art-3 strong { font-family: var(--serif); font-weight: 400; font-size: 72px; line-height: 1; letter-spacing: -.05em; }
.art-3 div { display: flex; justify-content: space-between; align-items: flex-end; font-size: 13px; }
.art-3 div b { font-weight: 600; }
.art-4 { width: 130px; background: #EDEDED; }
.art-4::before { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: #D6D6D6; top: 34px; left: 0; }
.art-4::after { content: ""; position: absolute; width: 74px; height: 74px; border-radius: 50%; background: var(--ink); top: 70px; left: 14px; }
.art-4 p { font-size: 18px; left: 14px; }
.art-4 .play { position: absolute; top: 10px; left: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); z-index: 1; }
.art-4 .play::after { content: ""; position: absolute; left: 8px; top: 6px; border-left: 8px solid var(--ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* ---------- Control ---------- */

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-left: var(--label-col); }
.point { border-top: 2px solid var(--ink); padding-top: 20px; }
.point h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 14px; }
.point p { color: var(--graphite); font-size: 16px; line-height: 25px; }

/* ---------- Setup ---------- */

.ruler {
  height: 22px;
  border-bottom: 2px solid var(--ink);
  background-image: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 12px);
  background-size: 100% 12px;
  background-position: bottom left;
  background-repeat: no-repeat;
  margin-bottom: 28px;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step time { display: block; font-family: var(--mono); font-size: 52px; line-height: 1; letter-spacing: -.02em; margin-bottom: 22px; }
.step h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 10px; }
.step p { color: var(--graphite); font-size: 16px; line-height: 25px; max-width: 340px; }

/* ---------- Final CTA + footer ---------- */

.final { background: var(--ink); color: var(--paper); margin-top: 152px; }
.final__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; padding-block: 140px 120px; }
.final__title { font-family: var(--serif); font-weight: 500; font-size: clamp(56px, 8.6vw, 124px); line-height: .95; letter-spacing: -.045em; }
.final__title .mark { color: var(--ink); }
.final__title .mark::before { inset: 10% -.12em 2% -.12em; }
.final__aside { width: 360px; flex-shrink: 0; display: flex; flex-direction: column; gap: 28px; padding-bottom: 10px; }
.final .fineprint { color: #A6A6A6; }

.footer { background: var(--ink); color: var(--paper); }
.footer .wrap { display: flex; align-items: center; gap: 40px; padding-block: 32px 40px; border-top: 1px solid #2A2A2A; font-size: 14px; }
.footer__links { display: flex; gap: 28px; flex: 1; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer small { color: #A6A6A6; font-size: 14px; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  :root { --gutter: 48px; --label-col: 180px; }
  .nav__links { display: none; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .points { padding-left: 0; }
}

@media (max-width: 820px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .nav .wrap { padding-block: 18px; }
  .nav__right .signin { display: none; }
  .logo img { height: 26px; }

  .hero { padding-top: 48px; }
  .hero__top, .section-head, .final__inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero__aside, .section-head__aside, .final__aside { width: 100%; }
  .hero__title { margin-top: 22px; }
  .hero__top { margin-bottom: 48px; }
  .btn { width: 100%; justify-content: center; }
  .cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-row .fineprint br { display: none; }

  .section { padding-top: 96px; }
  .section-head { margin-bottom: 40px; }
  .display br { display: none; }

  .report__row, .results__example, .ask-group { flex-direction: column; gap: 16px; }
  .report__label, .results__label, .ask-group__label { width: auto; padding-top: 0; }
  .report__label { flex-direction: row; flex-wrap: wrap; gap: 4px 12px; }
  .report__label code { display: none; }
  .answer { font-size: 19px; line-height: 28px; }

  .ledger-scroll { overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .ledger { min-width: 620px; }

  .compare-scroll { overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .compare { min-width: 720px; }
  .compare thead th { font-size: 22px; }
  .compare thead th:first-child { width: 150px; }

  .figures { gap: 24px 16px; }
  .ask-row { flex-direction: column; gap: 6px; }
  .ask-row small { white-space: normal; }
  .creative__art { width: 150px; height: 150px; }
  .art-1 strong { font-size: 30px; }
  .art-2 p { font-size: 20px; }
  .art-3 strong { font-size: 46px; }
  .art-4 { width: 90px; }

  .points, .steps { grid-template-columns: 1fr; gap: 32px; }
  .step time { font-size: 40px; }

  .final { margin-top: 96px; }
  .final__inner { padding-block: 88px 72px; }
  .footer .wrap { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer__links { flex-wrap: wrap; gap: 16px 24px; }
}
