/* DOYJO 2026 v17
   Cleaner, prospect-facing visual system: restrained motto usage, reduced heading scale,
   full-width intake forms, consistent light heroes, and stronger project visuals. */
:root {
  --navy-950: #090d43;
  --navy-900: #11176d;
  --navy-800: #202a8b;
  --blue-700: #1d55a7;
  --cyan-500: #00aeef;
  --cyan-600: #008ec7;
  --ink: #111827;
  --text: #2f3c52;
  --muted: #657389;
  --line: #d8e2ee;
  --line-strong: #b8c6d7;
  --surface: #ffffff;
  --soft: #f8fbff;
  --soft-blue: #eef7fd;
  --soft-blue-2: #f5fbff;
  --footer: #0f145f;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1120px;
  --narrow: 820px;
  --shadow-xs: 0 5px 15px rgba(11, 15, 79, .045);
  --shadow-sm: 0 10px 28px rgba(11, 15, 79, .075);
  --shadow: 0 22px 56px rgba(11, 15, 79, .11);
  --section-pad: clamp(62px, 8vw, 104px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(15px, 1.1vw, 16px);
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--navy-900); text-decoration: underline; text-underline-offset: .18em; }
strong { color: var(--navy-950); }
p { margin: 0 0 1.05rem; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.narrow { max-width: var(--narrow); }
.muted { color: var(--muted); }

/* Header */
.topbar { background: var(--navy-800); color: #fff; font-size: .81rem; font-weight: 750; }
.topbar a, .topbar span { color: #fff; }
.topbar-inner { min-height: 32px; display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 3vw, 28px); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.985); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(216,226,238,.92); box-shadow: 0 7px 18px rgba(11,15,79,.045); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; color: var(--navy-900); }
.brand:hover { text-decoration: none; }
.brand-logo { width: 188px; max-width: 42vw; height: auto; }
.brand-mark { width: 44px; height: 44px; border-radius: 13px; display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--navy-900), var(--cyan-500)); color: #fff; font-weight: 900; }
.brand-text { margin-left: 12px; font-size: 1.65rem; font-weight: 900; letter-spacing: .08em; }
.primary-nav { display: flex; align-items: center; gap: 18px; }
.primary-nav > a:not(.button), .nav-drop-button { color: var(--navy-950); font: inherit; font-size: .88rem; font-weight: 850; border: 0; background: transparent; padding: 0; cursor: pointer; }
.primary-nav > a:not(.button):hover, .nav-drop-button:hover, .primary-nav > a:not(.button):focus, .nav-drop-button:focus { color: var(--cyan-600); text-decoration: none; }
.nav-dropdown { position: relative; }
.nav-drop-panel { position: absolute; top: calc(100% + 14px); right: -18px; width: 330px; display: none; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.nav-dropdown:hover .nav-drop-panel, .nav-dropdown:focus-within .nav-drop-panel { display: grid; }
.nav-drop-panel::before { content: ''; position: absolute; inset: -16px 0 auto 0; height: 16px; }
.nav-drop-panel a { display: block; padding: 11px 13px; color: var(--navy-950); border-radius: 11px; font-weight: 760; }
.nav-drop-panel a:hover { background: var(--soft-blue); color: var(--blue-700); text-decoration: none; }
.nav-toggle { display: none; border: 0; border-radius: 999px; padding: 10px 16px; background: var(--navy-900); color: #fff; font-weight: 900; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  border: 2px solid var(--navy-900);
  border-radius: 999px;
  background: var(--navy-900);
  color: #fff !important;
  font-weight: 900;
  letter-spacing: -.01em;
  text-align: center;
  box-shadow: 0 10px 24px rgba(17,23,109,.16);
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.button:hover, .button:focus-visible { background: var(--navy-950); border-color: var(--navy-950); color: #fff !important; text-decoration: none; transform: translateY(-1px); box-shadow: 0 13px 28px rgba(17,23,109,.22); }
.button.ghost { background: transparent; color: var(--navy-900) !important; border-color: var(--navy-900); box-shadow: none; }
.button.ghost:hover { background: var(--navy-900); color: #fff !important; }
.button.small, .nav-cta { min-height: 38px; padding: 8px 16px; background: var(--cyan-500) !important; border-color: var(--cyan-500) !important; color: var(--navy-950) !important; box-shadow: 0 10px 22px rgba(0,174,239,.2); }
.button.small:hover, .nav-cta:hover { background: #fff !important; border-color: var(--navy-950) !important; color: var(--navy-950) !important; }
.text-link { color: var(--blue-700); font-weight: 900; }

/* Type */
.eyebrow { margin: 0 0 10px; color: var(--blue-700); font-size: .72rem; font-weight: 950; letter-spacing: .14em; line-height: 1.35; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy-950); letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 4vw, 3.55rem); line-height: 1.05; margin: 0 0 20px; max-width: 820px; }
h2 { font-size: clamp(1.45rem, 2.65vw, 2.35rem); line-height: 1.12; margin: 0 0 16px; max-width: 760px; }
h3 { font-size: clamp(1.05rem, 1.42vw, 1.26rem); line-height: 1.24; margin: 0 0 10px; letter-spacing: -.02em; }
.hero-lede, .section-heading p, .copy-block p { color: var(--muted); }
.hero-lede { max-width: 690px; font-size: clamp(1rem, 1.08vw, 1.12rem); line-height: 1.66; }

/* Hero sections */
.hero, .inner-hero, .service-hero, .case-hero, .product-hero, .landing-hero {
  position: relative;
  overflow: hidden;
  color: var(--text);
  background: radial-gradient(circle at 85% 10%, rgba(0,174,239,.12), transparent 32%), linear-gradient(135deg, #fff 0%, #f8fbff 52%, #eef8ff 100%);
  padding: clamp(66px, 8vw, 106px) 0;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(330px, .78fr); gap: clamp(42px, 6.5vw, 84px); align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-card, .lead-form-card, .sidebar-card, .contact-card, .value-grid article, .service-card, .price-card, .case-card, .testimonial-card, .standard-card, .self-qualify-card, .buyer-prompt-box, .better-question-box, .callout, .product-feature-grid article, .managed-care-box, .ad-card, .proof-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); color: var(--text); }
.hero-card { padding: clamp(24px, 3.4vw, 36px); box-shadow: var(--shadow); border-top: 5px solid rgba(0,174,239,.7); border-radius: var(--radius-lg); }
.hero-card h2 { margin-top: 0; font-size: clamp(1.3rem, 1.9vw, 1.85rem); }
.hero-card p { color: var(--muted); }
.hero-price { margin-top: 20px; color: var(--navy-900); font-weight: 950; font-size: 1rem; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; }
.trust-list li, .tag-list span { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy-950); font-size: .84rem; font-weight: 850; box-shadow: var(--shadow-xs); }
.motto-line, .footer-motto { display: none !important; }
.mini-price { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mini-price:last-child { border-bottom: 0; }
.mini-price strong, .price-line, .price-card .price { color: var(--navy-900); font-weight: 950; }

/* Homepage showcase */
.hero-with-showcase .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(360px, .84fr); }
.hero-showcase { display: grid; gap: 18px; }
.showcase-stack { position: relative; min-height: 420px; }
.showcase-tile { position: absolute; overflow: hidden; display: block; border-radius: 24px; border: 10px solid #fff; background: #fff; color: #fff; text-decoration: none; box-shadow: var(--shadow); isolation: isolate; }
.showcase-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,13,67,.74), rgba(9,13,67,.02) 60%); z-index: 1; }
.showcase-tile img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .26s ease; }
.showcase-tile:hover { text-decoration: none; }
.showcase-tile:hover img { transform: scale(1.025); }
.showcase-tile span { position: absolute; left: 16px; right: 16px; bottom: 15px; z-index: 2; color: #fff; font-weight: 950; line-height: 1.2; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.showcase-tile-1 { left: 0; top: 0; width: 64%; height: 86%; }
.showcase-tile-2 { right: 0; top: 24px; width: 50%; height: 43%; }
.showcase-tile-3 { right: 7%; bottom: 0; width: 46%; height: 39%; }
.showcase-panel { padding: 20px 22px; border: 1px solid #bde9fb; border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); }
.showcase-panel .eyebrow { margin-bottom: 6px; }
.showcase-note { padding: 18px 18px 16px; border: 1px solid #bde9fb; border-radius: 18px; background: linear-gradient(135deg, #f7fcff, #ffffff); }
.showcase-note p { margin: 0; color: var(--muted); }

/* Sections and grids */
.section { padding: var(--section-pad) 0; }
.section.alt { background: var(--soft-blue); }
.section-heading { max-width: 820px; margin-bottom: 34px; }
.section-heading.compact { max-width: 720px; margin-bottom: 24px; }
.value-grid, .card-grid, .service-grid, .pricing-grid, .deliverables-grid, .product-feature-grid { display: grid; gap: 22px; }
.value-grid, .card-grid, .service-grid, .pricing-grid, .product-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.deliverables-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; gap: 14px; }
.value-grid article, .service-card, .price-card, .product-feature-grid article { padding: 25px; }
.value-grid article, .service-card, .price-card, .case-card { transition: transform .16s ease, box-shadow .16s ease; }
.value-grid article:hover, .service-card:hover, .price-card:hover, .case-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card h3 a, .case-card h3 a, .case-card h2 a { color: var(--navy-950); }
.service-card h3 a:hover, .case-card h3 a:hover, .case-card h2 a:hover { color: var(--blue-700); }
.split, .case-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 390px); gap: clamp(36px, 5.5vw, 68px); align-items: start; }
.form-split, .split:has(> .lead-form-card) { grid-template-columns: 1fr; max-width: 980px; gap: 32px; }
.form-split > .lead-form-card, .split:has(> .lead-form-card) > .lead-form-card { max-width: 940px; width: 100%; }
.copy-block { max-width: 820px; }
.copy-block .eyebrow:not(:first-child) { margin-top: 32px; }
.deliverable { min-height: 56px; display: flex; align-items: center; gap: 10px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--text); font-weight: 800; line-height: 1.34; }
.deliverable span { color: var(--cyan-600); font-weight: 950; }
.deliverable code, .code-grid code { padding: 2px 7px; border-radius: 8px; background: var(--soft-blue); color: var(--navy-900); font-weight: 900; }
.callout, .buyer-prompt-box, .better-question-box { padding: clamp(22px, 3vw, 30px); margin-top: 28px; }
.callout, .better-question-box, .principle-callout, .pricing-callout { background: #fff; }
.principle-note { background: linear-gradient(135deg, #fff, #f1fbff); border-color: #bde9fb; }
.callout h2, .buyer-prompt-box h2, .better-question-box h3 { font-size: clamp(1.22rem, 1.75vw, 1.65rem); }
.buyer-prompt-box ul, .check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.buyer-prompt-box li, .check-list li { position: relative; padding-left: 27px; color: var(--text); font-weight: 780; }
.buyer-prompt-box li::before, .check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--cyan-600); font-weight: 950; }
.self-qualify-section { background: linear-gradient(180deg, #f4faff, #ffffff); }
.self-qualify-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.self-qualify-card { padding: 22px; }
.self-qualify-card span { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 13px; border-radius: 999px; background: var(--cyan-500); color: var(--navy-950); font-size: .78rem; font-weight: 950; }
.self-qualify-card p { margin: 0; color: var(--navy-950); font-weight: 850; line-height: 1.48; }

/* Forms */
.lead-form-card, .contact-card, .sidebar-card { padding: clamp(24px, 3.4vw, 34px); }
.form-heading h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); margin: 0 0 10px; }
.form-heading p { color: var(--muted); }
.lead-form { display: grid; gap: 18px; }
.lead-form label, .lead-form legend { color: var(--navy-950); font-size: .9rem; font-weight: 900; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; min-height: 45px; margin-top: 6px; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 11px; background: #fff; color: var(--ink); font: inherit; transition: border-color .15s ease, box-shadow .15s ease; }
.lead-form textarea { min-height: 132px; resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--cyan-500); box-shadow: 0 0 0 4px rgba(0,174,239,.16); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
fieldset { border: 1px solid var(--line); border-radius: 15px; padding: 16px; background: #fff; }
.checkbox-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.checkbox-grid label { min-height: 44px; display: flex; align-items: flex-start; gap: 9px; padding: 10px 11px; border: 1px solid transparent; border-radius: 10px; background: #f8fbff; color: var(--navy-950); font-size: .86rem; line-height: 1.3; font-weight: 800; }
.checkbox-grid label:hover { border-color: #a6ddf8; background: #effaff; }
.checkbox-grid input { width: auto; min-height: 0; margin: 3px 0 0; }
.form-note { margin: 0; color: var(--muted); font-size: .84rem; max-width: 760px; }
.hp-field { position: absolute; left: -9999px; height: 1px; width: 1px; overflow: hidden; }
.form-band, .form-section { background: linear-gradient(135deg, #eef7fd, #f8fbff); }
.form-container, .form-shell { max-width: 1040px; }
.form-container .lead-form-card, .form-shell .lead-form-card, .form-section .lead-form-card { width: 100%; max-width: 1040px; margin-inline: auto; padding: clamp(28px, 4vw, 44px); }
.form-intro { max-width: 820px; margin-bottom: 26px; }
.form-shell .button, .form-section .button { width: min(100%, 360px); justify-self: start; }

/* Pricing */
.pricing-section { margin-top: 40px; }
.price-card { min-height: 166px; padding: 25px; }
.price-card .price { margin: 13px 0 10px; font-size: 1.18rem; }
.pricing-callout { margin-bottom: 30px; padding: 26px; border-color: #bde9fb; background: linear-gradient(135deg, #fff, #f4fbff); }

/* Portfolio */
.case-grid-large { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.case-card { overflow: hidden; padding: 0; }
.case-card.large { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-content: stretch; }
.case-image { display: block; overflow: hidden; background: #f7fafc; border-bottom: 1px solid var(--line); }
.case-card.large .case-image { border-bottom: 0; border-right: 1px solid var(--line); }
.case-card:not(.large) .case-image { aspect-ratio: 16 / 10; }
.case-card.large .case-image { min-height: 210px; }
.case-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .22s ease; }
.case-card:hover .case-image img { transform: scale(1.018); }
.case-content { padding: 25px; }
.case-content .eyebrow { margin-bottom: 10px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tag-list.vertical { display: grid; }
.tag-list.vertical span { justify-content: flex-start; }
.case-hero .hero-grid { grid-template-columns: minmax(0, .98fr) minmax(300px, .64fr); }
.hero-case-image { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; padding: 15px; }
.hero-case-image img { width: 100%; max-height: 500px; object-fit: contain; object-position: top center; background: #fff; border-radius: 11px; }
.sidebar-card { position: sticky; top: 112px; }
.sidebar-card .button { width: 100%; margin-top: 12px; }
.managed-care-box { max-width: 920px; margin: 0 auto; padding: clamp(24px, 3.4vw, 32px); border-color: #bde9fb; background: linear-gradient(135deg, #fff, #f2fbff); }
.managed-care-box ul { margin: 14px 0 0; padding-left: 20px; color: var(--navy-950); font-weight: 800; }
.screenshot-gallery, .proof-gallery, .live-example-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: start; }
.product-gallery-section .section-heading { text-align: left; }
.screenshot-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.screenshot-card a { position: relative; display: block; color: inherit; text-decoration: none; background: #fff; }
.screenshot-card a::before { content: ''; display: block; height: 30px; background: radial-gradient(circle at 16px 15px, #ff6b6b 0 3.5px, transparent 4px), radial-gradient(circle at 31px 15px, #ffd166 0 3.5px, transparent 4px), radial-gradient(circle at 46px 15px, #06d6a0 0 3.5px, transparent 4px), linear-gradient(#f1f5f9, #edf2f7); border-bottom: 1px solid var(--line); }
.screenshot-card img { width: 100%; height: auto; max-height: 600px; object-fit: contain; object-position: top center; background: #fff; }
.screenshot-card figcaption { padding: 16px 18px; border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: .92rem; }
.screenshot-card figcaption strong { display: block; margin-bottom: 4px; color: var(--navy-950); font-size: 1rem; }
.testimonial-grid-large { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.testimonial-card { padding: 25px; }
.testimonial-card p { color: var(--text); }
.testimonial-card strong { display: block; margin-top: 15px; color: var(--navy-950); }
.testimonial-card span { display: block; color: var(--muted); }

/* Product / Time & Weather */
.product-hero .hero-lede { max-width: 740px; }
.product-card .mini-price strong { text-align: right; }
.stacked-actions { display: grid; gap: 12px; }
.stacked-actions .button { width: 100%; }
.code-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.code-grid code { display: block; padding: 13px 14px; border: 1px solid var(--line); background: #fff; }

/* Footer */
.site-footer { background: linear-gradient(180deg, #0f1564 0%, #080c43 100%); color: #fff; padding: 58px 0 24px; }
.site-footer a { color: #fff; }
.site-footer p, .site-footer li, .footer-bottom { color: rgba(255,255,255,.8); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr .8fr 1fr; gap: clamp(26px, 5vw, 50px); }
.footer-logo, .site-footer .brand-logo { width: 185px; max-width: 100%; padding: 8px 11px; border-radius: 12px; background: #fff; }
.footer-brand { margin-bottom: 17px; }
.footer-grid h2 { margin: 0 0 15px; color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 42px; padding-top: 19px; font-size: .84rem; }

/* Responsive */
@media (max-width: 1080px) {
  .primary-nav { gap: 13px; }
  .primary-nav > a:not(.button), .nav-drop-button { font-size: .84rem; }
  .brand-logo { width: 170px; }
  .checkbox-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .container { width: min(100% - 36px, var(--max)); }
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; top: 106px; left: 18px; right: 18px; flex-direction: column; align-items: stretch; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
  .primary-nav.open { display: flex; }
  .nav-dropdown { display: grid; gap: 10px; }
  .nav-drop-panel { position: static; display: grid; width: auto; box-shadow: none; border-radius: 14px; }
  .nav-drop-panel::before { display: none; }
  .hero-grid, .hero-with-showcase .hero-grid, .case-hero .hero-grid, .split, .case-detail-grid { grid-template-columns: 1fr; }
  .hero-showcase { max-width: 720px; }
  .sidebar-card { position: static; }
  .value-grid, .card-grid, .service-grid, .pricing-grid, .product-feature-grid, .case-grid-large, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .self-qualify-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-card.large { grid-template-columns: 1fr; }
  .case-card.large .case-image { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-case-image img { max-height: 420px; }
}
@media (max-width: 720px) {
  :root { --section-pad: 54px; }
  .container { width: min(100% - 28px, var(--max)); }
  .topbar-inner { justify-content: center; flex-wrap: wrap; gap: 7px 13px; padding: 8px 0; }
  .nav-wrap { min-height: 70px; }
  .brand-logo { width: 148px; }
  .hero, .inner-hero, .section, .service-hero, .case-hero, .product-hero { padding: 52px 0; }
  h1 { font-size: clamp(1.9rem, 9.2vw, 2.55rem); line-height: 1.08; letter-spacing: -.038em; }
  h2 { font-size: clamp(1.36rem, 6.5vw, 1.95rem); line-height: 1.14; letter-spacing: -.026em; }
  h3 { font-size: clamp(1.05rem, 5vw, 1.24rem); }
  .hero-lede { font-size: 1rem; line-height: 1.64; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .value-grid, .card-grid, .service-grid, .pricing-grid, .product-feature-grid, .case-grid-large, .footer-grid, .self-qualify-grid, .deliverables-grid, .form-grid, .form-grid.two, .checkbox-grid, .testimonial-grid-large, .screenshot-gallery, .proof-gallery, .live-example-gallery, .code-grid { grid-template-columns: 1fr; }
  .primary-nav { top: 98px; }
  .hero-card, .lead-form-card, .sidebar-card, .contact-card { padding: 22px; }
  .case-content, .testimonial-card, .price-card, .service-card, .value-grid article, .product-feature-grid article { padding: 22px; }
  .trust-list li, .tag-list span { width: 100%; justify-content: center; text-align: center; }
  .showcase-stack { min-height: auto; display: grid; gap: 16px; }
  .showcase-tile { position: relative; inset: auto !important; width: 100% !important; height: 230px !important; border-width: 8px; }
  .showcase-panel { padding: 18px; }
  .screenshot-card img { max-height: 520px; }
  .form-container .lead-form-card, .form-shell .lead-form-card, .form-section .lead-form-card { padding: 22px; }
}
@media (max-width: 420px) {
  .container { width: min(100% - 24px, var(--max)); }
  body { font-size: 15px; }
  h1 { font-size: clamp(1.78rem, 10vw, 2.28rem); }
  h2 { font-size: clamp(1.26rem, 7.2vw, 1.72rem); }
  .button { min-height: 44px; padding: 12px 16px; }
  .lead-form input, .lead-form select, .lead-form textarea { min-height: 44px; }
  .topbar { font-size: .76rem; }
  .footer-logo, .site-footer .brand-logo { width: 172px; }
}

/* DOYJO 2026 v18
   Service-page width alignment: keep the post-hero service body, proof cards,
   deliverable grids, and intake form on the same visual rail instead of letting
   the second section collapse into a narrower column. */
.service-hero .hero-grid,
.service-copy-layout,
.form-section > .form-intro,
.form-section > .form-container {
  max-width: 1040px;
}
.service-copy-layout .copy-block {
  width: 100%;
  max-width: none;
}
.service-copy-layout .copy-block > p {
  max-width: 780px;
}
.service-copy-layout .copy-block > h2,
.service-copy-layout .copy-block > .eyebrow {
  max-width: 820px;
}
.service-copy-layout .buyer-prompt-box,
.service-copy-layout .better-question-box,
.service-copy-layout .callout,
.service-copy-layout .deliverables-grid {
  width: 100%;
  max-width: none;
}
.service-copy-layout .buyer-prompt-box ul,
.service-copy-layout .better-question-box p,
.service-copy-layout .callout p {
  max-width: 820px;
}
.service-copy-layout .better-question-box h3,
.service-copy-layout .callout h2,
.service-copy-layout .buyer-prompt-box h2 {
  max-width: 820px;
}

@media (max-width: 720px) {
  .service-hero .hero-grid,
  .service-copy-layout,
  .form-section > .form-intro,
  .form-section > .form-container {
    max-width: none;
  }
  .service-copy-layout .copy-block > p,
  .service-copy-layout .copy-block > h2,
  .service-copy-layout .copy-block > .eyebrow,
  .service-copy-layout .buyer-prompt-box ul,
  .service-copy-layout .better-question-box p,
  .service-copy-layout .callout p,
  .service-copy-layout .better-question-box h3,
  .service-copy-layout .callout h2,
  .service-copy-layout .buyer-prompt-box h2 {
    max-width: none;
  }
}

/* DOYJO 2026 v19
   Google Ads + human conversion alignment: each service and landing page now
   answers fit, value, trust/difference, and next step before the long-form copy. */
.section.compact { padding: clamp(38px, 5vw, 62px) 0; }
.conversion-map-section { background: #fff; border-bottom: 1px solid rgba(216,226,238,.75); }
.conversion-map-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.conversion-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.conversion-card .eyebrow { margin-bottom: 9px; }
.conversion-card h2 {
  margin: 0;
  max-width: none;
  color: var(--navy-950);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.38;
  letter-spacing: -.018em;
}
.conversion-card.action-card {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-950));
  border-color: rgba(0,174,239,.35);
}
.conversion-card.action-card .eyebrow,
.conversion-card.action-card h2 { color: #fff; }
.conversion-card.action-card .button { margin-top: 16px; width: 100%; }
.difference-box {
  margin: 28px 0;
  padding: clamp(22px, 3.2vw, 30px);
  border: 1px solid #bde9fb;
  border-radius: 20px;
  background: linear-gradient(135deg, #f7fcff, #fff);
  box-shadow: var(--shadow-xs);
}
.difference-box h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.28;
}
.service-main-section { padding-top: clamp(58px, 7vw, 88px); }

@media (max-width: 1100px) {
  .conversion-map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .conversion-map-grid { grid-template-columns: 1fr; }
  .conversion-card { padding: 20px; }
  .conversion-card h2 { font-size: 1rem; }
}


/* v19 conversion/order refinements */
.fit-card { margin-bottom: 28px; padding: clamp(22px, 3vw, 30px); border: 1px solid #bde9fb; border-radius: var(--radius); background: linear-gradient(135deg, #ffffff, #f3fbff); box-shadow: var(--shadow-sm); }
.fit-card h2 { margin-top: 0; font-size: clamp(1.35rem, 2vw, 1.85rem); }
.fit-card p { margin-bottom: 0; }
.service-proof-section .section-heading { text-align: left; }
.service-proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mini-case-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.mini-case-card > div { padding: 20px; }
.mini-case-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f7fafc; border-bottom: 1px solid var(--line); }
.mini-case-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .2s ease; }
.mini-case-card:hover .mini-case-image img { transform: scale(1.02); }
.mini-case-card h3 { font-size: clamp(1.05rem, 1.35vw, 1.22rem); margin-top: 0; }
.mini-case-card h3 a { color: var(--navy-950); }
.trust-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.trust-strip article { padding: 18px 20px; border: 1px solid #bde9fb; border-radius: 16px; background: #fff; box-shadow: var(--shadow-xs); }
.trust-strip strong { display: block; color: var(--navy-950); margin-bottom: 6px; }
.trust-strip span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.legal-copy h2 { margin-top: 32px; font-size: clamp(1.25rem, 1.7vw, 1.7rem); }
.legal-copy p { color: var(--text); }
.form-note a { color: var(--navy-900); font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) { .service-proof-grid, .trust-strip { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .fit-card { padding: 20px; } .mini-case-card > div { padding: 18px; } }

/* v19 conversion alignment: Google Ads relevance + human decision flow */
.service-main-section .service-copy-layout { max-width: 1040px; }
.service-copy-block { max-width: 900px; }
.conversion-proof-section .section-heading p { max-width: 760px; }
.conversion-grid article { border-top: 4px solid rgba(0,174,239,.45); }
.related-proof-block { margin-top: clamp(38px, 5vw, 60px); }
.case-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.case-card.mini .case-image { aspect-ratio: 16 / 10; }
.case-card.mini .case-content { padding: 20px; }
.case-card.mini h3 { font-size: 1.04rem; }
.compact-hero { padding-block: clamp(66px, 8vw, 112px); }
.legal-copy h2 { margin-top: 2rem; font-size: clamp(1.35rem, 2vw, 1.9rem); }
.legal-copy p { color: var(--text); }
.form-note a { font-weight: 900; }
@media (max-width: 900px) {
  .case-mini-grid { grid-template-columns: 1fr; }
  .service-copy-block { max-width: 100%; }
}

/* DOYJO 2026 v19 conversion sequence refinements */
.conversion-card p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}
.trust-section .section-heading p { max-width: 720px; }
.related-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.compact-proof-card .case-image { aspect-ratio: 16 / 10; }
.compact-proof-card .case-content { padding: 22px; }
.compact-proof-card h3 { font-size: clamp(1.08rem, 1.55vw, 1.28rem); }
.compact-proof-card p:not(.eyebrow) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mini-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}
.mini-testimonial p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.legal-copy h2 { margin-top: 32px; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p { color: var(--text); }
.form-note a { font-weight: 900; }
@media (max-width: 980px) {
  .related-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .related-proof-grid, .mini-testimonial-grid { grid-template-columns: 1fr; }
  .conversion-map-section { padding-top: 28px; padding-bottom: 28px; }
  .conversion-card.action-card .button { width: 100%; }
}

/* DOYJO 2026 v20
   Portfolio page redesign: one-column case-study rhythm with alternating media,
   stronger above-the-fold clarity, and a clearer single review path. */
.portfolio-hero .hero-grid {
  grid-template-columns: minmax(0, .95fr) minmax(300px, .68fr);
}
.portfolio-proof-card .check-list {
  margin-top: 18px;
}
.portfolio-list-section {
  background:
    linear-gradient(180deg, #fff 0%, #fff 10%, #f6fbff 100%);
}
.portfolio-list-heading {
  max-width: 900px;
}
.portfolio-list {
  display: grid;
  gap: clamp(32px, 5.4vw, 58px);
  width: min(1080px, calc(100% - 48px));
}
.portfolio-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  padding: clamp(24px, 4.4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.portfolio-row::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 12% 12%, rgba(0,174,239,.09), transparent 32%);
  opacity: .75;
}
.portfolio-row > * {
  position: relative;
  z-index: 1;
}
.portfolio-row:nth-child(3n + 2) {
  background: linear-gradient(135deg, #fff 0%, #f8fcff 100%);
}
.portfolio-row:nth-child(3n) {
  background: linear-gradient(135deg, #ffffff 0%, #f9fbff 54%, #f1f9ff 100%);
}
.portfolio-row.is-reversed {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
}
.portfolio-row.is-reversed .portfolio-row-media {
  order: 2;
}
.portfolio-row.is-reversed .portfolio-row-content {
  order: 1;
}
.portfolio-row-media {
  display: grid;
  grid-template-rows: 34px 1fr;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(11,15,79,.10);
  transition: transform .18s ease, box-shadow .18s ease;
}
.portfolio-row-media:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(11,15,79,.14);
  text-decoration: none;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fbff, #eef5fb);
}
.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #b9c7d8;
}
.browser-bar span:nth-child(2) { background: #cdd8e5; }
.browser-bar span:nth-child(3) { background: #e1e8f0; }
.portfolio-row-media img {
  width: 100%;
  height: clamp(270px, 34vw, 430px);
  object-fit: cover;
  object-position: top center;
  background: #fff;
}
.portfolio-row-content {
  max-width: 580px;
}
.portfolio-row-content h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.45vw, 2.35rem);
}
.portfolio-row-content h2 a {
  color: var(--navy-950);
}
.portfolio-row-content h2 a:hover {
  color: var(--blue-700);
  text-decoration: none;
}
.portfolio-row-content p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(.98rem, 1.05vw, 1.06rem);
}
.portfolio-tags {
  margin-top: 20px;
}
.portfolio-row-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 24px;
}
.portfolio-final-cta {
  background: var(--soft-blue);
}
.portfolio-final-cta .form-intro {
  max-width: 800px;
}
/* Legacy portfolio grid fallback: any view still using case-grid-large gets a single-column rail. */
.case-grid-large {
  grid-template-columns: 1fr !important;
  width: min(1080px, calc(100% - 48px));
}
.case-grid-large .case-card.large {
  grid-template-columns: minmax(300px, .92fr) minmax(0, 1.08fr);
}
.case-grid-large .case-card.large:nth-child(even) .case-image {
  order: 2;
  border-right: 0;
  border-left: 1px solid var(--line);
}
.case-grid-large .case-card.large:nth-child(even) .case-content {
  order: 1;
}
@media (max-width: 900px) {
  .portfolio-hero .hero-grid,
  .portfolio-row,
  .portfolio-row.is-reversed,
  .case-grid-large .case-card.large {
    grid-template-columns: 1fr;
  }
  .portfolio-row.is-reversed .portfolio-row-media,
  .portfolio-row.is-reversed .portfolio-row-content,
  .case-grid-large .case-card.large:nth-child(even) .case-image,
  .case-grid-large .case-card.large:nth-child(even) .case-content {
    order: initial;
  }
  .case-grid-large .case-card.large:nth-child(even) .case-image {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .portfolio-row-media img {
    height: clamp(240px, 56vw, 380px);
  }
  .portfolio-row-content {
    max-width: none;
  }
}
@media (max-width: 620px) {
  .portfolio-list {
    width: min(100% - 24px, 1080px);
    gap: 24px;
  }
  .portfolio-row {
    padding: 18px;
    border-radius: 22px;
  }
  .portfolio-row-media {
    border-radius: 18px;
  }
  .portfolio-row-media img {
    height: 250px;
  }
  .portfolio-row-actions .button,
  .portfolio-row-actions .text-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* DOYJO 2026 v21
   Proof band, enterprise polish, smoother spacing, and portfolio presentation refinements. */
:root {
  --max: 1180px;
  --section-pad: clamp(72px, 8vw, 118px);
  --shadow-xs: 0 6px 16px rgba(9, 13, 67, .045);
  --shadow-sm: 0 14px 34px rgba(9, 13, 67, .075);
  --shadow: 0 28px 72px rgba(9, 13, 67, .13);
}
body {
  background: #fff;
}
.site-header {
  box-shadow: 0 10px 28px rgba(9, 13, 67, .055);
}
.nav-wrap {
  min-height: 82px;
}
.primary-nav {
  gap: clamp(14px, 1.7vw, 22px);
}
.hero, .inner-hero, .service-hero, .case-hero, .product-hero, .landing-hero {
  background:
    radial-gradient(circle at 82% 8%, rgba(0, 174, 239, .18), transparent 33%),
    radial-gradient(circle at 8% 96%, rgba(46, 49, 146, .08), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f8fbff 45%, #eef8ff 100%);
  padding: clamp(76px, 8vw, 124px) 0;
}
.hero::after, .service-hero::after, .landing-hero::after, .product-hero::after, .case-hero::after, .inner-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 174, 239, .34), transparent);
}
h1 {
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  letter-spacing: -.055em;
}
h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.7rem);
  letter-spacing: -.045em;
}
.hero-lede, .section-heading p, .copy-block p, .portfolio-row-content p:not(.eyebrow) {
  font-size: clamp(1rem, 1.06vw, 1.08rem);
}
.button {
  box-shadow: 0 11px 28px rgba(17,23,109,.2);
}
.button.small, .nav-cta {
  background: linear-gradient(135deg, #00aeef, #3bd3ff) !important;
  border-color: transparent !important;
  box-shadow: 0 12px 25px rgba(0, 174, 239, .22);
}
.hero-showcase {
  position: relative;
}
.showcase-stack {
  min-height: 450px;
}
.showcase-tile {
  border-width: 12px;
  box-shadow: 0 24px 70px rgba(9, 13, 67, .18);
}
.showcase-panel {
  border-color: rgba(0, 174, 239, .34);
  box-shadow: 0 22px 58px rgba(9, 13, 67, .10);
}

/* Client logo proof band */
.logo-proof-band {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 58px) 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logo-proof-inner {
  display: grid;
  grid-template-columns: minmax(260px, .45fr) minmax(0, .95fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.logo-proof-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
}
.logo-proof-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  max-width: 540px;
}
.logo-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-marquee::before,
.logo-marquee::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 58px;
  pointer-events: none;
}
.logo-marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.logo-marquee::after { right: 0; background: linear-gradient(270deg, #fff, transparent); }
.logo-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: logo-scroll 42s linear infinite;
}
.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}
.logo-static-grid { display: none; }
.logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 76px;
  padding: 15px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-xs);
  filter: grayscale(.12);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.logo-pill:hover {
  transform: translateY(-2px);
  filter: grayscale(0);
  box-shadow: var(--shadow-sm);
}
.logo-pill img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  .logo-marquee { display: none; }
  .logo-static-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .logo-pill { width: auto; }
}

/* Stronger section hierarchy and cards */
.section-heading {
  margin-bottom: clamp(28px, 4vw, 46px);
}
.value-grid article,
.service-card,
.price-card,
.case-card,
.testimonial-card,
.standard-card,
.self-qualify-card,
.buyer-prompt-box,
.better-question-box,
.callout,
.product-feature-grid article,
.managed-care-box,
.ad-card,
.proof-card,
.lead-form-card,
.sidebar-card,
.contact-card {
  border-color: rgba(184, 198, 215, .88);
}
.value-grid article,
.service-card,
.price-card,
.product-feature-grid article {
  padding: clamp(23px, 3vw, 32px);
}
.service-card,
.price-card,
.value-grid article {
  border-radius: 22px;
}
.self-qualify-section,
.section.alt,
.form-band,
.form-section {
  background: linear-gradient(180deg, #f2f9ff 0%, #eef7fd 100%);
}
.form-section .lead-form-card,
.form-container .lead-form-card,
.form-shell .lead-form-card {
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(9, 13, 67, .11);
}
.checkbox-grid label {
  min-height: 48px;
  background: #f7fbff;
}

/* Portfolio index should feel designed, not listed. */
.portfolio-list-section {
  background:
    radial-gradient(circle at 20% 10%, rgba(0,174,239,.07), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}
.portfolio-list {
  gap: clamp(38px, 6.4vw, 72px);
}
.portfolio-row {
  border-radius: 34px;
  padding: clamp(26px, 5vw, 56px);
  box-shadow: 0 24px 64px rgba(9,13,67,.09);
}
.portfolio-row::before {
  background:
    radial-gradient(circle at 12% 12%, rgba(0,174,239,.10), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.0), rgba(238,247,253,.42));
}
.portfolio-row-media {
  border-radius: 24px;
  box-shadow: 0 22px 58px rgba(9,13,67,.13);
}
.portfolio-row-media img {
  height: clamp(310px, 36vw, 470px);
}
.portfolio-tags .tag-list span,
.tag-list span {
  background: #f8fcff;
}

/* Portfolio detail polish */
.case-detail-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
}
.case-detail-grid .copy-block {
  max-width: 780px;
}
.screenshot-gallery, .proof-gallery, .live-example-gallery {
  gap: clamp(22px, 4vw, 42px);
}
.screenshot-card {
  border-radius: 24px;
  box-shadow: 0 24px 62px rgba(9,13,67,.105);
}

@media (max-width: 1040px) {
  .hero-grid,
  .hero-with-showcase .hero-grid,
  .service-hero .hero-grid,
  .landing-hero .hero-grid,
  .case-hero .hero-grid,
  .portfolio-hero .hero-grid,
  .logo-proof-inner {
    grid-template-columns: 1fr;
  }
  .hero-showcase { max-width: 720px; }
  .logo-proof-copy { max-width: 760px; }
}
@media (max-width: 820px) {
  .logo-marquee { display: none; }
  .logo-static-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .logo-pill {
    width: auto;
    height: 68px;
    padding: 12px 14px;
  }
  .logo-pill img { max-height: 42px; }
  .showcase-stack { min-height: 0; display: grid; gap: 16px; }
  .showcase-tile,
  .showcase-tile-1,
  .showcase-tile-2,
  .showcase-tile-3 {
    position: relative;
    inset: auto;
    width: 100%;
    height: 260px;
  }
}
@media (max-width: 700px) {
  .container, .portfolio-list, .case-grid-large {
    width: min(100% - 28px, var(--max));
  }
  .topbar-inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 8px 0;
  }
  .nav-wrap { min-height: 70px; }
  .brand-logo { width: 150px; }
  .hero, .inner-hero, .service-hero, .case-hero, .product-hero, .landing-hero {
    padding: 56px 0 64px;
  }
  h1 { font-size: clamp(2rem, 11vw, 2.75rem); letter-spacing: -.045em; }
  h2 { font-size: clamp(1.48rem, 8vw, 2.1rem); }
  .hero-actions .button { width: 100%; }
  .trust-list li { width: 100%; justify-content: center; }
  .logo-static-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-row { padding: 18px; border-radius: 24px; }
  .portfolio-row-media img { height: 290px; }
  .checkbox-grid, .form-grid, .form-grid.two, .deliverables-grid, .value-grid, .card-grid, .service-grid, .pricing-grid, .product-feature-grid, .self-qualify-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 440px) {
  .logo-static-grid { grid-template-columns: 1fr; }
  .logo-pill { height: 64px; }
  .portfolio-row-media img { height: 230px; }
  .lead-form-card, .contact-card, .sidebar-card { padding: 20px; }
  .form-container .lead-form-card, .form-shell .lead-form-card, .form-section .lead-form-card { padding: 20px; }
}

/* DOYJO 2026 v23
   Portfolio detail image normalization: tall screenshots are cropped from the top
   so hero/project proof visuals read as polished previews rather than skinny full-page scrolls. */
.case-hero .hero-case-image,
.case-hero .hero-case-image a {
  display: block;
}
.case-hero .hero-case-image {
  aspect-ratio: 16 / 10;
  padding: 12px;
  display: grid;
  place-items: stretch;
}
.case-hero .hero-case-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: top center;
  background: #fff;
}
.proof-gallery .screenshot-card a,
.live-example-gallery .screenshot-card a,
.screenshot-gallery .screenshot-card a {
  overflow: hidden;
}
.proof-gallery .screenshot-card img,
.live-example-gallery .screenshot-card img,
.screenshot-gallery .screenshot-card img {
  width: 100%;
  height: clamp(260px, 30vw, 420px);
  max-height: none;
  object-fit: cover;
  object-position: top center;
}
@media (max-width: 1040px) {
  .case-hero .hero-case-image {
    aspect-ratio: 16 / 9;
    max-width: 720px;
  }
}
@media (max-width: 720px) {
  .case-hero .hero-case-image {
    aspect-ratio: 4 / 3;
    padding: 8px;
  }
  .proof-gallery .screenshot-card img,
  .live-example-gallery .screenshot-card img,
  .screenshot-gallery .screenshot-card img {
    height: 260px;
  }
}

/* --------------------------------------------------------------------------
   DOYJO v24 premium visual system
   Stronger Elementor-inspired hierarchy, layered visuals, premium whitespace,
   soft reveal motion, and designed proof blocks. No Bootstrap-style flatness.
   -------------------------------------------------------------------------- */
:root {
  --navy-1000: #050833;
  --navy-950: #0a0f52;
  --navy-900: #11176d;
  --navy-850: #171d80;
  --navy-800: #202a8b;
  --electric: #00b8f5;
  --electric-2: #55d7ff;
  --violet: #6757ff;
  --coral: #ff7a3d;
  --ink: #101426;
  --text: #314056;
  --muted: #718096;
  --line: #dfe8f4;
  --line-strong: #b9cce3;
  --surface: #ffffff;
  --soft: #f7fbff;
  --soft-blue: #eef8ff;
  --soft-lav: #f4f4ff;
  --max: 1200px;
  --wide: 1320px;
  --narrow: 790px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;
  --radius-xl: 46px;
  --section-pad: clamp(76px, 8.5vw, 132px);
  --shadow-xs: 0 8px 22px rgba(10, 15, 82, .06);
  --shadow-sm: 0 18px 48px rgba(10, 15, 82, .09);
  --shadow: 0 30px 80px rgba(10, 15, 82, .15);
  --shadow-strong: 0 42px 110px rgba(10, 15, 82, .22);
}

html { font-size: 16px; }
body {
  color: var(--text);
  background:
    radial-gradient(circle at 6% 4%, rgba(85, 215, 255, .12), transparent 24rem),
    radial-gradient(circle at 92% 2%, rgba(103, 87, 255, .10), transparent 30rem),
    #fff;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(15.5px, .98vw, 17px);
  line-height: 1.72;
}
.container { width: min(var(--max), calc(100% - clamp(34px, 6vw, 84px))); }
.container.wide { width: min(var(--wide), calc(100% - clamp(34px, 5vw, 76px))); }
p { max-width: 74ch; }
a { color: #104fc8; }
strong { color: var(--navy-950); }

.topbar {
  background: linear-gradient(90deg, var(--navy-950), var(--navy-800));
  font-size: .74rem;
  letter-spacing: .015em;
}
.topbar-inner { min-height: 29px; justify-content: center; gap: clamp(18px, 4vw, 40px); opacity: .98; }
.site-header {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 55px rgba(10, 15, 82, .08);
  border-bottom: 1px solid rgba(199, 214, 235, .75);
}
.nav-wrap { min-height: 86px; }
.brand-logo { width: 206px; filter: drop-shadow(0 10px 18px rgba(17, 23, 109, .08)); }
.primary-nav { gap: 20px; }
.primary-nav > a:not(.button), .nav-drop-button {
  position: relative;
  color: var(--navy-950);
  font-size: .82rem;
  letter-spacing: -.005em;
}
.primary-nav > a:not(.button)::after, .nav-drop-button::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -9px; height: 2px;
  transform: scaleX(0); transform-origin: center;
  background: linear-gradient(90deg, var(--electric), var(--violet));
  transition: transform .18s ease;
}
.primary-nav > a:not(.button):hover::after, .nav-drop-button:hover::after { transform: scaleX(1); }
.nav-cta, .button.small.nav-cta {
  background: linear-gradient(135deg, var(--electric), var(--electric-2)) !important;
  border-color: transparent !important;
  color: var(--navy-1000) !important;
  box-shadow: 0 16px 34px rgba(0, 184, 245, .25);
}
.nav-drop-panel { border-radius: 22px; box-shadow: var(--shadow); padding: 12px; }

.eyebrow { color: #1454c7; font-size: .74rem; letter-spacing: .18em; font-weight: 900; }
h1, h2, h3 { font-family: Sora, Manrope, Inter, ui-sans-serif, system-ui, sans-serif; color: var(--navy-950); letter-spacing: -.055em; }
h1 { font-size: clamp(2.35rem, 4.35vw, 4.75rem); line-height: .98; max-width: 850px; }
h2 { font-size: clamp(1.72rem, 3vw, 3.15rem); line-height: 1.04; max-width: 860px; }
h3 { font-size: clamp(1.05rem, 1.38vw, 1.42rem); line-height: 1.18; }
.hero-lede { font-size: clamp(1.02rem, 1.1vw, 1.2rem); color: #566780; max-width: 680px; }

.button {
  min-height: 48px; padding: 13px 24px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-1000));
  box-shadow: 0 18px 40px rgba(10, 15, 82, .22);
  position: relative; overflow: hidden;
}
.button::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.24) 44%, transparent 66%);
  transform: translateX(-120%); transition: transform .55s ease;
}
.button:hover::before { transform: translateX(120%); }
.button.ghost { background: rgba(255,255,255,.6); border: 2px solid rgba(17, 23, 109, .75); color: var(--navy-950) !important; box-shadow: none; }
.button.ghost:hover { background: var(--navy-950); border-color: var(--navy-950); color: #fff !important; }
.button.small { min-height: 42px; padding: 10px 18px; }
.text-link { font-weight: 900; color: var(--navy-900); }
.text-link::after { content: ' →'; color: var(--electric); }

.hero, .inner-hero, .service-hero, .case-hero, .product-hero, .landing-hero {
  padding: clamp(86px, 9vw, 148px) 0 clamp(82px, 8.2vw, 132px);
  background:
    radial-gradient(circle at 80% 16%, rgba(0, 184, 245, .25), transparent 30rem),
    radial-gradient(circle at 12% 82%, rgba(103, 87, 255, .11), transparent 28rem),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 45%, #eaf8ff 100%);
}
.hero::before, .service-hero::before, .case-hero::before, .product-hero::before, .inner-hero::before {
  content: ''; position: absolute; width: 44vw; height: 44vw; max-width: 620px; max-height: 620px;
  right: -18vw; top: -24vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,184,245,.32), rgba(103,87,255,.06) 62%, transparent 70%);
  pointer-events: none;
}
.hero::after, .service-hero::after, .case-hero::after, .product-hero::after, .inner-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 80%); pointer-events: none;
}
.hero-grid { position: relative; z-index: 2; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .84fr); gap: clamp(48px, 7.6vw, 110px); }
.hero-actions { gap: 14px; margin-top: 30px; }
.trust-list { margin-top: 30px; gap: 12px; }
.trust-list li, .tag-list span { background: rgba(255,255,255,.8); border-color: rgba(184, 206, 231, .78); box-shadow: 0 10px 30px rgba(10, 15, 82, .07); }

.hero-card, .lead-form-card, .sidebar-card, .contact-card, .standard-card, .price-card, .conversion-card, .buyer-prompt-box, .better-question-box, .difference-box, .callout, .managed-care-box, .proof-card, .case-card, .service-card, .testimonial-card {
  border: 1px solid rgba(199, 216, 238, .9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
}
.hero-card { padding: clamp(26px, 3vw, 42px); border-top: 0; position: relative; overflow: hidden; }
.hero-card::before, .lead-form-card::before, .portfolio-row::before, .case-card::before {
  content: ''; position: absolute; inset: 0 auto auto 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--electric), var(--violet));
}
.hero-card h2 { font-size: clamp(1.3rem, 2.1vw, 2rem); }
.check-list li { margin-bottom: 13px; }
.check-list li::marker { color: var(--electric); }

.hero-with-showcase .hero-grid { grid-template-columns: minmax(0, .93fr) minmax(420px, .92fr); }
.hero-showcase { align-self: center; }
.showcase-stack { min-height: clamp(450px, 38vw, 590px); transform: translateZ(0); }
.showcase-tile { border: 10px solid #fff; border-radius: 30px; box-shadow: 0 34px 96px rgba(10, 15, 82, .18); }
.showcase-tile-1 { left: 3%; top: 0; width: 67%; height: 82%; transform: rotate(-2deg); }
.showcase-tile-2 { right: 2%; top: 52px; width: 51%; height: 42%; transform: rotate(2.5deg); }
.showcase-tile-3 { right: 10%; bottom: 14px; width: 48%; height: 38%; transform: rotate(-1deg); }
.showcase-tile span { font-size: .92rem; }
.showcase-panel { margin-top: -10px; padding: 24px 26px; border-radius: 26px; background: rgba(255,255,255,.94); }

.logo-proof-band { position: relative; z-index: 3; margin-top: -48px; padding: 0 0 clamp(54px, 6vw, 82px); background: transparent; }
.logo-proof-inner {
  display: grid; grid-template-columns: minmax(260px, .56fr) minmax(0, 1fr); gap: 34px; align-items: center;
  padding: clamp(28px, 3vw, 40px); border: 1px solid rgba(199,216,238,.85); border-radius: 34px;
  background: rgba(255,255,255,.9); box-shadow: var(--shadow); overflow: hidden;
}
.logo-proof-copy h2 { font-size: clamp(1.28rem, 2vw, 2rem); margin-bottom: 10px; }
.logo-proof-copy p:last-child { margin-bottom: 0; }
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.logo-track { display: flex; gap: 18px; width: max-content; animation: logoDrift 36s linear infinite; }
.logo-pill { min-width: 160px; height: 82px; padding: 16px 22px; display: grid; place-items: center; border: 1px solid rgba(199,216,238,.78); border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(10,15,82,.06); filter: saturate(.95); }
.logo-pill img { max-height: 48px; max-width: 130px; object-fit: contain; }
.logo-static-grid { display: none; }
@keyframes logoDrift { to { transform: translateX(-50%); } }

.section { padding: var(--section-pad) 0; position: relative; }
.section.alt { background: radial-gradient(circle at 6% 4%, rgba(0,184,245,.10), transparent 26rem), linear-gradient(180deg, #eef8ff 0%, #f7fbff 100%); }
.section-heading { margin-bottom: clamp(36px, 5vw, 62px); }
.section-heading.compact { max-width: 760px; }
.philosophy-section .value-grid, .conversion-grid, .value-grid { gap: 24px; }
.value-grid article, .self-qualify-card, .service-card, .case-card, .conversion-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.value-grid article:hover, .service-card:hover, .case-card:hover, .portfolio-row:hover, .conversion-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(0,184,245,.45); }
.value-grid article, .self-qualify-card { padding: 28px; }
.value-grid article h3::before, .service-card h3::before { content: ''; display: block; width: 42px; height: 4px; border-radius: 999px; margin: 0 0 18px; background: linear-gradient(90deg, var(--electric), var(--violet)); }
.self-qualify-grid { gap: 22px; }
.self-qualify-card { position: relative; overflow: hidden; }
.self-qualify-card span { color: rgba(0,184,245,.22); font-size: 3.4rem; line-height: 1; font-family: Sora, sans-serif; font-weight: 800; }
.self-qualify-card p { margin-top: -12px; position: relative; color: var(--navy-950); font-weight: 800; }
.card-grid { gap: clamp(22px, 3vw, 30px); }
.service-card { padding: 30px; min-height: 100%; position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; width: 160px; height: 160px; right: -80px; bottom: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(0,184,245,.16), transparent 70%); }
.price-line { color: var(--navy-950); }
.case-card { overflow: hidden; position: relative; }
.case-image { background: #eef6ff; }
.case-image img { width: 100%; height: 220px; object-fit: cover; object-position: top center; }
.case-content { padding: 26px; }

.service-main-section { padding-top: clamp(70px, 7vw, 105px); }
.conversion-map-section { margin-top: -54px; position: relative; z-index: 4; padding-top: 0 !important; }
.conversion-map-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.conversion-card { padding: 24px; min-height: 190px; position: relative; overflow: hidden; }
.conversion-card h2 { font-size: clamp(1.05rem, 1.45vw, 1.35rem); letter-spacing: -.035em; }
.conversion-card.action-card { background: linear-gradient(135deg, var(--navy-950), #18228c); color: #fff; }
.conversion-card.action-card h2, .conversion-card.action-card .eyebrow { color: #fff; }
.service-copy-layout { width: min(1040px, calc(100% - clamp(34px, 6vw, 84px))); }
.copy-block { max-width: 900px; margin-inline: auto; }
.copy-block p { color: #53647c; }
.buyer-prompt-box, .better-question-box, .difference-box, .callout { margin: 34px 0; padding: clamp(26px, 3vw, 36px); position: relative; overflow: hidden; }
.buyer-prompt-box::after, .better-question-box::after, .difference-box::after, .callout::after { content: ''; position: absolute; right: -70px; top: -70px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(0,184,245,.16), transparent 72%); }
.buyer-prompt-box h2, .difference-box h2 { font-size: clamp(1.32rem, 2.1vw, 2.1rem); }
.deliverables-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 24px 0 34px; }
.deliverable { min-height: 72px; display: flex; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid rgba(199,216,238,.88); border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 12px 28px rgba(10,15,82,.055); color: var(--navy-950); font-weight: 850; }
.deliverable span { color: var(--electric); font-size: 1.1rem; }
.trust-section { padding-top: clamp(70px, 7vw, 110px); }
.related-proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mini-testimonial-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.form-section { background: radial-gradient(circle at 12% 20%, rgba(0,184,245,.12), transparent 24rem), radial-gradient(circle at 88% 18%, rgba(103,87,255,.11), transparent 26rem), #edf8ff !important; }
.form-intro { max-width: 840px; }
.form-container { width: min(960px, calc(100% - clamp(34px, 6vw, 84px))); }
.lead-form-card { max-width: none; width: 100%; padding: clamp(30px, 3.7vw, 48px); border-radius: 32px; position: relative; overflow: hidden; }
.lead-form-card .checkbox-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lead-form-card label.checkbox-option, .checkbox-option { border: 1px solid rgba(207,220,238,.9); background: #f8fbff; border-radius: 14px; padding: 13px 14px; }
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
input, select, textarea { border-radius: 12px !important; min-height: 46px; border: 1px solid #bed0e4 !important; background: #fff !important; }
textarea { min-height: 138px; }

.portfolio-list-section { background: #fff; }
.portfolio-list { display: grid; gap: clamp(32px, 5vw, 64px); }
.portfolio-row { position: relative; display: grid; grid-template-columns: minmax(360px, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(28px, 4vw, 54px); border: 1px solid rgba(199,216,238,.92); border-radius: 36px; background: radial-gradient(circle at 92% 10%, rgba(0,184,245,.12), transparent 18rem), rgba(255,255,255,.96); box-shadow: var(--shadow-sm); overflow: hidden; }
.portfolio-row.is-reversed { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); }
.portfolio-row.is-reversed .portfolio-row-media { order: 2; }
.portfolio-row-media { position: relative; min-height: 340px; display: block; overflow: hidden; border-radius: 28px; background: #eff7ff; box-shadow: 0 28px 70px rgba(10,15,82,.14); border: 12px solid #fff; transform: rotate(-.6deg); }
.portfolio-row.is-reversed .portfolio-row-media { transform: rotate(.6deg); }
.portfolio-row-media img { width: 100%; height: 420px; object-fit: cover; object-position: top center; transition: transform .35s ease; }
.portfolio-row-media:hover img { transform: scale(1.025); }
.browser-bar { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 34px; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(207,220,238,.86); display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: #bed0e4; }
.portfolio-row-content h2 { font-size: clamp(1.7rem, 3vw, 3rem); margin-bottom: 16px; }
.portfolio-row-content p { color: #596a82; }
.portfolio-tags { margin-top: 22px; }
.portfolio-row-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero-case-image { position: relative; max-height: 470px; overflow: hidden; border: 12px solid #fff; border-radius: 32px; background: #fff; box-shadow: var(--shadow); }
.hero-case-image::before { content: ''; position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 34px; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(207,220,238,.86); }
.hero-case-image img { width: 100%; height: 470px; object-fit: cover; object-position: top center; }
.case-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(36px, 6vw, 78px); align-items: start; }
.sidebar-card { position: sticky; top: 120px; padding: 28px; }
.product-gallery-section { background: #edf8ff; }
.screenshot-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: start; }
.screenshot-card { overflow: hidden; position: relative; }
.screenshot-card img { width: 100%; height: 380px; object-fit: cover; object-position: top center; background: #fff; }
.screenshot-card figcaption { padding: 18px 20px 22px; }
.screenshot-card p { margin: 0; }

.site-footer { position: relative; overflow: hidden; background: radial-gradient(circle at 20% 0%, rgba(0,184,245,.16), transparent 30rem), linear-gradient(145deg, #0a0f52, #11176d 58%, #090d43); padding-top: 78px; }
.site-footer::before { content: ''; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 58px 58px; }
.site-footer .container { position: relative; z-index: 1; }
.footer-grid { gap: clamp(28px, 5vw, 70px); }
.footer-logo { max-width: 185px; background: #fff; border-radius: 14px; padding: 8px 12px; }
.site-footer h2 { color: #fff; font-size: .88rem; letter-spacing: .16em; text-transform: uppercase; }
.site-footer p, .site-footer a, .footer-bottom p { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 52px; padding-top: 22px; padding-bottom: 34px; }

.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.28,1); transition-delay: var(--reveal-delay, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .button, .showcase-tile img, .portfolio-row-media img { transition: none; }
}
@media (max-width: 1100px) {
  .primary-nav { gap: 14px; }
  .hero-with-showcase .hero-grid, .hero-grid { grid-template-columns: 1fr; }
  .hero-showcase { max-width: 680px; }
  .conversion-map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-proof-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; left: 24px; right: 24px; top: calc(100% + 10px); padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .primary-nav.open { display: flex; }
  .nav-drop-panel { position: static; display: grid; width: auto; box-shadow: none; margin-top: 10px; }
  .logo-proof-inner { grid-template-columns: 1fr; }
  .logo-marquee { display: none; }
  .logo-static-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .logo-pill { min-width: 0; width: 100%; height: 72px; }
  .portfolio-row, .portfolio-row.is-reversed { grid-template-columns: 1fr; }
  .portfolio-row.is-reversed .portfolio-row-media { order: 0; }
  .portfolio-row-media, .portfolio-row.is-reversed .portfolio-row-media { transform: none; }
  .case-detail-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .screenshot-gallery { grid-template-columns: 1fr; }
  .lead-form-card .checkbox-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .container, .form-container, .service-copy-layout { width: min(100% - 28px, var(--max)); }
  .topbar-inner { justify-content: center; gap: 10px; flex-wrap: wrap; padding: 6px 0; }
  .nav-wrap { min-height: 72px; }
  .brand-logo { width: 160px; }
  h1 { font-size: clamp(2.05rem, 11vw, 3.1rem); }
  h2 { font-size: clamp(1.55rem, 7vw, 2.2rem); }
  .hero, .inner-hero, .service-hero, .case-hero, .product-hero, .landing-hero { padding: 62px 0 72px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .trust-list li { width: 100%; justify-content: center; }
  .showcase-stack { min-height: 360px; }
  .showcase-tile-1 { width: 82%; height: 76%; }
  .showcase-tile-2 { width: 54%; height: 35%; top: 45px; }
  .showcase-tile-3 { width: 60%; height: 33%; right: 0; }
  .conversion-map-grid, .related-proof-grid, .mini-testimonial-grid, .deliverables-grid, .form-grid { grid-template-columns: 1fr; }
  .lead-form-card .checkbox-grid { grid-template-columns: 1fr; }
  .portfolio-row { padding: 18px; border-radius: 26px; }
  .portfolio-row-media { min-height: 260px; border-width: 8px; }
  .portfolio-row-media img { height: 310px; }
  .case-image img { height: 200px; }
  .hero-case-image img { height: 330px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* V25: navigation alignment and flat-rate Google Ads pricing cleanup */
.primary-nav,
.primary-nav .nav-dropdown {
  align-items: center !important;
}
.primary-nav > a:not(.button),
.primary-nav .nav-drop-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  line-height: 1 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  vertical-align: middle !important;
}
.nav-drop-button {
  font-family: inherit !important;
  appearance: none;
  -webkit-appearance: none;
}
.primary-nav > a:not(.button)::after,
.nav-drop-button::after {
  bottom: 5px !important;
}
.nav-cta,
.button.small.nav-cta {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 46px !important;
}
@media (max-width: 860px) {
  .primary-nav > a:not(.button),
  .primary-nav .nav-drop-button {
    min-height: 42px !important;
    justify-content: flex-start !important;
  }
}

/* V26: service pages as focused Google Ads landing pages */
.landing-service-hero {
  padding-bottom: clamp(88px, 9vw, 138px);
}
.landing-service-hero .hero-copy-panel {
  max-width: 780px;
}
.landing-service-hero h1 {
  max-width: 820px;
}
.landing-hero-card {
  border-top: 5px solid var(--cyan);
}
.landing-answer-section {
  position: relative;
  z-index: 5;
  margin-top: clamp(-76px, -5vw, -42px);
  padding: 0 0 clamp(64px, 7vw, 100px);
}
.landing-answer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.landing-answer-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(190,210,235,.85);
  border-radius: 28px;
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 22px 54px rgba(10,21,86,.12);
  min-height: 245px;
  position: relative;
  overflow: hidden;
}
.landing-answer-card::after {
  content: '';
  position: absolute;
  right: -52px;
  bottom: -54px;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0,184,245,.17), transparent 68%);
  pointer-events: none;
}
.landing-answer-card h2 {
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  line-height: 1.28;
  letter-spacing: -.03em;
  margin: 0;
}
.next-step-card {
  background: linear-gradient(145deg, #0b0f5d, #202995);
  color: #fff;
  border-color: rgba(255,255,255,.12);
}
.next-step-card h2,
.next-step-card .eyebrow,
.next-step-card .text-link { color: #fff; }
.next-step-card .text-link { border-color: rgba(255,255,255,.5); }
.landing-story-section {
  padding-top: 0;
}
.landing-story-section .copy-block > p:first-child {
  font-size: clamp(1.05rem, 1.25vw, 1.16rem);
  color: #44546b;
}
.service-trust-landing {
  padding-top: clamp(72px, 8vw, 112px);
}
.landing-cta-band {
  background: linear-gradient(135deg, #0b0f5d, #202995 58%, #00aeef);
  color: #fff;
  padding: clamp(42px, 5vw, 64px) 0;
}
.landing-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}
.landing-cta-inner h2 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  max-width: 780px;
}
.landing-cta-inner .eyebrow { color: rgba(255,255,255,.76); }
.landing-cta-inner .button {
  background: #fff;
  color: #0b0f5d;
  box-shadow: 0 18px 46px rgba(0,0,0,.18);
}
@media (max-width: 1100px) {
  .landing-answer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .landing-service-hero { padding-bottom: 96px; }
  .landing-answer-section { margin-top: -54px; }
  .landing-answer-grid { grid-template-columns: 1fr; }
  .landing-answer-card { min-height: 0; }
  .landing-cta-inner { grid-template-columns: 1fr; }
  .landing-cta-inner .button { width: 100%; }
}

/* V26: service pages are DOYJO's own Google Ads landing pages */
.service-hero .hero-lede {
  max-width: 680px;
}
.service-hero .hero-price {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 14px;
  border-left: 4px solid var(--cyan-500);
  background: rgba(0,174,239,.09);
  border-radius: 0 14px 14px 0;
  color: var(--navy-950);
  font-weight: 900;
}
.service-answer-section {
  position: relative;
  z-index: 4;
  margin-top: -40px;
  padding-top: 0 !important;
  background: transparent;
}
.service-answer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.answer-card {
  position: relative;
  min-height: 174px;
  padding: clamp(22px, 2.5vw, 30px);
  border: 1px solid rgba(175, 202, 226, .86);
  border-radius: 26px;
  background:
    linear-gradient(140deg, rgba(255,255,255,.98), rgba(246,252,255,.93));
  box-shadow: 0 18px 44px rgba(12,18,84,.085);
  overflow: hidden;
}
.answer-card::after {
  content: '';
  position: absolute;
  inset: auto -70px -88px auto;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0,174,239,.20), rgba(0,174,239,0) 68%);
  pointer-events: none;
}
.answer-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.05rem, 1.25vw, 1.38rem);
  line-height: 1.35;
  letter-spacing: -.035em;
}
.answer-card .answer-price {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: var(--navy-900);
  font-weight: 900;
}
.service-answer-primary {
  background:
    linear-gradient(140deg, rgba(17,23,109,.97), rgba(32,42,139,.94));
  border-color: rgba(0,174,239,.42);
  box-shadow: 0 24px 58px rgba(9,13,67,.18);
}
.service-answer-primary .eyebrow,
.service-answer-primary h2,
.service-answer-primary .answer-price {
  color: #fff;
}
.answer-card.action-card {
  border-color: rgba(0,174,239,.5);
}
.answer-card.action-card .button {
  margin-top: 18px;
}
.service-main-section {
  padding-top: clamp(54px, 7vw, 92px);
}
.service-copy-layout .copy-block > p:first-child {
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  color: #334256;
}
.buyer-prompt-box,
.better-question-box,
.difference-box,
.callout {
  border-radius: 26px !important;
}
.trust-section .section-heading h2 {
  max-width: 900px;
}
.form-section .form-intro {
  max-width: 860px;
}
.lead-form-card {
  border-radius: 28px;
}
.lead-form-card legend {
  color: var(--navy-950);
  font-weight: 900;
}
.lead-form-card .form-note a {
  font-weight: 900;
}
@media (max-width: 980px) {
  .service-answer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-answer-section {
    margin-top: -22px;
  }
}
@media (max-width: 640px) {
  .service-answer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .answer-card {
    min-height: 0;
    padding: 20px;
    border-radius: 22px;
  }
  .answer-card h2 {
    font-size: 1.02rem;
    line-height: 1.38;
  }
  .service-hero .hero-price {
    border-left-width: 3px;
    font-size: .95rem;
  }
}

/* V26A: service pages as focused ad landing pages */
.premium-landing-hero {
  padding-bottom: clamp(76px, 9vw, 126px);
}
.premium-landing-hero .hero-copy-block {
  max-width: 790px;
}
.premium-landing-hero h1 {
  max-width: 840px;
}
.single-goal-actions {
  margin-top: 28px;
}
.landing-hero-card {
  border-top: 0 !important;
  border-left: 5px solid var(--cyan-500);
}
.landing-hero-card h2 {
  margin-bottom: 18px;
}
.landing-hero-card .text-link {
  display: inline-flex;
  margin-top: 16px;
}
.landing-proof-band {
  position: relative;
  z-index: 8;
  margin-top: -36px;
  padding: 0 0 32px;
  background: transparent;
}
.proof-pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.proof-pill-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(188,216,236,.9);
  border-radius: 999px;
  background: rgba(255,255,255,.93);
  color: var(--navy-950);
  font-weight: 900;
  box-shadow: var(--shadow-xs);
}
.conversion-map-section.landing-answer-section {
  margin-top: 0 !important;
  padding: clamp(56px, 6vw, 82px) 0 clamp(66px, 7vw, 100px) !important;
  background: linear-gradient(180deg, #fff 0%, #f4fbff 100%);
  border-top: 1px solid rgba(216,226,238,.78);
  border-bottom: 1px solid rgba(216,226,238,.78);
}
.landing-answer-section .section-heading {
  text-align: center;
  max-width: 850px;
  margin-bottom: 28px;
}
.landing-answer-section .section-heading p {
  margin-left: auto;
  margin-right: auto;
}
.landing-answer-section .conversion-card {
  min-height: 220px;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 46px rgba(10,21,86,.08);
}
.landing-answer-section .conversion-card h2 {
  font-size: clamp(1.04rem, 1.28vw, 1.2rem);
  line-height: 1.42;
}
.landing-answer-section .conversion-card p:not(.eyebrow) {
  color: var(--blue-700);
  font-size: .92rem;
}
.landing-answer-section .action-card {
  background: linear-gradient(145deg, var(--navy-950), var(--navy-800));
  border-color: rgba(0,174,239,.42);
}
.service-copy-block > p:first-child {
  font-size: clamp(1.04rem, 1.2vw, 1.14rem);
  color: #425269;
}
.landing-match-callout {
  background: linear-gradient(135deg, #eefaff, #fff);
  border-color: #bde9fb;
}
.trust-section#service-proof {
  background: linear-gradient(180deg, #f3faff, #fff);
}
.trust-section#service-proof .section-heading {
  text-align: center;
  max-width: 850px;
}
.trust-section#service-proof .section-heading p {
  margin-left: auto;
  margin-right: auto;
}
.form-section .form-intro {
  text-align: center;
  max-width: 850px;
}
.form-section .form-intro p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) {
  .premium-landing-hero { padding-bottom: 82px; }
  .landing-proof-band { margin-top: -24px; padding-bottom: 26px; }
  .proof-pill-grid { justify-content: flex-start; }
  .proof-pill-grid span { width: 100%; justify-content: center; text-align: center; }
  .landing-answer-section .conversion-card { min-height: 0; }
}

/* V26: Service pages as DOYJO Google Ads landing pages
   Aligns each service page to: clarity, value, fit, proof, differentiation, CTA. */
.service-hero-grid {
  align-items: center;
}
.landing-service-hero .hero-copy {
  max-width: 780px;
}
.landing-service-hero .hero-lede {
  max-width: 720px;
}
.landing-offer-card {
  border-radius: 34px;
  box-shadow: 0 34px 90px rgba(10, 15, 82, .14);
}
.landing-offer-card h2 {
  font-size: clamp(1.38rem, 2.15vw, 2.08rem);
  margin-bottom: 12px;
}
.landing-offer-card p {
  color: #51627a;
}
.compact-checks {
  margin-top: 20px;
}
.compact-checks li {
  line-height: 1.38;
}
.landing-proof-strip {
  margin-top: -52px;
  padding-bottom: clamp(32px, 5vw, 68px) !important;
  position: relative;
  z-index: 5;
  background: transparent;
}
.v26-intent-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.v26-intent-grid .conversion-card {
  min-height: 210px;
  padding: clamp(22px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.v26-intent-grid .conversion-card h2 {
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  line-height: 1.17;
}
.v26-intent-grid .conversion-card p {
  font-size: .95rem;
}
.v26-intent-grid .action-card p {
  color: rgba(255,255,255,.78);
}
.v26-intent-grid .action-card .button {
  background: linear-gradient(135deg, var(--electric), var(--electric-2));
  color: var(--navy-1000) !important;
  box-shadow: 0 16px 34px rgba(0, 184, 245, .25);
  width: fit-content;
}
.service-copy-layout {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
}
.service-copy-block {
  max-width: 860px;
}
.service-copy-block p {
  font-size: clamp(1rem, 1.02vw, 1.12rem);
  line-height: 1.78;
  color: #4f6076;
}
.landing-explainer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .82fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: stretch;
}
.landing-explainer-grid .buyer-prompt-box,
.landing-explainer-grid .better-question-box {
  margin: 0;
}
.landing-explainer-grid .better-question-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-deliverables-block > h2 {
  margin-bottom: 20px;
}
.service-difference-box {
  max-width: 980px;
  border-top: 5px solid var(--electric);
}
.service-proof-section .section-heading h2 {
  max-width: 720px;
}
.compact-proof-card {
  min-height: 100%;
}
.compact-proof-card .case-content p {
  font-size: .95rem;
}
.landing-form-section {
  padding-top: clamp(72px, 8vw, 120px) !important;
}
.landing-form-section .form-intro {
  text-align: center;
  margin-bottom: 26px;
}
.landing-form-section .form-intro h2,
.landing-form-section .form-intro p {
  margin-left: auto;
  margin-right: auto;
}
.landing-form-section .lead-form-card {
  box-shadow: 0 36px 100px rgba(10,15,82,.12);
}
@media (max-width: 1180px) {
  .v26-intent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .landing-explainer-grid {
    grid-template-columns: 1fr;
  }
  .landing-proof-strip {
    margin-top: 0;
    padding-top: 24px !important;
  }
}
@media (max-width: 680px) {
  .v26-intent-grid {
    grid-template-columns: 1fr;
  }
  .v26-intent-grid .conversion-card {
    min-height: 0;
  }
  .v26-intent-grid .action-card .button {
    width: 100%;
  }
  .landing-service-hero .hero-actions .button {
    width: 100%;
  }
  .landing-form-section .form-intro {
    text-align: left;
  }
}

/* V26: service pages as focused Google Ads landing pages */
.premium-landing-hero {
  position: relative;
  overflow: hidden;
}
.premium-landing-hero .hero-grid {
  align-items: center;
  gap: clamp(34px, 6vw, 92px);
}
.hero-copy-block .hero-actions {
  margin-top: 26px;
}
.landing-answer-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 42px);
  border-top: 5px solid var(--cyan-500);
}
.landing-answer-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -68px;
  bottom: -76px;
  background: radial-gradient(circle, rgba(0,174,239,.22), rgba(0,174,239,0) 68%);
  pointer-events: none;
}
.landing-answer-card h2 {
  font-size: clamp(1.32rem, 2.1vw, 2rem);
  margin-bottom: 12px;
}
.compact-list li {
  margin-bottom: 10px;
}
.landing-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.landing-trust-pills span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid rgba(0,174,239,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 28px rgba(10,21,86,.06);
  color: var(--navy-950);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: -.01em;
}
.landing-trust-pills span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(0,174,239,.12);
}
.landing-sequence-section {
  padding-top: clamp(46px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 82px);
  background: linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
  border-top: 1px solid rgba(215,226,239,.75);
  border-bottom: 1px solid rgba(215,226,239,.75);
}
.landing-sequence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.landing-sequence-card {
  position: relative;
  min-height: 230px;
  padding: clamp(24px, 2.7vw, 34px);
  border: 1px solid rgba(188,216,236,.92);
  border-radius: 30px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 46px rgba(10,21,86,.075);
}
.landing-sequence-card::before {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  border-radius: 8px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--cyan-500), var(--blue-600));
}
.landing-sequence-card h2 {
  font-size: clamp(1.08rem, 1.45vw, 1.42rem);
  line-height: 1.35;
  letter-spacing: -.035em;
}
.landing-sequence-card.action-card {
  color: #fff;
  border-color: rgba(0,174,239,.48);
  background: radial-gradient(circle at 80% 8%, rgba(0,174,239,.22), transparent 34%), linear-gradient(145deg, var(--navy-950), var(--navy-800));
}
.landing-sequence-card.action-card .eyebrow,
.landing-sequence-card.action-card h2 {
  color: #fff;
}
.landing-sequence-card.action-card .button {
  margin-top: 20px;
}
.service-copy-block {
  max-width: 940px;
}
.service-copy-block > p {
  max-width: 820px;
}
.premium-box {
  margin-top: 30px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 28px;
}
.premium-box h2,
.premium-box h3 {
  max-width: 760px;
}
.premium-deliverables {
  margin-top: 20px;
}
.premium-deliverables .deliverable {
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(248,252,255,.96));
}
.difference-box.premium-box {
  margin-top: 34px;
  border-color: rgba(0,174,239,.24);
  background: linear-gradient(135deg, rgba(239,250,255,.95), rgba(255,255,255,.98));
}
.trust-section .compact-proof-card .case-image {
  min-height: 210px;
}
.trust-section .compact-proof-card .case-image img {
  object-position: top center;
}
.form-section {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}
.form-section .lead-form-card {
  border-top: 5px solid var(--cyan-500);
}
@media (max-width: 980px) {
  .landing-sequence-grid { grid-template-columns: 1fr; }
  .landing-sequence-card { min-height: 0; }
}
@media (max-width: 640px) {
  .premium-landing-hero .hero-grid { gap: 28px; }
  .landing-trust-pills span { width: 100%; justify-content: center; }
  .landing-answer-card { padding: 24px; }
  .landing-sequence-card { border-radius: 24px; padding: 22px; }
  .service-copy-block > p { max-width: 100%; }
}

/* V26B: service pages as DOYJO Google Ads landing pages — six-question conversion alignment */
.conversion-answers {
  margin-top: 0 !important;
  padding: clamp(62px, 7vw, 104px) 0 clamp(70px, 7vw, 112px) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
  border-top: 1px solid rgba(215,226,239,.72);
  border-bottom: 1px solid rgba(215,226,239,.72);
}
.conversion-answers .section-heading.left {
  text-align: left;
  max-width: 880px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.conversion-answers .section-heading.left p {
  margin-left: 0;
  margin-right: 0;
}
.conversion-answers .landing-answer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.conversion-answers .landing-answer-card {
  min-height: 250px;
  border-radius: 30px;
  border-top: 5px solid var(--cyan-500);
  background: rgba(255,255,255,.96);
  box-shadow: 0 22px 56px rgba(10,21,86,.085);
}
.conversion-answers .landing-answer-card h2 {
  font-size: clamp(1.04rem, 1.32vw, 1.32rem);
  line-height: 1.36;
  margin-bottom: 0;
}
.conversion-answers .landing-answer-card p:not(.eyebrow) {
  margin-top: 14px;
  color: #55677f;
  font-size: .94rem;
  line-height: 1.6;
}
.conversion-answers .next-step-card {
  border-top-color: var(--electric);
  background: radial-gradient(circle at 88% 4%, rgba(0,184,245,.24), transparent 36%), linear-gradient(145deg, var(--navy-950), var(--navy-800));
  color: #fff;
}
.conversion-answers .next-step-card .eyebrow,
.conversion-answers .next-step-card h2,
.conversion-answers .next-step-card .text-link {
  color: #fff;
}
.conversion-answers .next-step-card .text-link {
  margin-top: 18px;
}
@media (max-width: 1080px) {
  .conversion-answers .landing-answer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .conversion-answers { padding: 48px 0 66px !important; }
  .conversion-answers .section-heading.left { text-align: left; }
  .conversion-answers .landing-answer-grid { grid-template-columns: 1fr; gap: 16px; }
  .conversion-answers .landing-answer-card { min-height: 0; padding: 22px; border-radius: 24px; }
  .conversion-answers .landing-answer-card h2 { font-size: 1.06rem; }
}

/* V27: landing-page hero fit and service-page polish
   Keep the premium feel, but make the above-the-fold experience actually work:
   clear H1, visible value copy, visible CTA, and compact answer cards. */
.service-hero.landing-service-hero {
  padding: clamp(54px, 6.2vw, 96px) 0 clamp(58px, 6.4vw, 100px) !important;
  min-height: auto !important;
}
.service-hero.landing-service-hero .hero-grid {
  max-width: 1120px;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px) !important;
  gap: clamp(34px, 5.2vw, 72px) !important;
  align-items: center;
}
.service-hero.landing-service-hero .hero-copy-panel {
  max-width: 670px;
}
.service-hero.landing-service-hero h1 {
  font-size: clamp(2.2rem, 3.55vw, 4.25rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.055em;
  max-width: 680px;
  margin-bottom: 18px;
}
.service-hero.landing-service-hero .hero-lede {
  font-size: clamp(1rem, .98vw, 1.12rem) !important;
  line-height: 1.58;
  max-width: 620px;
  margin-bottom: 0;
}
.service-hero.landing-service-hero .hero-price {
  max-width: 620px;
  margin-top: 18px;
  font-size: clamp(.96rem, .92vw, 1.06rem);
  line-height: 1.5;
}
.service-hero.landing-service-hero .hero-actions {
  margin-top: 22px;
}
.service-hero.landing-service-hero .landing-hero-card {
  align-self: center;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(10,21,86,.12);
}
.service-hero.landing-service-hero .check-list {
  gap: 12px;
}
.service-hero.landing-service-hero .check-list li {
  margin-bottom: 0;
  font-size: clamp(.9rem, .9vw, 1rem);
  line-height: 1.48;
}
.conversion-answers {
  padding: clamp(42px, 5vw, 74px) 0 clamp(50px, 5.6vw, 86px) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
}
.conversion-answers .section-heading.left {
  max-width: 760px;
  margin-bottom: 24px;
}
.conversion-answers .section-heading.left h2 {
  font-size: clamp(1.55rem, 2.15vw, 2.35rem);
  line-height: 1.1;
}
.conversion-answers .section-heading.left p {
  max-width: 680px;
  font-size: .98rem;
}
.conversion-answers .landing-answer-grid {
  max-width: 1120px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.conversion-answers .landing-answer-card {
  min-height: 0 !important;
  padding: clamp(20px, 2.2vw, 26px) !important;
  border-radius: 24px;
  border-top-width: 4px;
  box-shadow: 0 18px 44px rgba(10,21,86,.075);
}
.conversion-answers .landing-answer-card h2,
.conversion-answers .landing-answer-card h3 {
  font-size: clamp(1.02rem, 1.05vw, 1.24rem) !important;
  line-height: 1.28 !important;
  letter-spacing: -.025em;
  margin: 0;
  max-width: none;
}
.conversion-answers .landing-answer-card p:not(.eyebrow) {
  margin-top: 10px;
  font-size: .9rem;
  line-height: 1.55;
}
.conversion-answers .next-step-card {
  background: radial-gradient(circle at 88% 4%, rgba(0,184,245,.32), transparent 42%), linear-gradient(145deg, #11176d, #0a0f52);
}
.conversion-answers .next-step-card h3,
.conversion-answers .next-step-card .text-link,
.conversion-answers .next-step-card .eyebrow {
  color: #fff !important;
}
.service-main-section .service-copy-layout,
.proof-near-top .related-proof-grid,
.form-section .form-shell,
.landing-story-section .container {
  max-width: 1120px;
}
@media (max-width: 1180px) {
  .service-hero.landing-service-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px) !important;
  }
  .service-hero.landing-service-hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.65rem) !important;
  }
}
@media (max-width: 980px) {
  .service-hero.landing-service-hero {
    padding: 50px 0 64px !important;
  }
  .service-hero.landing-service-hero .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .service-hero.landing-service-hero .hero-copy-panel,
  .service-hero.landing-service-hero .hero-lede,
  .service-hero.landing-service-hero .hero-price {
    max-width: 720px;
  }
  .service-hero.landing-service-hero .landing-hero-card {
    max-width: 720px;
  }
  .conversion-answers .landing-answer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .service-hero.landing-service-hero {
    padding: 38px 0 48px !important;
  }
  .service-hero.landing-service-hero h1 {
    font-size: clamp(2rem, 10vw, 2.85rem) !important;
    line-height: 1.04 !important;
  }
  .service-hero.landing-service-hero .hero-actions {
    gap: 10px;
  }
  .conversion-answers {
    padding: 38px 0 54px !important;
  }
  .conversion-answers .landing-answer-grid {
    grid-template-columns: 1fr;
  }
  .conversion-answers .landing-answer-card {
    padding: 20px !important;
    border-radius: 20px;
  }
}

/* V27: premium landing balance — service pages should fit above the fold and feel designed, not oversized */
body {
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  color: #2c384c;
}
h1, h2, h3, .nav-drop-button, .primary-nav, .button {
  font-family: Sora, Manrope, ui-sans-serif, system-ui, sans-serif;
}
.site-header { box-shadow: 0 10px 28px rgba(9,13,67,.06); }
.nav-wrap { min-height: 78px; }
.primary-nav { align-items: center !important; }
.primary-nav > a:not(.button), .primary-nav .nav-drop-button {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.service-hero.landing-service-hero,
.service-hero.premium-landing-hero {
  padding: clamp(44px, 5.4vw, 76px) 0 clamp(48px, 5.8vw, 86px) !important;
  min-height: auto !important;
  background:
    radial-gradient(circle at 79% 10%, rgba(0,174,239,.20), transparent 31%),
    radial-gradient(circle at 15% 94%, rgba(46,49,146,.08), transparent 28%),
    linear-gradient(132deg, #ffffff 0%, #f8fbff 46%, #eaf8ff 100%) !important;
}
.service-hero .hero-grid,
.premium-landing-hero .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 430px) !important;
  gap: clamp(34px, 6vw, 78px) !important;
  align-items: center !important;
}
.service-hero .hero-copy-panel,
.service-hero .hero-copy-block,
.landing-service-hero .hero-copy-panel {
  max-width: 760px !important;
}
.service-hero h1,
.premium-landing-hero h1,
.landing-service-hero h1 {
  max-width: 740px !important;
  font-size: clamp(2.15rem, 3.18vw, 3.58rem) !important;
  line-height: 1.015 !important;
  letter-spacing: -.06em !important;
  margin-bottom: clamp(14px, 1.8vw, 22px) !important;
}
.service-hero .eyebrow { margin-bottom: 12px; }
.service-hero .hero-lede,
.landing-service-hero .hero-lede {
  max-width: 650px !important;
  font-size: clamp(.98rem, 1.02vw, 1.08rem) !important;
  line-height: 1.62 !important;
}
.service-hero .hero-price {
  margin-top: 16px !important;
  font-size: clamp(.92rem, .92vw, 1rem) !important;
  line-height: 1.55 !important;
}
.service-hero .hero-actions { margin-top: 22px !important; }
.service-hero .landing-hero-card,
.service-hero .hero-card {
  width: min(100%, 430px) !important;
  justify-self: end !important;
  padding: clamp(22px, 2.7vw, 32px) !important;
  border-radius: 26px !important;
  border: 1px solid rgba(186,209,232,.92) !important;
  border-top: 5px solid var(--cyan-500) !important;
  box-shadow: 0 28px 70px rgba(9,13,67,.13) !important;
}
.service-hero .check-list { gap: 13px !important; }
.service-hero .check-list li {
  font-size: clamp(.9rem, .92vw, .98rem) !important;
  line-height: 1.48 !important;
  font-weight: 800 !important;
}

.conversion-answers,
.landing-answer-section {
  margin-top: 0 !important;
  padding: clamp(52px, 6vw, 84px) 0 clamp(58px, 6.8vw, 94px) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbff 100%) !important;
}
.conversion-answers .section-heading.left,
.landing-answer-section .section-heading {
  max-width: 760px !important;
  margin-bottom: clamp(22px, 3vw, 34px) !important;
}
.conversion-answers .section-heading h2,
.landing-answer-section .section-heading h2 {
  font-size: clamp(1.65rem, 2.45vw, 2.45rem) !important;
}
.conversion-answers .landing-answer-grid,
.landing-answer-grid {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 24px) !important;
}
.conversion-answers .landing-answer-card,
.landing-answer-card {
  min-height: 0 !important;
  padding: clamp(22px, 2.4vw, 30px) !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 48px rgba(9,13,67,.085) !important;
  background: rgba(255,255,255,.96) !important;
}
.conversion-answers .landing-answer-card h2,
.landing-answer-card h2 {
  max-width: none !important;
  font-size: clamp(1.02rem, 1.22vw, 1.25rem) !important;
  line-height: 1.34 !important;
  letter-spacing: -.025em !important;
}
.conversion-answers .landing-answer-card p:not(.eyebrow),
.landing-answer-card p:not(.eyebrow) {
  font-size: .92rem !important;
  line-height: 1.58 !important;
}
.conversion-answers .next-step-card,
.landing-answer-card.next-step-card {
  background: radial-gradient(circle at 85% 0%, rgba(0,174,239,.3), transparent 42%), linear-gradient(145deg, #11176d, #0a0d47) !important;
}
.conversion-answers .next-step-card .text-link,
.landing-answer-card.next-step-card .text-link {
  display: inline-flex;
  margin-top: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--cyan-500);
  color: var(--navy-950) !important;
  font-weight: 900;
}
.service-main-section { padding-top: clamp(58px, 6vw, 86px) !important; }
.service-copy-layout { max-width: 980px !important; }
.service-copy-block, .copy-block { max-width: 880px !important; }
.service-copy-block > p, .copy-block > p { max-width: 760px !important; }
.buyer-prompt-box, .better-question-box, .difference-box, .premium-box {
  border-radius: 24px !important;
  box-shadow: 0 18px 48px rgba(9,13,67,.07) !important;
}
.deliverables-grid { gap: 12px !important; }
.deliverable {
  min-height: 54px !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 22px rgba(9,13,67,.045) !important;
}
.related-proof-grid { gap: 22px !important; }
.compact-proof-card { border-radius: 24px !important; }
.form-section { padding-top: clamp(58px, 7vw, 90px) !important; }
.form-section .lead-form-card { border-radius: 24px !important; }

@media (min-width: 1500px) {
  .service-hero h1,
  .premium-landing-hero h1,
  .landing-service-hero h1 { font-size: 3.72rem !important; }
}
@media (max-width: 1100px) {
  .service-hero .hero-grid,
  .premium-landing-hero .hero-grid { grid-template-columns: 1fr !important; }
  .service-hero .landing-hero-card,
  .service-hero .hero-card { justify-self: start !important; max-width: 640px !important; }
  .conversion-answers .landing-answer-grid,
  .landing-answer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 720px) {
  .nav-wrap { min-height: 68px; }
  .service-hero.landing-service-hero,
  .service-hero.premium-landing-hero { padding: 38px 0 48px !important; }
  .service-hero h1,
  .premium-landing-hero h1,
  .landing-service-hero h1 {
    font-size: clamp(2rem, 9.6vw, 2.85rem) !important;
    line-height: 1.04 !important;
  }
  .service-hero .hero-actions .button { width: 100%; }
  .conversion-answers .landing-answer-grid,
  .landing-answer-grid { width: min(100% - 34px, var(--max)); grid-template-columns: 1fr !important; }
  .conversion-answers .section-heading.left,
  .landing-answer-section .section-heading { width: min(100% - 34px, var(--max)); }
  .checkbox-grid { grid-template-columns: 1fr !important; }
  .form-grid, .form-grid.two { grid-template-columns: 1fr !important; }
}
@media (max-width: 420px) {
  .container { width: min(100% - 30px, var(--max)); }
  .service-hero h1,
  .premium-landing-hero h1,
  .landing-service-hero h1 { font-size: clamp(1.85rem, 10.2vw, 2.4rem) !important; }
  .hero-lede { font-size: .96rem !important; }
}

/* DOYJO 2026 v27
   Above-the-fold landing-page refinement: shorter service hero rhythm, cleaner scale,
   visible CTA area, and more consistent service-section spacing on desktop and mobile. */
:root {
  --section-pad: clamp(64px, 7vw, 104px);
}
.topbar-inner {
  min-height: 28px;
  font-size: .78rem;
}
.nav-wrap {
  min-height: 74px;
}
.brand-logo {
  width: clamp(160px, 13vw, 188px);
}
h1 {
  font-size: clamp(2.1rem, 3.55vw, 3.85rem) !important;
  line-height: 1.02;
  letter-spacing: -.052em;
}
h2 {
  font-size: clamp(1.55rem, 2.45vw, 2.65rem) !important;
}
.hero, .inner-hero, .case-hero, .product-hero, .landing-hero {
  padding: clamp(68px, 7.2vw, 110px) 0 clamp(66px, 7vw, 104px) !important;
}
.service-hero {
  padding: clamp(46px, 5vw, 74px) 0 clamp(48px, 5vw, 76px) !important;
  min-height: auto !important;
}
.service-hero .hero-grid {
  grid-template-columns: minmax(0, .94fr) minmax(300px, .62fr) !important;
  gap: clamp(32px, 5.2vw, 76px) !important;
  align-items: center !important;
}
.service-hero h1 {
  font-size: clamp(2.18rem, 3.18vw, 3.45rem) !important;
  line-height: 1.02 !important;
  max-width: 700px;
  margin-bottom: 16px;
}
.service-hero .hero-lede {
  max-width: 620px;
  font-size: clamp(.98rem, 1vw, 1.06rem);
  line-height: 1.56;
}
.service-hero .hero-price {
  margin-top: 13px;
  margin-bottom: 0;
  font-size: .96rem;
  line-height: 1.45;
}
.service-hero .hero-actions {
  margin-top: 19px;
}
.service-hero .hero-card {
  max-width: 455px;
  justify-self: end;
  padding: clamp(22px, 2.35vw, 32px);
  border-radius: 28px;
}
.service-hero .hero-card .eyebrow {
  margin-bottom: 14px;
}
.service-hero .check-list {
  gap: 13px;
}
.service-hero .check-list li {
  font-size: .96rem;
  line-height: 1.44;
  padding-left: 29px;
}
.landing-answer-section {
  margin-top: 0 !important;
  padding-top: clamp(42px, 5vw, 72px) !important;
  padding-bottom: clamp(42px, 5vw, 72px) !important;
}
.landing-answer-grid {
  width: min(1040px, 100%);
  margin-inline: auto;
}
.answer-card {
  min-height: 146px !important;
  padding: clamp(20px, 2vw, 28px) !important;
}
.answer-card h2 {
  font-size: clamp(1rem, 1.15vw, 1.2rem) !important;
  line-height: 1.24 !important;
}
.answer-card.action-card .button {
  min-height: 44px;
}
.proof-near-top {
  padding-top: clamp(56px, 6vw, 88px) !important;
}
.proof-near-top .section-heading {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.service-main-section {
  padding-top: clamp(56px, 6vw, 88px) !important;
}
.service-copy-layout {
  width: min(980px, calc(100% - clamp(34px, 6vw, 84px))) !important;
}
.copy-block {
  max-width: 840px;
}
.buyer-prompt-box,
.better-question-box,
.difference-box,
.callout {
  margin: 28px 0;
  padding: clamp(24px, 2.7vw, 34px);
}
.form-section {
  padding-top: clamp(62px, 6.4vw, 96px) !important;
}
.form-intro {
  max-width: 760px;
  text-align: left;
}
@media (max-width: 1100px) {
  .service-hero .hero-grid {
    grid-template-columns: 1fr !important;
  }
  .service-hero .hero-card {
    justify-self: start;
    max-width: 680px;
  }
}
@media (max-width: 760px) {
  .topbar-inner span {
    display: none;
  }
  .topbar-inner {
    min-height: 26px;
  }
  .nav-wrap {
    min-height: 66px;
  }
  .brand-logo {
    width: 148px;
  }
  h1 {
    font-size: clamp(1.92rem, 10vw, 2.75rem) !important;
    letter-spacing: -.045em;
  }
  h2 {
    font-size: clamp(1.42rem, 7.2vw, 2.05rem) !important;
  }
  .service-hero,
  .hero, .inner-hero, .case-hero, .product-hero, .landing-hero {
    padding: 44px 0 54px !important;
  }
  .service-hero h1 {
    font-size: clamp(1.95rem, 10vw, 2.75rem) !important;
    max-width: 100%;
  }
  .service-hero .hero-card {
    padding: 22px;
  }
  .landing-answer-section {
    padding: 40px 0 !important;
  }
  .answer-card {
    min-height: auto !important;
  }
  .service-copy-layout,
  .form-container {
    width: min(100% - 28px, var(--max)) !important;
  }
}

/* V27: premium agency design system refinement
   Cleaner typography, tighter landing-page heroes, stronger visual rhythm, and more Elementor-style polish without page-builder bloat. */
:root {
  --font-sans: 'Plus Jakarta Sans', Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Plus Jakarta Sans', Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --navy-deep: #080d49;
  --navy-ink: #0b105e;
  --cyan-glow: #13c8ff;
  --premium-bg: #f5fbff;
  --premium-line: rgba(168, 194, 224, .74);
  --premium-shadow: 0 28px 86px rgba(7, 13, 70, .105);
  --premium-shadow-soft: 0 16px 46px rgba(7, 13, 70, .075);
  --premium-radius: 28px;
  --premium-radius-lg: 38px;
  --max: 1160px;
  --section-pad: clamp(64px, 7.2vw, 104px);
}
html { font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: #1a2740;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 86% 4%, rgba(0,184,245,.085), transparent 24rem),
    radial-gradient(circle at 0% 36%, rgba(46,49,146,.055), transparent 28rem);
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-deep);
  letter-spacing: -.047em;
}
h1 {
  font-size: clamp(2.25rem, 3.42vw, 4.18rem);
  line-height: 1.02;
  max-width: 760px;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.55rem, 2.24vw, 2.65rem);
  line-height: 1.08;
  max-width: 780px;
  text-wrap: balance;
}
h3 {
  font-size: clamp(1.02rem, 1.25vw, 1.35rem);
  line-height: 1.22;
}
p, li { line-height: 1.68; }
.hero-lede, .section-heading p, .copy-block p, .portfolio-row-content p:not(.eyebrow) {
  color: #53647d;
  font-size: clamp(.98rem, .96vw, 1.08rem);
  line-height: 1.72;
}
.eyebrow {
  color: #0d66d9;
  font-size: .705rem;
  letter-spacing: .18em;
  font-weight: 900;
  line-height: 1.35;
}
.container { width: min(100% - 44px, var(--max)); }

/* Header polish */
.topbar {
  background: linear-gradient(90deg, #070b45, #171b78 54%, #070b45);
  font-size: .77rem;
}
.topbar-inner {
  min-height: 28px;
  justify-content: center;
  gap: clamp(18px, 4vw, 48px);
}
.site-header {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(22px) saturate(1.1);
  border-bottom: 1px solid rgba(202, 215, 232, .72);
  box-shadow: 0 10px 36px rgba(8,13,73,.06);
}
.nav-wrap {
  min-height: 76px;
}
.brand-logo {
  width: 178px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(8,13,73,.07));
}
.primary-nav {
  align-items: center;
  gap: clamp(14px, 1.45vw, 21px);
}
.primary-nav > a:not(.button), .nav-drop-button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  line-height: 1;
  color: var(--navy-deep);
  font-size: .84rem;
  font-weight: 850;
}
.nav-dropdown { display: inline-flex; align-items: center; }
.nav-drop-button { padding-top: 0; }
.nav-cta, .button.small.nav-cta {
  min-height: 44px;
  padding-inline: 24px;
  border-radius: 999px;
  font-weight: 900;
}

/* Buttons */
.button {
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: -.01em;
  background: linear-gradient(135deg, #10156d, #050934);
  box-shadow: 0 18px 36px rgba(8,13,73,.22);
}
.button:hover { transform: translateY(-1px); box-shadow: 0 22px 46px rgba(8,13,73,.26); }
.button.ghost {
  background: rgba(255,255,255,.78);
  border: 1.5px solid rgba(8,13,73,.72);
  color: var(--navy-deep) !important;
}
.button.ghost:hover {
  background: var(--navy-deep);
  color: #fff !important;
}

/* Premium hero system */
.hero, .inner-hero, .service-hero, .case-hero, .product-hero, .landing-hero {
  padding: clamp(56px, 6.2vw, 92px) 0 clamp(68px, 6.8vw, 108px);
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 43%, rgba(226,247,255,.74) 100%),
    radial-gradient(circle at 84% 16%, rgba(0,184,245,.28), transparent 22rem),
    radial-gradient(circle at 18% 92%, rgba(46,49,146,.09), transparent 24rem);
  border-bottom: 1px solid rgba(205, 221, 238, .78);
}
.hero::before, .service-hero::before, .case-hero::before, .product-hero::before, .inner-hero::before,
.hero::after, .service-hero::after, .case-hero::after, .product-hero::after, .inner-hero::after {
  opacity: .74;
}
.hero-grid, .premium-landing-hero .hero-grid, .landing-service-hero .hero-grid {
  grid-template-columns: minmax(0, .95fr) minmax(320px, .66fr);
  gap: clamp(30px, 5.4vw, 72px);
  align-items: center;
}
.hero-copy-panel, .hero-copy-block {
  position: relative;
  max-width: 770px;
}
.hero-copy-panel::before, .hero-copy-block::before {
  content: '';
  display: block;
  width: 58px;
  height: 4px;
  margin: 0 0 22px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan-glow), #5c55ff);
  box-shadow: 0 0 0 8px rgba(19,200,255,.10);
}
.landing-service-hero h1,
.premium-landing-hero h1 {
  font-size: clamp(2.28rem, 3.28vw, 3.92rem);
  line-height: 1.03;
  max-width: 780px;
}
.landing-service-hero .hero-lede,
.premium-landing-hero .hero-lede {
  max-width: 670px;
  margin-top: 18px;
}
.hero-price {
  display: inline-flex;
  margin-top: 18px;
  padding: 9px 14px;
  border: 1px solid rgba(0,174,239,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 10px 26px rgba(8,13,73,.055);
  color: var(--navy-deep);
  font-size: .9rem;
}
.hero-actions { margin-top: 24px; gap: 12px; }
.hero-card, .landing-hero-card, .landing-offer-card {
  border: 1px solid rgba(187, 207, 231, .82);
  border-radius: var(--premium-radius-lg);
  box-shadow: var(--premium-shadow);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.93)),
    radial-gradient(circle at 98% 0%, rgba(0,184,245,.18), transparent 14rem);
  overflow: hidden;
}
.hero-card::before, .landing-hero-card::before, .landing-offer-card::before {
  height: 5px;
  opacity: 1;
  background: linear-gradient(90deg, var(--cyan-glow), #665bff);
}
.landing-hero-card {
  max-width: 430px;
  justify-self: end;
  padding: clamp(26px, 3vw, 36px);
}
.landing-hero-card .check-list { gap: 16px; }
.landing-hero-card .check-list li {
  font-size: .95rem;
  line-height: 1.55;
  font-weight: 780;
}

/* Homepage showcase polish */
.hero-with-showcase .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(360px, .84fr); }
.showcase-stack {
  min-height: clamp(330px, 34vw, 470px);
  filter: drop-shadow(0 34px 70px rgba(8,13,73,.18));
}
.showcase-tile {
  border: 10px solid #fff;
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(8,13,73,.18);
}
.showcase-panel {
  margin-top: -10px;
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
}
.logo-proof-band {
  padding: clamp(30px, 4.4vw, 54px) 0;
  background:
    linear-gradient(90deg, #fff, #f7fcff 48%, #fff),
    radial-gradient(circle at 50% 0%, rgba(0,174,239,.08), transparent 22rem);
}
.logo-pill {
  border-radius: 20px;
  border-color: rgba(201, 215, 232, .72);
  box-shadow: 0 12px 34px rgba(8,13,73,.06);
}

/* Six-question service cards: premium, compact, no blogroll feel */
.conversion-answers {
  position: relative;
  z-index: 4;
  margin-top: -38px !important;
  padding: 0 0 clamp(58px, 6.2vw, 92px) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.0), #fff 18%, #f7fcff 100%);
  border-top: 0;
}
.conversion-answers .section-heading.left {
  position: relative;
  max-width: 980px;
  padding: 24px 30px;
  margin: 0 auto clamp(20px, 3vw, 34px);
  border: 1px solid rgba(187,207,231,.76);
  border-radius: 28px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--premium-shadow-soft);
  backdrop-filter: blur(14px);
}
.conversion-answers .section-heading.left h2 {
  font-size: clamp(1.25rem, 1.8vw, 1.95rem);
  margin-bottom: 8px;
}
.conversion-answers .section-heading.left p { max-width: 720px; }
.conversion-answers .landing-answer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.conversion-answers .landing-answer-card {
  min-height: 0;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(187,207,231,.82);
  border-top: 0;
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 42px rgba(8,13,73,.07);
}
.conversion-answers .landing-answer-card::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan-glow), #665bff);
}
.conversion-answers .landing-answer-card h2 {
  font-size: clamp(1.03rem, 1.22vw, 1.26rem);
  letter-spacing: -.035em;
  line-height: 1.34;
}
.conversion-answers .landing-answer-card p:not(.eyebrow) {
  font-size: .92rem;
  line-height: 1.58;
}
.conversion-answers .next-step-card {
  background: linear-gradient(145deg, #0b105e, #101890 62%, #0b105e);
  box-shadow: 0 22px 64px rgba(8,13,73,.18);
}
.conversion-answers .next-step-card::before {
  background: linear-gradient(90deg, var(--cyan-glow), rgba(255,255,255,.72));
}

/* Service body: designed panels and cleaner rhythm */
.service-main-section {
  padding-top: clamp(58px, 6.8vw, 96px);
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 58%, #f7fbff 100%);
}
.service-copy-layout, .service-copy-block {
  max-width: 980px;
  margin-inline: auto;
}
.service-copy-block > p {
  max-width: 780px;
  color: #4c5e77;
  font-size: 1.02rem;
}
.buyer-prompt-box, .better-question-box, .difference-box, .callout, .premium-box {
  border: 1px solid rgba(187,207,231,.78);
  border-radius: 26px;
  background: linear-gradient(145deg, #fff, #f8fcff);
  box-shadow: var(--premium-shadow-soft);
}
.buyer-prompt-box {
  padding: clamp(22px, 3vw, 34px);
}
.better-question-box {
  padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(135deg, #effbff, #ffffff 64%);
}
.better-question-box h3 { font-size: clamp(1.12rem, 1.45vw, 1.5rem); }
.deliverables-grid {
  gap: 14px;
  margin-top: 22px;
}
.deliverable {
  border: 1px solid rgba(187,207,231,.78);
  border-radius: 15px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 8px 24px rgba(8,13,73,.045);
  font-size: .92rem;
  font-weight: 780;
}
.difference-box {
  padding: clamp(24px, 3vw, 34px);
  margin-top: 32px;
  border-left: 0;
  overflow: hidden;
  position: relative;
}
.difference-box::after {
  content: '';
  position: absolute;
  right: -64px;
  top: -72px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,184,245,.2), transparent 68%);
}
.difference-box h2 { font-size: clamp(1.15rem, 1.58vw, 1.66rem); max-width: 840px; }

/* Proof sections */
.trust-section, .service-trust-landing {
  background:
    linear-gradient(180deg, #eef8ff 0%, #f7fcff 100%);
  overflow: hidden;
}
.related-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.case-card, .compact-proof-card, .portfolio-row, .price-card, .service-card {
  border: 1px solid rgba(187,207,231,.76);
  border-radius: 28px;
  box-shadow: var(--premium-shadow-soft);
  background: #fff;
}
.compact-proof-card .case-image {
  aspect-ratio: 16 / 10;
  min-height: 0 !important;
}
.compact-proof-card .case-image img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.case-content { padding: 24px; }
.mini-testimonial-grid { margin-top: 28px; }
.testimonial-card { border-radius: 24px; }
.landing-cta-band {
  position: relative;
  padding: clamp(46px, 5.5vw, 76px) 0;
  background:
    linear-gradient(rgba(8,13,73,.86), rgba(8,13,73,.88)),
    url('/assets/img/case-studies/landscaping-lawn-home.jpg') center top / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.landing-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,184,245,.16), transparent 46%, rgba(103,87,255,.15));
}
.landing-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.landing-cta-inner h2, .landing-cta-inner .eyebrow { color: #fff; }
.landing-cta-inner h2 { max-width: 760px; }
.landing-cta-inner .button {
  background: linear-gradient(135deg, var(--cyan-glow), #48dcff);
  color: var(--navy-deep) !important;
  box-shadow: 0 18px 44px rgba(0,184,245,.24);
}

/* Forms: premium lead form, easier scanning */
.form-section {
  background:
    radial-gradient(circle at 84% 14%, rgba(0,184,245,.18), transparent 20rem),
    linear-gradient(180deg, #eef9ff 0%, #ffffff 100%);
}
.form-intro {
  max-width: 760px;
  text-align: center;
}
.form-intro h2 { margin-inline: auto; }
.form-container .lead-form-card, .form-shell .lead-form-card, .form-section .lead-form-card {
  max-width: 980px;
  border-radius: 30px;
  border-top: 5px solid var(--cyan-glow);
  box-shadow: 0 32px 86px rgba(8,13,73,.12);
}
.checkbox-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.checkbox-grid label {
  background: #f7fbff;
  border: 1px solid rgba(205,218,235,.68);
}
.lead-form input, .lead-form select, .lead-form textarea {
  border-radius: 12px;
  min-height: 47px;
  border-color: rgba(175, 195, 218, .9);
}

/* Portfolio index: more editorial, less archive */
.portfolio-list-section {
  background: linear-gradient(180deg, #fff, #f6fbff);
}
.portfolio-row {
  position: relative;
  overflow: visible;
  grid-template-columns: minmax(360px, .85fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 54px);
  padding: clamp(24px, 3vw, 36px);
  align-items: center;
}
.portfolio-row.is-reversed { grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr); }
.portfolio-row-media {
  border-radius: 26px;
  box-shadow: 0 30px 76px rgba(8,13,73,.14);
}
.portfolio-row-media img { height: clamp(280px, 28vw, 410px); }
.portfolio-row-content h2 { font-size: clamp(1.55rem, 2.35vw, 2.75rem); }

/* Footer */
.site-footer {
  background:
    radial-gradient(circle at 16% 0%, rgba(0,184,245,.16), transparent 24rem),
    linear-gradient(145deg, #060938, #10156d 74%);
}
.footer-logo {
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
}

/* Responsive tuning */
@media (max-width: 1100px) {
  .hero-grid, .premium-landing-hero .hero-grid, .landing-service-hero .hero-grid {
    grid-template-columns: 1fr;
  }
  .landing-hero-card { justify-self: start; max-width: 640px; }
  .conversion-answers { margin-top: -22px !important; }
  .conversion-answers .landing-answer-grid,
  .related-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-cta-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 900px) {
  .nav-wrap { min-height: 70px; }
  .brand-logo { width: 150px; }
  .hero, .inner-hero, .service-hero, .case-hero, .product-hero, .landing-hero {
    padding: 48px 0 66px;
  }
  .landing-service-hero h1, .premium-landing-hero h1, h1 {
    font-size: clamp(2.05rem, 9vw, 3.25rem);
    letter-spacing: -.05em;
  }
  h2 { font-size: clamp(1.48rem, 7vw, 2.35rem); }
  .checkbox-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-row, .portfolio-row.is-reversed { grid-template-columns: 1fr; }
  .portfolio-row.is-reversed .portfolio-row-media { order: 0; }
  .portfolio-row-content { order: 1; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)); }
  .topbar-inner { gap: 12px; font-size: .69rem; }
  .hero, .inner-hero, .service-hero, .case-hero, .product-hero, .landing-hero {
    padding: 38px 0 56px;
  }
  .hero-copy-panel::before, .hero-copy-block::before { margin-bottom: 16px; width: 46px; }
  .hero-actions .button { width: 100%; justify-content: center; }
  .landing-hero-card { border-radius: 26px; padding: 22px; }
  .conversion-answers { margin-top: 0 !important; padding-top: 34px !important; }
  .conversion-answers .section-heading.left { padding: 22px; border-radius: 22px; }
  .conversion-answers .landing-answer-grid,
  .related-proof-grid,
  .deliverables-grid,
  .value-grid,
  .card-grid,
  .service-grid,
  .pricing-grid { grid-template-columns: 1fr !important; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .form-container .lead-form-card, .form-shell .lead-form-card, .form-section .lead-form-card { padding: 22px; border-radius: 24px; }
  .form-grid, .form-grid.two { grid-template-columns: 1fr; }
  .portfolio-row-media img { height: 260px; }
}
@media (max-width: 420px) {
  .landing-service-hero h1, .premium-landing-hero h1, h1 { font-size: 2rem; }
  .primary-nav.open { padding: 14px; }
  .button { min-height: 44px; padding-inline: 18px; }
}

/* V27: service landing polish, calmer above-the-fold sizing, and premium rails */
:root {
  --service-rail: 1080px;
  --service-narrow: 760px;
}
.service-hero.landing-service-hero {
  padding: clamp(54px, 6.2vw, 92px) 0 clamp(54px, 5.6vw, 84px) !important;
  min-height: auto;
  overflow: hidden;
}
.service-hero.landing-service-hero .hero-grid {
  width: min(100% - 48px, var(--service-rail));
  grid-template-columns: minmax(0, .98fr) minmax(330px, .66fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
}
.service-hero.landing-service-hero h1 {
  font-size: clamp(2.15rem, 3.7vw, 3.45rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.06em !important;
  max-width: 700px;
  margin-bottom: 18px;
}
.service-hero.landing-service-hero .hero-lede {
  font-size: clamp(1rem, 1.05vw, 1.12rem);
  line-height: 1.74;
  max-width: 650px;
  color: #53657d;
}
.service-hero.landing-service-hero .hero-price {
  display: inline-flex;
  width: auto;
  align-items: center;
  margin-top: 16px;
  padding: 9px 14px;
  border: 1px solid rgba(0,174,239,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: var(--navy-950);
  font-size: .92rem;
  box-shadow: 0 10px 28px rgba(10,15,82,.07);
}
.service-hero.landing-service-hero .hero-actions {
  margin-top: 22px;
}
.service-hero.landing-service-hero .landing-hero-card {
  max-width: 430px;
  justify-self: end;
  padding: clamp(24px, 2.4vw, 34px);
  border-radius: 28px;
  box-shadow: 0 28px 82px rgba(10,15,82,.13);
}
.service-hero.landing-service-hero .check-list li {
  margin-bottom: 12px;
  font-size: .98rem;
  line-height: 1.55;
}
.conversion-answers {
  padding: clamp(44px, 5vw, 72px) 0 !important;
  background:
    radial-gradient(circle at 95% 6%, rgba(0,184,245,.08), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}
.conversion-answers .section-heading.left,
.conversion-answers .landing-answer-grid,
.service-copy-layout,
.service-trust-landing > .container,
.form-section .form-intro,
.form-section .form-container {
  width: min(100% - 48px, var(--service-rail));
}
.conversion-answers .section-heading.left {
  margin-bottom: clamp(24px, 3.4vw, 42px);
}
.conversion-answers .section-heading h2 {
  font-size: clamp(1.55rem, 2.3vw, 2.35rem);
  max-width: 660px;
}
.conversion-answers .section-heading p {
  max-width: 720px;
}
.landing-answer-grid {
  gap: clamp(16px, 2vw, 22px) !important;
}
.landing-answer-card {
  position: relative;
  min-height: 148px;
  padding: clamp(20px, 2.2vw, 30px);
  border: 1px solid rgba(199,216,238,.86);
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 20px 55px rgba(10,15,82,.075);
  overflow: hidden;
}
.landing-answer-card::after {
  content: '';
  position: absolute;
  inset: auto -28px -36px auto;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,184,245,.12), transparent 66%);
  pointer-events: none;
}
.landing-answer-card h2 {
  font-size: clamp(1.05rem, 1.28vw, 1.28rem) !important;
  line-height: 1.24;
  letter-spacing: -.035em;
}
.landing-answer-card p:not(.eyebrow) {
  margin-top: 10px;
  color: #52637a;
  font-weight: 650;
  line-height: 1.58;
}
.landing-answer-card.next-step-card {
  background: radial-gradient(circle at 84% 0%, rgba(0,184,245,.36), transparent 13rem), linear-gradient(135deg, #11176d, #0a0f52);
  color: #fff;
}
.landing-answer-card.next-step-card h2,
.landing-answer-card.next-step-card p,
.landing-answer-card.next-step-card .eyebrow,
.landing-answer-card.next-step-card .text-link { color: #fff; }
.service-main-section.landing-story-section {
  padding: clamp(54px, 6vw, 90px) 0;
  background: #fff;
}
.service-main-section .copy-block {
  max-width: var(--service-narrow);
  margin: 0 auto;
}
.service-main-section .copy-block > p {
  font-size: 1.03rem;
  line-height: 1.82;
  color: #4f6077;
}
.buyer-prompt-box,
.better-question-box,
.difference-box,
.callout {
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(10,15,82,.075);
}
.buyer-prompt-box h2,
.difference-box h2,
.callout h2 {
  font-size: clamp(1.25rem, 1.9vw, 1.85rem) !important;
  line-height: 1.15;
}
.deliverables-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.deliverable {
  border-radius: 16px;
  font-size: .94rem;
}
.service-trust-landing {
  background: linear-gradient(180deg, #eef8ff 0%, #fff 100%);
}
.service-trust-landing .section-heading h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.7rem);
  max-width: 780px;
}
.service-trust-landing .related-proof-grid {
  width: min(100% - 48px, var(--service-rail));
  margin-inline: auto;
}
.form-section {
  padding-top: clamp(64px, 7vw, 108px);
  padding-bottom: clamp(72px, 8vw, 118px);
}
.form-section .form-intro h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}
.lead-form-card {
  max-width: 880px;
  margin-inline: auto;
  border-radius: 30px;
}
@media (max-width: 980px) {
  .service-hero.landing-service-hero .hero-grid {
    grid-template-columns: 1fr;
  }
  .service-hero.landing-service-hero .landing-hero-card {
    justify-self: stretch;
    max-width: none;
  }
}
@media (max-width: 680px) {
  .service-hero.landing-service-hero,
  .conversion-answers,
  .service-main-section.landing-story-section,
  .form-section {
    padding-left: 0;
    padding-right: 0;
  }
  .service-hero.landing-service-hero .hero-grid,
  .conversion-answers .section-heading.left,
  .conversion-answers .landing-answer-grid,
  .service-copy-layout,
  .service-trust-landing > .container,
  .service-trust-landing .related-proof-grid,
  .form-section .form-intro,
  .form-section .form-container {
    width: min(100% - 28px, var(--service-rail));
  }
  .service-hero.landing-service-hero h1 {
    font-size: clamp(2rem, 10.5vw, 2.8rem) !important;
    letter-spacing: -.05em !important;
  }
  .service-hero.landing-service-hero .hero-lede {
    line-height: 1.65;
  }
  .service-hero.landing-service-hero .hero-price {
    border-radius: 18px;
    width: 100%;
  }
  .landing-answer-grid,
  .deliverables-grid {
    grid-template-columns: 1fr !important;
  }
  .landing-answer-card {
    min-height: 0;
  }
  .service-main-section .copy-block {
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   V27 premium service landing system
   Calmer headings, designed service heroes, compact decision proof, stronger
   Elementor-style visual rhythm without template clutter.
   -------------------------------------------------------------------------- */
:root {
  --font-heading: "Plus Jakarta Sans", Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  --font-body: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --premium-max: 1180px;
  --premium-wide: 1320px;
  --premium-pad: clamp(58px, 7vw, 96px);
}
body {
  font-family: var(--font-body);
  font-size: clamp(15.5px, .92vw, 16.5px);
  line-height: 1.68;
}
h1, h2, h3 {
  font-family: var(--font-heading);
  letter-spacing: -.042em;
}
h1 {
  font-size: clamp(2.35rem, 3.65vw, 4.1rem) !important;
  line-height: 1.02 !important;
  max-width: 760px;
}
h2 {
  font-size: clamp(1.7rem, 2.55vw, 2.75rem) !important;
  line-height: 1.08 !important;
}
h3 {
  font-size: clamp(1.08rem, 1.25vw, 1.32rem) !important;
  line-height: 1.2;
}
.hero-lede {
  font-size: clamp(1rem, 1.03vw, 1.13rem);
  line-height: 1.66;
}
.site-header {
  background: rgba(255,255,255,.96);
}
.nav-wrap {
  min-height: 76px !important;
}
.brand-logo {
  width: 186px !important;
}
.primary-nav > a:not(.button),
.nav-drop-button {
  font-size: .83rem !important;
  min-height: 42px !important;
}
.nav-cta,
.button.small.nav-cta {
  min-height: 44px !important;
  padding-inline: 19px !important;
}

/* Service hero: compact above-the-fold landing-page clarity. */
.premium-service-hero {
  padding: clamp(56px, 6.5vw, 92px) 0 clamp(72px, 7vw, 104px) !important;
  background:
    radial-gradient(circle at 76% 12%, rgba(0,184,245,.28), transparent 24rem),
    radial-gradient(circle at 8% 86%, rgba(103,87,255,.10), transparent 26rem),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 48%, #eaf8ff 100%) !important;
}
.premium-service-hero::after {
  height: 50px !important;
}
.service-hero-shell {
  position: relative;
  z-index: 2;
  width: min(var(--premium-max), calc(100% - clamp(34px, 6vw, 84px)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(360px, .84fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}
.service-hero-copy h1 {
  margin-bottom: 18px;
  max-width: 710px;
  font-size: clamp(2.45rem, 3.7vw, 4.05rem) !important;
}
.service-hero-copy .hero-lede {
  max-width: 660px;
}
.service-price-line {
  display: inline-block;
  margin: 16px 0 0 !important;
  padding: 10px 14px !important;
  border-left: 4px solid var(--electric) !important;
  border-radius: 0 14px 14px 0 !important;
  background: rgba(0,184,245,.10) !important;
  color: var(--navy-950) !important;
  font-size: .96rem;
  font-weight: 900;
}
.service-visual-panel {
  position: relative;
  min-height: clamp(360px, 31vw, 470px);
  isolation: isolate;
}
.service-visual-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 34px 1fr;
  width: min(100%, 500px);
  margin-left: auto;
  overflow: hidden;
  border: 12px solid #fff;
  border-radius: 34px;
  background: #fff;
  color: inherit;
  box-shadow: 0 34px 90px rgba(10,15,82,.16);
}
.service-visual-main:hover,
.service-visual-float:hover {
  text-decoration: none;
  transform: translateY(-3px);
}
.service-visual-main img {
  width: 100%;
  height: clamp(250px, 26vw, 390px);
  object-fit: cover;
  object-position: top center;
  background: #fff;
}
.service-visual-text {
  display: block;
  padding: 34px;
}
.service-visual-text h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.45rem) !important;
}
.service-visual-float {
  position: absolute;
  z-index: 4;
  overflow: hidden;
  display: block;
  width: clamp(140px, 12vw, 190px);
  aspect-ratio: 4 / 3;
  border: 8px solid #fff;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(10,15,82,.16);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-visual-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.service-visual-float-a { left: 0; top: 12%; transform: rotate(-3deg); }
.service-visual-float-b { right: 2%; bottom: -3%; transform: rotate(2deg); }
.service-proof-note {
  position: absolute;
  z-index: 5;
  left: 6%;
  bottom: 4%;
  width: min(290px, 68%);
  padding: 18px 19px;
  border: 1px solid rgba(188,216,236,.92);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 22px 54px rgba(10,15,82,.12);
  backdrop-filter: blur(10px);
}
.service-proof-note .eyebrow {
  margin-bottom: 8px;
}
.service-proof-note .check-list {
  display: grid;
  gap: 8px;
}
.service-proof-note .check-list li {
  margin: 0;
  font-size: .82rem;
  line-height: 1.42;
  font-weight: 850;
}

/* Six conversion questions as a compact designed band, not giant boxes. */
.landing-decision-section {
  position: relative;
  z-index: 6;
  margin-top: -40px;
  padding: 0 0 var(--premium-pad) !important;
  background: transparent !important;
}
.landing-decision-wrap {
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid rgba(188,216,236,.90);
  border-radius: 34px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 30px 80px rgba(10,15,82,.12);
  backdrop-filter: blur(12px);
}
.landing-decision-wrap .section-heading {
  margin-bottom: 24px;
}
.landing-decision-wrap h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.5rem) !important;
}
.decision-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.decision-strip article {
  min-height: 150px;
  padding: 18px 18px 17px;
  border: 1px solid rgba(216,226,238,.92);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #f8fcff);
  box-shadow: 0 10px 26px rgba(10,15,82,.05);
}
.decision-strip span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 99px;
  background: rgba(0,184,245,.13);
  color: var(--blue-700);
  font-size: .76rem;
  font-weight: 950;
}
.decision-strip strong {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-950);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.2;
}
.decision-strip p {
  margin: 0;
  color: #55677f;
  font-size: .9rem;
  line-height: 1.48;
}
.decision-strip .decision-action {
  background: radial-gradient(circle at 95% 0%, rgba(0,184,245,.24), transparent 35%), linear-gradient(145deg, var(--navy-950), var(--navy-800));
  border-color: rgba(0,184,245,.34);
}
.decision-strip .decision-action span {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.decision-strip .decision-action strong,
.decision-strip .decision-action p {
  color: #fff;
}
.decision-strip .decision-action .button {
  width: 100%;
  margin-top: 14px;
  background: linear-gradient(135deg, var(--electric), var(--electric-2));
  color: var(--navy-1000) !important;
  box-shadow: none;
}

/* Proof section: more like a premium case-study band. */
.service-proof-feature {
  padding: clamp(68px, 7.6vw, 112px) 0 !important;
  background:
    radial-gradient(circle at 15% 5%, rgba(0,184,245,.12), transparent 28rem),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%) !important;
}
.service-proof-feature .section-heading {
  text-align: center;
  margin-inline: auto;
}
.service-proof-feature .section-heading p {
  margin-left: auto;
  margin-right: auto;
}
.proof-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
}
.proof-feature-card {
  overflow: hidden;
  border: 1px solid rgba(188,216,236,.88);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(10,15,82,.09);
  transition: transform .2s ease, box-shadow .2s ease;
}
.proof-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 34px 76px rgba(10,15,82,.13);
}
.proof-feature-media {
  display: grid;
  grid-template-rows: 32px 1fr;
  overflow: hidden;
  color: inherit;
  background: #fff;
}
.proof-feature-media:hover {
  text-decoration: none;
}
.proof-feature-media img {
  width: 100%;
  height: clamp(220px, 22vw, 310px);
  object-fit: cover;
  object-position: top center;
}
.proof-feature-content {
  padding: 22px 22px 24px;
}
.proof-feature-content h3 a {
  color: var(--navy-950);
}
.proof-feature-content h3 a:hover {
  color: #104fc8;
  text-decoration: none;
}
.proof-feature-content p:not(.eyebrow) {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #596a82;
  font-size: .95rem;
}
.premium-testimonials {
  max-width: 880px;
  margin-top: 34px;
}

/* Service body polish. */
.landing-story-section {
  padding-top: clamp(64px, 7vw, 100px) !important;
}
.service-copy-layout {
  width: min(980px, calc(100% - clamp(34px, 6vw, 84px)));
  margin-inline: auto;
}
.service-copy-block {
  max-width: 100%;
}
.service-copy-block > p {
  max-width: 780px;
  font-size: clamp(1rem, .98vw, 1.08rem);
  color: #46586f;
}
.landing-explainer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .78fr);
  gap: 22px;
  margin: 34px 0;
}
.buyer-prompt-box.premium-box,
.better-question-box.premium-box,
.difference-box.premium-box {
  margin-top: 0 !important;
  border-radius: 28px !important;
  box-shadow: 0 18px 46px rgba(10,15,82,.08) !important;
}
.buyer-prompt-box.premium-box h2 {
  font-size: clamp(1.28rem, 1.8vw, 1.75rem) !important;
}
.better-question-box.premium-box h3 {
  font-size: clamp(1.18rem, 1.6vw, 1.45rem) !important;
}
.service-deliverables-block {
  margin-top: 36px;
}
.service-deliverables-block h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.5rem) !important;
}
.premium-deliverables {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.premium-deliverables .deliverable {
  min-height: 60px;
  border-radius: 16px;
  font-size: .92rem;
}
.service-difference-box {
  margin-top: 34px !important;
}
.service-difference-box h2 {
  max-width: 860px;
  font-size: clamp(1.25rem, 1.9vw, 1.75rem) !important;
  line-height: 1.26 !important;
}
.premium-cta-band {
  margin-top: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(0,184,245,.26), transparent 32rem),
    linear-gradient(135deg, #090d43, #11176d 62%, #202a8b) !important;
}
.premium-cta-band .button {
  background: linear-gradient(135deg, var(--electric), var(--electric-2));
  color: var(--navy-1000) !important;
}
.landing-form-section .form-intro h2 {
  font-size: clamp(1.85rem, 2.55vw, 2.75rem) !important;
}
.landing-form-section .lead-form-card {
  max-width: 980px;
}

/* Homepage/service cards get a more premium template feel without overpowering content. */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 26px;
  width: 52px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--electric), var(--violet));
}
.service-card .eyebrow {
  margin-top: 26px;
}
.card-grid.service-grid {
  align-items: stretch;
}
.card-grid.service-grid .service-card {
  min-height: 330px;
}

