/* ScrapeRabbit marketing site
   Direction: a field guide to local data. Deep aubergine, vellum, violet,
   and a carrot signal. Editorial type, map-grid structure, one strong hero. */

:root {
  --ink: #151020;
  --ink-raised: #1d1629;
  --ink-soft: #251c36;
  --paper: #f7f1e6;
  --paper-2: #eee5d5;
  --violet: #8b6cff;
  --violet-deep: #5c3ed6;
  --violet-light: #c7b9ff;
  --carrot: #ff8a3d;
  --mint: #b9f3d7;
  --text: #f7f1e6;
  --muted: #b9afc9;
  --muted-dark: #665d78;
  --line: rgba(247, 241, 230, 0.14);
  --line-strong: rgba(247, 241, 230, 0.25);
  --line-ink: rgba(21, 16, 32, 0.16);
  --line-ink-strong: rgba(21, 16, 32, 0.3);
  --display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --body: 'Instrument Sans', 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', 'Cascadia Mono', Consolas, monospace;
  --shell: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 8%, rgba(139, 108, 255, 0.1), transparent 28rem),
    radial-gradient(circle at 8% 58%, rgba(255, 138, 61, 0.05), transparent 24rem);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  background: var(--carrot);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--carrot);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

/* ------------------------------ header ------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 16, 32, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(21, 16, 32, 0.94);
  border-bottom-color: var(--line);
}

.nav-shell {
  width: min(var(--shell), calc(100% - 56px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(139, 108, 255, 0.38);
}

.brand-word {
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--paper);
}

.brand-word span {
  color: var(--violet-light);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.16s ease;
}

.site-nav a:hover {
  color: var(--paper);
}

.nav-cta {
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--paper) !important;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.nav-cta:hover {
  border-color: var(--violet-light);
  background: rgba(139, 108, 255, 0.12);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.18s ease;
}

.menu-button[aria-expanded='true'] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-button[aria-expanded='true'] span:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ------------------------------- hero ------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 70px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 76% 34%, rgba(139, 108, 255, 0.24), transparent 44%),
    radial-gradient(ellipse at 14% 88%, rgba(255, 138, 61, 0.1), transparent 38%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 241, 230, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 241, 230, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 62% 46%, #000 18%, transparent 76%);
  pointer-events: none;
}

.hero-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--carrot);
  opacity: 0.34;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--shell), calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 54px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.015em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(185, 243, 215, 0.09);
  animation: signal 3.2s ease-in-out infinite;
}

@keyframes signal {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(185, 243, 215, 0.09);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(185, 243, 215, 0.02);
  }
}

h1 {
  max-width: 10ch;
  margin: 0 0 26px;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(3.35rem, 6.45vw, 6.2rem);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.lede {
  max-width: 55ch;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.66;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.2;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--carrot);
  color: var(--ink);
}

.button-primary:hover {
  background: #ff9d5e;
}

.button-quiet {
  border-color: var(--line-strong);
  color: var(--paper);
}

.button-quiet:hover {
  border-color: var(--violet-light);
  background: rgba(139, 108, 255, 0.1);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-dark:hover {
  background: var(--ink-soft);
}

.hero-facts {
  display: flex;
  gap: 34px;
  margin: 48px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-facts dt {
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

/* ---------------------------- hero visual --------------------------- */

.hero-visual {
  position: relative;
  padding: 14px 0 0 12px;
}

.window {
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #0e0a16;
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.48);
  transform: rotate(-1.1deg);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 0 4px 7px;
}

.window-bar > span:not(.window-title) {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}

.window-title {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.01em;
}

.window img {
  width: 100%;
  border-radius: 11px;
}

.float-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 146px;
  padding: 13px 15px;
  border: 1px solid rgba(21, 16, 32, 0.12);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.34);
}

.float-card .mono {
  color: var(--muted-dark);
  font-size: 0.6rem;
}

