:root {
  --ink: #06242c;
  --blue: #0141ff;
  --pale: #dee5e8;
  --paper: #f7f9fa;
  --white: #ffffff;
  --muted: #5e7278;
  --line: rgba(6, 36, 44, 0.12);
  --shadow: 0 24px 80px rgba(6, 36, 44, 0.14);
  --radius: 26px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 12px; background: var(--blue); color: var(--white); padding: 10px 14px; z-index: 999; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.brand img { width: 260px; }
.site-nav { display: flex; align-items: center; gap: 26px; font-weight: 700; font-size: 0.92rem; }
.site-nav a { text-decoration: none; }
.nav-cta { background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 999px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 9px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #f9fbfc 0%, #eef3f5 52%, #f7fafb 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(6,36,44,.05) 0%, rgba(6,36,44,0) 36%), linear-gradient(320deg, rgba(6,36,44,.035) 0%, rgba(6,36,44,0) 30%); pointer-events: none; }
.hero-pattern { position: absolute; right: -80px; bottom: 30px; width: clamp(340px, 38vw, 580px); aspect-ratio: 1 / 1; background: url('assets/foundry-icon-dark.png') center / contain no-repeat; opacity: .09; filter: saturate(.75); }
.hero-grid { min-height: auto; display: grid; grid-template-columns: 1.12fr .88fr; gap: 54px; align-items: start; padding: 28px 0 40px; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.eyebrow-marquee { max-width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.eyebrow-marquee__track { display: flex; width: max-content; will-change: transform; animation: eyebrow-scroll 42s linear infinite; }
.eyebrow-marquee__item { flex: none; padding-right: 3.5em; white-space: nowrap; }
@keyframes eyebrow-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.eyebrow-marquee:hover .eyebrow-marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .eyebrow-marquee__track { animation: none; transform: translateX(0); }
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -0.01em; margin-bottom: 20px; max-width: 920px; }
h2 { font-size: clamp(2.2rem, 4.2vw, 4.4rem); line-height: .98; letter-spacing: -0.01em; margin-bottom: 20px; }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.hero-lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 720px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-weight: 800; border: 1px solid transparent; cursor: pointer; font: inherit; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 16px 40px rgba(1, 65, 255, .24); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--line); }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; max-width: 860px; }
.hero-stats div { display: grid; align-content: end; gap: 10px; min-height: 126px; padding: 24px 24px 22px; background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 10px 30px rgba(6,36,44,.04); }
.hero-stats dt { margin: 0; font-size: clamp(1.05rem, 1.45vw, 1.75rem); line-height: .94; font-weight: 900; letter-spacing: -0.01em; text-wrap: balance; }
.hero-stats dd { margin: 0; color: var(--muted); font-weight: 700; font-size: 1rem; line-height: 1.18; }
.hero-card { position: relative; margin-top: calc(0.78rem * 1.5 + 14px); padding: 40px; border-radius: var(--radius); background: linear-gradient(180deg, #082a33 0%, #06242c 100%); color: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.hero-card::after { content: ""; position: absolute; right: -34px; top: -24px; width: 250px; height: 250px; background: url('assets/foundry-icon-light.png') center / contain no-repeat; opacity: .08; }
.hero-card img { width: 118px; margin-bottom: 84px; position: relative; z-index: 1; }
.hero-card h2 { font-size: clamp(2rem, 3vw, 3.1rem); position: relative; z-index: 1; }
.hero-card p, .hero-card a { position: relative; z-index: 1; }
.hero-card p { color: rgba(255,255,255,.78); font-size: 1.08rem; }
.hero-card a { color: var(--white); font-weight: 800; text-decoration: none; }

.trust-strip { background: var(--ink); color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; }
.trust-grid span { display: grid; place-items: center; min-height: 92px; text-align: center; font-weight: 800; border-left: 1px solid rgba(255,255,255,.12); }
.trust-grid span:last-child { border-right: 1px solid rgba(255,255,255,.12); }

.section { padding: 110px 0; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.section-heading.compact { max-width: 900px; }
.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.service-cards { grid-template-columns: repeat(4, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card, .mini-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--white); box-shadow: 0 18px 60px rgba(6,36,44,.06); }
.card-number { color: var(--blue); font-weight: 900; letter-spacing: .08em; }
.card p, .mini-card p { color: var(--muted); margin-bottom: 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark p { color: rgba(255,255,255,.72); }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; counter-reset: step; }
.simple-steps { grid-template-columns: 1fr; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 70px 1fr; column-gap: 22px; row-gap: 8px; align-items: start; padding: 28px 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: rgba(255,255,255,.05); }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: 1 / span 2; color: var(--blue); font-weight: 900; font-size: 1rem; line-height: 1; padding-top: 4px; }
.steps strong { display: block; grid-column: 2; font-size: 1.3rem; margin: 0; line-height: 1.1; }
.steps span { display: block; grid-column: 2; color: rgba(255,255,255,.76); font-size: 1rem; line-height: 1.55; max-width: 36ch; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.feature-panel { position: relative; min-height: 380px; border-radius: var(--radius); background: linear-gradient(135deg, #06242c 0%, #0a313b 100%); display: grid; place-items: center; padding: 40px; overflow: hidden; }
.feature-panel::before { content: ""; position: absolute; right: -38px; bottom: -44px; width: 280px; height: 280px; background: url('assets/foundry-icon-light.png') center / contain no-repeat; opacity: .08; }
.feature-panel img { width: 700px; max-width: none; }
.feature-panel-statement { padding: 34px; }
.statement-card { position: relative; z-index: 1; width: 100%; min-height: 300px; border: 1px solid rgba(255,255,255,.08); border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); padding: 34px; display: grid; align-content: start; gap: 14px; }
.statement-card img { width: 84px; max-width: 84px; opacity: .95; }
.statement-eyebrow { margin: 0; color: rgba(255,255,255,.64); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 800; }
.statement-card h3 { margin: 0; font-size: clamp(1.85rem, 2.5vw, 2.85rem); line-height: .96; color: var(--white); max-width: 12ch; }
.statement-card p:last-child { margin: 0; color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 28ch; }
.tick-list { padding: 0; margin: 28px 0 0; list-style: none; display: grid; gap: 13px; }
.tick-list li { position: relative; padding-left: 34px; color: var(--muted); font-weight: 650; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; background: url('assets/foundry-icon-light.png') center / contain no-repeat; }
#why .statement-card { max-width: 760px; margin: 0 auto; }
#why .statement-card h3 { max-width: none; line-height: 1.04; }
#why .statement-card p { color: rgba(255,255,255,.8); max-width: 60ch; }
#why .statement-card .tick-list li { color: rgba(255,255,255,.85); }
.section-muted { background: var(--paper); }
.quote-section { background: linear-gradient(180deg, var(--white), var(--paper)); }
.quote-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.contact-card { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.contact-card p { margin: 0 0 8px; }
.contact-card p:last-child { margin-bottom: 0; }
.lead-form { position: relative; display: grid; gap: 16px; padding: 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.lead-form::before { content: ""; position: absolute; right: -42px; bottom: -36px; width: 170px; height: 170px; background: url('assets/foundry-icon-blue.png') center / contain no-repeat; opacity: .06; pointer-events: none; }
.lead-form label { display: grid; gap: 8px; font-weight: 800; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; border: 1px solid rgba(6,36,44,.18); border-radius: 14px; padding: 14px 15px; font: inherit; color: var(--ink); background: var(--white); }
.lead-form input[type="file"] { padding: 13px; background: var(--paper); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 3px solid rgba(1,65,255,.18); border-color: var(--blue); }
.hidden { display: none; }
.site-footer { background: var(--ink); color: var(--white); padding: 42px 0; }
.footer-grid { display: grid; grid-template-columns: 260px 1fr auto; gap: 28px; align-items: center; }
.footer-grid img { width: 240px; }
.footer-grid p { margin: 0; color: rgba(255,255,255,.74); }
.footer-grid p:first-child { color: var(--white); font-weight: 900; }
.footer-grid a { color: var(--white); text-decoration: none; font-weight: 800; }
.thank-you-page { min-height: 100vh; display: grid; place-items: center; background: var(--paper); }
.thank-you { width: min(720px, calc(100% - 40px)); text-align: center; padding: 60px 30px; }
.thank-you img { width: min(420px, 100%); margin: 0 auto 44px; }
.thank-you h1 { font-size: clamp(2.6rem, 5vw, 5rem); }
.thank-you p { color: var(--muted); font-size: 1.2rem; }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 82px 20px auto; display: none; flex-direction: column; align-items: stretch; background: var(--white); padding: 20px; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .hero-grid, .process-grid, .split, .quote-grid, .simple-steps { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 72px 0; }
  .hero-card { margin-top: 0; }
  .hero-card img { margin-bottom: 40px; }
  .trust-grid, .cards.three, .cards.four, .cards.service-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--container)); }
  .brand img { width: 210px; }
  h1 { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .hero-stats, .trust-grid, .cards.three, .cards.four, .cards.service-cards { grid-template-columns: 1fr; }
  .hero-stats div { min-height: 0; padding: 20px 22px; }
  .hero-stats dt { font-size: 1.85rem; }
  .hero-stats dd { font-size: 1rem; }
  .section { padding: 72px 0; }
  .lead-form { padding: 22px; }
  .hero-card { padding: 28px; }
}
