/* Drip — plain HTML/CSS/JS site. White, black and blue. */

/* Onest (The Onest Project Authors, SIL Open Font License 1.1; licence text
   in fonts/Onest-OFL.txt). Self-hosted in the site's own fonts/ folder
   (relative to this file), so the site works without the app build. One
   variable file per subset, weights 300–700; the browser fetches a subset
   only when the page uses a character in its range (latin is preloaded). */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/onest-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/onest-math.woff2") format("woff2"); unicode-range: U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF; }
@font-face { font-family: "Onest Fallback"; src: local("Arial"); size-adjust: 105.1%; ascent-override: 92.3%; descent-override: 28.5%; line-gap-override: 0%; }

:root {
  --blue: #0a5fc4;      /* Drip blue, the same as the app */
  --blue-dark: #084b9c;
  --ink: #0b0b0c;
  --text: #1a1a1a;
  --muted: #5d5d5d;
  --line: #e4e4e4;
  --panel: #eeeeee;
  --panel-2: #f8f8f8;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1240px;
  --gutter: 25px;
  --font: "Onest", "Onest Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;      /* same as the app */
  --font-display: "Onest", "Onest Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
}

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

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.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;
}

/* ---------- Type ---------- */
.h1 { font-family: var(--font-display); font-size: clamp(40px, 5.6vw, 66px); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; }
.h2 { font-family: var(--font-display); font-size: clamp(32px, 4.2vw, 50px); font-weight: 500; line-height: 1.08; letter-spacing: -0.025em; }
.h3 { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; }
.lead { font-size: 17px; color: var(--muted); line-height: 1.55; }
.muted { color: var(--muted); }

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); }
/* On the blue hero the main button turns white so it stands out. */
.hero .btn-blue,
.site-header.on-hero .btn-blue { background: var(--white); color: var(--ink); }
.hero .btn-blue:hover,
.site-header.on-hero .btn-blue:hover { background: #e9f1fb; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #222; }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-light:hover { background: var(--panel-2); }
.btn-block { width: 100%; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  background: var(--white); border: 1px solid var(--line); color: var(--text);
}
.pill-glass { background: rgba(255, 255, 255, 0.6); border-color: rgba(255, 255, 255, 0.7); backdrop-filter: blur(8px); }

.section-head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; margin-bottom: 48px; }
.section-head .lead { max-width: 520px; }
.section { padding: 110px 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 17px; }
.logo-mark { width: 30px; height: 30px; }

/* Over the blue hero: light text; elsewhere and once scrolled: white bar. */
.site-header.on-hero { color: var(--white); }
.site-header.scrolled,
.site-header.solid { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: var(--blue);
  padding: 170px 0 0;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 220px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}
.hero-swoosh { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.25; }
/* Reactions: engagement icons rising through the hero like live reactions,
   behind everything (and kept above the white fade at the bottom). */