.float-card strong {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.float-card strong span {
  color: var(--violet-deep);
}

.float-note {
  color: var(--muted-dark);
  font-size: 0.67rem;
  line-height: 1.25;
}

.float-rows {
  top: 54px;
  left: -26px;
  transform: rotate(-3deg);
}

.float-email {
  right: -16px;
  bottom: 34px;
  transform: rotate(2deg);
}

/* ---------------------------- source strip -------------------------- */

.source-strip {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-raised);
}

.source-strip-inner {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 15px 0;
  display: flex;
  gap: 34px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.source-strip-inner::-webkit-scrollbar {
  display: none;
}

.source-strip-inner span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.015em;
}

.source-strip-inner span::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--carrot);
  vertical-align: 1px;
}

/* ------------------------------ sections ---------------------------- */

.section {
  width: min(var(--shell), 100%);
  margin: 0 auto;
  padding: 112px 28px;
}

.section-label {
  margin: 0 0 16px;
  color: var(--violet-light);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

h2 {
  max-width: 12ch;
  margin: 0 0 20px;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(2.55rem, 4.5vw, 4.25rem);
  font-weight: 650;
  line-height: 0.97;
  letter-spacing: -0.052em;
}

.section-intro {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.section-head {
  max-width: 760px;
  margin-bottom: 54px;
}

/* ------------------------------ sources ----------------------------- */

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  column-gap: 42px;
  border-top: 1px solid var(--line);
}

.source-card {
  padding: 27px 0 31px;
  border-bottom: 1px solid var(--line);
}

.source-wide {
  grid-column: span 2;
}

.source-label {
  color: var(--carrot);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.02em;
}

.source-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 7px 0 11px;
}

.source-card h3 {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.source-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.source-card p {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.plain-list {
  display: grid;
  gap: 7px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 0.85rem;
}

.plain-list li::before {
  content: '';
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet);
}

.plain-list strong {
  color: var(--paper);
  font-weight: 600;
}

.country-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 15px;
}

.country-row span {
  color: var(--muted);
  font-size: 0.78rem;
}

.country-row b {
  margin-right: 5px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
}

.source-email {
  background: linear-gradient(90deg, rgba(139, 108, 255, 0.08), transparent 70%);
  padding-left: 18px;
  border-left: 1px solid var(--violet);
}

/* ------------------------------ paper ------------------------------- */

.section-paper {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(21, 16, 32, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.section-paper .section-label {
  color: var(--violet-deep);
}

.section-paper h2 {
  color: var(--ink);
}

.section-paper .section-intro,
.section-paper p {
  color: var(--muted-dark);
}

/* ----------------------------- workflow ----------------------------- */

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: start;
  padding: 76px 56px;
}

.workflow-copy {
  max-width: 480px;
}

.steps {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-ink);
}

.steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line-ink);
}

.step-number {
  padding-top: 2px;
  color: var(--violet-deep);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.steps h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.steps p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.58;
}

.steps code {
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(21, 16, 32, 0.08);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78em;
}

.workflow-visual {
  position: sticky;
  top: 100px;
}

.shot-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.shot-tabs button {
  padding: 7px 11px;
  border: 1px solid var(--line-ink-strong);
  border-radius: 5px;
  background: transparent;
  color: var(--muted-dark);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.shot-tabs button:hover {
  border-color: var(--violet-deep);
  color: var(--ink);
}

.shot-tabs button[aria-selected='true'] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.shot-window {
  padding: 8px;
  border: 1px solid var(--line-ink-strong);
  border-radius: 12px;
  background: #0e0a16;
  box-shadow: 0 24px 48px rgba(21, 16, 32, 0.2);
}

.shot-window .window-bar {
  padding-bottom: 7px;
}

.shot-window .window-title {
  color: #b9afc9;
}

.shot-window img {
  width: 100%;
  border-radius: 7px;
}

.shot-caption {
  max-width: 46ch;
  margin: 12px 0 0;
  font-size: 0.74rem !important;
  line-height: 1.5;
}

/* --------------------------- after search --------------------------- */

.after-search {
  padding-top: 118px;
  padding-bottom: 118px;
}

.after-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: end;
}