@media (max-width: 1120px) {
  .service-hero-shell {
    grid-template-columns: 1fr;
  }
  .service-visual-panel {
    max-width: 720px;
    min-height: 430px;
  }
  .service-visual-main {
    margin-left: 5%;
  }
  .decision-strip,
  .proof-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  h1 { font-size: clamp(2rem, 9vw, 3rem) !important; line-height: 1.06 !important; }
  h2 { font-size: clamp(1.55rem, 7vw, 2.1rem) !important; }
  .topbar-inner {
    gap: 8px 14px;
    padding-block: 7px;
  }
  .nav-wrap { min-height: 70px !important; }
  .brand-logo { width: 154px !important; }
  .premium-service-hero {
    padding: 46px 0 64px !important;
  }
  .service-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 10.5vw, 3.05rem) !important;
  }
  .service-hero-shell,
  .service-copy-layout,
  .landing-decision-wrap {
    width: min(100% - 28px, var(--premium-max));
  }
  .service-visual-panel {
    min-height: auto;
    display: grid;
    gap: 16px;
  }
  .service-visual-main {
    width: 100%;
    margin: 0;
    border-width: 8px;
    border-radius: 24px;
  }
  .service-visual-main img {
    height: 260px;
  }
  .service-visual-float,
  .service-proof-note {
    position: static;
    width: 100%;
    transform: none;
  }
  .service-visual-float {
    display: none;
  }
  .landing-decision-section {
    margin-top: -22px;
    padding-bottom: 54px !important;
  }
  .landing-decision-wrap {
    padding: 22px;
    border-radius: 26px;
  }
  .decision-strip,
  .proof-feature-grid,
  .landing-explainer-grid,
  .premium-deliverables,
  .mini-testimonial-grid {
    grid-template-columns: 1fr;
  }
  .decision-strip article {
    min-height: 0;
  }
  .proof-feature-media img {
    height: 260px;
  }
  .service-main-section,
  .service-proof-feature,
  .landing-form-section {
    padding-top: 54px !important;
    padding-bottom: 64px !important;
  }
  .landing-cta-inner {
    grid-template-columns: 1fr;
  }
  .landing-cta-inner .button {
    width: 100%;
  }
  .card-grid.service-grid .service-card {
    min-height: 0;
  }
}
@media (max-width: 440px) {
  h1 { font-size: clamp(1.95rem, 10.8vw, 2.65rem) !important; }
  h2 { font-size: clamp(1.42rem, 7.4vw, 1.9rem) !important; }
  .button { min-height: 46px; }
  .service-visual-main img,
  .proof-feature-media img {
    height: 220px;
  }
  .landing-decision-wrap,
  .proof-feature-card,
  .lead-form-card,
  .buyer-prompt-box.premium-box,
  .better-question-box.premium-box,
  .difference-box.premium-box {
    border-radius: 22px !important;
  }
}

