/* Checkout Creatives — email-offer sections (v2)
   Layers on top of styles.css. Bolder display font, real header, wide headlines, motion. */

/* ---------- Font + global overrides ---------- */
:root { --display: "Inter", system-ui, -apple-system, sans-serif; }
.section, .hero, header.nav { scroll-margin-top: 84px; }

/* ---------- Header / nav ---------- */
.nav { position: sticky; top: 0; z-index: 200; background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.nav.is-stuck { border-color: var(--line); box-shadow: 0 10px 34px -26px rgba(12, 13, 16, 0.5); }
.nav__inner { display: flex; align-items: center; gap: 22px; padding-block: 14px; }
.nav .logo { font-size: 1.12rem; }
.nav__links { display: flex; gap: 28px; margin: 0 auto; }
.nav__links a { font-family: var(--display); font-weight: 600; font-size: 0.96rem; color: var(--ink); opacity: 0.78; transition: opacity .2s, color .2s; }
.nav__links a:hover { opacity: 1; color: var(--blue); }
.nav__cta { padding: 11px 20px; font-size: 0.9rem; }
.nav__toggle { display: none; width: 44px; height: 40px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; position: relative; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 50%; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transform: translateX(-50%); transition: transform .25s var(--ease), opacity .2s; }
.nav__toggle span { top: 50%; margin-top: -1px; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
body.nav-open .nav__toggle span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------- Shared centered section head (WIDE, was choked in ch units) ---------- */
.sec-head { text-align: center; max-width: min(92%, 900px); margin: 0 auto clamp(40px, 5vw, 64px); }
.sec-head .eyebrow { justify-content: center; }
.sec-head h2 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; }

/* ---------- Hero additions ---------- */
.hero { background: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(55% 45% at 12% 0%, rgba(27,124,255,0.08), transparent 70%), radial-gradient(45% 42% at 92% 15%, rgba(27,124,255,0.07), transparent 72%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.5;
  background-image: radial-gradient(rgba(12,13,16,0.05) 1.1px, transparent 1.1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 38%, #000, transparent 78%); mask-image: radial-gradient(75% 65% at 50% 38%, #000, transparent 78%); }
.hero .hero__inner { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(1.85rem, 3.7vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.42; }
.circled, .underlined { position: relative; white-space: nowrap; display: inline-block; }
.circle-svg { position: absolute; left: -16%; top: -30%; width: 132%; height: 162%; overflow: visible; pointer-events: none; }
.circle-svg path { stroke: var(--blue); stroke-dasharray: 820; stroke-dashoffset: 820; animation: draw-circle 1s var(--ease) forwards .45s; }
.underline-svg { position: absolute; left: -3%; bottom: 0.02em; width: 106%; height: 0.4em; overflow: visible; pointer-events: none; }
.underline-svg path { stroke: var(--blue); stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw-underline .8s var(--ease) forwards 1.05s; }
@keyframes draw-circle { to { stroke-dashoffset: 0; } }
@keyframes draw-underline { to { stroke-dashoffset: 0; } }
.hero__pay { margin: 24px auto 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  color: var(--blue); letter-spacing: -0.02em; text-wrap: balance; line-height: 1.05; }
.lead-form { margin: 40px auto 0; max-width: 560px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lead-form input { flex: 1 1 240px; padding: 17px 22px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: #fff; color: var(--ink); font-family: inherit; font-size: 1rem; }
.lead-form input::placeholder { color: var(--muted); }
.lead-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(27, 124, 255, 0.14); }
.lead-form .btn { flex: 0 0 auto; }
.hero__micro { margin-top: 16px; color: var(--muted); font-size: 0.92rem; }

/* Hero floating email wall (reuses .wall/.marquee from styles.css) */
.hero .wall { margin-top: clamp(46px, 6vw, 88px); }
.ecard { width: 244px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 14px;
  box-shadow: 0 22px 46px -30px rgba(12, 13, 16, 0.42); }
.ecard__top { display: flex; align-items: center; gap: 9px; font-size: 0.72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.ecard__ico { width: 24px; height: 24px; border-radius: 7px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.ecard__ico svg { width: 14px; height: 14px; }
.ecard__subject { font-family: var(--display); font-weight: 700; font-size: 1.04rem; margin: 12px 0 12px; letter-spacing: -0.01em; line-height: 1.15; }
.ecard__ln { height: 8px; border-radius: 4px; background: rgba(12, 13, 16, 0.08); }
.ecard__ln + .ecard__ln { margin-top: 7px; width: 66%; }
.ecard__btn { margin-top: 15px; text-align: center; background: var(--blue); color: #fff; font-family: var(--display); font-weight: 600; font-size: 0.82rem; padding: 9px; border-radius: 999px; }

/* ---------- Logo wall (auto-scrolling) ---------- */
.logos { padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos__label { text-align: center; color: var(--muted); font-family: var(--display); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 26px; }
.logos__marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logos__track { display: flex; align-items: center; width: max-content; animation: marquee 34s linear infinite; }
.logos__marquee:hover .logos__track { animation-play-state: paused; }
.logos__item { display: inline-flex; align-items: center; gap: 12px; padding: 0 clamp(22px, 3vw, 42px); }
.logos__item .lmark { width: 36px; height: 36px; border-radius: 9px; object-fit: contain; flex: none;
  background: #fff; border: 1px solid var(--line); padding: 5px; }
.logos__item .lname { font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--ink); opacity: 0.55; letter-spacing: -0.01em; }

/* ---------- How it works ---------- */
.how { background: #fff; }
.how__steps { margin-top: clamp(46px, 5vw, 72px); }
.how__steps .step { text-align: center; }
.how__steps .step h3 { font-size: 1.42rem; }
.step__viz { display: grid; place-items: center; margin-bottom: 16px; }
.step__viz svg { width: 100%; max-width: 156px; height: auto; }

/* ---------- Flow map diagram ---------- */
.flowmap { overflow-x: auto; padding: 4px 0 10px; }
.ccf { --paper: #F6F5F1; --card: #FFFFFF; --tint: var(--blue-tint); --tint-bd: #CBDFFF; --wire: rgba(12,13,16,0.20); color: var(--ink); text-align: center; }
.ccf__pnl { min-width: 980px; max-width: 1100px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 38px clamp(20px, 3vw, 40px) 30px; display: flex; flex-direction: column; align-items: center; }
.ccf__top { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: clamp(15px, 1.7vw, 18px);
  background: var(--card); border: 1.5px solid var(--blue); color: var(--ink); padding: 14px 28px; border-radius: 999px; letter-spacing: -0.01em; }
.ccf__top svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.ccf__stage { width: 100%; }
.ccf__lbl { font-family: var(--display); font-weight: 600; font-size: 12.5px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.ccf__row6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 13px; align-items: stretch; }
.ccf__row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; align-items: stretch; max-width: 560px; margin: 0 auto; }
.ccf__card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 15px; padding: 14px 12px 12px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.ccf__card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -34px rgba(12,13,16,0.5); }
.ccf__head { min-height: 60px; }
.ccf__name { font-family: var(--display); font-weight: 700; font-size: 14.5px; color: var(--ink); letter-spacing: -0.01em; line-height: 1.15; }
.ccf__trig { font-size: 11.5px; color: var(--muted); margin-top: 5px; line-height: 1.3; }
.ccf__div { height: 1px; background: var(--line); margin: 11px 4px; }
.ccf__mails { flex: 1; display: flex; flex-direction: column; }
.ccf__mail { font-family: var(--display); font-weight: 600; font-size: 12px; color: #12305e; background: var(--tint);
  border: 1px solid var(--tint-bd); border-radius: 8px; padding: 7px 8px; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.ccf__mail.lit { background: var(--blue); color: #fff; border-color: var(--blue); transform: scale(1.05); box-shadow: 0 8px 18px -8px rgba(27,124,255,0.7); }
/* Flowing pulse along the connectors */
.ccf__drop, .ccf__link, .ccf__tail { align-self: center; width: 2px; background: var(--wire); }
.ccf__drop { height: 26px; }
.ccf__link { height: 9px; }
.ccf__tail { flex: 1; min-height: 16px; margin-top: 9px; }
.ccf__bus { width: 88%; height: 2px; margin: 0 auto; background: var(--wire); }
.ccf__bus--sm { width: 66%; }
.ccf__node { background: var(--blue); color: #fff; font-family: var(--display); font-weight: 700; font-size: 16px; padding: 14px 32px; border-radius: 14px; }
.ccf__node--out { background: var(--blue-600); font-size: 20px; padding: 17px 36px; box-shadow: 0 0 0 5px rgba(27,124,255,0.12); }
.ccf__node--out span { display: block; font-family: var(--body); font-weight: 500; font-size: 13px; color: #CFE1FF; margin-top: 4px; letter-spacing: 0; }
.ccf__cap { font-size: 13.5px; color: var(--muted); margin-top: 24px; font-family: var(--display); }
.ccf__cap b { color: var(--ink); font-weight: 700; }

/* ---------- Portfolio (auto-scrolling email mockups) ---------- */
.pfolio__marquee { overflow: hidden; margin-top: clamp(30px, 4vw, 52px); padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.pfolio__track { display: flex; gap: 26px; width: max-content; animation: marquee 46s linear infinite; }
.pfolio__marquee:hover .pfolio__track { animation-play-state: paused; }
.emock { width: 300px; flex: none; }
.emock__label { text-align: center; font-family: var(--display); font-weight: 700; font-size: 0.92rem; color: var(--blue); margin-bottom: 13px; }
.emock__card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px -40px rgba(12,13,16,0.5); }
.emock__bar { display: flex; align-items: center; gap: 8px; font-size: 0.7rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.emock__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.emock__subject { font-family: var(--display); font-weight: 700; font-size: 1.06rem; margin: 12px 0; letter-spacing: -0.01em; line-height: 1.15; }
.emock__img { aspect-ratio: 16 / 10; border-radius: 12px; background: var(--blue-tint); display: grid; place-items: center; margin-bottom: 14px; }
.emock__img svg { width: 32px; height: 32px; color: var(--blue); opacity: 0.75; }
.emock__line { height: 9px; border-radius: 5px; background: rgba(12,13,16,0.09); }
.emock__line--sm { width: 62%; margin-top: 8px; }
.emock__btn { margin-top: 16px; text-align: center; background: var(--blue); color: #fff; font-family: var(--display); font-weight: 600; font-size: 0.85rem; padding: 10px; border-radius: 999px; }

.smallcta { text-align: center; margin-top: clamp(30px, 4vw, 48px); }
.smallcta .lead-form { margin-top: 0; }

/* ---------- Comparison table ---------- */
.compare { background: #fff; }
.cmp { --tint: var(--blue-tint); --tint-bd: #BBD6FF; color: var(--ink); }
.cmp__scroll { overflow-x: auto; padding: 6px 0 10px; }
.cmp__pnl { min-width: 760px; max-width: 1000px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); box-shadow: 0 24px 60px -34px rgba(12,13,16,0.35); }
.cmp__grid { display: grid; grid-template-columns: 1.2fr 1.12fr 1fr 1fr; }
.cmp__cell { padding: 15px 16px; border-bottom: 1px solid var(--line); font-size: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; min-height: 58px; }
.cmp__rl { align-items: flex-start; text-align: left; font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 13.5px; }
.cmp__head { border-bottom: 2px solid var(--line); padding: 18px 14px; font-family: var(--display); font-weight: 700; font-size: 15.5px; }
.cmp__sub { font-family: var(--body); font-weight: 500; font-size: 11.5px; color: var(--muted); }
.cmp__alt { color: var(--muted); }
.cmp__logomark { width: 26px; height: 26px; margin-bottom: 2px; color: #fff; }
.cmp__us { background: var(--tint); border-left: 1.5px solid var(--tint-bd); border-right: 1.5px solid var(--tint-bd); color: var(--ink); font-weight: 600; }
.cmp__us .chk { width: 16px; height: 16px; color: var(--blue); flex: none; }
.cmp__us.cmp__head { background: var(--blue); color: #fff; border-radius: 14px 14px 0 0; border-bottom: none; box-shadow: 0 -6px 22px -8px rgba(27,124,255,0.6); }
.cmp__us.cmp__head .cmp__sub { color: #DCEBFF; }
.cmp__us--last { border-bottom: 1.5px solid var(--tint-bd); border-radius: 0 0 14px 14px; }
.cmp__note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 18px; font-family: var(--display); }

/* ---------- Who is this for (interactive) ---------- */
.whofor__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 940px; margin: 0 auto; }
.fitcol { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.fitcol--yes:hover { transform: translateY(-5px); box-shadow: 0 34px 66px -44px rgba(27,124,255,0.5); }
.fitcol h3 { text-align: center; font-size: 1.42rem; margin-bottom: 22px; }
.fitcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fitcol li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.01rem; line-height: 1.4; padding: 9px 11px; border-radius: 12px; transition: background .2s var(--ease), transform .2s var(--ease); }
.fitcol--yes li { color: var(--ink); }
.fitcol--yes li:hover { background: var(--blue-tint); transform: translateX(4px); }
.fitcol--yes .check { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; transition: transform .2s var(--ease); }
.fitcol--yes li:hover .check { transform: scale(1.2); }
.fitcol--no { background: transparent; border-style: dashed; }
.fitcol--no li { color: var(--muted); }
.fitcol--no li:hover { background: rgba(12,13,16,0.03); }
.fitcol--no .dash { width: 15px; height: 2px; border-radius: 2px; background: var(--muted); flex: none; margin-top: 11px; }

/* ---------- Q&A + final CTA ---------- */
.cta .eyebrow { justify-content: center; }

/* ---------- Questions + thank-you pages ---------- */
.qpage { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(60px, 8vw, 110px); }
.qpage__logo { display: flex; justify-content: center; margin-bottom: clamp(26px, 4vw, 46px); }
.qhead { text-align: center; max-width: min(92%, 680px); margin: 0 auto clamp(28px, 4vw, 44px); }
.qhead h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; }
.qhead p { color: var(--muted); margin: 18px auto 0; font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 46ch; }
.qform { max-width: 620px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 90px -60px rgba(12,13,16,0.5); }
.qfield { margin-bottom: 30px; border: none; padding: 0; }
.qfield:last-of-type { margin-bottom: 0; }
.qfield > label, .qlegend { display: block; font-family: var(--display); font-weight: 700; font-size: 1.04rem; margin-bottom: 14px; }
.qfield input[type="url"], .qfield input[type="email"], .qother input { width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font-family: inherit; font-size: 1rem; }
.qfield input:focus, .qother input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(27,124,255,0.12); }
.qopts { display: flex; flex-wrap: wrap; gap: 10px; }
.qpill { position: relative; }
.qpill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.qpill span { display: block; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.94rem; font-weight: 500; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.qpill input:checked + span { background: var(--blue); color: #fff; border-color: var(--blue); }
.qpill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(27,124,255,0.18); }
.qgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.qcheck { position: relative; }
.qcheck input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.qcheck span { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); font-size: 0.93rem; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s; }
.qcheck span::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--line-strong); flex: none; transition: background .2s, border-color .2s; }
.qcheck input:checked + span { border-color: var(--blue); background: var(--blue-tint); }
.qcheck input:checked + span::before { background: var(--blue); border-color: var(--blue); }
.qother { margin-top: 12px; }
.qother[hidden] { display: none; }
.qform .btn { width: 100%; margin-top: 34px; }
.qnote { text-align: center; color: var(--muted); font-size: 0.86rem; margin-top: 20px; }

/* thank-you page */
.ty { text-align: center; padding-top: clamp(48px, 8vw, 100px); padding-bottom: clamp(60px, 8vw, 120px); }
.ty__badge { width: 74px; height: 74px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; margin: 0 auto 26px; box-shadow: 0 0 0 8px rgba(27,124,255,0.14); }
.ty__badge svg { width: 34px; height: 34px; color: #fff; }
.ty h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; max-width: 16ch; margin: 0 auto; }
.ty__sub { color: var(--muted); margin: 18px auto 0; max-width: 48ch; font-size: clamp(1.04rem, 1.6vw, 1.2rem); }
.ty__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 940px; margin: clamp(40px, 5vw, 64px) auto 0; text-align: left; }
.ty__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.ty__card:hover { transform: translateY(-5px); box-shadow: 0 34px 66px -46px rgba(12,13,16,0.5); }
.ty__card .step__no { margin-bottom: 12px; }
.ty__card h3 { font-size: 1.24rem; margin-bottom: 10px; }
.ty__card p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.ty__soon { display: inline-block; margin-top: 12px; font-family: var(--display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); background: var(--blue-tint); padding: 5px 11px; border-radius: 999px; }
.ty__back { display: inline-flex; margin-top: clamp(36px, 5vw, 56px); }

/* ---------- Email capture popup ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(12, 13, 16, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: modal-fade .25s var(--ease); }
.modal__card { position: relative; z-index: 1; width: 100%; max-width: 500px; background: #fff; border-radius: var(--r-lg); padding: clamp(30px, 4vw, 46px); text-align: center; box-shadow: 0 50px 100px -40px rgba(12, 13, 16, 0.6); animation: modal-pop .3s var(--ease); }
.modal__card h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); font-weight: 800; letter-spacing: -0.02em; }
.modal__sub { color: var(--muted); margin: 14px auto 0; max-width: 40ch; }
.modal__card .lead-form { margin-top: 24px; }
.modal__x { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: none; background: transparent; font-size: 1.7rem; line-height: 1; color: var(--muted); transition: background .2s, color .2s; }
.modal__x:hover { background: var(--bone); color: var(--ink); }
body.modal-open { overflow: hidden; }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-pop { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 2px;
    background: var(--bone); border-bottom: 1px solid var(--line); box-shadow: 0 24px 44px -32px rgba(12,13,16,0.5); padding: 14px var(--gutter) 20px; margin: 0; }
  body.nav-open .nav__links { display: flex; }
  .nav__links a { padding: 11px 2px; opacity: 0.9; }
  .nav__cta { margin-left: auto; padding: 9px 16px; font-size: 0.84rem; }
  .nav__toggle { display: inline-flex; margin-left: 12px; }
  .ty__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .whofor__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lead-form .btn { width: 100%; }
  .qgrid { grid-template-columns: 1fr; }
  .nav__cta { display: none; }
}