.reactions { position: absolute; inset: 0 0 200px 0; overflow: hidden; pointer-events: none; container-type: size; }
.reaction {
  position: absolute; left: var(--x); bottom: 0; color: #fff; opacity: 0;
  animation: reaction-rise var(--dur) linear var(--delay) infinite; will-change: transform, opacity;
}
.reaction svg { display: block; width: var(--s); height: var(--s); animation: reaction-sway calc(var(--dur) / 3) ease-in-out var(--delay) infinite alternate; }
@keyframes reaction-rise {
  0% { transform: translateY(20%) scale(0.7); opacity: 0; }
  12% { opacity: var(--o); }
  75% { opacity: var(--o); }
  100% { transform: translateY(-100cqh) scale(1); opacity: 0; }
}
@keyframes reaction-sway { from { transform: translateX(-10px) rotate(-8deg); } to { transform: translateX(10px) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .reactions { display: none; } }
/* Tap a reaction to squash it (js/main.js): only the glyphs take taps, each
   a 32px target; the copy above is pointer-transparent except its links. A
   tapped glyph freezes, squashes wide, springs, flattens and fades while a
   few bits burst from its centre. */
.reaction {
  display: grid; place-items: center; min-width: 46px; min-height: 46px; margin-left: -23px;
  pointer-events: auto; cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none;
}
.reactions .reaction.squashed { animation: reaction-pop 520ms linear forwards; cursor: default; }
.reactions .reaction.squashed svg { animation-play-state: paused; }
@keyframes reaction-pop {
  0% { scale: 1; opacity: var(--o-now); animation-timing-function: cubic-bezier(0.2, 0.9, 0.3, 1.2); }
  20% { scale: 1.5 0.55; opacity: min(1, calc(var(--o-now) * 2.2)); animation-timing-function: cubic-bezier(0.3, 0, 0.3, 1.4); }
  42% { scale: 0.85 1.2; animation-timing-function: ease-in; }
  58% { scale: 1.35 0.6; opacity: min(1, calc(var(--o-now) * 2)); animation-timing-function: ease-in; }
  100% { scale: 2 0; opacity: 0; }
}
.rx-bit {
  position: absolute; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%;
  background: #fff; pointer-events: none; opacity: 0;
  animation: rx-bit 380ms cubic-bezier(0.2, 0.7, 0.3, 1) 230ms forwards;
}
@keyframes rx-bit {
  0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  100% { transform: translate(var(--dx), var(--dy)) scale(0.3); opacity: 0; }
}
.reactions.rx-paused .reaction, .reactions.rx-paused .reaction svg { animation-play-state: paused; }
.hero::after { z-index: 1; }

.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.hero-copy .pill { color: var(--ink); }
.hero-copy .h1 { color: #ededed; max-width: 680px; }
.hero-copy p { font-size: 18px; color: rgba(255, 255, 255, 0.85); max-width: 340px; }
.hero-copy, .trusted { pointer-events: none; }
.hero-copy a, .hero-copy .pill, .trusted .marquee { pointer-events: auto; }
.hero-actions { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }

.trusted { position: relative; z-index: 2; padding: 170px 0 20px; text-align: center; color: var(--text); }
.trusted p { font-size: 16px; margin-bottom: 24px; }
.brand-logo { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; color: #333; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; opacity: 0.8; }
.brand-logo svg { width: 26px; height: 26px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee var(--marquee-speed, 40s) linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bento (About) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 270px; background: var(--panel); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.tile.blue { background: linear-gradient(160deg, var(--blue) 0%, #3d8de6 100%); color: var(--white); }
.tile.blue .label { color: var(--white); }
.tile.blue .tag { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.tile.photo { padding: 0; }
.tile.photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.tile .big { font-family: var(--font-display); font-size: clamp(36px, 3.8vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.tile .label { font-weight: 500; font-size: 16px; margin-top: 6px; }
.tile .note { color: var(--muted); font-size: 14px; max-width: 220px; }
.stats-chip {
  position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; gap: 10px; align-items: center;
  padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); font-size: 12px; font-weight: 500;
}
.stats-chip span { display: inline-flex; align-items: center; gap: 4px; }
.stats-chip svg { width: 13px; height: 13px; }
.tag-rows { display: flex; flex-direction: column; gap: 8px; margin: 0 -22px -4px; }
.tag-rows .marquee-track { gap: 8px; --marquee-speed: 26s; }
.tag { flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.6); font-size: 12px; }

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.why .tile { min-height: 290px; }
.why .tall { grid-row: span 2; }
.why .creative { background: linear-gradient(180deg, #9fd2ee, #3b8fd0); color: #fff; }
.why .creative .art { position: absolute; inset: 0; }
.why .creative .art img { position: absolute; }
.why .creative .art .bg { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why .creative .art .front { width: 70%; left: 50%; top: 14%; transform: translateX(-50%) rotate(-4deg); }
.why .team img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why .team::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.65) 100%); }
.why .overlay-copy { position: relative; z-index: 2; margin-top: auto; color: #fff; }
.why .overlay-copy p { font-size: 14px; opacity: 0.85; max-width: 280px; }
.why h3 { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.why .icon-box { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; }
.why .icon-box img { width: 20px; height: 20px; }
.socials-tile { justify-content: center; }
.social-icons { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.social-icons span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.social-icons svg { width: 22px; height: 22px; }

/* ---------- Services ---------- */
.services-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.services-head .pill { margin-bottom: 18px; }
.service-stack { display: flex; flex-direction: column; gap: 24px; }
.service-card {
  position: sticky; top: 96px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
  padding: 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.service-card .num { display: inline-flex; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; margin-bottom: 26px; }
.service-card h3 { margin-bottom: 14px; }
.service-card p { color: var(--muted); max-width: 400px; margin-bottom: 26px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.feature-list li { display: flex; align-items: center; gap: 10px; }
.feature-list svg { width: 16px; height: 16px; flex: 0 0 auto; }
.service-card .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 442 / 310; }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Case studies ---------- */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 457 / 487; background: var(--panel); }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.case-card:hover img { transform: scale(1.04); }
.case-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%); }
.case-card .stats { position: absolute; top: 14px; right: 14px; z-index: 2; display: flex; gap: 6px; }
.case-card .stats span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); font-size: 12px; font-weight: 500; }
.case-card .stats img { width: 13px; height: 13px; }
.case-card h3 { position: absolute; left: 20px; bottom: 18px; z-index: 2; color: #fff; font-size: 22px; font-weight: 500; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin-inline: auto; }
.plan { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 22px; background: var(--panel); border: 1px solid var(--line); }
.plan .swoosh { position: absolute; right: -40px; top: -60px; width: 70%; opacity: 0.5; pointer-events: none; }
.plan > * { position: relative; }
.plan h3 { font-size: 18px; font-weight: 500; }
.plan .for { color: var(--muted); font-size: 14px; margin: 4px 0 18px; }
.plan.featured .for { color: #3b4a10; }
.price { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 16px; }
.price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan .btn { width: 100%; margin-bottom: 16px; }
.plan .list { background: var(--white); border-radius: var(--radius); padding: 20px 22px; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.check-list li { display: flex; align-items: center; gap: 12px; }
.check-list svg { width: 14px; height: 14px; flex: 0 0 auto; }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; overflow: hidden; background: var(--blue); padding: 140px 0 120px; }
.testimonials .curve { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.testimonials .section-head { position: relative; margin-bottom: 70px; }
.quote-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 920px; margin-inline: auto; }
.quote-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 1 / 1; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.quote-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.85) 100%); }
.quote-card > :not(img) { position: relative; z-index: 2; }
.quote-card blockquote { margin: 0 0 14px; font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; }
.quote-card .who { font-size: 14px; }
.quote-card .role { font-size: 12px; opacity: 0.75; }

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin-inline: auto; }
.compare .plan h3 { margin-bottom: 18px; }
.compare .check-list { font-size: 15px; gap: 18px; }
.compare .check-list img { width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 1240px; margin-inline: auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 22px; background: none; border: 0; text-align: left; font-size: 16px; font-weight: 500; color: var(--text);
}
.faq-q .plus { width: 18px; height: 18px; flex: 0 0 auto; transition: transform 0.3s ease; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 22px; color: var(--muted); max-width: 760px; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 110px 0 60px; overflow: hidden; }
.cta .section-head { margin-bottom: 40px; }
.cta-gallery { --marquee-speed: 55s; perspective: 1200px; }
.cta-gallery .marquee-track { align-items: center; gap: 18px; }
.cta-photo { flex: 0 0 auto; width: 220px; height: 280px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.cta-photo:nth-child(odd) { transform: rotate(-2deg); }
.cta-photo:nth-child(even) { transform: rotate(2deg); }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: #fff; padding: 70px 0 30px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.footer-brand p { color: #bdbdbd; font-size: 15px; max-width: 320px; margin-top: 16px; }
.footer-col h4 { font-size: 15px; font-weight: 400; color: #8a8a8a; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 20px; border-top: 1px solid #1f1f1f; font-size: 13px; color: #9a9a9a; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Inner pages ---------- */
.page-top { padding: 140px 0 60px; }
.page-top .section-head { margin-bottom: 0; }
.detail-hero { display: grid; gap: 16px; margin-top: 48px; }
.detail-hero.two { grid-template-columns: 1fr 1fr; }
.detail-hero img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16 / 10; object-fit: cover; }
.detail-body { max-width: 760px; margin: 60px auto 0; display: flex; flex-direction: column; gap: 36px; }
.detail-body h2 { font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.detail-body p { color: var(--muted); font-size: 17px; }
.detail-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.detail-stats div { background: var(--panel); border-radius: var(--radius); padding: 22px; }
.detail-stats strong { display: block; font-family: var(--font-display); font-size: 36px; font-weight: 500; letter-spacing: -0.03em; }
.detail-stats span { color: var(--muted); font-size: 14px; }
.feedback { background: var(--blue); color: var(--white); border-radius: var(--radius-lg); padding: 30px; }
.feedback .pill { margin-bottom: 16px; }
.feedback blockquote { margin: 0 0 18px; font-size: 22px; line-height: 1.35; letter-spacing: -0.015em; }
.feedback .role { color: #3b4a10; font-size: 14px; }

.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-wrap .pill { margin-bottom: 18px; }
.contact-wrap .lead { margin: 18px 0 24px; max-width: 420px; }
.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: var(--white); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 13px; color: var(--muted); }
.field input,
.field textarea {
  font: inherit; font-size: 14px; padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1px solid transparent; background: var(--panel); color: var(--text);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field.invalid input,
.field.invalid textarea { border-color: #d64545; }
.field .error { font-size: 12px; color: #d64545; min-height: 0; }
.form-note { margin-top: 12px; font-size: 14px; }
.form-note.ok { color: #2f6f1b; }

.legal { max-width: 760px; margin: 50px auto 0; display: flex; flex-direction: column; gap: 30px; }
.legal h2 { font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.legal p,
.legal li { color: var(--muted); }
.legal ul { margin: 10px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal-nav { display: flex; justify-content: space-between; margin-top: 20px; font-size: 14px; }
.legal-nav a { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .service-card { position: static; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .bento,
  .why { grid-template-columns: 1fr 1fr; }
  .why { grid-template-rows: none; }
  .why .tall { grid-row: auto; }
  .service-card { grid-template-columns: 1fr; position: static; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: 80px 0; }
  .hero { padding-top: 110px; }
  .bento,
  .why,
  .case-grid,
  .plans,
  .quote-grid,
  .compare,
  .detail-hero.two,
  .detail-stats { grid-template-columns: 1fr; }
  .why .tile { min-height: 260px; }
  .footer-top { grid-template-columns: 1fr; }
  .services-head { align-items: start; }
  /* Phones: a smaller Start Earning button in the pinned header. */
  .site-header .btn { height: 38px; padding: 0 14px; font-size: 13px; }
}

/* Onest has no italic (none is loaded): emphasised words stay upright, like the app. */
.h1 em, .h2 em, .h3 em { font-style: normal; }
.h1, .h2 { text-wrap: balance; }
