:root {
  --navy: #071b30;
  --navy-2: #0c2844;
  --blue: #0d67a9;
  --blue-bright: #168bd1;
  --yellow: #f6c643;
  --ink: #142233;
  --muted: #5b6875;
  --mist: #eef4f8;
  --line: #d8e2e9;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(7, 27, 48, .14);
}

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

.topbar { background: var(--navy); color: #dce9f2; font-size: .82rem; letter-spacing: .02em; }
.topbar .container { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar a { color: white; font-weight: 800; text-decoration: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; color: var(--navy); }
.brand-main { font-size: clamp(1.08rem, 2vw, 1.5rem); font-weight: 950; letter-spacing: .045em; }
.brand-sub { margin-top: 6px; color: var(--blue); font-size: .74rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 25px; }
.nav a { color: #26384a; font-size: .92rem; font-weight: 750; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav .nav-cta { color: var(--navy); background: var(--yellow); padding: 11px 17px; border-radius: 7px; box-shadow: 0 7px 16px rgba(246,198,67,.25); }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--navy); font: inherit; font-weight: 850; padding: 8px; }

.hero { position: relative; overflow: hidden; background: linear-gradient(118deg, var(--navy) 0%, #0a2b4c 72%, #0f426e 100%); color: white; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to right, black, transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; width: 100%; max-width: none; min-height: 650px; align-items: stretch; }
.hero-copy { align-self: center; padding: 84px 64px 84px max(28px, calc((100vw - 1160px) / 2)); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 17px; color: var(--blue); font-size: .77rem; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow, .dark-section .eyebrow { color: var(--yellow); }
.eyebrow::before { content: ""; width: 30px; height: 3px; background: currentColor; }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.08; letter-spacing: -.035em; }
h1 { color: white; font-size: clamp(2.75rem, 5.6vw, 5rem); max-width: 760px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.3rem; }
.hero-copy > p:not(.eyebrow) { max-width: 650px; margin: 24px 0 31px; color: #d9e6ef; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 20px; border: 2px solid transparent; border-radius: 7px; background: var(--yellow); color: var(--navy); font-weight: 900; text-decoration: none; }
.button:hover { transform: translateY(-1px); }
.button.secondary { border-color: rgba(255,255,255,.48); background: transparent; color: white; }
.button.blue { background: var(--blue); color: white; }
.button.outline { border-color: var(--blue); background: white; color: var(--blue); }
.hero-media { position: relative; min-height: 520px; }
.hero-media::before { content: ""; position: absolute; inset: 0 0 0 -70px; z-index: 1; background: var(--navy-2); clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
.hero-media img { position: absolute; inset: 0; z-index: 2; height: 100%; object-fit: cover; object-position: center; filter: saturate(.9) contrast(1.05); clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
.hero-answer { position: absolute; left: clamp(64px, 8vw, 130px); bottom: 66px; z-index: 3; max-width: 610px; padding-left: 25px; border-left: 7px solid var(--yellow); color: white; font-size: clamp(2.75rem, 4.7vw, 5.4rem); font-weight: 950; line-height: .96; letter-spacing: -.05em; text-shadow: 0 4px 24px rgba(0,0,0,.6); }

.trust-strip { background: var(--yellow); color: var(--navy); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 20px 24px; border-right: 1px solid rgba(7,27,48,.18); font-size: .9rem; font-weight: 850; text-align: center; }
.trust-item:last-child { border-right: 0; }

.section { padding: 95px 0; }
.section.soft { background: var(--mist); }
.section-heading { display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 50px; margin-bottom: 42px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.04rem; }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 68px; align-items: center; }
.photo-card { position: relative; }
.photo-card img { height: auto; object-fit: contain; border-radius: 10px; box-shadow: var(--shadow); }
.photo-card::after { content: ""; position: absolute; width: 105px; height: 105px; right: -18px; bottom: -18px; z-index: -1; background: var(--yellow); }
.body-copy p { color: var(--muted); }
.body-copy .lead { color: var(--ink); font-size: 1.18rem; }
.check-list { display: grid; gap: 13px; padding: 0; margin: 28px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 32px; font-weight: 720; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); border-radius: 50%; font-size: .75rem; font-weight: 950; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { min-height: 100%; padding: 31px; background: white; border: 1px solid var(--line); border-top: 5px solid var(--blue); border-radius: 9px; box-shadow: 0 12px 35px rgba(7,27,48,.07); }
.card:nth-child(2) { border-top-color: var(--yellow); }
.card-icon { width: 47px; height: 47px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 8px; background: var(--navy); color: white; font-weight: 950; }
.card p { margin-bottom: 0; color: var(--muted); }
.material-tag { display: inline-block; margin-top: 14px; color: var(--blue); font-size: .77rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }

.split-feature { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 520px; background: var(--navy); color: white; }
.split-feature .feature-image { min-height: 520px; object-fit: cover; }
.split-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px clamp(32px, 7vw, 100px); }
.split-copy h2 { color: white; }
.split-copy p { color: #d4e2ec; }
.split-copy .button { align-self: flex-start; margin-top: 15px; }
.caption { margin-top: 10px; color: var(--muted); font-size: .8rem; }

.process { counter-reset: process; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { position: relative; padding: 32px 27px; border-left: 1px solid var(--line); counter-increment: process; }
.step:last-child { border-right: 1px solid var(--line); }
.step::before { content: "0" counter(process); display: block; margin-bottom: 20px; color: var(--blue); font-size: 2.25rem; font-weight: 950; line-height: 1; }
.step p { color: var(--muted); }

.liner-section-full { padding: 78px 0; background: var(--blue); }
.liner-banner { position: relative; width: min(1500px, calc(100% - 64px)); margin-inline: auto; color: white; }
.liner-banner-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: clamp(40px, 5vw, 84px); }
.liner-banner-copy { padding: 8px 0; }
.liner-banner h2 { color: white; }
.liner-banner p { color: #e2f1fb; }
.liner-banner img { height: auto; object-fit: contain; background: white; box-shadow: 0 24px 55px rgba(7,27,48,.25); }

.system-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 55px; align-items: center; }
.blueprint { padding: 18px; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.blueprint img { height: 370px; object-fit: contain; }
.text-link { color: var(--blue); font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.faq-list { display: grid; gap: 12px; max-width: 900px; margin: 38px auto 0; }
details { background: white; border: 1px solid var(--line); border-radius: 8px; }
summary { cursor: pointer; padding: 20px 52px 20px 22px; color: var(--navy); font-weight: 850; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 14px; color: var(--blue); font-size: 1.55rem; }
details[open] summary::after { content: "–"; }
details p { padding: 0 22px 21px; margin: 0; color: var(--muted); }

.cta-band { background: var(--yellow); padding: 50px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); }

.page-hero { position: relative; overflow: hidden; padding: 88px 0 82px; color: white; background: var(--navy); }
.page-hero::after { content: ""; position: absolute; inset: 0 0 0 55%; background: linear-gradient(135deg, transparent, rgba(22,139,209,.25)); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); max-width: 850px; }
.page-hero p { max-width: 720px; color: #d8e6ef; font-size: 1.1rem; }
.page-hero .container { position: relative; z-index: 2; }

.liner-hero { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 560px; background: var(--navy); color: white; }
.liner-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px max(40px, calc((100vw - 1160px)/2)); padding-right: 55px; }
.liner-hero-copy h1 { font-size: clamp(2.55rem, 5vw, 4.6rem); }
.liner-hero-copy p { color: #d8e6ef; }
.liner-hero-media img { height: 100%; min-height: 560px; object-fit: cover; }

.photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.photo-pair figure { margin: 0; }
.photo-pair img { height: 430px; object-fit: cover; border-radius: 8px; }
.photo-pair figcaption { padding: 10px 2px; color: var(--muted); font-size: .86rem; }
.measurement-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 60px; align-items: center; }
.measurement-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.measurement-photos img { height: 390px; object-fit: cover; border-radius: 8px; }
.notice { padding: 22px 24px; margin-top: 26px; border-left: 5px solid var(--yellow); background: #fff9e8; color: #4b4024; }

.form-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 38px; align-items: start; }
.form-sidebar { position: sticky; top: 116px; }
.form-sidebar .card { margin-bottom: 18px; }
.form-shell { overflow: hidden; min-height: 920px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.form-shell iframe { display: block; width: 100%; min-height: 1120px; border: 0; }
.form-fallback { padding: 18px; text-align: center; background: var(--mist); }

.site-footer { background: #061523; color: #b8c7d3; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; padding: 62px 0 42px; }
.footer-grid .brand { color: white; }
.footer-grid p { max-width: 470px; }
.footer-heading { margin: 0 0 13px; color: white; font-size: .85rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #c7d4de; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 21px 0; border-top: 1px solid #203242; font-size: .82rem; }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 82px; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 5px; }
  .nav .nav-cta { margin-top: 8px; text-align: center; }
  .hero-grid, .intro-grid, .section-heading, .system-grid, .measurement-grid, .form-layout, .liner-hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 74px 28px 60px; }
  .hero-media, .hero-media img { min-height: 430px; }
  .hero-media::before, .hero-media img { clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); }
  .hero-media::before { left: 0; }
  .hero-answer { left: 36px; bottom: 40px; font-size: clamp(2.55rem, 9vw, 4.3rem); }
  .card-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .liner-banner-grid { grid-template-columns: 1fr; }
  .liner-banner img { height: auto; max-height: 480px; }
  .liner-hero-copy { padding: 70px 40px; }
  .liner-hero-media img { min-height: 400px; }
  .form-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  .container { width: min(100% - 28px, 1160px); }
  .topbar .container { justify-content: center; }
  .topbar span { display: none; }
  .header-inner { min-height: 72px; }
  .nav { top: 72px; }
  .section { padding: 70px 0; }
  .hero-grid { min-height: auto; }
  h1 { font-size: 2.65rem; }
  .hero-media, .hero-media img { min-height: 330px; }
  .hero-answer { left: 24px; bottom: 28px; padding-left: 17px; border-left-width: 5px; font-size: clamp(2.2rem, 10.5vw, 3.25rem); }
  .trust-grid, .process { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(7,27,48,.18); }
  .photo-card img { min-height: 0; }
  .split-feature { grid-template-columns: 1fr; }
  .split-feature .feature-image { min-height: 340px; }
  .split-copy { padding: 52px 28px; }
  .liner-banner-copy { padding: 35px 26px; }
  .liner-section-full { padding: 54px 0; }
  .liner-banner { width: calc(100% - 28px); }
  .liner-banner-copy { padding: 0; }
  .photo-pair { grid-template-columns: 1fr; }
  .photo-pair img { height: auto; max-height: 500px; }
  .measurement-photos img { height: 320px; }
  .cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > :first-child { grid-column: auto; }
  .form-shell iframe { min-height: 1250px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
