/* FullIT.info, homepage v1.0. "GE meets Rolls-Royce": engineered grid + hairlines + numbered sections, set in a
   refined serif with generous space, deep navy / graphite / silver on ivory. Tokens: SPEC section 6.
   Fonts are self-hosted latin subsets (SIL OFL 1.1), renamed as the licences require:
   "FIT Serif" = Cormorant Garamond (fonts/OFL-Cormorant.txt), "FIT Sans" / "FIT Mono" = IBM Plex (fonts/OFL-IBMPlex.txt). */
@font-face {
  font-family: "FIT Serif";
  src: url("fonts/fit-serif-var-latin.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "FIT Sans";
  src: url("fonts/fit-sans-var-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "FIT Mono";
  src: url("fonts/fit-mono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallbacks (tools/build_assets.py --metrics) so the font swap does not move layout (CLS 0). */
@font-face {
  font-family: "FIT Serif Fallback";
  src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"), local("LiberationSerif"), local("Georgia");
  size-adjust: 98.43%;
  ascent-override: 93.87%;
  descent-override: 29.16%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "FIT Sans Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans"), local("Helvetica");
  font-weight: 400;
  size-adjust: 100.79%;
  ascent-override: 101.7%;
  descent-override: 27.29%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "FIT Sans Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Helvetica Bold");
  font-weight: 600;
  size-adjust: 97.28%;
  ascent-override: 105.37%;
  descent-override: 28.27%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "FIT Mono Fallback";
  src: local("Courier New"), local("CourierNewPSMT"), local("Liberation Mono"), local("LiberationMono"), local("DejaVu Sans Mono");
  size-adjust: 100%;
  ascent-override: 102.5%;
  descent-override: 27.5%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light dark;
  --paper: #f6f5f1;
  --surface: #ffffff;
  --ink: #0e1a2b;
  --ink-2: #434c5a;
  --steel: #28507c;
  --line: #d9dbe0;
  --line-strong: #7c8490;
  --focus: #28507c;
  --band: #0b1628;
  --band-2: #111f36;
  --on-band: #e8ebf0;
  --on-band-2: #aab4c2;
  --silver: #c9cfd8;
  --line-on-band: #24344f;
  --line-strong-on-band: #7f8ba0;
  --focus-on-band: #c9cfd8;
  --header-bg: rgb(246 245 241 / .92);
  --serif: "FIT Serif", "FIT Serif Fallback", "Times New Roman", Georgia, serif;
  --sans: "FIT Sans", "FIT Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "FIT Mono", "FIT Mono Fallback", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0a111c;
    --surface: #0f1928;
    --ink: #e8ebf0;
    --ink-2: #aab4c2;
    --steel: #9fbde3;
    --line: #22304a;
    --line-strong: #6f7d94;
    --focus: #9fbde3;
    --band: #060c17;
    --band-2: #0c1628;
    --header-bg: rgb(10 17 28 / .92);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}
h1, h2, h3 { margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
h3 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; letter-spacing: .005em; }
p { margin: 0 0 1em; max-width: 66ch; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
a { color: var(--steel); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--surface); color: var(--ink); padding: 12px 16px; border: 1px solid var(--ink); }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
  font: 500 .9375rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; border-radius: 2px;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .875rem; }
.btn-primary { background: var(--silver); color: var(--band); border-color: var(--silver); }
.btn-primary:hover { background: #e3e7ec; border-color: #e3e7ec; }
.btn-ghost { color: var(--on-band); border-color: var(--line-strong-on-band); }
.btn-ghost:hover { border-color: var(--on-band); }
.btn-primary-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary-ink:hover { background: var(--steel); border-color: var(--steel); }
.btn-ghost-ink { color: var(--ink); border-color: var(--line-strong); }
.btn-ghost-ink:hover { border-color: var(--ink); }
.btn:hover { text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; max-width: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { backdrop-filter: blur(8px); } }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 1.75rem; line-height: 1; letter-spacing: .005em; color: var(--ink); text-decoration: none; padding: 6px 0; margin: 0; }
.wm-tld { color: var(--ink-2); font-weight: 500; }
.site-header nav { margin-left: auto; display: none; }
.nav { display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; color: var(--ink-2); text-decoration: none; font-size: .9375rem; letter-spacing: .02em; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.header-cta { margin-left: auto; display: flex; gap: 8px; }
.header-call { display: none; }
.site-header .btn-ghost { color: var(--ink); border-color: var(--line-strong); }
.site-header .btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.site-header .btn-primary:hover { background: var(--steel); border-color: var(--steel); }
@media (min-width: 720px) { .header-call { display: inline-flex; } }
@media (min-width: 1080px) { .site-header nav { display: block; } .header-cta { margin-left: 8px; } }

/* ---------- hero (navy band, hairline grid) ---------- */
.hero {
  background-color: var(--band);
  background-image:
    linear-gradient(to right, var(--band-2) 1px, transparent 1px),
    linear-gradient(to bottom, var(--band-2) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  color: var(--on-band);
  border-bottom: 1px solid var(--line-on-band);
}
.hero-in { display: grid; gap: 48px; padding-top: 72px; padding-bottom: 80px; }
@media (min-width: 960px) { .hero-in { grid-template-columns: 7fr 5fr; align-items: end; padding-top: 112px; padding-bottom: 112px; gap: 64px; } }
.hero h1 { color: #ffffff; max-width: 17ch; }
.lede { font-size: 1.1875rem; color: var(--on-band); max-width: 52ch; }
.hero a:focus-visible { outline-color: var(--focus-on-band); }
.kicker { font: 400 .8125rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin: 0 0 20px; }
.kicker-band { color: var(--on-band-2); }
.kicker .num { color: var(--ink-2); margin-right: .9em; padding-right: .9em; border-right: 1px solid var(--line-strong); }

.plate { margin: 0; border: 1px solid var(--line-strong-on-band); background: rgb(11 22 40 / .85); padding: 0; }
.plate-head { display: flex; justify-content: space-between; margin: 0; padding: 12px 20px; border-bottom: 1px solid var(--line-on-band);
  font: 400 .75rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-band-2); max-width: none; }
.plate-list > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line-on-band); }
.plate-list dt { font: 400 .75rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-band-2); padding-top: 2px; }
.plate-list dd { color: var(--on-band); font-variant-numeric: tabular-nums; }
.plate-cap { padding: 12px 20px; font-size: .8125rem; color: var(--on-band-2); }
@media (max-width: 420px) { .plate-list > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- sections ---------- */
.section { padding: 88px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .section { padding: 120px 0; } }
.section-alt { background: var(--surface); }
.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head .intro, .intro { color: var(--ink-2); font-size: 1.125rem; }
.note { color: var(--ink-2); font-size: .9375rem; margin-top: 32px; }
.more-link { margin-top: 40px; }
.more-link a, .more h3 a { display: inline-flex; align-items: center; min-height: 24px; }

/* services: a hairline-ruled grid */
.services { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); }
@media (min-width: 720px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .services { grid-template-columns: 1fr 1fr 1fr; } }
.service { padding: 32px 0 36px; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) {
  .service { padding: 36px 32px 40px 0; }
  .service:nth-child(2n) { padding-left: 32px; border-left: 1px solid var(--line); }
}
@media (min-width: 1080px) {
  .service, .service:nth-child(2n) { padding: 40px 32px 44px; border-left: 1px solid var(--line); }
  .service:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
}
.service-num { font: 400 .8125rem/1 var(--mono); letter-spacing: .12em; color: var(--steel); margin: 0 0 20px; }
.service h3 { font-family: var(--serif); font-weight: 600; font-size: 1.625rem; line-height: 1.15; letter-spacing: 0; margin-bottom: 12px; }
.service > p { color: var(--ink-2); }
.items { margin-top: 18px; border-top: 1px solid var(--line); }
.items li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; display: flex; gap: 12px; }
.items li::before { content: ""; flex: none; width: 12px; height: 1px; background: var(--line-strong); margin-top: .8em; }

