/* Approved MoreDevs editorial direction. Shared styling builds on the original
   content components; the homepage owns its three reference-specific sections. */
::selection { background: #fbd8df; color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
section[id], #form { scroll-margin-top: 110px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 20px; background: white; color: var(--ink); }
.skip-link:focus { top: 12px; }
.eyebrow { font-size: 12px; line-height: 1.7; }
.eyebrow-tealink { color: var(--teal-ink); }
.eyebrow-mut, .muted-note { color: #626d85; }
.btn-accent, .nav-cta { background: #d92343; }
.mobile-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.mobile-toggle img { filter: invert(1); }
.header-inner { gap: 24px; }
.wordmark img { filter: grayscale(1) contrast(100); mix-blend-mode: screen; transform: scale(1.6); }
.site-header { border-bottom: 0; }
.hero { position: relative; }
.hero h1 { max-width: 960px; }
.hero .lead { max-width: 760px; }
.hero .eyebrow { color: #e0e7fb; }
.section-head h2 { max-width: 960px; }
.footer-inner { padding-inline: 80px; }
.footer-grid { border-color: var(--border-dark); gap: 64px; }
.footer-grid .wordmark { display: inline-flex; }
.footer-col-label, .footer-bottom { color: #bcc8e4; }
.footer-grid p { margin-top: 20px; }
.form-card { background: #344575; }
.field-label { color: #e0e7fb; font-size: 12px; }
.fld { background: #27365e; border-color: #7180a8; padding: 14px 16px; font-size: 16px; }
.fld::placeholder { color: #b7c3de; }
.fld:focus { border-color: #fff; outline: 2px solid #fff; outline-offset: 2px; }
.form-card .mono:last-child { color: #d0d9ef !important; }
.form-error { color: #fff !important; padding: 12px; border-left: 3px solid #ff8ca0; text-align: left !important; }
.contact-grid .lead { margin-top: 24px; }
.contact-meta a[data-email] { color: #fff !important; text-decoration: underline; text-underline-offset: 5px; }
.work-card { border: 0; border-top: 3px solid var(--accent); background: var(--gray); padding: 48px; }
.work-card .tag, .col-label, .incl-label, .founder-role, .stat-list .k, .legal-updated { color: #65718b; }
.cap-detail { border: 0; padding: 48px; }
.cap-detail.dark-block .incl-label { color: #e0e7fb; }
.founder-card { border: 0; background: var(--gray); border-top: 3px solid var(--periwinkle); }
.founder-head { flex-wrap: wrap; gap: 10px; }
.founder-card.dark-block { background: var(--ground); border-top-color: var(--accent); }
.founder-card.dark-block .founder-tag { color: #fff; }
.stat-list .v { font-family: var(--font); font-size: 44px; font-weight: 600; }
.legal a { border-bottom-color: var(--accent); }
.steps { column-gap: 32px; }
.cta .btns { justify-content: center; }
.btn-ghost:hover { background: #ffffff12; }

/* Hero: editable typography beside the supplied raster artwork. */
.home-banner { background: #fff; }
.home-hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding-top: 70px; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 64px; }
.hero-kicker { color: #65759b; font-size: 11px; margin-bottom: 22px; }
.home-hero h1 { font-size: clamp(48px, 5.4vw, 78px); line-height: 1.02; letter-spacing: -.055em; font-weight: 600; text-wrap: initial; }
.home-hero h1 em { font-style: normal; color: var(--accent); }
.home-hero .lead { max-width: 620px; font-size: 19px; line-height: 1.55; color: var(--body); margin-top: 36px; }
.home-hero .btns { margin-top: 42px; flex-wrap: nowrap; gap: 24px; }
.home-hero .btn { white-space: nowrap; }
.home-hero .btn-ghost { padding-inline: 0; padding-block: 12px; border: 0; border-bottom: 1px solid #909bb3; border-radius: 0; color: var(--ink); }
.home-hero .btn-ghost:hover { color: var(--accent); border-color: var(--accent); background: transparent; }
.hero-art { position: absolute; right: 0; top: 0; width: 50%; height: calc(100% - 86px); pointer-events: none; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero .trust-line { position: relative; z-index: 1; grid-column: 1 / -1; margin: 0; min-height: 86px; padding-block: 26px; border-top: 1px solid var(--hair); background: white; color: #63739a; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; text-transform: uppercase; }
.home-hero .trust-line .sep { color: #7888ac; }

/* Reference chapter two: open, bright, two-column composition. */
.home-audience { background: var(--periwinkle); color: var(--ink); }
.audience-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 0 96px; align-items: start; padding-block: 80px; }
.audience-heading { padding-top: 18px; }
.audience-heading .eyebrow { color: var(--ink); }
.audience-heading h2 { font-size: clamp(32px, 4vw, 58px); line-height: 1.13; letter-spacing: -.045em; }
.home-audience .split-rule { display: block; border: 0; margin: 0; }
.home-audience .split-rule > div { display: flex; align-items: center; gap: 28px; padding: 24px 0; border: 0; border-bottom: 1px solid #c1cce1; font-size: 18px; line-height: 1.5; color: var(--ink); }
.home-audience .split-rule > div:first-child { padding-top: 0; }
.home-audience .split-rule > div:last-child { border: 0; padding-bottom: 0; }
.audience-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 72px; height: 72px; border-radius: 50%; background: #fff; }
.audience-icon img { width: 30px; height: 30px; }
.home-audience .muted-note { grid-column: 1 / -1; color: #25355c; font-size: 12px; }

/* Reference chapter three: numbered editorial rows, with the original copy. */
.home-opportunities { background: #fff; color: var(--ink); }
.home-opportunities h2 { max-width: 1100px; font-size: clamp(36px, 4.8vw, 68px); line-height: 1.12; letter-spacing: -.045em; }
.home-opportunities .section { padding-top: 64px; }
.home-opportunities .eyebrow { color: #63739a; }
.home-opportunities .card-grid-2 { gap: 42px 70px; margin-top: 54px; }
.home-opportunities .problem-card { display: grid; grid-template-columns: 84px 1fr; column-gap: 28px; padding: 0; border: 0; border-radius: 0; background: none; }
.home-opportunities .problem-card .num { grid-row: 1 / 3; font-family: var(--font); font-size: 60px; line-height: 1; font-weight: 500; letter-spacing: -.05em; margin: 0; color: var(--accent); }
.home-opportunities .problem-card .t { color: var(--ink); font-size: 23px; line-height: 1.3; border-left: 1px solid var(--hair); padding-left: 28px; margin-left: -28px; }
.home-opportunities .problem-card p { color: var(--body); font-size: 15px; }
.home-page #capabilities { background: var(--gray); }
.home-page #work .work-card { background: #fff; border: 1px solid var(--hair); border-top: 3px solid var(--accent); }
.home-page #work .cap-detail-stack { gap: 32px; }
.home-page .why-grid h3 { color: var(--ink); }
.home-page #about .founder-card { background: var(--gray); }
.home-page .steps .num { color: #fff; }
.home-page .fit-cols { gap: 96px; }

@media (min-width: 1500px) { .home-banner { max-width: 1920px; margin-inline: auto; } }
@media (max-width: 1150px) {
  .container, .header-inner, .footer-inner { padding-inline: 48px; }
  .nav-links { gap: 20px; }
  .wordmark { font-size: 23px; }
  .wordmark img { width: 44px; height: 36px; }
  .header-inner { padding-block: 14px; }
  .home-hero { grid-template-columns: 55% 45%; padding-top: 34px; }
  .hero-copy { padding-bottom: 44px; }
  .hero-art { width: 53%; height: calc(100% - 58px); }
  .home-hero h1 { font-size: 68px; }
  .home-hero .lead { font-size: 17px; margin-top: 28px; }
  .home-hero .btns { gap: 20px; flex-wrap: wrap; margin-top: 32px; }
  .home-hero .btn { font-size: 14px; padding-inline: 22px; }
  .home-hero .btn-ghost { padding-inline: 0; }
  .home-hero .trust-line { min-height: 58px; padding-block: 18px; }
  .audience-layout { grid-template-columns: 1.15fr 1fr; gap: 0 48px; padding-block: 56px; }
  .audience-heading h2 { font-size: 42px; }
  .home-opportunities .section { padding-top: 48px; }
  .home-audience .split-rule > div { gap: 20px; font-size: 16px; padding-block: 18px; }
  .audience-icon { flex-basis: 60px; height: 60px; }
  .home-opportunities .problem-card { grid-template-columns: 64px 1fr; gap: 20px; }
  .home-opportunities .problem-card .num { font-size: 48px; }
  .home-opportunities .problem-card .t { font-size: 21px; padding-left: 20px; margin-left: -20px; }
  .contact-grid { gap: 40px; }
}
@media (max-width: 900px) {
  .container, .header-inner, .footer-inner { padding-inline: 28px; }
  .header-inner { padding-block: 16px; gap: 16px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .nav-cta { padding: 12px 16px; font-size: 13px; }
  .home-hero h1 { font-size: 52px; }
  .home-hero .lead { font-size: 16px; }
  .audience-layout { grid-template-columns: 1fr 1fr; gap: 0 36px; }
  .audience-heading h2 { font-size: 34px; }
  .home-hero .trust-line { font-size: 10px; gap: 12px; }
  .home-opportunities .card-grid-2 { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cap-row { grid-template-columns: 48px 1fr; }
  .footer-grid { gap: 36px; }
}
@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .wordmark { font-size: 23px; }
  .mobile-toggle { display: flex; order: 3; margin-left: auto; }
  .nav-cta { margin-left: auto; }
  .nav-links.open { top: 100%; background: var(--ground); padding: 20px 28px 28px; box-shadow: 0 16px 24px #111d4320; }
  .nav-links a { min-height: 44px; font-size: 16px; }
  .home-hero { display: flex; flex-direction: column; padding-top: 42px; }
  .hero-copy { padding-bottom: 0; }
  .hero-kicker { font-size: 10px; margin-bottom: 18px; }
  .home-hero h1 { font-size: clamp(42px, 9.5vw, 62px); line-height: 1.04; letter-spacing: -.05em; max-width: 540px; }
  .desktop-break { display: none; }
  .home-hero .lead { margin-top: 24px; font-size: 17px; }
  .home-hero .btns { margin-top: 28px; gap: 12px 24px; }
  .home-hero .btn { font-size: 14px; padding: 17px 20px; }
  .home-hero .btn-ghost { padding-inline: 0; }
  .hero-art { position: relative; top: auto; right: auto; width: calc(100% + 56px); height: 340px; margin: 20px -28px 0; }
  .hero-art img { object-fit: cover; object-position: center 44%; }
  .home-hero .trust-line { min-height: 0; padding-block: 22px; gap: 12px; flex-direction: column; align-items: flex-start; font-size: 10px; }
  .home-hero .trust-line .sep { display: none; }
  .audience-layout { display: block; padding-block: 56px; }
  .audience-heading { padding-top: 0; }
  .audience-heading h2 { font-size: 36px; max-width: 520px; }
  .home-audience .split-rule { margin-top: 32px; }
  .home-audience .split-rule > div { font-size: 16px; gap: 20px; }
  .home-opportunities h2 { font-size: 36px; }
  .home-opportunities .card-grid-2 { grid-template-columns: 1fr; margin-top: 36px; gap: 32px; }
  .home-opportunities .problem-card { grid-template-columns: 56px 1fr; }
  .home-opportunities .problem-card .num { font-size: 44px; }
  .home-opportunities .problem-card .t { font-size: 20px; }
  .home-page .fit-cols { gap: 40px; }
  .contact-grid h1 { font-size: 42px !important; }
  .contact-meta { grid-template-columns: 1fr; }
  .work-card, .cap-detail, .founder-card, .founder-card.dark-block { padding: 28px; }
  .cta h2 { font-size: 34px; }
  .footer-inner { padding-top: 48px; }
}
@media (max-width: 390px) {
  .container, .header-inner, .footer-inner { padding-inline: 22px; }
  .nav-cta { font-size: 11px; padding: 12px; }
  .wordmark { font-size: 20px; gap: 4px; }
  .wordmark img { width: 36px; height: 32px; }
  .hero-art { width: calc(100% + 44px); margin-inline: -22px; }
  .home-hero .btns { align-items: flex-start; flex-direction: column; }
  .home-hero .btn-accent { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (max-width: 360px) {
  .site-header .nav-cta { display: none; }
}