/* -------------------------------------------------------------------------
   V27 Premium landing-page tune-up
   - calmer typography
   - shorter, stronger service hero rhythm
   - premium overlap cards inspired by modern Elementor-style landing pages
   - mobile-first readability and consistent rails
   ------------------------------------------------------------------------- */
:root {
  --font-body: "Plus Jakarta Sans", Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  --font-head: "Plus Jakarta Sans", Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  --premium-rail: 1140px;
  --soft-shadow: 0 22px 55px rgba(8, 13, 67, .09);
  --premium-shadow: 0 34px 90px rgba(8, 13, 67, .14);
  --premium-line: rgba(160, 190, 220, .56);
}
html { scroll-padding-top: 142px; }
body { font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: #26354f; background: #fff; }
h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -.045em; }
h1 { font-weight: 800; }
h2, h3 { font-weight: 800; }
p { text-wrap: pretty; }
.container { width: min(var(--premium-rail), calc(100% - clamp(36px, 6vw, 88px))); }
.eyebrow { font-size: .76rem; letter-spacing: .18em; font-weight: 800; color: #135ee8; }
.button { border-radius: 999px; font-weight: 800; letter-spacing: -.01em; box-shadow: 0 16px 38px rgba(11, 17, 101, .16); }
.button.ghost { box-shadow: none; background: rgba(255,255,255,.78); }
.button:hover { transform: translateY(-1px); }
.site-header { backdrop-filter: saturate(1.12) blur(12px); }
.nav-wrap { min-height: 90px; }
.brand-logo { width: 220px; height: auto; }
.primary-nav { font-size: .92rem; }
.nav-cta { box-shadow: 0 14px 34px rgba(0,184,245,.25) !important; }

/* Service hero: the previous version let long headlines dominate the entire fold. */
.landing-service-hero {
  min-height: auto !important;
  padding: clamp(70px, 7.4vw, 118px) 0 clamp(108px, 8vw, 138px) !important;
  background:
    radial-gradient(circle at 86% 18%, rgba(0, 184, 245, .24), transparent 30rem),
    radial-gradient(circle at 20% 100%, rgba(102, 92, 255, .10), transparent 28rem),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 42%, #e9f8ff 100%) !important;
  overflow: hidden;
}
.landing-service-hero::before {
  opacity: .28 !important;
  background:
    linear-gradient(135deg, rgba(0,184,245,.12), transparent 28%),
    linear-gradient(90deg, rgba(255,255,255,.4), transparent) !important;
}
.landing-service-hero .hero-grid {
  width: min(var(--premium-rail), calc(100% - clamp(36px, 6vw, 88px))) !important;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px) !important;
  gap: clamp(42px, 7vw, 98px) !important;
  align-items: center !important;
}
.landing-service-hero .hero-copy-panel { max-width: 720px; }
.landing-service-hero h1 {
  max-width: 720px !important;
  font-size: clamp(2.45rem, 4.15vw, 4.28rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.06em !important;
  margin-bottom: 22px !important;
}
.landing-service-hero .hero-lede {
  max-width: 660px !important;
  font-size: clamp(1.03rem, 1.06vw, 1.18rem) !important;
  line-height: 1.72 !important;
  color: #506078 !important;
}
.landing-service-hero .hero-price {
  display: inline-flex;
  align-items: center;
  max-width: 680px;
  margin: 22px 0 0;
  padding: 10px 15px;
  border: 1px solid rgba(0,184,245,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #0b1165;
  font-size: .92rem;
  line-height: 1.35;
  box-shadow: 0 12px 30px rgba(8, 13, 67, .05);
}
.landing-service-hero .hero-actions { margin-top: 26px !important; }
.landing-service-hero .landing-hero-card {
  width: 100%;
  max-width: 420px;
  padding: clamp(26px, 3.1vw, 38px) !important;
  border-radius: 30px !important;
  border: 1px solid rgba(182,210,238,.78) !important;
  border-top: 5px solid #00b8f5 !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.86)),
    radial-gradient(circle at 84% 0, rgba(0,184,245,.18), transparent 14rem) !important;
  box-shadow: var(--premium-shadow) !important;
  transform: translateY(8px);
}
.landing-service-hero .check-list { gap: 16px !important; }
.landing-service-hero .check-list li { font-size: .98rem; line-height: 1.5; }

/* Premium overlapped decision cards. */
.conversion-answers {
  position: relative;
  z-index: 5;
  margin-top: -74px;
  padding: 0 0 clamp(76px, 7vw, 110px) !important;
  background: linear-gradient(180deg, transparent 0 72px, #fff 72px 100%) !important;
}
.conversion-answers .section-heading.left {
  max-width: 780px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.conversion-answers .section-heading h2 {
  font-size: clamp(1.72rem, 2.8vw, 3rem) !important;
  max-width: 760px;
}
.conversion-answers .section-heading p {
  max-width: 730px;
}
.landing-answer-grid {
  width: min(var(--premium-rail), calc(100% - clamp(36px, 6vw, 88px))) !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}
.landing-answer-card,
.answer-card {
  min-height: 190px !important;
  padding: clamp(22px, 2.4vw, 30px) !important;
  border: 1px solid rgba(182,210,238,.82) !important;
  border-radius: 26px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.9)),
    radial-gradient(circle at 100% 0, rgba(0,184,245,.11), transparent 12rem) !important;
  box-shadow: var(--soft-shadow) !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.landing-answer-card h2,
.answer-card h2 {
  font-size: clamp(1.05rem, 1.34vw, 1.34rem) !important;
  line-height: 1.28 !important;
  letter-spacing: -.035em !important;
}
.landing-answer-card p:not(.eyebrow),
.answer-card p:not(.eyebrow) {
  margin-top: 12px;
  color: #51627b;
  font-size: .96rem;
  line-height: 1.58;
  font-weight: 650;
}
.landing-answer-card.next-step-card,
.answer-card.action-card,
.next-step-card {
  color: #fff !important;
  border-color: rgba(255,255,255,.15) !important;
  background:
    radial-gradient(circle at 90% 12%, rgba(0,184,245,.42), transparent 14rem),
    linear-gradient(135deg, #11176d, #0b1165 64%, #132d93) !important;
}
.landing-answer-card.next-step-card .eyebrow,
.landing-answer-card.next-step-card h2,
.landing-answer-card.next-step-card a,
.answer-card.action-card .eyebrow,
.answer-card.action-card h2 { color: #fff !important; }
.landing-answer-card.next-step-card .text-link { margin-top: 22px; color: #0b1165 !important; background: #00b8f5; padding: 12px 18px; border-radius: 999px; width: max-content; text-decoration: none; font-weight: 900; }

/* Story and proof sections should feel like designed campaign pages, not article columns. */
.service-main-section {
  padding-top: clamp(64px, 7vw, 108px) !important;
  padding-bottom: clamp(64px, 7vw, 108px) !important;
  background:
    linear-gradient(180deg, #fff, #fbfdff 58%, #fff) !important;
}
.service-copy-layout { width: min(940px, calc(100% - clamp(36px, 6vw, 88px))) !important; }
.copy-block { max-width: 920px !important; }
.copy-block > p { font-size: 1.02rem; line-height: 1.78; color: #4f6078 !important; }
.copy-block h2 { font-size: clamp(1.86rem, 3vw, 3.2rem) !important; margin-top: 42px; }
.buyer-prompt-box,
.better-question-box,
.difference-box,
.callout {
  border-radius: 26px !important;
  border: 1px solid rgba(182,210,238,.82) !important;
  box-shadow: var(--soft-shadow) !important;
}
.deliverables-grid { gap: 14px !important; }
.deliverable { border-radius: 15px !important; min-height: 62px !important; box-shadow: 0 12px 28px rgba(8,13,67,.05) !important; }
.service-trust-landing {
  background:
    radial-gradient(circle at 86% 10%, rgba(0,184,245,.12), transparent 28rem),
    linear-gradient(180deg, #eef8ff 0%, #f7fbff 100%) !important;
}
.service-trust-landing .section-heading { text-align: center; }
.related-proof-grid { gap: 26px !important; }
.compact-proof-card {
  border-radius: 28px !important;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(8,13,67,.11) !important;
}
.compact-proof-card .case-image { aspect-ratio: 16 / 10; }
.compact-proof-card .case-image img { object-fit: cover; object-position: top center; height: 100%; }
.mini-testimonial-grid { max-width: 900px; margin-top: 32px !important; }
.mini-testimonial { border-radius: 22px !important; box-shadow: 0 18px 44px rgba(8,13,67,.08) !important; }
.landing-cta-band {
  padding: clamp(46px, 5vw, 70px) 0;
  background:
    linear-gradient(135deg, #0b1165, #17279b 65%, #00aeea);
  color: #fff;
}
.landing-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.landing-cta-inner h2 { color: #fff; max-width: 760px; font-size: clamp(1.8rem, 3vw, 3.15rem); }
.landing-cta-inner .eyebrow { color: #94e8ff; }
.landing-cta-inner .button { background: #00b8f5; color: #071055 !important; }
.form-section {
  background:
    radial-gradient(circle at 15% 10%, rgba(0,184,245,.14), transparent 25rem),
    linear-gradient(180deg, #eef8ff, #e9f7ff) !important;
}
.form-container, .form-shell { width: min(940px, calc(100% - clamp(36px, 6vw, 88px))) !important; }
.form-container .lead-form-card { max-width: 940px !important; border-radius: 30px !important; }
.checkbox-grid label { min-height: 48px; border-radius: 12px; }
.site-footer { margin-top: 0; }

/* Homepage and portfolio polish carried through the same premium system. */
.hero-home h1 { font-size: clamp(2.55rem, 4.5vw, 4.65rem) !important; }
.service-grid .service-card { border-radius: 28px; min-height: 100%; }
.service-card .price-line { font-weight: 850; color: #0b1165; }
.portfolio-row { border-radius: 32px !important; }
.portfolio-row-content h2 { font-size: clamp(1.55rem, 2.55vw, 2.65rem) !important; }
.case-hero h1 { font-size: clamp(2.35rem, 4.1vw, 4rem) !important; }
.hero-case-image img { height: 430px !important; object-fit: cover !important; object-position: top center !important; }

@media (max-width: 1100px) {
  .landing-service-hero .hero-grid { grid-template-columns: 1fr !important; }
  .landing-service-hero .landing-hero-card { max-width: 680px; transform: none; }
  .landing-answer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .landing-cta-inner { align-items: flex-start; flex-direction: column; }
  .related-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 88px; }
  body { font-size: 16px; }
  .container,
  .landing-service-hero .hero-grid,
  .landing-answer-grid,
  .form-container,
  .form-shell,
  .service-copy-layout { width: min(100% - 28px, var(--premium-rail)) !important; }
  .topbar { font-size: .75rem; }
  .topbar-inner span { display: none; }
  .brand-logo { width: 168px; }
  .nav-wrap { min-height: 72px; }
  .landing-service-hero {
    padding: 52px 0 96px !important;
  }
  .landing-service-hero h1,
  .hero-home h1,
  .case-hero h1 {
    font-size: clamp(2.2rem, 10.5vw, 3.25rem) !important;
    line-height: 1.03 !important;
    letter-spacing: -.055em !important;
  }
  .landing-service-hero .hero-price { align-items: flex-start; border-radius: 18px; }
  .landing-service-hero .hero-actions { flex-direction: column; align-items: stretch; }
  .landing-service-hero .button { width: 100%; }
  .conversion-answers { margin-top: -54px; padding-bottom: 66px !important; }
  .conversion-answers .section-heading.left { padding-top: 22px; }
  .landing-answer-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .landing-answer-card, .answer-card { min-height: auto !important; padding: 22px !important; }
  .copy-block h2 { font-size: clamp(1.65rem, 8vw, 2.25rem) !important; }
  .deliverables-grid { grid-template-columns: 1fr !important; }
  .related-proof-grid, .mini-testimonial-grid { grid-template-columns: 1fr !important; }
  .landing-cta-band { padding: 42px 0; }
  .landing-cta-inner h2 { font-size: clamp(1.65rem, 8vw, 2.4rem); }
  .form-container .lead-form-card { padding: 22px !important; }
  .checkbox-grid, .lead-form-card .checkbox-grid { grid-template-columns: 1fr !important; }
  .form-grid, .form-grid.two { grid-template-columns: 1fr !important; }
  .hero-case-image img { height: 320px !important; }
}
@media (max-width: 420px) {
  .landing-service-hero h1,
  .hero-home h1,
  .case-hero h1 { font-size: clamp(2rem, 12vw, 2.85rem) !important; }
  .landing-service-hero .hero-lede { font-size: .98rem !important; }
  .button { min-height: 46px; padding: 12px 18px; }
}

/* --------------------------------------------------------------------------
   V27 premium landing balance
   Service pages now need to behave like DOYJO's own paid-search landing pages:
   compact above-the-fold clarity, premium spacing, restrained headings, clear
   proof, and mobile-safe text scaling.
   -------------------------------------------------------------------------- */
:root {
  --cyan: var(--cyan-500);
  --blue-600: #158bd0;
}
.site-header {
  box-shadow: 0 10px 26px rgba(5, 8, 51, .055);
}
.nav-wrap {
  min-height: 76px !important;
}
.primary-nav,
.primary-nav > a,
.nav-drop-button {
  align-items: center !important;
  line-height: 1 !important;
}
.primary-nav > a:not(.button),
.primary-nav .nav-drop-button {
  display: inline-flex !important;
  min-height: 42px !important;
}
.nav-cta {
  min-height: 44px !important;
  padding-inline: 22px !important;
}

/* Service landing hero: fit the core answer above the fold. */
.service-hero.landing-service-hero {
  padding: clamp(46px, 5.4vw, 82px) 0 clamp(48px, 5.8vw, 86px) !important;
  min-height: auto !important;
  background:
    radial-gradient(circle at 82% 14%, rgba(0,184,245,.20), transparent 30%),
    radial-gradient(circle at 18% 88%, rgba(103,87,255,.08), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 48%, #eaf8ff 100%) !important;
}
.service-hero.landing-service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17,23,109,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,23,109,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 80% 20%, rgba(0,0,0,.52), transparent 52%);
}
.service-hero.landing-service-hero .hero-grid {
  width: min(1160px, calc(100% - 48px));
  max-width: 1160px;
  grid-template-columns: minmax(0, 670px) minmax(320px, 390px) !important;
  gap: clamp(34px, 5vw, 74px) !important;
  align-items: center !important;
  position: relative;
  z-index: 1;
}
.service-hero.landing-service-hero .hero-copy-panel {
  max-width: 670px !important;
}
.service-hero.landing-service-hero h1 {
  max-width: 670px !important;
  margin-bottom: 18px !important;
  font-size: clamp(2.2rem, 3.25vw, 3.65rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.055em !important;
}
.service-hero.landing-service-hero .hero-lede {
  max-width: 650px !important;
  font-size: clamp(.98rem, .9vw, 1.08rem) !important;
  line-height: 1.62 !important;
}
.service-hero.landing-service-hero .hero-price {
  max-width: 640px !important;
  margin-top: 16px !important;
  font-size: clamp(.94rem, .88vw, 1.03rem) !important;
  line-height: 1.48 !important;
}
.service-hero.landing-service-hero .hero-actions {
  margin-top: 24px !important;
}
.service-hero.landing-service-hero .landing-hero-card {
  max-width: 390px;
  padding: clamp(24px, 2.4vw, 32px) !important;
  border: 1px solid rgba(184,206,229,.92) !important;
  border-top: 5px solid var(--electric) !important;
  border-left: 1px solid rgba(184,206,229,.92) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 92% 6%, rgba(0,184,245,.12), transparent 36%),
    rgba(255,255,255,.96) !important;
  box-shadow: 0 28px 72px rgba(10,21,86,.13) !important;
}
.service-hero.landing-service-hero .check-list {
  gap: 11px !important;
}
.service-hero.landing-service-hero .check-list li {
  font-size: clamp(.88rem, .84vw, .98rem) !important;
  line-height: 1.5 !important;
  padding-left: 25px !important;
}
.service-hero.landing-service-hero .button {
  min-height: 46px;
}

/* Six-answer section: still strategic, but no longer a blocky oversized grid. */
.conversion-answers {
  margin-top: 0 !important;
  padding: clamp(44px, 5vw, 72px) 0 clamp(50px, 5.5vw, 84px) !important;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fcff 100%) !important;
}
.conversion-answers .section-heading.left {
  max-width: 780px !important;
  margin-bottom: clamp(22px, 2.8vw, 34px) !important;
}
.conversion-answers .section-heading.left h2 {
  max-width: 720px !important;
  font-size: clamp(1.55rem, 2.15vw, 2.35rem) !important;
  line-height: 1.12 !important;
}
.conversion-answers .section-heading.left p {
  max-width: 680px !important;
  font-size: .99rem !important;
}
.conversion-answers .landing-answer-grid {
  width: min(1160px, calc(100% - 48px));
  max-width: 1160px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
.conversion-answers .landing-answer-card {
  min-height: 0 !important;
  padding: clamp(20px, 2.1vw, 27px) !important;
  border-radius: 24px !important;
  border: 1px solid rgba(196,216,238,.92) !important;
  border-top: 4px solid rgba(0,184,245,.72) !important;
  background:
    radial-gradient(circle at 90% 0%, rgba(0,184,245,.08), transparent 38%),
    rgba(255,255,255,.96) !important;
  box-shadow: 0 16px 42px rgba(10,21,86,.07) !important;
}
.conversion-answers .landing-answer-card h2 {
  font-size: clamp(1.02rem, 1.05vw, 1.22rem) !important;
  line-height: 1.32 !important;
  letter-spacing: -.028em !important;
}
.conversion-answers .landing-answer-card p:not(.eyebrow) {
  margin-top: 10px !important;
  font-size: .9rem !important;
  line-height: 1.56 !important;
}
.conversion-answers .next-step-card {
  background:
    radial-gradient(circle at 90% 8%, rgba(0,184,245,.32), transparent 36%),
    linear-gradient(145deg, #11176d, #070b42) !important;
  border-color: rgba(0,184,245,.42) !important;
}
.conversion-answers .next-step-card h2,
.conversion-answers .next-step-card p,
.conversion-answers .next-step-card .eyebrow,
.conversion-answers .next-step-card .text-link {
  color: #fff !important;
}

/* Keep the rest of the page visually wide, but paragraphs readable. */
.service-main-section .service-copy-layout,
.service-copy-layout,
.trust-section .container,
.form-section .container {
  max-width: 1160px !important;
}
.service-copy-layout .copy-block {
  max-width: 880px !important;
  margin-inline: auto;
}
.service-copy-layout .copy-block > p {
  max-width: 760px !important;
}
.buyer-prompt-box,
.better-question-box,
.difference-box {
  border-radius: 24px !important;
  box-shadow: 0 18px 48px rgba(10,21,86,.075) !important;
}
.deliverables-grid {
  gap: 14px !important;
}
.deliverable {
  min-height: 62px !important;
  padding: 16px 18px !important;
  border-radius: 16px !important;
}

/* Form area: premium intake block without feeling like a sidebar widget. */
.form-section {
  background:
    radial-gradient(circle at 82% 10%, rgba(0,184,245,.12), transparent 28%),
    linear-gradient(180deg, #eff9ff 0%, #ffffff 100%) !important;
}
.form-section .form-intro {
  max-width: 760px !important;
}
.form-section .lead-form-card {
  max-width: 960px !important;
  border-radius: 26px !important;
  box-shadow: 0 30px 80px rgba(10,21,86,.12) !important;
}

@media (max-width: 1100px) {
  .service-hero.landing-service-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 370px) !important;
  }
  .service-hero.landing-service-hero h1 {
    font-size: clamp(2.05rem, 4.1vw, 3.25rem) !important;
  }
}
@media (max-width: 900px) {
  .nav-wrap { min-height: 70px !important; }
  .service-hero.landing-service-hero {
    padding: 42px 0 56px !important;
  }
  .service-hero.landing-service-hero .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }
  .service-hero.landing-service-hero .landing-hero-card,
  .service-hero.landing-service-hero .hero-copy-panel {
    max-width: 720px !important;
  }
  .conversion-answers .landing-answer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 680px) {
  .container,
  .service-hero.landing-service-hero .hero-grid,
  .conversion-answers .landing-answer-grid {
    width: min(100% - 32px, var(--max));
  }
  .service-hero.landing-service-hero h1 {
    font-size: clamp(2rem, 9.2vw, 2.72rem) !important;
    line-height: 1.04 !important;
  }
  .service-hero.landing-service-hero .hero-lede,
  .service-hero.landing-service-hero .hero-price {
    font-size: 1rem !important;
  }
  .service-hero.landing-service-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .conversion-answers {
    padding: 40px 0 54px !important;
  }
  .conversion-answers .landing-answer-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .conversion-answers .landing-answer-card {
    padding: 20px !important;
    border-radius: 20px !important;
  }
  .form-grid,
  .form-grid.two,
  .checkbox-grid {
    grid-template-columns: 1fr !important;
  }
}

/* V27B: service landing pages must fit the first screen and read like premium lead pages. */
.premium-service-hero {
  padding: clamp(46px, 5.8vw, 82px) 0 clamp(54px, 6vw, 88px) !important;
  min-height: auto !important;
}
.premium-service-hero .service-hero-shell {
  max-width: 1120px !important;
  grid-template-columns: minmax(0, .98fr) minmax(320px, .76fr) !important;
  gap: clamp(30px, 4.8vw, 66px) !important;
  align-items: center !important;
}
.premium-service-hero .service-hero-copy h1 {
  font-size: clamp(2.15rem, 3.15vw, 3.65rem) !important;
  line-height: 1.035 !important;
  max-width: 610px !important;
  margin-bottom: 16px !important;
}
.premium-service-hero .service-hero-copy .hero-lede {
  max-width: 600px !important;
  font-size: clamp(.98rem, .94vw, 1.08rem) !important;
  line-height: 1.58 !important;
}
.premium-service-hero .service-price-line {
  margin-top: 15px !important;
  padding: 9px 13px !important;
  font-size: .94rem !important;
}
.premium-service-hero .single-goal-actions {
  margin-top: 20px !important;
}
.premium-service-hero .service-visual-panel {
  min-height: clamp(310px, 25vw, 390px) !important;
}
.premium-service-hero .service-visual-main {
  max-width: 430px !important;
  border-width: 9px !important;
  border-radius: 28px !important;
}
.premium-service-hero .service-visual-main img {
  height: clamp(220px, 21vw, 310px) !important;
}
.premium-service-hero .service-proof-note {
  width: min(280px, 72%) !important;
  padding: 16px 17px !important;
  border-radius: 20px !important;
}
.premium-service-hero .service-proof-note .check-list li {
  font-size: .8rem !important;
  line-height: 1.36 !important;
}
.landing-decision-section {
  margin-top: -28px !important;
  padding-bottom: clamp(54px, 5.8vw, 86px) !important;
}
.landing-decision-wrap {
  max-width: 1120px !important;
  padding: clamp(24px, 3vw, 34px) !important;
  border-radius: 30px !important;
}
.landing-decision-wrap .section-heading {
  max-width: 690px !important;
  margin-bottom: 20px !important;
}
.landing-decision-wrap .section-heading h2 {
  font-size: clamp(1.45rem, 2vw, 2.1rem) !important;
}
.landing-decision-wrap .section-heading p {
  font-size: .95rem !important;
}
.decision-strip {
  gap: 12px !important;
}
.decision-strip article {
  min-height: 122px !important;
  padding: 16px !important;
  border-radius: 18px !important;
}
.decision-strip span {
  width: 28px !important;
  height: 28px !important;
  margin-bottom: 8px !important;
}
.decision-strip strong {
  font-size: .95rem !important;
  margin-bottom: 6px !important;
}
.decision-strip p {
  font-size: .84rem !important;
  line-height: 1.42 !important;
}
.decision-strip .decision-action .button {
  min-height: 38px !important;
  margin-top: 11px !important;
  padding: 8px 12px !important;
}
@media (max-width: 1120px) {
  .premium-service-hero .service-hero-shell {
    grid-template-columns: 1fr !important;
  }
  .premium-service-hero .service-hero-copy h1,
  .premium-service-hero .service-hero-copy .hero-lede {
    max-width: 760px !important;
  }
  .premium-service-hero .service-visual-panel {
    max-width: 680px !important;
  }
}
@media (max-width: 760px) {
  .premium-service-hero {
    padding: 38px 0 48px !important;
  }
  .premium-service-hero .service-hero-copy h1 {
    font-size: clamp(2rem, 9.2vw, 2.72rem) !important;
    line-height: 1.06 !important;
  }
  .premium-service-hero .service-visual-panel {
    min-height: auto !important;
  }
  .premium-service-hero .service-visual-main {
    max-width: 100% !important;
  }
  .premium-service-hero .service-visual-main img {
    height: 250px !important;
  }
  .landing-decision-section {
    margin-top: 0 !important;
    padding: 40px 0 52px !important;
  }
  .landing-decision-wrap {
    padding: 20px !important;
    border-radius: 24px !important;
  }
}


/* V32 — restrained dropdown width
   Keep service labels on one line without making the menu feel oversized. */
@media (min-width: 901px) {
  .nav-drop-panel {
    width: min(380px, calc(100vw - 48px));
    right: -20px;
    padding: 10px;
  }
  .nav-drop-panel a {
    white-space: nowrap;
    padding: 10px 13px;
    font-size: .91rem;
    letter-spacing: -.012em;
  }
}

@media (max-width: 900px) {
  .nav-drop-panel a {
    white-space: normal;
  }
}

/* V35 History / trust page */
.history-hero .hero-grid { align-items: center; }
.history-principle-card {
  position: relative;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 34px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(177,207,230,.82);
  box-shadow: 0 30px 80px rgba(14, 28, 86, .13);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.history-principle-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--cyan-500), #725cff, var(--navy-900));
}
.history-principle-card h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); margin-top: 0; }
.history-timeline-section { background: #fff; }
.history-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}
.history-timeline article,
.asset-grid article,
.premium-box {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(191,211,229,.86);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f8fcff);
  box-shadow: 0 18px 45px rgba(17,30,86,.07);
}
.history-timeline article::before,
.asset-grid article::before,
.premium-box::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 24px;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: var(--cyan-500);
}
.history-timeline span {
  display: inline-block;
  margin: 8px 0 14px;
  color: var(--blue-700);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.history-timeline h3,
.asset-grid h3,
.premium-box h3 { font-size: clamp(1.05rem, 1.55vw, 1.28rem); }
.history-split { grid-template-columns: minmax(0, 1fr) minmax(340px, 500px); align-items: center; }
.history-split.reverse { grid-template-columns: minmax(340px, 500px) minmax(0, 1fr); }
.history-list-card,
.reputation-card {
  padding: clamp(26px, 3.5vw, 40px);
  border-radius: 30px;
  background: #fff;
}
.large-list { gap: 16px; }
.large-list li { line-height: 1.52; }
.asset-control-section { background: linear-gradient(180deg, #ffffff, #f6fbff); }
.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.asset-grid article span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  margin: 8px 0 14px;
  background: linear-gradient(135deg, #00c5ff, #6057ff);
  box-shadow: 0 15px 35px rgba(0,174,239,.22);
}
.reputation-card { border-top: 5px solid var(--cyan-500); }
.trust-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(0,174,239,.35);
  background: linear-gradient(135deg, #f7fdff, #eff8ff);
  color: var(--navy-950);
  font-weight: 750;
}
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}
.history-form-section { padding-top: clamp(70px, 8vw, 110px); }
.primary-nav a[href$="/history"] { white-space: nowrap; }
@media (max-width: 1080px) {
  .history-timeline,
  .asset-grid,
  .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-split, .history-split.reverse { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .history-timeline,
  .asset-grid,
  .principle-grid { grid-template-columns: 1fr; }
  .history-principle-card { border-radius: 24px; }
}


/* V35 — History page and working-code trust layer */
.history-hero .history-hero-grid {
  align-items: center;
  gap: clamp(36px, 6vw, 78px);
}
.history-principle-card,
.asset-checklist-card,
.reputation-card {
  position: relative;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(184,198,215,.9);
  border-radius: 30px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 30px 80px rgba(10,21,86,.12);
  overflow: hidden;
}
.history-principle-card::before,
.asset-checklist-card::before,
.reputation-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan-500), #776bff, var(--navy-800));
}
.history-principle-card h2,
.reputation-card h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}
.history-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.history-timeline article,
.history-code-grid article {
  position: relative;
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.history-timeline article span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy-900), var(--cyan-500));
  color: #fff;
  font-weight: 950;
}
.history-timeline article h3,
.history-code-grid article h3 {
  color: var(--navy-950);
}
.history-code-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.history-code-grid article {
  min-height: 260px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0,174,239,.07), transparent 30%),
    #fff;
}
.history-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
}
.history-split.reverse {
  grid-template-columns: minmax(320px, 440px) minmax(0, 1fr);
}
.history-split.reverse .copy-block { order: 2; }
.asset-checklist-card .check-list,
.history-principle-card .check-list {
  margin-top: 18px;
}
.history-link-card {
  margin: 30px 0;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid #bde9fb;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #f3fbff);
  box-shadow: var(--shadow-sm);
}
.history-link-card .button { margin-top: 8px; }
.history-cta-section {
  background:
    radial-gradient(circle at 85% 10%, rgba(0,174,239,.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #eef8ff 100%);
}
.premium-cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid #bde9fb;
  border-radius: 34px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 32px 88px rgba(10,21,86,.12);
}
.premium-cta-panel h2 { max-width: 820px; }
.premium-cta-panel p { max-width: 760px; color: var(--muted); }

@media (max-width: 980px) {
  .history-timeline,
  .history-code-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .history-split,
  .history-split.reverse {
    grid-template-columns: 1fr;
  }
  .history-split.reverse .copy-block { order: 0; }
  .premium-cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 640px) {
  .history-timeline,
  .history-code-grid {
    grid-template-columns: 1fr;
  }
  .history-timeline article,
  .history-code-grid article {
    min-height: auto;
  }
  .history-principle-card,
  .asset-checklist-card,
  .reputation-card,
  .premium-cta-panel {
    border-radius: 22px;
  }
}


/* V35 History and working code page */
.history-hero .hero-grid { align-items: center; }
.history-hero-card {
  position: relative;
  padding: clamp(26px, 3.2vw, 38px);
  border: 1px solid rgba(0, 174, 239, .35);
  border-radius: 30px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 28px 80px rgba(11, 15, 79, .14);
  backdrop-filter: blur(16px);
}
.history-hero-card::before, .history-preview-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  border-radius: inherit inherit 0 0;
  background: linear-gradient(90deg, var(--cyan-500), #7b61ff);
}
.history-code-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 16px; }
.history-code-list li { position: relative; padding-left: 30px; color: var(--navy-950); font-weight: 800; line-height: 1.42; }
.history-code-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--cyan-600); font-weight: 950; }
.history-preview-section { padding-top: clamp(42px, 5vw, 70px); padding-bottom: clamp(42px, 5vw, 78px); }
.history-preview-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr) auto;
  align-items: center;
  gap: clamp(22px, 4vw, 42px);
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(0, 174, 239, .28);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(240,250,255,.86));
  box-shadow: 0 26px 80px rgba(11,15,79,.10);
  overflow: hidden;
}
.history-preview-card h2 { margin-bottom: 12px; }
.history-preview-card p { max-width: 760px; }
.history-preview-points { display: flex; flex-wrap: wrap; gap: 10px; }
.history-preview-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(184,206,231,.8);
  background: #fff;
  color: var(--navy-950);
  font-size: .85rem;
  font-weight: 900;
  box-shadow: var(--shadow-xs);
}
.history-split { align-items: center; }
.history-stat-panel {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 28px;
  background: linear-gradient(135deg, #101766, #1c4fa5 58%, #00aeef);
  box-shadow: 0 28px 80px rgba(11, 15, 79, .18);
  color: #fff;
}
.history-stat-panel div { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.history-stat-panel div:last-child { border-bottom: 0; }
.history-stat-panel strong { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); line-height: .9; letter-spacing: -.05em; }
.history-stat-panel span { color: rgba(255,255,255,.84); font-weight: 750; line-height: 1.42; }
.history-timeline { position: relative; display: grid; gap: 22px; max-width: 960px; }
.history-timeline::before { content: ''; position: absolute; left: 23px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--cyan-500), rgba(123,97,255,.38)); }
.history-timeline article {
  position: relative;
  margin-left: 70px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.history-timeline article::before { content: ''; position: absolute; left: -59px; top: 28px; width: 18px; height: 18px; border-radius: 999px; background: var(--cyan-500); border: 6px solid #e9f8ff; box-shadow: 0 0 0 1px rgba(0,174,239,.35); }
.history-timeline span { display: block; margin-bottom: 8px; color: var(--blue-700); font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 950; }
.code-grid-large { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.code-grid-large article, .asset-control-card, .asset-checklist {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.code-grid-large article h3::before, .asset-control-card h2::before, .asset-checklist h3::before { content: ''; display: block; width: 42px; height: 4px; margin-bottom: 18px; border-radius: 999px; background: linear-gradient(90deg, var(--cyan-500), #7b61ff); }
.asset-control-card { background: linear-gradient(135deg, #fff, #f2fbff); }
.asset-checklist .check-list { gap: 13px; }
.history-inline-note .button { margin-top: 8px; }
.reputation-section .value-grid article { min-height: 100%; }
@media (max-width: 1100px) {
  .history-preview-card { grid-template-columns: 1fr; }
  .code-grid-large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .history-stat-panel div { grid-template-columns: 1fr; gap: 8px; }
  .history-timeline::before { left: 12px; }
  .history-timeline article { margin-left: 42px; }
  .history-timeline article::before { left: -39px; }
  .code-grid-large { grid-template-columns: 1fr; }
  .history-preview-points span { width: 100%; justify-content: center; }
}

/* V35 — History & Standards trust page */
.history-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(115, 129, 255, .16), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(0, 174, 239, .24), transparent 35%),
    linear-gradient(135deg, #fbfdff 0%, #eff9ff 100%);
}
.history-principle-card {
  padding: clamp(28px, 4.5vw, 46px);
  border-radius: 34px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(171, 202, 231, .9);
  box-shadow: 0 32px 90px rgba(8, 12, 60, .14);
  position: relative;
  isolation: isolate;
}
.history-principle-card::before,
.premium-box::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan-500), #7078ff);
}
.history-principle-card h2 { margin: 0 0 18px; }
.history-timeline,
.asset-grid,
.principle-grid {
  display: grid;
  gap: 22px;
}
.history-timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.asset-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.principle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.history-timeline article,
.asset-grid article,
.premium-box,
.history-list-card,
.reputation-card,
.about-standard-link {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.history-timeline article,
.asset-grid article,
.premium-box { padding: clamp(22px, 2.6vw, 30px); }
.history-timeline span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue-700);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 950;
}
.asset-grid article span {
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan-500), var(--navy-800));
}
.history-timeline h3,
.asset-grid h3,
.premium-box h3 { margin-top: 0; font-size: clamp(1.05rem, 1.35vw, 1.35rem); }
.history-split { grid-template-columns: minmax(0, 1fr) minmax(340px, 500px); align-items: center; }
.history-split.reverse { grid-template-columns: minmax(340px, 500px) minmax(0, 1fr); }
.history-list-card,
.reputation-card,
.about-standard-link { padding: clamp(24px, 3.5vw, 38px); }
.trust-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 5px solid var(--cyan-500);
  border-radius: 16px;
  background: #f5fbff;
  color: var(--text);
}
.large-list { gap: 16px; }
.large-list li { font-size: 1rem; }
.soft-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(0,174,239,.11), transparent 26%),
    linear-gradient(180deg, #f5fbff, #ffffff);
}
.history-form-section {
  background:
    radial-gradient(circle at 80% 0%, rgba(0,174,239,.18), transparent 35%),
    linear-gradient(135deg, #eef8ff, #ffffff);
}
.about-standard-link { margin: 30px 0; border-color: #bde9fb; background: linear-gradient(135deg, #ffffff, #f4fbff); }
.about-standard-link h3 { margin-top: 0; }
.about-standard-link .text-link { font-weight: 900; }
@media (min-width: 901px) {
  .primary-nav { gap: 16px; }
  .primary-nav > a:not(.button), .nav-drop-button { font-size: .86rem; }
}
@media (max-width: 1080px) {
  .history-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .asset-grid,
  .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-split,
  .history-split.reverse { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .history-timeline,
  .asset-grid,
  .principle-grid { grid-template-columns: 1fr; }
  .history-principle-card,
  .history-list-card,
  .reputation-card,
  .about-standard-link { border-radius: 22px; }
}

/* V36 History page: concise PR-style message system and polished trust layout */
.history-v36-hero {
  padding: clamp(72px, 9vw, 128px) 0 clamp(54px, 7vw, 92px);
  background:
    radial-gradient(circle at 12% 84%, rgba(123, 97, 255, .14), transparent 30%),
    radial-gradient(circle at 84% 16%, rgba(0, 174, 239, .22), transparent 36%),
    linear-gradient(135deg, #fff 0%, #f7fbff 50%, #eaf8ff 100%);
}
.history-v36-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(320px, .72fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}
.history-v36-hero-copy h1 {
  max-width: 720px;
  font-size: clamp(2.25rem, 5vw, 5rem);
  line-height: .96;
  letter-spacing: -.07em;
}
.history-v36-hero-copy .hero-lede {
  max-width: 680px;
  font-size: clamp(1rem, 1.16vw, 1.18rem);
}
.history-v36-pledge {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(0,174,239,.32);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,253,255,.92)),
    radial-gradient(circle at 100% 0%, rgba(0,174,239,.16), transparent 42%);
  box-shadow: 0 28px 80px rgba(9,13,67,.14);
}
.history-v36-pledge::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--cyan-500), #7b61ff, var(--navy-900));
}
.history-v36-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-700);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.history-v36-pledge h2 {
  margin: 0 0 22px;
  font-size: clamp(1.55rem, 2.5vw, 2.4rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.history-v36-mini-list {
  display: grid;
  gap: 12px;
}
.history-v36-mini-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(184,198,215,.75);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  color: var(--navy-950);
  font-weight: 900;
  line-height: 1.3;
}
.history-v36-mini-list span::before {
  content: '✓';
  display: inline-grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(0,174,239,.13);
  color: var(--cyan-600);
  font-weight: 950;
}
.history-v36-bites-section {
  background: #fff;
}
.history-v36-bites {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.history-v36-bites article {
  position: relative;
  min-height: 300px;
  padding: 28px 24px 26px;
  border: 1px solid rgba(184,198,215,.9);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,252,255,.96));
  box-shadow: 0 18px 50px rgba(9,13,67,.075);
}
.history-v36-bites article:nth-child(even) {
  transform: translateY(18px);
}
.history-v36-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy-900), var(--cyan-500));
  color: #fff;
  font-weight: 950;
  font-size: .82rem;
}
.history-v36-bites h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: -.055em;
  margin-bottom: 14px;
}
.history-v36-bites p {
  color: var(--text);
  font-size: .96rem;
  line-height: 1.55;
}
.history-v36-control-section,
.history-v36-reputation-section,
.history-v36-proof-section,
.history-v36-form {
  background:
    radial-gradient(circle at 88% 12%, rgba(0,174,239,.14), transparent 34%),
    linear-gradient(180deg, #edf8ff 0%, #f8fcff 100%);
}
.history-v36-control-grid,
.history-v36-feature-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}
.history-v36-feature-split.reverse {
  grid-template-columns: minmax(420px, 1fr) minmax(0, .9fr);
}
.history-v36-control-copy h2,
.history-v36-feature-card h2,
.history-v36-feature-split .copy-block h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: -.06em;
}
.history-v36-control-copy p,
.history-v36-feature-card p,
.history-v36-feature-split .copy-block p {
  font-size: clamp(1rem, 1.08vw, 1.1rem);
}
.history-v36-pullquote {
  margin-top: 24px !important;
  padding: 22px 24px;
  border-left: 5px solid var(--cyan-500);
  border-radius: 0 18px 18px 0;
  background: #fff;
  color: var(--navy-950) !important;
  font-size: clamp(1.25rem, 2vw, 1.8rem) !important;
  font-weight: 950;
  line-height: 1.14;
  letter-spacing: -.04em;
  box-shadow: var(--shadow-sm);
}
.history-v36-asset-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.history-v36-asset-map article {
  min-height: 184px;
  padding: 24px;
  border: 1px solid rgba(184,198,215,.9);
  border-radius: 26px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 16px 48px rgba(9,13,67,.08);
}
.history-v36-asset-map article:nth-child(2),
.history-v36-asset-map article:nth-child(3) {
  transform: translateY(18px);
}
.history-v36-asset-map span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--blue-700);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 950;
}
.history-v36-asset-map span::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan-500);
  box-shadow: 0 0 0 6px rgba(0,174,239,.12);
}
.history-v36-asset-map p {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(1.03rem, 1.3vw, 1.2rem);
  font-weight: 850;
  line-height: 1.42;
}
.history-v36-feature-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4.5vw, 46px);
  border: 1px solid rgba(184,198,215,.9);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(9,13,67,.1);
}
.history-v36-feature-card::after {
  content: '';
  position: absolute;
  right: -92px;
  bottom: -92px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0,174,239,.16), transparent 68%);
  pointer-events: none;
}
.history-v36-feature-card.trust-card {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  border-color: rgba(255,255,255,.16);
}
.history-v36-feature-card.trust-card .eyebrow,
.history-v36-feature-card.trust-card h2,
.history-v36-feature-card.trust-card p {
  color: #fff;
}
.history-v36-feature-card.trust-card p {
  color: rgba(255,255,255,.82);
}
.history-v36-checks {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.history-v36-checks li {
  position: relative;
  padding: 13px 16px 13px 44px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--navy-950);
  font-weight: 900;
}
.history-v36-checks li::before {
  content: '✓';
  position: absolute;
  left: 16px;
  top: 13px;
  color: var(--cyan-600);
  font-weight: 950;
}
.history-v36-timeline-section {
  background: #fff;
}
.history-v36-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.history-v36-timeline article {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f8fcff);
  box-shadow: var(--shadow-sm);
}
.history-v36-timeline article::before {
  content: '';
  position: absolute;
  top: -11px;
  left: 24px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--cyan-500);
  box-shadow: 0 0 0 8px rgba(0,174,239,.1);
}
.history-v36-timeline span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue-700);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 950;
}
.history-v36-timeline h3 {
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
}
.history-v36-proof-grid .case-card {
  border-radius: 24px;
}
.history-v36-testimonials {
  margin-top: 24px;
}
.history-v36-form .form-intro {
  text-align: center;
  margin-inline: auto;
}
@media (max-width: 1050px) {
  .history-v36-bites,
  .history-v36-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .history-v36-bites article:nth-child(even),
  .history-v36-asset-map article:nth-child(2),
  .history-v36-asset-map article:nth-child(3) {
    transform: none;
  }
  .history-v36-control-grid,
  .history-v36-feature-split,
  .history-v36-feature-split.reverse {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .history-v36-hero {
    padding: 54px 0 62px;
  }
  .history-v36-hero-grid,
  .history-v36-bites,
  .history-v36-asset-map,
  .history-v36-timeline {
    grid-template-columns: 1fr;
  }
  .history-v36-hero-copy h1 {
    font-size: clamp(2.18rem, 12vw, 3.4rem);
  }
  .history-v36-pledge,
  .history-v36-feature-card,
  .history-v36-bites article,
  .history-v36-asset-map article,
  .history-v36-timeline article {
    border-radius: 22px;
  }
  .history-v36-control-copy h2,
  .history-v36-feature-card h2,
  .history-v36-feature-split .copy-block h2 {
    font-size: clamp(1.75rem, 8vw, 2.55rem);
  }
}


/* V37 — History continuity, succession proof, and asset-map polish */
.history-v36-asset-map {
  gap: clamp(18px, 2.4vw, 28px);
  align-items: stretch;
}
.history-v36-asset-map article,
.history-v36-asset-map article:nth-child(2),
.history-v36-asset-map article:nth-child(3) {
  transform: none;
}
.history-v37-continuity-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(123, 97, 255, .11), transparent 30%),
    radial-gradient(circle at 90% 70%, rgba(0,174,239,.14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
}
.history-v37-continuity-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(420px, 1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}
.history-v37-continuity-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.2vw, 4.2rem);
  line-height: .98;
  letter-spacing: -.065em;
}
.history-v37-continuity-copy p {
  max-width: 700px;
  color: var(--text);
  font-size: clamp(1rem, 1.08vw, 1.12rem);
}
.history-v37-succession-line {
  margin-top: 24px !important;
  padding: 22px 24px;
  border-left: 5px solid var(--cyan-500);
  border-radius: 0 18px 18px 0;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--navy-950) !important;
  font-weight: 950;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem) !important;
  line-height: 1.18;
  letter-spacing: -.045em;
}
.history-v37-continuity-cards {
  display: grid;
  gap: 16px;
}
.history-v37-continuity-cards article {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(184,198,215,.9);
  border-radius: 26px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 54px rgba(9,13,67,.075);
}
.history-v37-continuity-cards article::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--cyan-500), #7b61ff);
}
.history-v37-continuity-cards article span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue-700);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.history-v37-continuity-cards article h3 {
  margin: 0 0 8px;
  color: var(--navy-950);
  font-size: clamp(1.08rem, 1.55vw, 1.42rem);
  line-height: 1.15;
  letter-spacing: -.04em;
}
.history-v37-continuity-cards article p {
  margin: 0;
  color: var(--text);
}
@media (max-width: 1050px) {
  .history-v37-continuity-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .history-v37-continuity-copy h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  .history-v37-continuity-cards article {
    border-radius: 22px;
  }
}