/* method */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line-strong); counter-reset: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 32px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .step { padding: 40px 32px 40px 0; border-bottom: 0; } .step + .step { padding-left: 32px; border-left: 1px solid var(--line); } }
.step-num { font-family: var(--serif); font-weight: 500; font-size: 2.75rem; line-height: 1; color: var(--steel); margin: 0 0 16px; }
.step h3 { font-size: 1.125rem; }
.step p { color: var(--ink-2); }

/* data sheet (standards, visit) */
.standards-in { display: grid; gap: 0; }
@media (min-width: 960px) { .standards-in { grid-template-columns: 4fr 8fr; gap: 64px; } .standards-in .section-head { margin-bottom: 0; } }
.sheet { border-top: 1px solid var(--line-strong); }
.sheet-row { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .sheet-row { grid-template-columns: 11rem 1fr; gap: 32px; } }
.sheet dt { font: 400 .8125rem/1.7 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.sheet dd { max-width: 62ch; font-variant-numeric: tabular-nums; }
.sheet dd a { display: inline-flex; min-height: 24px; align-items: center; }

/* plans */
.plans { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { padding: 32px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .plan { padding: 40px 32px 40px 0; border-bottom: 0; } .plan + .plan { padding-left: 32px; border-left: 1px solid var(--line); } }
.plan h3 { font: 400 .8125rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 16px; }
.price { margin: 0 0 20px; display: flex; align-items: baseline; gap: 10px; }
.price .amount { font-family: var(--serif); font-weight: 500; font-size: 3.5rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.price .per { color: var(--ink-2); font-size: .9375rem; }
.plan-rows { border-top: 1px solid var(--line); }
.plan-rows > div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.plan-rows dt { color: var(--ink-2); }
.plan-rows dd { text-align: right; font-variant-numeric: tabular-nums; }

/* more */
.more { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
@media (min-width: 900px) { .more { grid-template-columns: repeat(3, 1fr); } }
.more li { padding: 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .more li { padding: 32px 32px 32px 0; border-bottom: 0; } .more li + li { padding-left: 32px; border-left: 1px solid var(--line); } }
.more h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: 0; }
.more h3 a { color: var(--ink); text-decoration-color: var(--line-strong); }
.more h3 a:hover { color: var(--steel); }
.more p { color: var(--ink-2); }

/* visit */
.visit-in { display: grid; gap: 0; }
@media (min-width: 960px) { .visit-in { grid-template-columns: 5fr 7fr; gap: 64px; } .visit-in .section-head { margin-bottom: 0; } }

/* 404 */
.notfound { border-bottom: 0; min-height: 50vh; }

/* ---------- footer (navy) ---------- */
.site-footer { background: var(--band); color: var(--on-band); padding: 64px 0 72px; }
.site-footer a { color: var(--on-band); }
.site-footer a:focus-visible { outline-color: var(--focus-on-band); }
.footer-in { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-in { grid-template-columns: 4fr 8fr; gap: 64px; } }
.wordmark-footer { color: var(--on-band); font-size: 2rem; }
.wordmark-footer .wm-tld { color: var(--on-band-2); }
.footer-tag { font: 400 .75rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-band-2); margin: 14px 0 0; }
.footer-lines { border-top: 1px solid var(--line-on-band); }
.footer-lines li { padding: 12px 0; border-bottom: 1px solid var(--line-on-band); color: var(--on-band-2); font-size: .9375rem; }
.footer-lines li:first-child { color: var(--on-band); }
.footer-lines a { display: inline-flex; min-height: 24px; align-items: center; }

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

/* very small phones (320-379 px): keep the header on one line */
@media (max-width: 379px) {
  .header-in { gap: 10px; }
  .wordmark { font-size: 1.4375rem; }
  .header-cta .btn-sm { padding: 8px 10px; font-size: .8125rem; letter-spacing: 0; }
}
