@font-face {
  font-family: "Anybody";
  src: url("/fonts/anybody.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f2f3f5;
  --ink: #161a2e;
  --cobalt: #2b3bff;
  --lilac: #e2e4fb;
  --muted: #565c78;
  --line: #cdd1dd;
  --on-ink: #f2f3f5;
  --on-ink-muted: #a9aec8;

  --display: "Anybody", "Arial Narrow", sans-serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;

  --gutter: 16px;
  --max: 1200px;
  --section: 88px;
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --section: 120px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 40px; --section: 144px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01";
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: 18px; } }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Display type */
.display {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 820;
  line-height: .9;
  letter-spacing: -.005em;
  margin: 0;
}
h2.display { font-size: clamp(38px, 6.2vw, 76px); font-stretch: 66%; font-weight: 780; line-height: .95; }
h3 { font-family: var(--display); font-stretch: 85%; font-weight: 700; font-size: 24px; line-height: 1.15; margin: 0 0 .5em; }
.lede { font-size: 19px; line-height: 1.55; max-width: 34em; color: var(--ink); }
@media (min-width: 768px) { .lede { font-size: 21px; } }
.muted { color: var(--muted); }

/* Header */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-stretch: 120%; font-weight: 700; font-size: 18px; letter-spacing: .01em; }
.brand svg { width: 16px; height: 28px; flex: none; }
.brand span { font-weight: 400; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav .nav-link { display: none; }
@media (min-width: 768px) { .nav .nav-link { display: inline; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1 var(--text); text-decoration: none;
  border: 2px solid var(--ink); transition: background-color .15s, color .15s;
}
.btn-primary { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--on-ink); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding: 32px 0 var(--section); }
.hero-grid { display: grid; gap: 48px; }
.hero h1 { font-size: clamp(60px, 15.5vw, 132px); }
.hero .lede { margin: 28px 0 32px; }
@media (min-width: 1024px) {
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 56px; }
  .hero h1 { font-size: clamp(88px, 9.4vw, 136px); }
}

