/* ============================================================
   TheBIMScout — styles.css
   Palette: navy #0f3a59 · steel #1d5179 · amber #f5b544 · ice #e9f1f8
   ============================================================ */

/* Self-hosted fonts (Poppins + Inter) — no render-blocking third-party requests */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/inter-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/inter-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/inter-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/inter-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/inter-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/inter-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/poppins-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/poppins-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/poppins-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/poppins-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
  --navy: #0f3a59;
  --navy-2: #0b2c45;
  --navy-3: #082238;
  --steel: #1d5179;
  --steel-2: #2a6291;
  --amber: #f5b544;
  --amber-2: #e7a52f;
  --ice: #e9f1f8;
  --ice-2: #f4f8fc;
  --white: #ffffff;

  --ink: #12293b;          /* body text on light */
  --ink-soft: #4c6274;     /* muted text on light */
  --line: #d7e3ee;         /* borders on light */

  --on-navy: #eaf2fa;      /* body text on navy */
  --on-navy-soft: #a9c4dc; /* muted text on navy */

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(9, 33, 53, 0.10);
  --shadow-lg: 0 20px 45px rgba(9, 33, 53, 0.16);
  --container: 1280px;

  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--amber); color: var(--navy); padding: 10px 16px;
  border-radius: 8px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 14px 24px; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  text-align: center; line-height: 1.2;
}
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-block { width: 100%; }

.btn-amber { background: var(--amber); color: var(--navy); box-shadow: 0 8px 20px rgba(245, 181, 68, .28); }
.btn-amber:hover { background: var(--amber-2); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(245, 181, 68, .38); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .38); }
.btn-ghost:hover { background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .7); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 44, 69, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-badge { display: inline-flex; }
.brand-word { font-family: var(--font-head); font-size: 1.35rem; line-height: 1; letter-spacing: -0.02em; font-weight: 600; color: #7fb0d8; }
.brand-word b { font-weight: 700; color: var(--white); }

.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu > li > a { color: #d3e2f0; font-weight: 500; font-size: .96rem; padding: 9px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.nav-menu > li > a:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
.nav-cta { margin-left: 6px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(64px, 8vw, 108px) 0; overflow: hidden; }
.section-navy { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--on-navy); }
.section-ice { background: var(--ice); color: var(--ink); }

/* Hex pattern overlays */
.hex-bg::before, .hex-bg-dark::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-repeat: repeat; pointer-events: none;
}
.hex-bg::before { background-image: url("/assets/hex-light.svg"); background-size: 72px 41.57px; opacity: .13; }
.hex-bg-dark::before { background-image: url("/assets/hex-dark.svg"); background-size: 72px 41.57px; opacity: .06; }
.section > .container, .hero-inner { position: relative; z-index: 1; }

.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: var(--steel-2); margin-bottom: 12px; }
.kicker.light { color: var(--amber); }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-lead { margin-top: 14px; font-size: 1.08rem; color: var(--ink-soft); }
.section-lead.light { color: var(--on-navy-soft); }