/* V38: client-control messaging alignment */
.client-position-section {
  padding-top: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(36px, 5vw, 72px);
  background:
    radial-gradient(circle at 14% 20%, rgba(0,174,239,.10), transparent 32%),
    radial-gradient(circle at 82% 80%, rgba(46,49,146,.08), transparent 36%),
    #fff;
}
.client-position-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .75fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4.5vw, 56px);
  border: 1px solid rgba(0,174,239,.25);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255,255,255,.97), rgba(238,250,255,.94));
  box-shadow: 0 24px 80px rgba(9,13,67,.08);
  position: relative;
  overflow: hidden;
}
.client-position-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan-500), #7b61ff, var(--blue-700));
}
.client-position-card h2 {
  margin: 0 0 14px;
  max-width: 760px;
  color: var(--navy-950);
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.client-position-card p {
  margin: 0;
  max-width: 820px;
  color: var(--slate-700);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}
.client-position-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.client-position-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid rgba(184,198,215,.75);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: var(--navy-950);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(9,13,67,.05);
}
.client-position-list li::before {
  content: '';
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 999px;
  background: var(--cyan-500);
  box-shadow: 0 0 0 5px rgba(0,174,239,.13);
}
.history-preview-card {
  align-items: center;
}
.history-preview-card .button {
  justify-self: end;
}
@media (max-width: 980px) {
  .client-position-card {
    grid-template-columns: 1fr;
  }
  .client-position-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .history-preview-card .button {
    justify-self: start;
  }
}
@media (max-width: 640px) {
  .client-position-card {
    padding: 26px 20px;
    border-radius: 26px;
  }
  .client-position-list {
    grid-template-columns: 1fr;
  }
  .client-position-list li {
    border-radius: 18px;
  }
}