.after-head .section-intro {
  max-width: 46ch;
}

.after-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.78fr) minmax(0, 0.78fr);
  gap: 1px;
  margin-top: 54px;
  background: var(--line);
  border: 1px solid var(--line);
}

.after-lead {
  grid-row: span 2;
  padding: 26px;
  background: var(--ink-raised);
}

.after-card {
  padding: 26px;
  background: var(--ink);
}

.after-card-wide {
  grid-column: span 2;
}

.after-lead h3,
.after-card h3 {
  margin: 0 0 7px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.after-lead > p,
.after-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.6;
}

.after-card > .mono {
  display: block;
  margin-bottom: 12px;
  color: var(--carrot);
  font-size: 0.62rem;
}

.lead-preview {
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid rgba(21, 16, 32, 0.14);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
}

.lead-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.lead-preview-head .mono {
  color: var(--muted-dark);
  font-size: 0.6rem;
}

.lead-badge {
  padding: 3px 7px;
  border-radius: 99px;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.lead-name {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lead-meta {
  margin-top: 3px;
  color: var(--muted-dark);
  font-size: 0.78rem;
}

.lead-contact {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(21, 16, 32, 0.13);
  color: var(--violet-deep);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.lead-socials {
  display: flex;
  gap: 5px;
  margin-top: 12px;
}

.lead-socials span {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(21, 16, 32, 0.18);
  border-radius: 4px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.57rem;
}

/* ------------------------------ audience ---------------------------- */

.audience {
  padding: 76px 56px;
}

.audience-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: end;
}

.audience-head .section-intro {
  max-width: 48ch;
}

.audience-list {
  margin-top: 48px;
  border-top: 1px solid var(--line-ink);
}

.audience-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 90px;
  gap: 24px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-ink);
}

.audience-row h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.audience-row p {
  max-width: 52ch;
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.88rem;
  line-height: 1.58;
}

.audience-tag {
  justify-self: end;
  color: var(--violet-deep);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-align: right;
}

/* -------------------------------- spec ------------------------------ */

.spec {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 64px;
  align-items: start;
}

.spec-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec-table > div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec-table dt {
  color: var(--violet-light);
  font-family: var(--mono);
  font-size: 0.66rem;
}

.spec-table dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* ------------------------------ access ------------------------------ */

.access {
  background: var(--carrot);
  color: var(--ink);
}

.access-inner {
  width: min(var(--shell), 100%);
  margin: 0 auto;
  padding: 78px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: center;
}

.access .section-label {
  color: rgba(21, 16, 32, 0.62);
}

.access h2 {
  max-width: 11ch;
  color: var(--ink);
}

.access p {
  max-width: 53ch;
  color: rgba(21, 16, 32, 0.76);
  font-size: 0.95rem;
}

.access-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.access-list li {
  position: relative;
  padding-left: 17px;
  color: var(--ink);
  font-size: 0.86rem;
}

.access-list li::before {
  content: '';
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.access-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-left: 42px;
  border-left: 1px solid rgba(21, 16, 32, 0.28);
}

.access-action .mono {
  color: rgba(21, 16, 32, 0.6);
  font-size: 0.64rem;
}

.access-action p {
  max-width: 31ch;
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
}

/* -------------------------------- faq ------------------------------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 64px;
  align-items: start;
  padding-top: 112px;
  padding-bottom: 120px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
  padding: 17px 0;
  color: var(--paper);
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex: 0 0 auto;
  color: var(--carrot);
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  max-width: 66ch;
  margin: 0 0 19px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.62;
}

.faq code {
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(247, 241, 230, 0.09);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.82em;
}

/* ------------------------------- footer ----------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.footer-inner {
  width: min(var(--shell), 100%);
  margin: 0 auto;
  padding: 42px 28px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr) auto;
  gap: 40px;
  align-items: start;
}

.footer-brand .brand {
  margin-bottom: 10px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 24px;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--paper);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-align: right;
}

/* ---------------------------- breakpoints --------------------------- */

