@import url("./fonts.css");

:root {
  color-scheme: light;
  --navy: #101d2b;
  --deep: #0a1722;
  --paper: #f2f0ea;
  --white: #fbfaf6;
  --steel: #a9cee0;
  --ink: #182938;
  --muted: #455765;
  --line: #c6ccc7;
  --dark-line: #455863;
  --amber: #f4b430;
  --wrap: 1320px;
  font: 100%/1.6 Inter, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #376a8a; outline-offset: 4px; }
.header :focus-visible, .footer :focus-visible, .hero :focus-visible { outline-color: var(--amber); }
.wrap { width: min(100% - 6rem, var(--wrap)); margin-inline: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2 { line-height: .98; font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif; font-weight: 700; }
h2 { font-size: clamp(2.5rem, 4vw, 4.4rem); letter-spacing: -.015em; }
h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -.025em; }
p { max-width: 68ch; }
.kicker { font: 700 .77rem/1.35 ui-monospace, "Cascadia Code", Consolas, monospace; letter-spacing: .09em; text-transform: uppercase; color: #31546a; }
.kicker + h1, .kicker + h2 { margin-top: .75rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .55rem 1.15rem; border: 1px solid transparent; text-decoration: none; font-weight: 750; font-size: .89rem; line-height: 1.25; }
.primary { color: #111b23; background: var(--amber); }
.primary:hover { background: #ffca63; }
.quiet { color: var(--paper); border-color: #82929b; }
.quiet:hover { border-color: var(--paper); background: #ffffff12; }
.dark { color: var(--white); background: var(--navy); }
.dark:hover { background: #29465a; }
.text-link, .card-link { text-decoration: underline; text-underline-offset: .28em; text-decoration-thickness: 1px; font-weight: 750; }
.text-link:hover { color: #315c77; }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 10; color: var(--navy); background: var(--amber); padding: .65rem; transform: translateY(-160%); }
.skip:focus { transform: none; }

.header { position: relative; z-index: 3; background: var(--deep); color: var(--paper); border-bottom: 1px solid #71828d66; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.8rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--paper); font-weight: 800; font-size: 1.25rem; letter-spacing: -.055em; white-space: nowrap; }
.brand b { font-weight: 650; }
.brand-mark { flex: none; display: inline-block; width: 21px; height: 18px; position: relative; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); }
.brand-mark::before { content: ""; position: absolute; width: 14px; height: 9px; top: 0; right: 0; border-right: 2px solid currentColor; border-top: 2px solid currentColor; }
.desktop-nav, .header-tools { display: flex; align-items: center; gap: clamp(.85rem, 2vw, 2rem); }
.desktop-nav a, .verify-link, .lang, .mobile-nav summary { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .875rem; font-weight: 650; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"], .lang:hover { text-decoration: underline; text-underline-offset: .35em; }
.verify-link { padding: 0 .8rem; border: 1px solid #8799a4; }
.verify-link:hover { background: var(--paper); color: var(--deep); }
.preview-mark { color: #b7c4cc; font: .67rem/1.2 ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.mobile-nav { display: none; }

.hero { position: relative; isolation: isolate; min-height: 625px; display: grid; align-items: stretch; background: var(--deep); color: var(--paper); overflow: hidden; }
.hero-media { position: absolute; inset: 0 0 0 42%; z-index: 0; overflow: hidden; }
.hero-media picture, .hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 63% 53%; }
.hero-media::after { content: ""; position: absolute; pointer-events: none; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--deep) 0%, #0a17228c 10%, transparent 31%), linear-gradient(0deg, #08141cbc 0%, transparent 24%); }
.hero-wrap { display: flex; align-items: center; }
.hero-copy { z-index: 1; padding: 4rem 0 4.55rem; max-width: 52%; }
.hero-copy .kicker { color: var(--steel); display: flex; align-items: center; gap: .75rem; }
.hero-copy .kicker::before { content: ""; width: 22px; height: 2px; background: var(--amber); }
.hero h1 { font-size: clamp(3.8rem, 7.1vw, 7.8rem); letter-spacing: -.025em; line-height: .89; margin: 1.05rem 0 1.32rem; }
.hero h1 span { display: block; }
.hero h1 span + span { margin-top: .08em; }
.hero-intro { color: #d7e0e5; font-size: clamp(.95rem, 1.5vw, 1.125rem); max-width: 33ch; }
.actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.75rem; }
.scan { position: absolute; width: 100%; height: 100%; inset: 0; z-index: 2; pointer-events: none; }
.image-caption { position: absolute; z-index: 2; display: flex; align-items: center; gap: .55rem; right: clamp(4.25rem, 7vw, 6.2rem); bottom: 1.05rem; padding: .45rem .6rem; color: #e9f2f5; background: #0a1722be; border: 1px solid #b2c6d56b; font: .75rem/1.4 ui-monospace, Consolas, monospace; }
.image-caption span { width: 7px; height: 7px; border: 1px solid var(--amber); }
.motion-control { position: absolute; z-index: 3; right: clamp(1rem, 3vw, 2.75rem); bottom: .75rem; display: grid; place-items: center; width: 44px; height: 44px; background: #0a1722ce; color: var(--white); border: 1px solid #b2c6d58c; }
.motion-control:hover { border-color: var(--white); }
.motion-icon { width: 11px; height: 13px; border-inline: 2px solid currentColor; }
.motion-control[aria-pressed="false"] .motion-icon { width: 0; height: 0; border: solid transparent; border-width: 7px 0 7px 11px; border-left-color: currentColor; }

.home-services { padding-block: 4.1rem 4.55rem; }
.section-heading { display: flex; justify-content: space-between; gap: 1rem 2rem; align-items: end; margin-bottom: 1.55rem; }
.section-heading .text-link { white-space: nowrap; padding: .65rem 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-card { display: grid; grid-template-rows: auto 1fr; color: var(--ink); background: var(--white); border: 1px solid #829099; text-decoration: none; overflow: hidden; }
.feature-card:hover { border-color: var(--navy); background: #ffffff; }
.feature-card img { width: 100%; height: auto; aspect-ratio: 1.63; object-fit: cover; border-bottom: 1px solid #829099; }
.feature-card > div { display: flex; flex-direction: column; align-items: start; padding: 1.05rem 1.1rem 1.2rem; }
.feature-card h3 { font: 700 1.85rem/.95 "Barlow Condensed", "Arial Narrow", sans-serif; }
.feature-card p { color: var(--muted); margin: .55rem 0 .75rem; }
.card-link { margin-top: auto; color: #31546a; font-size: .85rem; }
.process { background: var(--navy); color: var(--paper); }
.process-grid { display: grid; grid-template-columns: 1fr 1.7fr; align-items: start; gap: 3rem; padding-block: 3.8rem; }
.process .kicker, .footer .kicker { color: var(--steel); }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.process-step { padding-top: 1rem; border-top: 2px solid #91bed3; }
.process-step p { margin-top: .45rem; color: #ccd8de; }
.proof { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.3rem; padding-block: 3.7rem; }
.proof-mark { width: 54px; height: 54px; border-top: 2px solid #36586a; border-left: 2px solid #36586a; position: relative; }
.proof-mark::after { content: ""; position: absolute; bottom: 0; right: 0; width: 70%; height: 70%; border-bottom: 2px solid #36586a; border-right: 2px solid #36586a; }
.proof h2 { font-size: clamp(2rem, 3.6vw, 3.35rem); }
.proof p { margin-top: .5rem; color: var(--muted); }

.page-lead { background: var(--navy); color: var(--paper); padding: clamp(3rem, 6vw, 5rem) 0; }
.page-lead .kicker { color: var(--steel); }
.page-lead h1 { font-size: clamp(3rem, 7.5vw, 6rem); }
.lead { margin-top: 1rem; color: #d8e5ec; font-size: 1.07rem; }
.directory { padding-block: 2.1rem 3.7rem; }
.jump { display: flex; gap: .65rem; flex-wrap: wrap; }
.jump a { display: flex; align-items: center; min-height: 44px; padding: .45rem .75rem; border: 1px solid #8c9ba4; text-decoration: none; font-weight: 700; }
.jump a:hover { background: var(--navy); color: var(--paper); }
.directory-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2.3rem; padding: 2.75rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.directory-intro h2 { font-size: clamp(2.1rem, 3.3vw, 3.7rem); }
.directory-intro p { color: var(--muted); margin-block: .55rem 1rem; }
.directory-intro img { width: 100%; max-width: 360px; aspect-ratio: 1.65; object-fit: cover; }
.directory-rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.directory-rows a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5.7rem; padding: .75rem .85rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.directory-rows a:hover { background: #fcfbf9; }
.directory-rows a:hover h3 { text-decoration: underline; text-underline-offset: .18em; }
.directory-rows p { color: var(--muted); margin-top: .25rem; }
.directory-rows span { min-width: max-content; font: .76rem/1.45 ui-monospace, Consolas, monospace; color: #31546a; }
.small-source { color: var(--muted); font-size: .88rem; margin-top: 1.3rem; }
.content-grid, .verification { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.2rem); padding-block: 2.8rem 3.8rem; align-items: start; }
.content-grid h2, .related h2, .mail-body h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.content-grid .text-link + h2 { margin-top: 1.6rem; }
.content-grid h2 + p, .detail-aside .text-link { margin-top: .75rem; }
.detail-aside { background: var(--white); border: 1px solid #a0aeb4; }
.detail-aside img { width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; }
.detail-aside > div { padding: 1.4rem; }
.detail-aside .button { margin-top: 1.1rem; }
.equipment-list { list-style: none; margin: 1.2rem 0; padding: 0; columns: 2; column-gap: 1.15rem; }
.equipment-list li { position: relative; padding: .65rem .35rem .65rem 1rem; border-bottom: 1px solid var(--line); break-inside: avoid; }
.equipment-list li::before { content: ""; position: absolute; left: 0; top: 1.26rem; width: 5px; height: 5px; background: #31546a; }
.related { padding-bottom: 3rem; }
.related .jump { margin-top: 1rem; }
.record-list { margin: .85rem 0; }
.record-list div { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.record-list dt { font-weight: 760; color: #34586d; }
.record-list dd { margin: .15rem 0 0; overflow-wrap: anywhere; }
.compact dt { font-size: .85rem; }
.notice { background: #e2e8e9; border-left: 3px solid #52758a; color: #223c50; padding: .7rem .85rem; margin-bottom: 1.25rem; }

.sample-input { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; margin-bottom: 1.6rem; align-items: end; }
.sample-input label { grid-column: 1 / -1; font-weight: 700; }
.sample-input input { min-height: 48px; min-width: 0; border: 1px solid #758997; background: var(--white); color: var(--ink); padding: .55rem .65rem; font-family: ui-monospace, Consolas, monospace; }
.scenarios { display: grid; gap: .35rem; margin-top: .55rem; }
.scenarios a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .65rem; min-height: 44px; border: 1px solid #aab6bc; text-decoration: none; }
.scenarios a:hover, .scenarios a[aria-current="true"] { background: #e1e9ed; border-color: #506d82; }
.scenarios code { font-size: .82rem; white-space: nowrap; }
.result { padding: 1.3rem; border: 1px solid #82929a; border-top: 4px solid var(--navy); background: var(--white); margin-bottom: .8rem; scroll-margin-top: 1rem; }
.result .record-list { margin-block: .65rem .85rem; }
.status { font-size: 1.15rem; font-weight: 740; }
.fail { color: #8f352f; }
.mail-wrap { padding-block: 2.6rem 3.6rem; }
.mail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.mail-preview { background: var(--white); border: 1px solid #96a7ac; }
.mail-meta { padding: .9rem 1.2rem; }
.mail-meta p + p { margin-top: .25rem; }
.mail-head { display: flex; align-items: center; gap: .6rem; color: var(--white); background: var(--navy); padding: 1rem 1.2rem; }
.mail-head .brand-mark { transform: scale(.8); }
.mail-body { padding: 1.65rem 1.2rem; }
.mail-body p { margin-top: .7rem; }
.mail-reference { font: .9rem/1.5 ui-monospace, Consolas, monospace; color: #36586a; }
.mail-body .button { margin-top: 1rem; }
.mail-foot { max-width: none; border-top: 1px solid var(--line); padding: .8rem 1.2rem; color: var(--muted); font-size: .85rem; }

.footer { background: var(--deep); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.05fr 1.05fr; gap: 1rem; padding-block: 2.5rem 2rem; }
.footer-grid p:not(.kicker) { color: #c7d5dd; margin-top: .55rem; overflow-wrap: anywhere; }
.footer nav a { display: flex; align-items: center; width: fit-content; min-height: 40px; color: #e2eaf0; text-decoration: none; }
.footer nav a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-end { border-top: 1px solid var(--dark-line); color: #abbcc8; display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; font-size: .78rem; }

@media (max-width: 1100px) {
  .header-inner { gap: 1rem; }
  .header-tools { gap: .85rem; }
  .preview-mark { display: none; }
  .wrap { width: calc(100% - 4rem); }
  .hero { min-height: 545px; }
}
@media (max-width: 790px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { min-width: 44px; justify-content: end; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; right: 0; top: 100%; min-width: min(280px, 100%); padding: .5rem 1rem; background: var(--deep); border: 1px solid #6f8795; }
  .mobile-nav nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 1px solid var(--dark-line); }
  .mobile-nav nav a:hover { text-decoration: underline; }
  .process-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 64px; gap: .35rem; }
  .header-tools { gap: .35rem; }
  .brand { font-size: 1.1rem; gap: .4rem; }
  .brand-mark { width: 17px; height: 15px; }
  .brand-mark::before { width: 11px; height: 7px; }
  .lang { justify-content: center; min-width: 34px; }
  .verify-link, .mobile-nav summary, .lang { font-size: .76rem; min-height: 44px; }
  .verify-link { padding-inline: .4rem; }
  .hero { display: flex; flex-direction: column-reverse; min-height: 0; }
  .hero-wrap { display: block; }
  .hero-copy { max-width: none; padding: 2.7rem 0 1.8rem; }
  .hero h1 { font-size: clamp(3rem, 10.75vw, 4.75rem); margin-block: .65rem 1rem; }
  .hero-intro { max-width: 47ch; }
  .hero-media { position: relative; inset: auto; width: 100%; height: clamp(235px, 62vw, 380px); z-index: 0; }
  .hero-media::after { background: linear-gradient(0deg, #08141cc9, transparent 30%), linear-gradient(180deg, #0a172285, transparent 30%); }
  .hero-media img { object-position: 63% 50%; }
  .actions { margin-top: 1.35rem; }
  .image-caption { font-size: .65rem; bottom: .97rem; right: 3.9rem; }
  .motion-control { right: .65rem; }
  .home-services, .process-grid { padding-block: 2.5rem; }
  .section-heading { display: block; }
  .section-heading .text-link { display: inline-flex; padding-bottom: 0; min-height: 44px; }
  .service-grid, .process-steps, .directory-group, .content-grid, .verification, .mail-grid { grid-template-columns: 1fr; gap: 1.05rem; }
  .feature-card img { aspect-ratio: 1.75; }
  .proof { grid-template-columns: 1fr; gap: .65rem; padding-block: 2.35rem; }
  .proof-mark { display: none; }
  .proof .button { justify-self: start; }
  .directory-group { padding-block: 1.65rem; }
  .directory-intro img { display: none; }
  .directory-rows a { align-items: start; flex-direction: column; gap: .45rem; min-height: 0; }
  .directory-rows span { min-width: 0; }
  .content-grid, .verification { padding-block: 1.7rem 2.3rem; }
  .equipment-list { columns: 1; }
}
@media (max-width: 355px) {
  .header .brand-mark { display: none; }
  .header .brand { font-size: 1rem; }
  .sample-input { grid-template-columns: 1fr; }
}


