/* =========================================================
   bytheadrian — landing page
   Design reference: Figma "WWW #2 – TargetBrand", 1920px frame.
   All sizes are written in design pixels multiplied by --u,
   so the desktop layout scales proportionally from 1920px down.
   ========================================================= */

@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-sans-latin-400-normal.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: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/instrument-sans-latin-500-normal.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: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/instrument-sans-latin-600-normal.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: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext-600-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/instrument-sans-latin-700-normal.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; }

:root {
  --u: clamp(0.57px, calc(100vw / 1920), 1px);

  --dark: #12101D;
  --muted: #8E8DA1;
  --muted-2: #6F6E83;
  --blue: #305CDE;
  --yellow: #FDB936;
  --lime: #CFFA6A;
  --purple: #978FF5;
  --grey: #ECECEC;
  --line-btn: #D2D1E0;
  --line-card: #B8B6CD;
  --hero-bg: #F9F8F6;
  --footer-text: #A1A1A2;
  --stripe: #635BFF;

  --container: calc(1456 * var(--u));
  --gutter: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
.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; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--dark); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.container { width: min(var(--container), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.muted-2 { color: var(--muted-2); }
.blue { color: var(--blue); }
.section { position: relative; }

.icon-arrow { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Typography ---------- */
.h2 { font-size: calc(86 * var(--u)); line-height: calc(90 * var(--u)); font-weight: 500; letter-spacing: -0.005em; }
.h3 { font-size: max(24px, calc(52 * var(--u))); line-height: 1.06; font-weight: 500; }
.lead { margin-top: calc(50 * var(--u)); font-size: max(17px, calc(32 * var(--u))); line-height: 1.375; color: var(--muted-2); }
.h-icon { display: inline-block; width: 1.2em; height: 1.2em; vertical-align: -0.3em; margin: 0 0.02em; }
.h-icon--sm { width: 0.85em; height: 0.85em; vertical-align: -0.12em; }

/* ---------- Banner ---------- */
.banner {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center; gap: max(8px, calc(12 * var(--u)));
  min-height: max(40px, calc(60 * var(--u)));
  padding: 6px 16px;
  background: var(--blue); color: #fff;
  font-size: max(13px, calc(14 * var(--u))); font-weight: 600;
  transition: background .2s, transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
}
.banner:hover { background: #2a52c8; }
.banner img { width: max(16px, calc(18 * var(--u))); height: auto; }
.banner .icon-arrow { width: max(11px, calc(11 * var(--u))); transition: transform .2s; }
.banner:hover .icon-arrow { transform: translateX(3px); }
.banner.is-floating { box-shadow: 0 10px 24px -14px rgba(18, 16, 29, .55); }
.banner.is-hidden { transform: translateY(-100%); }

/* ---------- Navigation ---------- */
.nav { position: relative; z-index: 20; background: var(--hero-bg); }
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: calc(40 * var(--u)); padding-block: calc(46 * var(--u)); }
.nav__logo { justify-self: start; }
.nav__logo img { height: max(28px, calc(36 * var(--u))); width: auto; }
.nav__links { display: flex; align-items: center; gap: calc(28 * var(--u)); font-size: max(14px, calc(16 * var(--u))); font-weight: 500; }
.nav__links a { position: relative; padding-block: 4px; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--blue); }
.nav__cta { justify-self: end; min-width: calc(207 * var(--u)); gap: calc(18 * var(--u)); }
.nav__cta .icon-arrow { width: 0.8em; transition: transform .2s; }
.nav__cta:hover .icon-arrow { transform: translateX(3px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: max(9px, calc(12 * var(--u))); border: 1px solid transparent;
  font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s, color .2s;
}
.btn--sm { height: max(42px, calc(55 * var(--u))); padding-inline: max(16px, calc(20 * var(--u))); font-size: max(13px, calc(16 * var(--u))); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: #2a52c8; box-shadow: 0 8px 20px -8px rgba(48, 92, 222, .6); }
.btn--blue .icon-arrow { width: 0.75em; }
.btn--ghost { background: var(--grey); border-color: var(--line-btn); color: var(--muted-2); font-weight: 500; }
.btn--ghost:hover { background: #e3e3ea; color: var(--dark); }

.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 10px; background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--dark); transition: transform .25s, opacity .2s; }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { position: absolute; left: 12px; right: 12px; top: calc(100% - 8px); padding: 20px; background: #fff; border: 1px solid var(--line-btn); border-radius: 20px; box-shadow: 0 24px 48px -20px rgba(18, 16, 29, .25); display: grid; gap: 10px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; margin-bottom: 6px; }
.mobile-menu nav a { padding: 12px 6px; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--grey); }
.mobile-menu .btn { height: 52px; font-size: 15px; white-space: normal; text-align: center; line-height: 1.2; }

/* ---------- Hero ---------- */
.hero__content { padding-top: calc(70 * var(--u)); text-align: center; }
.hero__title { font-size: calc(86 * var(--u)); line-height: calc(90 * var(--u)); font-weight: 500; letter-spacing: -0.005em; }
.verified { display: inline-block; width: 0.75em; height: auto; vertical-align: -0.12em; margin: 0 0.06em; }
.hero__sub { margin-top: calc(63 * var(--u)); font-size: max(18px, calc(32 * var(--u))); line-height: 1.375; }
.hero__sub strong { font-weight: 500; }
.br-mobile { display: none; }
.nowrap { white-space: nowrap; }
.pill { display: inline-block; background: var(--yellow); border-radius: calc(8 * var(--u)); padding: 0 0.4em; margin: 0 0.18em; line-height: 1.375; }

/* rotating word: planned -> designed -> scheduled (new word drops in from the top) */
.rotator {
  position: relative; display: inline-block; vertical-align: bottom;
  height: 1.375em; margin: 0 0.18em; overflow: hidden;
  background: var(--yellow); border-radius: calc(8 * var(--u));
  transition: width .5s cubic-bezier(.65, 0, .35, 1);
}
.rotator__word {
  position: absolute; left: 0; top: 0; padding: 0 0.4em; line-height: 1.375; white-space: nowrap;
  transform: translateY(-110%); opacity: 0;
}
.rotator__word.is-active { transform: none; opacity: 1; }
.rotator:not(.is-ready) .rotator__word.is-active { position: relative; }
.rotator.is-ready .rotator__word { transition: transform .55s cubic-bezier(.65, 0, .35, 1), opacity .45s; }
.rotator.is-ready .rotator__word.is-leaving { transform: translateY(110%); opacity: 0; }
.rotator.is-ready .rotator__word.no-anim { transition: none; }

/* floating tags in the hero background */
.hero__top { position: relative; }
.hero__tags { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.tag { position: absolute; height: auto; max-width: none; will-change: transform; }
.tag--scheduled { left: calc(50% + 333 * var(--u)); top: calc(8 * var(--u)); width: calc(130.7 * var(--u)); animation: float-a 7s ease-in-out infinite; }
.tag--nocalls { left: calc(50% - 635.3 * var(--u)); top: calc(347.3 * var(--u)); width: calc(152.3 * var(--u)); animation: float-b 8s ease-in-out -2s infinite; }
.tag--posts { left: calc(50% + 380.3 * var(--u)); top: calc(500.7 * var(--u)); width: calc(166.3 * var(--u)); animation: float-c 6.5s ease-in-out -1s infinite; }
@keyframes float-a { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(-4px, -12px) rotate(-3deg); } }
@keyframes float-b { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(6px, -10px) rotate(3deg); } }
@keyframes float-c { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(-6px, -9px) rotate(2.5deg); } }

.btn-cta {
  display: inline-flex; align-items: center; gap: calc(55 * var(--u));
  margin-top: calc(48 * var(--u));
  height: max(56px, calc(76 * var(--u)));
  padding: 0 max(8px, calc(11 * var(--u))) 0 max(26px, calc(62 * var(--u)));
  border-radius: 999px; background: var(--blue); color: #fff;
  font-size: max(17px, calc(26 * var(--u))); font-weight: 600;
  transition: transform .25s, box-shadow .25s, background .2s;
}
.btn-cta:hover { background: #2a52c8; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(48, 92, 222, .7); }
.btn-cta__circle { display: grid; place-items: center; width: max(40px, calc(56 * var(--u))); height: max(40px, calc(56 * var(--u))); border-radius: 50%; background: #fff; color: var(--blue); }
.btn-cta__circle .icon-arrow { width: 0.75em; height: 0.75em; transition: transform .25s; }
.btn-cta:hover .icon-arrow { transform: translateX(3px); }

.hero__collage {
  overflow: hidden;
  background: linear-gradient(to bottom, var(--hero-bg) 0, var(--hero-bg) 58.9%, #fff 58.9%);
}
.hero__collage img { width: min(calc(1320 * var(--u)), 100%); margin-inline: auto; }

.trusted { background: #fff; text-align: center; padding-top: calc(39 * var(--u)); }
.hero .trusted { padding-bottom: calc(100 * var(--u)); }
.trusted__title { font-size: max(16px, calc(26 * var(--u))); line-height: 1.7; }
/* logo carousel: the list is duplicated in the HTML, so moving it by -50% loops seamlessly */
.logos {
  width: min(calc(1430 * var(--u)), 100%); margin: calc(44 * var(--u)) auto 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.logos__track {
  --logo-gap: max(48px, calc(110 * var(--u)));
  display: flex; align-items: center; gap: var(--logo-gap); padding-right: var(--logo-gap);
  width: max-content; height: max(28px, calc(37 * var(--u)));
  animation: marquee 40s linear infinite;
}
.logos:hover .logos__track { animation-play-state: paused; }
.logos__track img { width: auto; flex: none; }
.logos__track img[src*="mrf"] { height: max(15px, calc(20 * var(--u))); }
.logos__track img[src*="kayo"] { height: max(25px, calc(33 * var(--u))); }
.logos__track img[src*="shine"] { height: max(28px, calc(37 * var(--u))); }
.logos__track img[src*="cstrade"] { height: max(20px, calc(26 * var(--u))); }
.hero { background: #fff; }
.hero__top { background: var(--hero-bg); padding-bottom: calc(77 * var(--u)); }
.hero__bottom { background: #fff; }

/* ---------- What you get ---------- */
.what__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(35 * var(--u)); margin-top: calc(85 * var(--u)); }
.wcard {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: calc(411 * var(--u));
  padding: calc(32 * var(--u)) calc(38 * var(--u)) calc(56 * var(--u));
  border-radius: calc(40 * var(--u));
  background: var(--grey);
  transition: transform .3s;
}
.wcard:hover { transform: translateY(-4px); }
.wcard--bottom { justify-content: flex-end; }
.wcard--lime { background: var(--lime); }
.wcard--dark { background: #000; color: #fff; }
.wcard__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.wcard__title { font-size: max(22px, calc(36 * var(--u))); line-height: 1.2; font-weight: 500; }
.wcard__text { margin-top: calc(19 * var(--u)); font-size: max(16px, calc(26 * var(--u))); line-height: 1.31; }
.badge-new { display: inline-block; vertical-align: 0.12em; padding: 0 0.4em; margin-right: 0.2em; border-radius: 4px; background: var(--purple); color: #fff; font-size: 0.7em; line-height: 1.38; font-weight: 500; letter-spacing: .02em; }

.btn-pill-ghost {
  display: inline-flex; align-items: center; gap: calc(10 * var(--u));
  margin-top: calc(45 * var(--u));
  height: max(52px, calc(76 * var(--u)));
  padding-inline: max(22px, calc(38 * var(--u)));
  border-radius: 999px; background: var(--grey); border: 1px solid var(--line-btn);
  font-size: max(16px, calc(26 * var(--u))); font-weight: 500;
  transition: background .2s, transform .2s;
}
.btn-pill-ghost .muted-2 { font-weight: 400; }
.btn-pill-ghost .icon-arrow { width: 0.7em; color: var(--muted-2); transition: transform .2s; }
.btn-pill-ghost:hover { background: #e3e3ea; }
.btn-pill-ghost:hover .icon-arrow { transform: translateX(3px); }
.what { padding-top: 0; }

/* ---------- Industries ---------- */
.industries { padding-top: calc(172 * var(--u)); }
.industries__title { max-width: calc(900 * var(--u)); margin-inline: auto; line-height: calc(55 * var(--u)); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; column-gap: calc(46 * var(--u)); row-gap: calc(34 * var(--u)); margin-top: calc(99 * var(--u)); }
.chips li { display: flex; align-items: center; gap: calc(20 * var(--u)); font-size: max(16px, calc(27 * var(--u))); font-weight: 500; }
.chips img { width: calc(60 * var(--u)); height: calc(60 * var(--u)); min-width: 36px; min-height: 36px; transition: transform .3s; }
.chips li:hover img { transform: rotate(-8deg) scale(1.08); }
.chips__break { flex-basis: 100%; height: 0; }

/* ---------- How it works ---------- */
.how { padding-top: calc(139 * var(--u)); }
.how__grid {
  display: grid; grid-template-columns: 525fr 341fr 525fr;
  gap: calc(33 * var(--u)) calc(32 * var(--u));
  margin-top: calc(79 * var(--u));
}
.hcard { position: relative; overflow: hidden; min-height: calc(523 * var(--u)); border-radius: calc(40 * var(--u)); background: var(--grey); }
.hcard--pay { grid-column: 1; }
.hcard--form { grid-column: 2 / 4; }
.hcard--design { grid-column: 1 / 3; }
.hcard--schedule { grid-column: 3; }
.hcard__text { position: relative; z-index: 2; padding: calc(58 * var(--u)) calc(59 * var(--u)) 0; }
.hcard--form .hcard__text, .hcard--design .hcard__text { padding-left: calc(67 * var(--u)); }
.hcard__title { font-size: max(26px, calc(52 * var(--u))); line-height: 1.06; font-weight: 500; }
.hcard__body { margin-top: calc(33 * var(--u)); font-size: max(17px, calc(32 * var(--u))); line-height: 1.41; color: var(--muted-2); max-width: calc(460 * var(--u)); }
.hcard--design .hcard__body { max-width: calc(660 * var(--u)); }
.hcard__img { position: absolute; left: 0; bottom: 0; width: 100%; z-index: 1; }
.hcard--form .hcard__img { left: auto; right: 0; top: 0; height: 100%; width: auto; max-width: 57%; object-fit: contain; object-position: right bottom; }
.stripe { display: inline-block; height: 1.06em; width: auto; vertical-align: -0.28em; }
.stripe-text { color: var(--stripe); font-weight: 500; }
.gdrive { color: var(--blue); white-space: nowrap; font-weight: 500; }
.gdrive img { display: inline-block; height: 1.05em; width: auto; vertical-align: -0.16em; margin: 0 0.1em 0 0.05em; }

.btn-dark-pill {
  display: inline-flex; align-items: center; gap: calc(15 * var(--u));
  margin-top: calc(57 * var(--u));
  height: max(56px, calc(76 * var(--u)));
  padding: 0 max(24px, calc(38 * var(--u))) 0 max(8px, calc(14 * var(--u)));
  border-radius: 999px; background: var(--dark); color: #fff;
  font-size: max(16px, calc(26 * var(--u)));
  transition: transform .25s, box-shadow .25s;
}
.btn-dark-pill img { width: max(40px, calc(56 * var(--u))); height: auto; border-radius: 50%; }
.btn-dark-pill:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(18, 16, 29, .6); }

/* ---------- Pricing ---------- */
.pricing { padding-top: calc(150 * var(--u)); overflow: hidden; }
.pricing .lead { margin-top: calc(43 * var(--u)); }
.pricing__stage { position: relative; margin-top: calc(55 * var(--u)); }
.fan { position: absolute; top: calc(170 * var(--u)); width: calc(613 * var(--u)); max-width: none; pointer-events: none; }
.fan--left { right: calc(50% + 346.5 * var(--u)); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); }
.fan--right { left: calc(50% + 346.5 * var(--u)); -webkit-mask-image: linear-gradient(to left, transparent 0, #000 22%); mask-image: linear-gradient(to left, transparent 0, #000 22%); }
@media (max-width: 1920px) {
  .fan--left, .fan--right { -webkit-mask-image: none; mask-image: none; }
}

.plan {
  position: relative; z-index: 2;
  width: min(calc(693 * var(--u)), 100%);
  margin-inline: auto;
  padding: calc(57 * var(--u)) calc(83 * var(--u)) calc(40 * var(--u)) calc(84 * var(--u));
  background: #fff; border: 1px solid var(--line-card); border-radius: calc(40 * var(--u));
}
.plan__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plan__name { font-size: max(26px, calc(52 * var(--u))); line-height: 1.06; font-weight: 500; }
.plan__price { font-size: max(19px, calc(33.5 * var(--u))); color: var(--muted); }
.plan__price .blue { font-weight: 500; }
.plan hr { border: 0; border-top: 1px solid var(--line-card); margin: calc(39 * var(--u)) 0 0; }
.plan__checks { margin-top: calc(48 * var(--u)); display: grid; gap: calc(21 * var(--u)); }
.plan__checks li { display: flex; align-items: flex-start; gap: calc(22 * var(--u)); font-size: max(16px, calc(26 * var(--u))); line-height: 1.31; color: var(--muted-2); }
.plan__checks li > span { padding-top: calc(1.5 * var(--u)); }
.plan__checks img { width: max(24px, calc(37 * var(--u))); flex: none; }
.plan__checks + hr { margin-top: calc(44 * var(--u)); }
.btn-plan {
  display: flex; align-items: center; justify-content: center;
  margin-top: calc(34 * var(--u));
  height: max(54px, calc(76 * var(--u)));
  border-radius: 999px; background: var(--blue); color: #fff;
  font-size: max(18px, calc(36 * var(--u))); font-weight: 500;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-plan:hover { background: #2a52c8; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(48, 92, 222, .7); }
.plan__note { margin-top: calc(28 * var(--u)); text-align: center; font-size: max(15px, calc(26 * var(--u))); line-height: 1.31; color: var(--muted-2); }
.plan__note strong { font-weight: 600; }
.plan__note + hr { margin-top: calc(27 * var(--u)); }
.plan__contact { margin-top: calc(27 * var(--u)); text-align: center; font-size: max(14px, calc(22 * var(--u))); color: var(--muted-2); }
.plan__contact a { color: var(--blue); white-space: nowrap; }
.plan__contact .icon-arrow { width: 0.85em; height: 0.85em; vertical-align: -0.1em; transition: transform .2s; }
.plan__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.plan__contact a:hover .icon-arrow { transform: translateX(3px); }

.pricing__benefits {
  display: flex; flex-wrap: wrap; justify-content: center;
  column-gap: calc(64 * var(--u)); row-gap: calc(34 * var(--u));
  max-width: min(calc(1010 * var(--u)), 100%);
  margin-top: calc(78 * var(--u));
  font-size: max(15px, calc(26 * var(--u))); line-height: 1.31; color: var(--muted-2); text-align: center;
}
.pricing__benefits li { position: relative; }
.pricing__benefits li:first-child::after {
  content: ""; position: absolute; top: 50%; right: calc(-33 * var(--u));
  width: 2px; height: max(18px, calc(30 * var(--u))); transform: translateY(-50%); background: var(--blue);
}

/* ---------- About ---------- */
.about { padding-top: calc(118 * var(--u)); }
.about__grid { display: grid; grid-template-columns: calc(572 * var(--u)) 1fr; gap: calc(118 * var(--u)); align-items: start; }
.about__photo { width: 100%; }
.about .h2 { line-height: calc(95 * var(--u)); }
.about__bio { margin-top: calc(61 * var(--u)); font-size: max(16px, calc(26 * var(--u))); line-height: 1.73; max-width: calc(765 * var(--u)); }
.about__fact { display: flex; align-items: center; gap: calc(21 * var(--u)); margin-top: calc(39 * var(--u)); padding-top: calc(39 * var(--u)); border-top: 1px solid var(--muted); font-size: max(16px, calc(26 * var(--u))); }
.about__fact img { width: max(28px, calc(44 * var(--u))); flex: none; }

/* ---------- FAQ + Audit form ---------- */
.faq { padding-top: calc(140 * var(--u)); z-index: 2; }
.faq__grid { display: grid; grid-template-columns: calc(573 * var(--u)) 1fr; gap: calc(97 * var(--u)); align-items: start; }
.faq__col .h2 { line-height: calc(95 * var(--u)); margin-top: calc(69 * var(--u)); }
.accordion { margin-top: calc(98 * var(--u)); }
.accordion details { border-bottom: 1px solid var(--muted); }
.accordion details + details { margin-top: calc(41 * var(--u)); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: calc(41 * var(--u));
  font-size: max(16px, calc(26 * var(--u))); line-height: 1.05; font-weight: 500;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: none; width: 0.55em; height: 0.55em;
  border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted);
  transform: translateY(-25%) rotate(45deg); transition: transform .25s;
}
.accordion details[open] summary::after { transform: translateY(15%) rotate(-135deg); }
.accordion summary:hover { color: var(--blue); }
.accordion details p { padding-bottom: calc(36 * var(--u)); margin-top: calc(-16 * var(--u)); font-size: max(15px, calc(22 * var(--u))); line-height: 1.55; color: var(--muted-2); max-width: 95%; }
.accordion .emphasis { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

.audit { margin-right: calc(-20 * var(--u)); scroll-margin-top: 24px; }
.audit__card {
  position: relative;
  padding: calc(61 * var(--u)) calc(92 * var(--u)) calc(67 * var(--u)) calc(102 * var(--u));
  border: calc(20 * var(--u)) solid transparent;
  border-radius: calc(70 * var(--u));
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(155deg, var(--yellow) 0%, var(--blue) 30%, var(--purple) 52%, var(--lime) 76%, var(--dark) 100%) border-box;
}
.audit__title { line-height: 1.06; }
.field { display: block; margin-top: calc(46 * var(--u)); }
.audit__title + .field { margin-top: calc(49 * var(--u)); }
.field__label { display: block; font-size: max(17px, calc(32 * var(--u))); line-height: 1.375; }
.field__opt { font-size: 0.75em; color: var(--muted); }
.field input, .field textarea {
  display: block; width: 100%; margin-top: calc(18 * var(--u));
  min-height: max(50px, calc(73 * var(--u)));
  padding: 0 max(16px, calc(29 * var(--u)));
  border: 1px solid var(--line-card); border-radius: 6px; background: var(--grey);
  font: inherit; font-size: max(16px, calc(26 * var(--u))); color: var(--dark);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { height: max(130px, calc(196 * var(--u))); padding-block: max(12px, calc(16 * var(--u))); resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(48, 92, 222, .15); }
.field.is-invalid input { border-color: #e5484d; background: #fff5f5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  margin-top: calc(36 * var(--u));
  height: max(52px, calc(73 * var(--u)));
  border: 0; border-radius: 6px; background: var(--dark); color: #fff; cursor: pointer;
  font-size: max(15px, calc(20.7 * var(--u))); font-weight: 600;
  transition: background .2s, transform .2s;
}
.btn-submit .icon-arrow { width: 0.8em; }
.btn-submit:hover { background: #262338; }
.btn-submit:disabled { opacity: .6; cursor: progress; }
.audit__status { margin-top: 14px; font-size: max(14px, calc(18 * var(--u))); text-align: center; }
.audit__status:empty { display: none; }
.audit__status.is-ok { color: #1d8a4e; }
.audit__status.is-error { color: #d93036; }
.audit__note { margin-top: calc(23 * var(--u)); text-align: center; font-size: max(13px, calc(18 * var(--u))); line-height: 1.4; color: var(--muted-2); }
.audit__note a { color: var(--dark); text-decoration: underline; text-underline-offset: 2px; }

.audit__success { text-align: center; padding-block: calc(40 * var(--u)); outline: none; }
.audit__success:not([hidden]) { animation: pop-in .5s cubic-bezier(.2, .8, .2, 1) both; }
.audit__success-icon { width: max(52px, calc(84 * var(--u))); margin: 0 auto calc(28 * var(--u)); }
.audit__success-text { margin-top: calc(28 * var(--u)); font-size: max(17px, calc(28 * var(--u))); line-height: 1.4; color: var(--muted-2); }
.audit__success-text strong { color: var(--dark); font-weight: 500; word-break: break-word; }
.audit__success-small { margin-top: calc(22 * var(--u)); font-size: max(14px, calc(20 * var(--u))); line-height: 1.45; color: var(--muted); }
@keyframes pop-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Grass ---------- */
.grass {
  position: relative; z-index: 1;
  height: calc(170 * var(--u));
  margin-top: calc(-40 * var(--u));
  background: url("../img/grass.webp") center top / max(100%, calc(1920 * var(--u))) auto no-repeat;
}
/* load the grass only when the visitor gets near the bottom (main.js adds .is-near) */
.js .grass:not(.is-near) { background-image: none; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #fff; padding: calc(150 * var(--u)) 0 calc(165 * var(--u)); }
.footer__top { display: grid; grid-template-columns: calc(733 * var(--u)) 1fr auto; align-items: start; gap: 24px; }
.footer__label { font-size: max(22px, calc(52 * var(--u))); line-height: 1.06; font-weight: 500; color: var(--footer-text); }
.footer__big { display: inline-block; margin-top: calc(26 * var(--u)); font-size: max(22px, calc(49 * var(--u))); line-height: 1.1; font-weight: 500; transition: color .2s; }
.footer__big:hover { color: var(--purple); }
.footer__logo { display: block; width: max(80px, calc(139 * var(--u))); transition: transform .3s; }
.footer__logo:hover { transform: rotate(-12deg) scale(1.05); }
.footer__social { display: flex; align-items: center; gap: calc(71 * var(--u)); margin-top: calc(293 * var(--u)); }

/* social icons: the Figma PNGs are used as masks, so the colour can change on hover */
.social { display: block; transition: transform .2s, filter .2s; }
.social__icon {
  display: block; height: max(28px, calc(48 * var(--u))); aspect-ratio: var(--ratio, 1);
  background: var(--footer-text);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
  transition: background-color .2s;
}
.social:hover { transform: translateY(-3px); }
.social--instagram { --icon: url("../img/social-instagram.webp"); --ratio: 1; }
.social--tiktok    { --icon: url("../img/social-tiktok.webp");    --ratio: 172 / 200; }
.social--x         { --icon: url("../img/social-x.webp");         --ratio: 192 / 200; }
.social--linkedin  { --icon: url("../img/social-linkedin.webp");  --ratio: 1; }
.social--threads   { --icon: url("../img/social-threads.webp");   --ratio: 172 / 200; }
.social--behance   { --icon: url("../img/social-behance.webp");   --ratio: 288 / 192; }
.social--instagram:hover .social__icon { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.social--tiktok:hover .social__icon { background: #fff; }
.social--tiktok:hover { filter: drop-shadow(-2px -1px 0 #25F4EE) drop-shadow(2px 1px 0 #FE2C55); }
.social--x:hover .social__icon, .social--threads:hover .social__icon { background: #fff; }
.social--linkedin:hover .social__icon { background: #0A66C2; }
.social--behance:hover .social__icon { background: #1769FF; }

.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: calc(110 * var(--u)); padding-top: calc(43 * var(--u)); border-top: 1px solid #6A6A6D; color: var(--footer-text); font-size: max(14px, calc(26 * var(--u))); }
.footer__copy { display: flex; align-items: center; gap: calc(17 * var(--u)); }
.footer__copy img { width: max(18px, calc(27 * var(--u))); }
.heart { color: var(--purple); }
.footer__legal { display: flex; gap: calc(45 * var(--u)); }
.footer__legal a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tag { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* =========================================================
   Tablet (700–1099px)
   ========================================================= */
@media (max-width: 1099px) {
  :root { --u: clamp(0.5px, calc(100vw / 1300), 0.78px); --gutter: 32px; --container: 100%; }

  .nav__inner { display: flex; padding-block: 18px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }

  .hero__content { padding-top: 40px; }
  .hero__collage img { width: calc(100% - 16px); }

  .logos__track { animation-duration: 30s; }

  .what__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .wcard { min-height: 260px; padding: 26px 26px 32px; border-radius: 28px; }

  .chips .chips__break { display: none; }
  .chips { column-gap: 28px; row-gap: 18px; }

  .how__grid { grid-template-columns: 1fr; gap: 16px; max-width: 640px; margin-inline: auto; }
  .hcard--pay, .hcard--form, .hcard--design, .hcard--schedule { grid-column: auto; }
  .hcard { display: flex; flex-direction: column; min-height: 0; border-radius: 28px; }
  .hcard__text, .hcard--form .hcard__text, .hcard--design .hcard__text { padding: 34px 34px 0; }
  .hcard__body, .hcard--design .hcard__body { max-width: 520px; }
  .hcard__img { position: static; margin-top: 18px; }
  .hcard--form { min-height: 380px; }
  .hcard--form .hcard__text { max-width: 55%; padding-bottom: 34px; }
  .hcard--form .hcard__img { position: absolute; max-width: 48%; margin: 0; }

  .plan { border-radius: 28px; }
  .fan { top: 80px; }

  .about__grid { grid-template-columns: minmax(0, 0.8fr) 1fr; gap: 32px; align-items: center; }

  .faq__grid { grid-template-columns: 1fr; gap: 56px; }
  .faq__col .h2 { margin-top: 0; }
  .audit { margin-right: 0; }
  .audit__card { border-width: 10px; border-radius: 40px; padding: 40px; }

  .footer__top { grid-template-columns: 1fr 1fr auto; }
}

/* =========================================================
   Phone (< 700px)
   ========================================================= */
@media (max-width: 699px) {
  :root { --u: clamp(0.42px, calc(100vw / 880), 0.6px); --gutter: 20px; }

  .banner { font-size: 12.5px; gap: 6px; }
  .nav__logo img { height: 26px; }

  .hero__title { font-size: clamp(34px, 9.6vw, 46px); line-height: 1.08; }
  .hero__sub { margin-top: 18px; font-size: 18px; }
  .btn-cta { margin-top: 26px; }
  .hero__top { padding-bottom: 34px; }
  .hero__collage img { width: 132%; max-width: none; margin-left: -16%; }
  .trusted { padding-top: 18px; }
  .hero .trusted { padding-bottom: 56px; }

  .h2 { font-size: clamp(32px, 9vw, 42px); line-height: 1.1; }
  .about .h2, .faq__col .h2 { line-height: 1.12; }

  .what__grid { grid-template-columns: 1fr; margin-top: 32px; }
  .wcard { min-height: 180px; }
  .wcard--dark { min-height: 300px; }
  .btn-pill-ghost { margin-top: 24px; }

  .industries { padding-top: 80px; }
  .industries__title { line-height: 1.15; }
  /* industries: zig-zag, alternating left / right, kept away from the edges */
  .chips { flex-direction: column; flex-wrap: nowrap; align-items: stretch; margin-top: 32px; padding-inline: 7%; row-gap: 10px; }
  .chips li { align-self: flex-start; font-size: 17px; gap: 14px; }
  .chips li.chip--right { align-self: flex-end; }
  /* small offsets so it feels scattered, not like two strict columns */
  .chips li:nth-child(3) { margin-left: 12%; }
  .chips li:nth-child(4) { margin-right: 10%; }
  .chips li:nth-child(8) { margin-left: 6%; }
  .chips li:nth-child(9) { margin-right: 5%; }
  .chips img { width: 44px; height: 44px; }

  .how { padding-top: 88px; }
  .lead { margin-top: 14px; }
  .how__grid { margin-top: 32px; }
  .hcard__text, .hcard--form .hcard__text, .hcard--design .hcard__text { padding: 28px 24px 0; }
  .hcard--form { min-height: 0; }
  .hcard--form .hcard__text { max-width: none; padding-bottom: 0; }
  .hcard--form .hcard__img { position: static; max-width: 78%; height: auto; width: 78%; margin: 8px 0 0 auto; }
  .hcard--design .hcard__img { width: 140%; max-width: none; margin-left: -20%; }
  .btn-dark-pill { margin-top: 28px; }

  .pricing { padding-top: 88px; }
  .pricing__stage { margin-top: 32px; }
  .fan { display: none; }
  .plan { width: calc(100% - 2 * var(--gutter)); padding: 32px 24px 26px; }

  /* hero line: "12 post/mo of content," then the rotating word on its own line, so it never jumps */
  .br-mobile { display: inline; }
  .plan hr { margin-top: 22px; }
  .plan__checks { margin-top: 24px; gap: 14px; }
  .plan__checks + hr { margin-top: 24px; }
  .btn-plan { margin-top: 24px; }
  .plan__note { margin-top: 16px; }
  .plan__note + hr { margin-top: 20px; }
  .plan__contact { margin-top: 18px; }
  .pricing__benefits { flex-direction: column; align-items: center; row-gap: 12px; margin-top: 32px; }
  .pricing__benefits li:first-child::after { display: none; }

  .hero__tags { display: none; }

  .about { padding-top: 88px; }
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__photo { width: 100%; }
  .about__bio { margin-top: 24px; max-width: none; }
  .about__fact { margin-top: 24px; padding-top: 22px; }

  .faq { padding-top: 88px; }
  .accordion { margin-top: 32px; }
  .accordion details + details { margin-top: 20px; }
  .accordion summary { padding-bottom: 20px; }
  .accordion details p { margin-top: -6px; padding-bottom: 18px; }
  .audit__card { border-width: 8px; border-radius: 32px; padding: 30px 20px 24px; }
  .field { margin-top: 20px; }
  .audit__title + .field { margin-top: 24px; }
  .field input, .field textarea { margin-top: 8px; }
  .btn-submit { margin-top: 22px; }

  .grass { height: 110px; margin-top: -20px; background-size: 960px auto; }

  .footer { padding: 56px 0 48px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__logo { grid-row: 1; width: 72px; }
  .footer__big { margin-top: 10px; word-break: break-word; }
  .footer__social { margin-top: 40px; gap: 24px; flex-wrap: wrap; }
  .footer__bottom { margin-top: 32px; padding-top: 22px; flex-direction: column; align-items: flex-start; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