@media (max-width: 1024px) {
  .hero-inner {
    gap: 38px;
  }

  h1 {
    font-size: clamp(3.1rem, 7vw, 5.3rem);
  }

  .float-rows {
    left: -12px;
  }

  .float-email {
    right: -6px;
  }

  .source-grid {
    column-gap: 30px;
  }

  .workflow,
  .audience {
    padding: 58px 38px;
  }

  .workflow {
    gap: 38px;
  }

  .after-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .after-card-wide {
    grid-column: span 2;
  }

  .after-lead {
    grid-row: span 1;
  }

  .access-inner {
    gap: 42px;
  }
}

@media (max-width: 820px) {
  .nav-shell {
    min-height: 68px;
  }

  .menu-button {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 28px;
    left: 28px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    background: var(--ink-raised);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 12px;
  }

  .nav-cta {
    margin-top: 4px;
    text-align: center;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 660px;
  }

  .hero-visual {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
  }

  .float-rows {
    left: -8px;
  }

  .float-email {
    right: -6px;
  }

  .source-grid {
    grid-template-columns: 1fr 1fr;
  }

  .source-wide {
    grid-column: span 2;
  }

  .source-email {
    grid-column: span 2;
  }

  .workflow {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .workflow-copy {
    max-width: 620px;
  }

  .workflow-visual {
    position: static;
  }

  .after-head,
  .audience-head,
  .spec,
  .faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .after-grid {
    grid-template-columns: 1fr 1fr;
  }

  .after-lead {
    grid-column: span 2;
    grid-row: auto;
  }

  .after-card-wide {
    grid-column: span 2;
  }

  .access-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .access-action {
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid rgba(21, 16, 32, 0.28);
    border-left: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-meta {
    grid-column: span 2;
    text-align: left;
  }
}

@media (max-width: 580px) {
  .nav-shell,
  .hero-inner,
  .source-strip-inner {
    width: calc(100% - 36px);
  }

  .site-nav {
    right: 18px;
    left: 18px;
  }

  .hero {
    padding-top: 46px;
    padding-bottom: 52px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .lede {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    gap: 20px;
    flex-wrap: wrap;
  }

  .hero-facts div {
    min-width: 92px;
  }

  .hero-visual {
    padding-left: 0;
  }

  .window {
    transform: none;
  }

  .float-card {
    padding: 10px 12px;
    min-width: 124px;
  }

  .float-card strong {
    font-size: 1.25rem;
  }

  .float-rows {
    top: 28px;
    left: -4px;
  }

  .float-email {
    right: -4px;
    bottom: 18px;
  }

  .section {
    padding: 76px 18px;
  }

  .section-head {
    margin-bottom: 38px;
  }

  h2 {
    font-size: clamp(2.25rem, 10vw, 3.3rem);
  }

  .source-grid {
    grid-template-columns: 1fr;
  }

  .source-wide,
  .source-email {
    grid-column: auto;
  }

  .source-email {
    padding-left: 14px;
  }

  .workflow,
  .audience {
    padding: 46px 22px;
  }

  .shot-tabs button {
    flex: 1;
    text-align: center;
  }

  .after-grid {
    grid-template-columns: 1fr;
  }

  .after-lead,
  .after-card-wide {
    grid-column: auto;
  }

  .audience-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .audience-tag {
    justify-self: start;
    margin-top: 2px;
  }

  .spec-table > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .access-inner {
    padding: 48px 18px;
  }

  .access-list {
    grid-template-columns: 1fr;
  }

  .faq {
    padding-top: 78px;
    padding-bottom: 84px;
  }

  .faq summary {
    font-size: 1rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 34px 18px 28px;
    gap: 26px;
  }

  .footer-meta {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