/* ---------- Hero ---------- */
.hero { padding: clamp(72px, 11vw, 132px) 0 clamp(64px, 9vw, 112px); background: radial-gradient(120% 120% at 80% -10%, #17466b 0%, var(--navy) 42%, var(--navy-2) 100%); color: var(--on-navy); }
.hero-inner { max-width: 860px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; font-weight: 600; color: var(--amber); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); font-weight: 700; max-width: 15ch; }
.hero-sub { margin-top: 22px; font-size: clamp(1.08rem, 2vw, 1.3rem); color: #cde0f0; max-width: 58ch; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { margin-top: 30px; font-size: 1rem; color: var(--on-navy-soft); border-left: 3px solid var(--amber); padding-left: 16px; max-width: 60ch; }
.hero-trust strong { color: var(--white); }

/* ---------- Services card grid ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #bcd3e6; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(160deg, var(--ice) 0%, #dbe9f5 100%); color: var(--steel); margin-bottom: 16px; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.12rem; color: var(--navy); margin-bottom: 8px; }
.card p { font-size: .96rem; color: var(--ink-soft); }

.lod-badge {
  margin: 30px auto 0; max-width: 820px; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 14px 26px; color: var(--ink-soft); font-size: .98rem; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.lod-badge svg { color: var(--steel); flex: none; }
.lod-badge strong { color: var(--navy); }

/* ---------- Engagement two-column ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 940px; margin: 0 auto; }
.model-card {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); padding: 32px 30px; backdrop-filter: blur(2px);
}
.model-card--alt { background: rgba(255, 255, 255, .03); }
.model-tag { display: inline-block; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--navy); background: var(--amber); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.model-tag.muted { color: var(--on-navy); background: rgba(255, 255, 255, .12); }
.model-card h3 { font-size: 1.5rem; color: var(--white); margin-bottom: 8px; }
.model-desc { color: var(--on-navy-soft); margin-bottom: 20px; }
.check-list { display: grid; gap: 12px; margin-bottom: 26px; }
.check-list li { position: relative; padding-left: 30px; color: #dbe9f5; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  background: no-repeat center / contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5b544' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>");
}

/* ---------- Why grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.why-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: var(--amber); margin-bottom: 18px; }
.why-icon svg { width: 28px; height: 28px; }
.why-block h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 10px; }
.why-block p { color: var(--ink-soft); font-size: 1rem; }
.why-block strong { color: var(--navy); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13); border-radius: var(--radius); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--amber); color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; margin-bottom: 16px; }
.step h3 { font-size: 1.12rem; color: var(--white); margin-bottom: 8px; }
.step p { color: var(--on-navy-soft); font-size: .97rem; }

/* ---------- About (company) ---------- */
.about-lead { max-width: 760px; margin: 0 auto; text-align: center; }
.about-lead p { color: var(--ink-soft); font-size: 1.1rem; }
.about-lead p + p { margin-top: 16px; }
.about-lead strong { color: var(--navy); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 940px; margin: 44px auto 0; }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; text-align: center; box-shadow: var(--shadow); }
.fact-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--amber); margin-bottom: 14px; }
.fact-icon svg { width: 24px; height: 24px; }
.fact-label { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 600; color: var(--steel-2); }
.fact-value { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.08rem; margin-top: 4px; line-height: 1.25; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--white); }
.contact-list { margin-top: 26px; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--on-navy); }
.contact-list svg { color: var(--amber); flex: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-email { font-weight: 600; }

.contact-form-wrap { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); }
.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--ice-2); transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--steel-2); background: var(--white);
  box-shadow: 0 0 0 3px rgba(42, 98, 145, .15);
}
.field textarea { resize: vertical; min-height: 96px; }
.form-status { font-size: .95rem; font-weight: 600; min-height: 1px; }
.form-status.ok { color: #1a7f4b; }
.form-status.err { color: #c0392b; }
.form-fineprint { font-size: .84rem; color: var(--ink-soft); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: var(--on-navy-soft); padding: 52px 0 26px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand { max-width: 340px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-tag { color: var(--on-navy-soft); font-size: .95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: #b9cfe3; font-size: .95rem; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { padding-top: 22px; font-size: .88rem; color: #7f9ab2; }

/* ---------- Blog index ---------- */
.blog-head .section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.blog-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--navy); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.post-card-link { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .2s ease, border-color .2s; }
.post-card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #bcd3e6; }
.post-cat { display: inline-block; align-self: flex-start; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 600; color: var(--steel-2); background: var(--ice); border: 1px solid var(--line); padding: 4px 11px; border-radius: 999px; margin-bottom: 14px; }
.post-card-link h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 8px; }
.post-card-link p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.post-meta { margin-top: 16px; font-size: .84rem; color: var(--ink-soft); font-weight: 500; }
.post-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-soft); font-size: 1.05rem; padding: 30px 0 8px; }

/* ---------- Article ---------- */
.post-container { max-width: 760px; margin: 0 auto; }
.post-back { display: inline-block; color: var(--steel); font-weight: 600; font-size: .92rem; }
.post-back:hover { color: var(--navy); text-decoration: underline; }
.post > .container > .post-back:first-child { margin-bottom: 22px; }
.post h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--navy); margin: 12px 0 12px; }
.post-byline { color: var(--ink-soft); font-size: .95rem; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.prose { color: var(--ink); font-size: 1.08rem; line-height: 1.78; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; color: var(--navy); margin: 38px 0 12px; }
.prose h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--navy); margin: 28px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--steel); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--navy); }
.prose strong { color: var(--navy); }
.prose blockquote { margin: 0 0 18px; padding: 4px 20px; border-left: 3px solid var(--amber); color: var(--ink-soft); }
.prose code { background: var(--ice); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .92em; }
.prose img { border-radius: var(--radius); margin: 8px 0 18px; max-width: 100%; }
.post-cta { margin: 40px 0 32px; padding: 28px; background: var(--ice); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.post-cta p { color: var(--navy); font-weight: 600; margin-bottom: 14px; font-family: var(--font-head); font-size: 1.1rem; }

/* ---------- Newsletter subscribe ---------- */
.subscribe-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.subscribe-copy h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.subscribe-form { width: 100%; }
.subscribe-row { display: flex; gap: 10px; }
.subscribe-row input { flex: 1; min-width: 0; font-family: var(--font-body); font-size: 1rem; padding: 14px 16px; border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; }
.subscribe-row input::placeholder { color: #a9c4dc; }
.subscribe-row input:focus { outline: none; border-color: var(--amber); background: rgba(255, 255, 255, .14); box-shadow: 0 0 0 3px rgba(245, 181, 68, .18); }
.subscribe-row .btn { flex: none; }
.subscribe-form .form-status { margin-top: 12px; font-size: .95rem; font-weight: 600; color: #fff; min-height: 1px; }
.subscribe-form .form-status.ok { color: #bff0d3; }
.subscribe-form .form-status.err { color: #ffd3cd; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Newsletter strip inside the footer (all pages) */
.footer-subscribe { padding-bottom: 30px; margin-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-sub-inner { display: grid; grid-template-columns: 1fr minmax(300px, 440px); gap: 24px 44px; align-items: center; }
.footer-sub-title { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: #fff; }
.footer-sub-text { color: var(--on-navy-soft); font-size: .95rem; margin-top: 4px; max-width: 46ch; }
.footer-subscribe .subscribe-form .form-status { color: #cfe0f0; }

/* ---------- Desktop hero/header optimization (PC only; mobile unchanged) ---------- */
@media (min-width: 1024px) {
  /* Header + hero span wider so the logo sits near the left edge and margins shrink */
  .site-header .container,
  .hero .container { max-width: none; padding-left: clamp(32px, 4.5vw, 72px); padding-right: clamp(32px, 4.5vw, 72px); }

  /* Headline flows across the width in ~2 long lines instead of a narrow stack */
  .hero-inner { max-width: 1340px; }
  .hero h1 { max-width: 1180px; font-size: clamp(2.75rem, 3.9vw, 3.85rem); }
  .hero-sub { max-width: 66ch; font-size: 1.3rem; }
  .hero-trust { max-width: 68ch; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--navy-2); padding: 14px 20px 22px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 16px 30px rgba(0,0,0,.25);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-menu > li > a { display: block; padding: 12px 10px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; }
  .two-col { grid-template-columns: 1fr; }
  .founders { grid-template-columns: 1fr; }
  .founder { flex-direction: column; }
  .subscribe-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-sub-inner { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 460px) {
  .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .container { padding: 0 18px; }
  .subscribe-row { flex-direction: column; }
  .subscribe-row .btn { width: 100%; }
}

/* ---------- Motion / a11y ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