.reel { margin: 0; }
.reel-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
@media (min-width: 768px) { .reel-row { gap: 20px; max-width: 640px; } }
@media (min-width: 1024px) { .reel-row { max-width: none; } }
.reel-row .phone:nth-child(2) { margin-top: 28px; }
.reel-row .phone:nth-child(3) { margin-top: 56px; }
@media (min-width: 768px) {
  .reel-row .phone:nth-child(2) { margin-top: 48px; }
  .reel-row .phone:nth-child(3) { margin-top: 96px; }
}
.phone { margin: 0; }
.phone .screen {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: 14px; background: var(--ink);
  box-shadow: 0 0 0 1px rgba(22, 26, 46, .12);
}
@media (min-width: 768px) { .phone .screen { border-radius: 22px; } }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; }
.phone figcaption { margin-top: 10px; font-size: 14px; line-height: 1.35; }
.phone figcaption a { text-decoration: none; font-weight: 600; }
.phone figcaption a:hover { text-decoration: underline; text-underline-offset: 3px; }
.phone figcaption span { display: block; color: var(--muted); font-size: 13px; }
@media (min-width: 768px) { .phone figcaption { font-size: 15px; } .phone figcaption span { font-size: 14px; } }
.reel > p { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* Sections */
.section { padding: var(--section) 0; border-top: 1px solid var(--line); }
.split { display: grid; gap: 32px; }
@media (min-width: 1024px) { .split { grid-template-columns: 5fr 7fr; gap: 64px; } }

/* Problem */
.contrast { margin: 40px 0 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
@media (min-width: 768px) { .contrast { grid-template-columns: 1fr 1fr; } }
.contrast > div { background: var(--paper); padding: 24px; }
.contrast > div:last-child { background: var(--lilac); }
.contrast dt { font-family: var(--display); font-stretch: 85%; font-weight: 700; font-size: 22px; margin-bottom: 8px; }
.contrast dd { margin: 0; font-size: 16px; }

/* Work */
.work-intro { max-width: 40em; margin-top: 24px; }
.cases { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 64px; }
@media (min-width: 768px) { .cases { gap: 88px; } }
.case { display: grid; gap: 24px; }
@media (min-width: 1024px) {
  .case { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
}
.tag {
  display: inline-block; font-size: 13px; font-weight: 600; line-height: 1;
  padding: 7px 10px; border-radius: 999px; border: 1px solid var(--ink); margin-bottom: 16px;
}
.case-for { color: var(--muted); font-size: 16px; margin-bottom: 6px; }
.case h3 { font-size: clamp(30px, 4vw, 40px); font-stretch: 70%; font-weight: 780; line-height: 1; }
.case-used { font-size: 15px; color: var(--muted); margin-top: 16px; }
.beats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .beats { gap: 16px; } }
.beats img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; background: var(--ink); }
@media (min-width: 768px) { .beats img { border-radius: 14px; } }
.beats p { margin-top: 10px; font-size: 13px; line-height: 1.35; }
.beats time { display: block; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .beats p { font-size: 15px; } }

/* Pricing */
.pricing { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 1024px) { .pricing { grid-template-columns: 7fr 5fr; gap: 20px; } }
.plan { border-radius: 24px; padding: 28px 24px; }
@media (min-width: 768px) { .plan { padding: 44px 44px 40px; } }
.plan-sprint { background: var(--ink); color: var(--on-ink); }
.plan-monthly { background: var(--lilac); }
.plan-step { font-size: 15px; font-weight: 600; margin-bottom: 20px; }
.plan-sprint .plan-step { color: var(--on-ink-muted); }
.plan-monthly .plan-step { color: var(--muted); }
.plan h3 { font-size: clamp(30px, 4vw, 44px); font-stretch: 70%; font-weight: 780; line-height: 1; margin-bottom: 12px; }
.plan-promise { font-size: 19px; line-height: 1.4; margin-bottom: 28px; max-width: 24em; }
.price { font-family: var(--display); font-stretch: 60%; font-weight: 820; line-height: .9; font-size: clamp(72px, 13vw, 128px); margin: 0 0 28px; font-variant-numeric: lining-nums; }
.price small { font-family: var(--text); font-size: 18px; font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.plan-monthly .price { font-size: clamp(56px, 9vw, 88px); }
.price-from { display: block; font-family: var(--text); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.plan ul { margin: 0 0 32px; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan li { padding-left: 22px; position: relative; font-size: 16px; line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 2px; background: var(--cobalt); }
.plan-sprint li::before { background: #8d97ff; }
.plan-sprint .btn-primary:hover { background: var(--on-ink); border-color: var(--on-ink); color: var(--ink); }
.plan-note { font-size: 14px; margin-top: 16px; }
.plan-guarantee { font-size: 16px; line-height: 1.45; margin: -4px 0 28px; padding: 14px 16px; border-radius: 14px; border: 1px solid currentColor; max-width: 30em; }
.plan-guarantee strong { font-weight: 700; }
.plan-sprint .plan-note { color: var(--on-ink-muted); }

/* Agencies */
.points { list-style: none; margin: 32px 0 36px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.points li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
@media (min-width: 768px) { .points li { grid-template-columns: 14em 1fr; gap: 24px; } }
.points strong { font-weight: 700; }

/* About */
.about-name { font-weight: 700; margin-top: 28px; }
.about-name span { display: block; font-weight: 400; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink); padding: 80px 0 40px; }
@media (min-width: 768px) { .site-footer { padding: 112px 0 48px; } }
.site-footer h2 { font-size: clamp(40px, 7vw, 88px); max-width: 11em; }
.footer-mail {
  display: inline-block; margin: 32px 0 0; font-family: var(--display); font-stretch: 90%; font-weight: 600;
  font-size: clamp(22px, 4vw, 36px); color: var(--on-ink); text-decoration-color: #8d97ff; text-underline-offset: 8px; text-decoration-thickness: 2px;
  overflow-wrap: anywhere;
}
.footer-mail:hover { color: #b9bfff; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(242, 243, 245, .16); font-size: 14px; color: var(--on-ink-muted); }
.footer-meta a { color: var(--on-ink); }

/* Privacy page */
.doc { padding: 40px 0 var(--section); }
.doc-body { max-width: 42em; }
.doc h1 { font-size: clamp(48px, 9vw, 96px); margin-bottom: 24px; }
.doc h2 { font-family: var(--display); font-stretch: 85%; font-weight: 700; font-size: 26px; line-height: 1.15; margin: 48px 0 12px; }
.doc ul { padding-left: 1.2em; margin: 0 0 1em; }
.doc li { margin-bottom: 6px; }
.doc .updated { color: var(--muted); font-size: 15px; }
.doc .box { background: var(--lilac); border-radius: 16px; padding: 20px 24px; margin: 32px 0; }