/* V39 — plain-English advisor, shared-decision, and accountable communication messaging */
.plain-english-section {
  position: relative;
  background:
    radial-gradient(circle at 10% 20%, rgba(0,174,239,.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
}
.plain-english-grid,
.history-v39-advisor-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}
.plain-english-copy h2,
.history-v39-advisor-copy h2 {
  font-size: clamp(2rem, 3.8vw, 4.1rem);
  line-height: 1.01;
  letter-spacing: -.065em;
}
.plain-english-copy p,
.history-v39-advisor-copy p {
  max-width: 700px;
  color: #334363;
  font-size: clamp(1rem, 1.06vw, 1.13rem);
}
.plain-english-cards,
.history-v39-advisor-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.plain-english-cards article,
.history-v39-advisor-cards article,
.plain-advisor-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(184,198,215,.9);
  border-radius: 26px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 54px rgba(9,13,67,.075);
}
.plain-english-cards article,
.history-v39-advisor-cards article {
  min-height: 190px;
  padding: clamp(22px, 3vw, 30px);
}
.plain-english-cards article::before,
.history-v39-advisor-cards article::before,
.plain-advisor-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan-500), #7b61ff);
}
.plain-english-cards span,
.history-v39-advisor-cards span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue-700);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.plain-english-cards h3,
.history-v39-advisor-cards h3 {
  margin: 0 0 9px;
  color: var(--navy-950);
  font-size: clamp(1.08rem, 1.48vw, 1.38rem);
  line-height: 1.13;
  letter-spacing: -.04em;
}
.plain-english-cards p,
.history-v39-advisor-cards p {
  margin: 0;
  color: #44546f;
}
.plain-advisor-card {
  margin: 30px 0;
  padding: clamp(24px, 3.4vw, 38px);
  background: linear-gradient(135deg, #ffffff, #f3fbff);
}
.plain-advisor-card h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 2.3vw, 2.45rem);
}
.plain-advisor-card p { color: #334363; }
.history-v39-advisor-section {
  background:
    radial-gradient(circle at 88% 10%, rgba(0,174,239,.13), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
}
@media (max-width: 1050px) {
  .plain-english-grid,
  .history-v39-advisor-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .plain-english-cards,
  .history-v39-advisor-cards {
    grid-template-columns: 1fr;
  }
  .plain-english-cards article,
  .history-v39-advisor-cards article,
  .plain-advisor-card {
    border-radius: 22px;
  }
}


/* V40 — responsive support and accountability messaging */
.support-standard-section {
  position: relative;
  background:
    radial-gradient(circle at 88% 18%, rgba(0,174,239,.13), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
}
.support-standard-card,
.history-v40-support-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(360px, .9fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
.support-standard-card {
  position: relative;
  padding: clamp(28px, 4.5vw, 48px);
  border: 1px solid rgba(0,174,239,.26);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,250,255,.88));
  box-shadow: 0 30px 90px rgba(11,15,79,.11);
  overflow: hidden;
}
.support-standard-card::before,
.support-advisor-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan-500), #7b61ff);
}
.support-standard-card h2,
.history-v40-support-copy h2 {
  font-size: clamp(2rem, 3.7vw, 4rem);
  line-height: 1.01;
  letter-spacing: -.065em;
}
.support-standard-card p,
.history-v40-support-copy p {
  max-width: 760px;
  color: #334363;
  font-size: clamp(1rem, 1.06vw, 1.13rem);
}
.support-standard-list,
.history-v40-support-bites {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.support-standard-list span,
.history-v40-support-bites article {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 16px 18px 16px 48px;
  border: 1px solid rgba(184,206,231,.84);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-xs);
  color: var(--navy-950);
  font-weight: 900;
  line-height: 1.25;
}
.support-standard-list span::before,
.history-v40-support-bites article::before {
  content: '✓';
  position: absolute;
  left: 18px;
  top: 19px;
  color: var(--cyan-600);
  font-weight: 950;
}
.history-v40-support-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(123,97,255,.10), transparent 28%),
    linear-gradient(180deg, #f7fcff 0%, #ffffff 100%);
}
.history-v40-support-bites article {
  display: block;
  min-height: 146px;
  padding: 22px 22px 22px 48px;
}
.history-v40-support-bites article span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-700);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.history-v40-support-bites h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(1.05rem, 1.45vw, 1.34rem);
  line-height: 1.16;
  letter-spacing: -.04em;
}
.support-advisor-card {
  position: relative;
  overflow: hidden;
  margin: 30px 0;
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid rgba(184,198,215,.9);
  border-radius: 26px;
  background: linear-gradient(135deg, #ffffff, #f3fbff);
  box-shadow: 0 18px 54px rgba(9,13,67,.075);
}
.support-advisor-card h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 2.3vw, 2.45rem);
}
.support-advisor-card p { color: #334363; }
@media (max-width: 1050px) {
  .support-standard-card,
  .history-v40-support-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .support-standard-list,
  .history-v40-support-bites {
    grid-template-columns: 1fr;
  }
  .support-standard-card,
  .support-advisor-card,
  .history-v40-support-bites article {
    border-radius: 22px;
  }
}


/* V43 human-reviewed publishing note */
.portfolio-automation-note {
    border-color: rgba(0, 184, 245, .34);
    background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(240, 250, 255, .98));
}
.portfolio-automation-note .eyebrow { color: var(--accent); }


/* V45: campaign result KPI cards for portfolio case studies */
.result-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.6rem 0 0;
}
.result-metric-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 174, 239, .24);
    border-radius: 22px;
    padding: 1.25rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 174, 239, .16), transparent 44%),
        linear-gradient(145deg, #ffffff, #f6fbff);
    box-shadow: 0 18px 48px rgba(8, 20, 78, .08);
}
.result-metric-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #00aeef, #2e3192);
}
.result-metric-card strong {
    display: block;
    color: var(--navy);
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: .95;
    letter-spacing: -.055em;
    margin-bottom: .5rem;
}
.result-metric-card span {
    display: block;
    color: var(--navy);
    font-weight: 900;
    letter-spacing: -.02em;
    margin-bottom: .35rem;
}
.result-metric-card p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.55;
}
@media (max-width: 760px) {
    .result-metrics {
        grid-template-columns: 1fr;
    }
}

/* V46: industry-focused landing paths */
.nav-drop-divider {
  display: block;
  height: 1px;
  margin: 6px 8px;
  background: linear-gradient(90deg, transparent, rgba(0, 174, 239, .28), transparent);
}
.industry-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 9vw, 118px) 0 clamp(56px, 7vw, 86px);
  background:
    radial-gradient(circle at 9% 8%, rgba(0, 174, 239, .20), transparent 30%),
    radial-gradient(circle at 91% 18%, rgba(46, 49, 146, .14), transparent 30%),
    linear-gradient(135deg, #f8fcff 0%, #edf8ff 50%, #ffffff 100%);
}
.industry-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .78fr);
  gap: clamp(30px, 5vw, 58px);
  align-items: center;
}
.industry-hero h1 {
  max-width: 940px;
  margin: 0 0 18px;
  color: var(--navy-950);
  font-family: Manrope, var(--font-heading, sans-serif);
  font-size: clamp(2.35rem, 5.05vw, 5rem);
  line-height: .96;
  letter-spacing: -.075em;
}
.industry-hero .hero-lede {
  max-width: 760px;
  color: #34425f;
  font-size: clamp(1.06rem, 1.55vw, 1.28rem);
  line-height: 1.62;
}
.industry-hero-panel,
.manufacturing-proof-panel,
.publisher-proof-panel {
  position: relative;
  padding: clamp(24px, 3.2vw, 38px);
  border: 1px solid rgba(184, 198, 215, .92);
  border-radius: 32px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 28px 76px rgba(9, 13, 67, .13);
  backdrop-filter: blur(14px);
}
.industry-hero-panel::before,
.manufacturing-proof-panel::before,
.publisher-proof-panel::before {
  content: '';
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.82);
}
.industry-hero-panel h2,
.manufacturing-proof-panel h2,
.publisher-proof-panel h2 {
  margin: 0 0 12px;
  color: var(--navy-950);
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1.06;
  letter-spacing: -.055em;
}
.compact-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.compact-list li,
.review-checklist li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 28px;
  color: var(--navy-950);
  font-weight: 750;
}
.compact-list li::before,
.review-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan-600);
  font-weight: 950;
}
.industry-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 26px);
}
.industry-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 326px;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid rgba(216, 226, 238, .96);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 174, 239, .11), transparent 42%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 18px 48px rgba(9, 13, 67, .075);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 174, 239, .38);
  box-shadow: 0 26px 68px rgba(9, 13, 67, .12);
}
.industry-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.28rem, 1.95vw, 1.85rem);
  line-height: 1.08;
  letter-spacing: -.052em;
}
.industry-card p {
  color: #40506c;
}
.tag-row,
.strategy-bites,
.industry-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}
.tag-row span,
.strategy-bites span,
.history-preview-points span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 174, 239, .22);
  border-radius: 999px;
  color: var(--navy-950);
  background: rgba(255,255,255,.82);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: -.01em;
}
.industry-strategy-card,
.industry-home-card,
.industry-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
  padding: clamp(28px, 4.2vw, 52px);
  border: 1px solid rgba(184,198,215,.9);
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 174, 239, .13), transparent 42%),
    linear-gradient(135deg, #ffffff, #f3fbff);
  box-shadow: 0 24px 72px rgba(9,13,67,.095);
}
.industry-strategy-card h2,
.industry-home-card h2,
.industry-two-col h2 {
  margin: 0 0 12px;
  color: var(--navy-950);
  font-size: clamp(1.6rem, 3vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -.065em;
}
.manufacturing-proof-panel,
.publisher-proof-panel {
  display: grid;
  gap: 16px;
}
.proof-metric {
  padding: 18px;
  border: 1px solid rgba(216,226,238,.9);
  border-radius: 22px;
  background: rgba(255,255,255,.78);
}
.proof-metric span {
  display: block;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: .92;
  font-weight: 950;
  letter-spacing: -.07em;
}
.proof-metric p {
  margin: 8px 0 0;
  color: #40506c;
  font-size: .95rem;
  line-height: 1.5;
}
.bite-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}
.bite-card-grid article {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid rgba(216,226,238,.95);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(9,13,67,.07);
}
.bite-card-grid article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-900), var(--cyan-500));
  font-weight: 950;
}
.bite-card-grid h3 {
  margin: 0 0 10px;
  color: var(--navy-950);
  font-size: clamp(1.05rem, 1.55vw, 1.4rem);
  line-height: 1.13;
  letter-spacing: -.045em;
}
.review-checklist {
  columns: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}
.industry-project-grid {
  display: grid;
  gap: 22px;
}
.industry-project-card {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 38px);
  align-items: center;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(216,226,238,.95);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 20px 58px rgba(9,13,67,.085);
}
.industry-project-image {
  overflow: hidden;
  display: block;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(184,198,215,.8);
  border-radius: 22px;
  background: var(--soft-blue);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.82);
}
.industry-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.industry-project-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.5vw, 2.45rem);
  line-height: 1.04;
  letter-spacing: -.065em;
}
.industry-ad-section .industry-strategy-card {
  background:
    radial-gradient(circle at 0 0, rgba(0,174,239,.14), transparent 36%),
    linear-gradient(135deg, #f8fcff, #ffffff);
}

.publisher-hero {
  background:
    radial-gradient(circle at 16% 20%, rgba(0, 174, 239, .16), transparent 28%),
    radial-gradient(circle at 84% 14%, rgba(46, 49, 146, .11), transparent 34%),
    linear-gradient(135deg, #f8fcff 0%, #eff9ff 48%, #ffffff 100%);
}
.publisher-proof-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(0,174,239,.12), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,252,255,.9));
}
.publisher-bite-grid article:nth-child(2n) {
  background:
    radial-gradient(circle at 100% 0%, rgba(0,174,239,.10), transparent 42%),
    #fff;
}
.publisher-search-section .industry-strategy-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(46,49,146,.12), transparent 38%),
    linear-gradient(135deg, #ffffff, #f4fbff);
}

@media (max-width: 980px) {
  .industry-hero-grid,
  .industry-strategy-card,
  .industry-home-card,
  .industry-two-col,
  .industry-project-card {
    grid-template-columns: 1fr;
  }
  .industry-card-grid,
  .bite-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .industry-hero {
    padding-top: 54px;
  }
  .industry-hero h1 {
    font-size: clamp(2.05rem, 12vw, 3rem);
  }
  .industry-card-grid,
  .bite-card-grid {
    grid-template-columns: 1fr;
  }
  .industry-card {
    min-height: 0;
  }
  .industry-hero-panel,
  .manufacturing-proof-panel,
  .publisher-proof-panel,
  .industry-strategy-card,
  .industry-home-card,
  .industry-two-col {
    border-radius: 24px;
    padding: 22px;
  }
}


/* --------------------------------------------------------------------------
   V48 mobile viewport containment
   The V47 premium desktop system looked good on wide screens, but a few visual
   showcase and proof-band elements could create horizontal overflow on phones.
   These final overrides force the homepage, service pages, portfolio pages, and
   forms to respect the visible viewport without flattening the desktop design.
   -------------------------------------------------------------------------- */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
@supports not (overflow-x: clip) {
  html,
  body { overflow-x: hidden; }
}
body * { min-width: 0; }
img,
svg,
video,
iframe { max-width: 100%; }
.topbar,
.site-header,
.main-content,
.site-footer,
.hero,
.inner-hero,
.service-hero,
.case-hero,
.product-hero,
.landing-hero,
.logo-proof-band,
.section { max-width: 100%; overflow-x: clip; }
.container { max-width: var(--max); }

@media (max-width: 900px) {
  .container,
  .nav-wrap,
  .hero-grid,
  .hero-with-showcase .hero-grid,
  .service-hero .hero-grid,
  .landing-hero .hero-grid,
  .case-hero .hero-grid,
  .portfolio-hero .hero-grid,
  .logo-proof-inner,
  .form-container,
  .form-shell,
  .service-copy-layout,
  .portfolio-list,
  .case-detail-grid {
    width: min(calc(100% - 32px), var(--max)) !important;
    max-width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .topbar-inner {
    justify-content: center !important;
    gap: 8px 14px !important;
    padding: 6px 0 !important;
    text-align: center;
  }
  .topbar-inner span:nth-child(2) { display: none; }
  .nav-wrap { min-height: 68px !important; gap: 14px !important; }
  .brand-logo { width: 150px !important; max-width: 48vw !important; }
  .nav-toggle { display: inline-flex !important; }
  .primary-nav {
    left: 16px !important;
    right: 16px !important;
    top: calc(100% + 8px) !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100dvh - 118px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .primary-nav > a:not(.button),
  .nav-drop-button { width: 100%; text-align: left; }
  .nav-drop-panel {
    width: 100% !important;
    max-width: 100% !important;
    right: auto !important;
  }
  .nav-drop-panel a { white-space: normal !important; }

  .hero,
  .inner-hero,
  .service-hero,
  .case-hero,
  .product-hero,
  .landing-hero { padding: 46px 0 58px !important; }
  .hero-grid,
  .hero-with-showcase .hero-grid,
  .service-hero .hero-grid,
  .landing-hero .hero-grid,
  .case-hero .hero-grid,
  .portfolio-hero .hero-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .hero-home h1,
  .service-hero h1,
  .landing-service-hero h1,
  .case-hero h1,
  h1 {
    max-width: 100% !important;
    font-size: clamp(2rem, 9.2vw, 3rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -.05em !important;
    text-wrap: balance;
  }
  h2 {
    max-width: 100% !important;
    font-size: clamp(1.42rem, 6.8vw, 2.05rem) !important;
    line-height: 1.12 !important;
  }
  .hero-lede,
  .section-heading p { max-width: 100% !important; }
  .hero-actions,
  .industry-home-actions,
  .portfolio-row-actions { flex-direction: column !important; align-items: stretch !important; }
  .hero-actions .button,
  .industry-home-actions .button,
  .portfolio-row-actions .button,
  .landing-cta-inner .button { width: 100% !important; }

  .hero-showcase {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  .showcase-stack {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    min-height: 0 !important;
    height: auto !important;
    filter: none !important;
    transform: none !important;
  }
  .showcase-tile,
  .showcase-tile-1,
  .showcase-tile-2,
  .showcase-tile-3 {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 10 !important;
    margin: 0 !important;
    border-width: 7px !important;
    border-radius: 22px !important;
    transform: none !important;
    box-shadow: 0 16px 42px rgba(8,13,73,.14) !important;
  }
  .showcase-tile img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: top center !important; }
  .showcase-tile span { left: 12px !important; right: 12px !important; bottom: 12px !important; font-size: .94rem !important; }
  .showcase-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px 0 0 !important;
    padding: 18px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }
  .mini-price {
    grid-template-columns: minmax(0, 1fr) max-content !important;
    gap: 10px !important;
  }
  .mini-price span,
  .mini-price strong { min-width: 0 !important; white-space: normal !important; font-size: .95rem !important; }

  .logo-proof-band { padding: 34px 0 !important; }
  .logo-proof-inner { display: grid !important; grid-template-columns: 1fr !important; gap: 20px !important; }
  .logo-marquee { display: none !important; }
  .logo-static-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .logo-pill {
    min-width: 0 !important;
    width: 100% !important;
    height: 58px !important;
    padding: 10px !important;
    border-radius: 14px !important;
  }
  .logo-pill img { max-width: 100% !important; max-height: 34px !important; }

  .value-grid,
  .card-grid,
  .service-grid,
  .pricing-grid,
  .product-feature-grid,
  .case-grid-large,
  .footer-grid,
  .self-qualify-grid,
  .deliverables-grid,
  .form-grid,
  .form-grid.two,
  .checkbox-grid,
  .testimonial-grid-large,
  .screenshot-gallery,
  .proof-gallery,
  .live-example-gallery,
  .code-grid,
  .plain-english-grid,
  .plain-english-cards,
  .support-standard-card,
  .history-preview-card,
  .industry-home-card,
  .industry-card-grid,
  .conversion-grid,
  .conversion-map-grid,
  .related-proof-grid,
  .mini-testimonial-grid,
  .landing-answer-grid {
    grid-template-columns: 1fr !important;
  }
  .history-preview-card,
  .plain-english-grid,
  .support-standard-card,
  .industry-home-card,
  .landing-decision-wrap,
  .lead-form-card,
  .service-card,
  .price-card,
  .portfolio-row,
  .case-card,
  .testimonial-card {
    padding: 22px !important;
    border-radius: 22px !important;
  }
  .trust-list { display: grid !important; grid-template-columns: 1fr !important; gap: 8px !important; }
  .trust-list li { width: 100% !important; justify-content: flex-start !important; text-align: left !important; }
  .portfolio-row,
  .portfolio-row.is-reversed { grid-template-columns: 1fr !important; }
  .portfolio-row.is-reversed .portfolio-row-media { order: 0 !important; }
  .portfolio-row-media { min-height: 0 !important; transform: none !important; border-width: 8px !important; }
  .portfolio-row-media img { height: 260px !important; }
  .lead-form-card .checkbox-grid { grid-template-columns: 1fr !important; }
  .site-footer { padding-top: 48px !important; }
}

@media (max-width: 480px) {
  .container,
  .nav-wrap,
  .hero-grid,
  .hero-with-showcase .hero-grid,
  .service-hero .hero-grid,
  .landing-hero .hero-grid,
  .case-hero .hero-grid,
  .portfolio-hero .hero-grid,
  .logo-proof-inner,
  .form-container,
  .form-shell,
  .service-copy-layout,
  .portfolio-list,
  .case-detail-grid {
    width: min(calc(100% - 24px), var(--max)) !important;
    max-width: calc(100% - 24px) !important;
  }
  .topbar-inner { font-size: .72rem !important; }
  .brand-logo { width: 136px !important; max-width: 48vw !important; }
  .nav-toggle { padding: 9px 14px !important; min-height: 40px !important; }
  .hero,
  .inner-hero,
  .service-hero,
  .case-hero,
  .product-hero,
  .landing-hero { padding: 38px 0 50px !important; }
  .hero-home h1,
  .service-hero h1,
  .landing-service-hero h1,
  .case-hero h1,
  h1 { font-size: clamp(1.86rem, 10.2vw, 2.55rem) !important; }
  h2 { font-size: clamp(1.3rem, 7.2vw, 1.86rem) !important; }
  .button { min-height: 44px !important; padding: 11px 15px !important; font-size: .95rem !important; }
  .mini-price { grid-template-columns: 1fr !important; gap: 2px !important; padding: 11px 0 !important; }
  .mini-price strong { justify-self: start !important; }
  .showcase-tile,
  .showcase-tile-1,
  .showcase-tile-2,
  .showcase-tile-3 { aspect-ratio: 16 / 11 !important; }
  .logo-static-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .logo-pill { height: 54px !important; }
  .logo-pill img { max-height: 30px !important; }
}

@media (max-width: 340px) {
  .container,
  .nav-wrap,
  .hero-grid,
  .hero-with-showcase .hero-grid,
  .service-hero .hero-grid,
  .landing-hero .hero-grid,
  .case-hero .hero-grid,
  .portfolio-hero .hero-grid,
  .logo-proof-inner,
  .form-container,
  .form-shell,
  .service-copy-layout,
  .portfolio-list,
  .case-detail-grid {
    width: min(calc(100% - 20px), var(--max)) !important;
    max-width: calc(100% - 20px) !important;
  }
  .logo-static-grid { grid-template-columns: 1fr !important; }
  .brand-logo { width: 124px !important; }
}

/* V50 Time & Weather download panel */
.plugin-download-section {
    background: linear-gradient(135deg, rgba(238, 249, 255, 0.95), rgba(255, 255, 255, 0.98));
}
.plugin-download-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(14, 181, 235, 0.28);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft, 0 22px 70px rgba(8, 26, 91, 0.10));
}
.plugin-download-panel h2 {
    margin-bottom: .65rem;
}
.plugin-download-actions {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    align-items: stretch;
}
.plugin-download-actions .button,
.plugin-download-actions .text-link {
    width: 100%;
    text-align: center;
}
.plugin-download-actions .text-link {
    font-weight: 800;
    color: var(--navy, #0b1263);
}
@media (max-width: 720px) {
    .plugin-download-panel {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }
}

.download-note{margin-top:1rem;font-size:.92rem;color:var(--muted);line-height:1.55}.download-note a{font-weight:800;color:var(--navy)}

/* V51 Time & Weather SEO expansion + Custom Publishing Tools page */
.taw-hero .trust-list li { background: rgba(255,255,255,.84); }
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 940px;
}
.faq-list details {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(10,18,99,.12);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(8,26,91,.06);
  padding: 18px 20px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy, #0b1263);
}
.faq-list details p {
  margin: 12px 0 0;
  color: var(--muted, #52657f);
}
.roomy-callout { padding: clamp(1.35rem, 3vw, 2.15rem); }
.custom-tools-panel .proof-metric span { min-width: 7.25rem; }
.custom-tools-grid article { min-height: 205px; }
.custom-tools-linked-pages .split { align-items: stretch; }
.custom-tools-linked-pages .callout { height: 100%; }
.custom-tools-standard-section .bite-card-grid article,
.custom-tools-list-section .value-grid article,
.custom-tools-proof-section .industry-project-card,
.custom-tools-workflow-section .review-checklist,
.custom-tools-linked-pages .callout { box-shadow: 0 22px 60px rgba(9,13,67,.08); }
@media (max-width: 720px) {
  .custom-tools-panel .proof-metric span { min-width: 0; }
  .custom-tools-grid article { min-height: 0; }
}


/* V54 Time & Weather components panel + GA launch polish */
/* V55 Time & Weather shortcode card readability fix */
.taw-capabilities-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 8%, rgba(0,174,239,.09), transparent 22rem),
    radial-gradient(circle at 92% 14%, rgba(32,42,139,.06), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}
.taw-capabilities-panel {
  width: min(1040px, calc(100% - clamp(34px, 6vw, 84px))) !important;
  max-width: 1040px !important;
  margin-inline: auto !important;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  padding: clamp(28px, 4.8vw, 52px);
  border: 1px solid rgba(171,207,232,.78);
  border-radius: clamp(28px, 4vw, 38px);
  background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(245,251,255,.93));
  box-shadow: 0 28px 80px rgba(8,13,67,.09);
}
.taw-capabilities-copy { max-width: 470px; min-width: 0; }
.taw-capabilities-copy h2 {
  max-width: 12.5em;
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3vw, 2.85rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.taw-capabilities-copy p { max-width: 58ch; color: #4e6079; }
.taw-shortcode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 !important;
}
.taw-shortcode-card {
  min-width: 0;
  min-height: 86px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-areas:
    "icon code"
    "icon label";
  align-items: start;
  column-gap: 12px;
  row-gap: 7px;
  padding: 16px 17px;
  border: 1px solid rgba(184,198,215,.86);
  border-radius: 18px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 12px 32px rgba(8,13,67,.055);
  color: var(--navy-950);
  overflow: hidden;
}
.taw-shortcode-card::before {
  content: '✓';
  grid-area: icon;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan-500), #2376ff);
  font-size: .82rem;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(0,174,239,.22);
}
.taw-shortcode-card code {
  grid-area: code;
  justify-self: start;
  min-width: 0;
  max-width: 100%;
  padding: 7px 9px;
  border: 1px solid rgba(184,198,215,.8);
  border-radius: 10px;
  background: #f6fbff;
  color: var(--navy-950);
  font-size: clamp(.74rem, .72vw, .84rem);
  font-weight: 900;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.taw-shortcode-card span {
  grid-area: label;
  min-width: 0;
  color: var(--navy-950);
  font-size: .98rem;
  font-weight: 850;
  line-height: 1.25;
}
@media (max-width: 960px) {
  .taw-capabilities-panel {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 760px) !important;
    padding: clamp(24px, 5vw, 38px);
  }
  .taw-capabilities-copy { max-width: 680px; }
  .taw-capabilities-copy h2 { max-width: 13.5em; }
}
@media (max-width: 640px) {
  .taw-shortcode-grid { grid-template-columns: 1fr; }
  .taw-shortcode-card { min-height: 0; }
}
@media (max-width: 420px) {
  .taw-capabilities-panel {
    width: min(100% - 24px, 100%) !important;
    border-radius: 24px;
    padding: 22px;
  }
  .taw-shortcode-card {
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 10px;
    padding: 13px;
  }
  .taw-shortcode-card code {
    font-size: .78rem;
  }
}

/* V56: site-type positioning for local news, events, weather, tourism, and production publishing */
.site-type-home-card {
  position: relative;
  overflow: hidden;
}
.site-type-mini-list {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: -10px;
}
.site-type-mini-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 174, 239, .24);
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  color: var(--navy-950);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: -.01em;
}
.site-types-hero {
  background:
    radial-gradient(circle at 12% 14%, rgba(0,174,239,.18), transparent 26rem),
    radial-gradient(circle at 88% 8%, rgba(46,49,146,.12), transparent 28rem),
    linear-gradient(135deg, #ffffff 0%, #eef9ff 52%, #ffffff 100%);
}
.site-types-panel .proof-metric span {
  min-width: 5.75rem;
}
.site-type-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.compact-site-type-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.site-type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid rgba(184, 198, 215, .82);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0,174,239,.11), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,252,255,.96));
  box-shadow: 0 22px 58px rgba(9, 13, 67, .075);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  overflow: hidden;
}
.site-type-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-500), #5f68ff);
  opacity: .85;
}
.site-type-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,174,239,.38);
  box-shadow: 0 30px 78px rgba(9, 13, 67, .12);
}
.site-type-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.22rem, 1.7vw, 1.68rem);
  line-height: 1.08;
  letter-spacing: -.05em;
  color: var(--navy-950);
}
.site-type-card p {
  color: #40506c;
  line-height: 1.62;
}
.site-type-card .tag-row {
  margin-top: 20px;
  margin-bottom: 16px;
}
.site-types-publishing-section .industry-two-col,
.site-type-paths-section .section-heading,
.site-type-intro-section .section-heading {
  position: relative;
}
@media (max-width: 1100px) {
  .site-type-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .site-type-card-grid,
  .compact-site-type-grid { grid-template-columns: 1fr; }
  .site-type-card { min-height: 0; }
  .site-type-mini-list { margin-top: 0; }
}

/* V57 — organized services menu and custom publishing capabilities */
@media (min-width: 901px) {
  .nav-services-dropdown .services-mega-menu {
    width: min(720px, calc(100vw - 48px)) !important;
    right: -120px !important;
    padding: 18px !important;
    display: none;
    grid-template-columns: minmax(250px, 1fr) minmax(230px, .95fr) minmax(210px, .85fr);
    gap: 14px;
    border-radius: 26px;
  }
  .nav-services-dropdown:hover .services-mega-menu,
  .nav-services-dropdown:focus-within .services-mega-menu {
    display: grid !important;
  }
  .nav-menu-group {
    display: grid;
    align-content: start;
    gap: 5px;
    min-width: 0;
  }
  .nav-menu-heading {
    display: block;
    margin: 0 0 5px;
    padding: 0 10px 6px;
    color: var(--blue-700);
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 174, 239, .18);
  }
  .services-mega-menu a {
    white-space: normal !important;
    line-height: 1.18;
    min-height: 34px;
    display: flex !important;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .services-mega-menu,
  .nav-services-dropdown .services-mega-menu {
    display: grid !important;
    gap: 10px;
  }
  .nav-menu-group {
    display: grid;
    gap: 6px;
  }
  .nav-menu-heading {
    display: block;
    color: var(--blue-700);
    font-size: .7rem;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin: 8px 4px 2px;
  }
}

.capability-system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.capability-system-card {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(177, 207, 230, .82);
  border-radius: 26px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 24px 65px rgba(14, 28, 86, .1);
}
.capability-system-card::before {
  content: '';
  display: block;
  width: 38px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--cyan-500), var(--blue-600));
}
.capability-system-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
  line-height: 1.18;
}
.capability-system-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
@media (max-width: 980px) {
  .capability-system-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .capability-system-grid { grid-template-columns: 1fr; }
  .nav-services-dropdown .services-mega-menu { padding: 12px !important; }
}
