/* Open Plan IT - flat site stylesheet */

@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/inter-latin-700-normal.woff2") format("woff2");
}


:root {
  /* Open Plan IT palette, brand guide s7.2 */
  --navy: #001E35;        /* Deep Navy      - header, footer, dark sections */
  --blue: #003D6B;        /* Clinical Blue  - buttons, links, interactive */
  --teal: #0E7C86;        /* Clinical Teal  - accent only, never a large fill */
  --ink: #1A2633;         /* Charcoal Navy  - body copy and headings */
  --paper: #FFFFFF;
  --navy-dark: #00121F;
  --ink-soft: #46515F;
  --rule: #D5DCE4;
  --tint: #F4F7FA;
  --measure: 68ch;
  /* Aptos is not web-licensable; the guide's named fallback is Poppins or Inter.
     Inter is self-hosted below so the site still makes no third-party requests. */
  --sans: "Inter", "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }

/* ---- header ---- */
.site-header { background: var(--navy); color: #fff; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-top: .875rem; padding-bottom: .875rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
/* Reversed (white) two-line lockup, 148px wide - above the guide's 140px floor
   (s7.1), sitting directly on Deep Navy as the guide prefers. Derived from export
   03-22. Clear space approximates the height of the "O" in "Open". */
.brand img { height: 50px; width: auto; display: block; }
.site-nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-nav a { color: #DCE6F0; text-decoration: none; font-size: 1rem; padding: .25rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: #fff; border-bottom-color: var(--teal); }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: #fff; }

/* ---- hero ---- */
.hero { background: var(--navy); color: #fff; padding: 3rem 0 3.5rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 1rem; max-width: 22ch; }
.hero .lede { font-size: 1.3125rem; line-height: 1.45; color: #D3DFEC; max-width: 46ch; margin: 0 0 1.25rem; }
.hero p { max-width: var(--measure); color: #B8C9DC; }
.hero a { color: #fff; }

.badges { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem .75rem; padding: 0; margin: 1.75rem 0 0; }
.badges li { font-size: .875rem; color: #B8C9DC; border: 1px solid rgba(255,255,255,.28); border-radius: 2px; padding: .25rem .625rem; }
.badges li:first-child { border-color: var(--blue); background: var(--blue); color: #fff; font-weight: 600; }

/* ---- buttons ---- */
.btn { display: inline-block; background: #fff; color: var(--navy); font-weight: 600; text-decoration: none; padding: .75rem 1.375rem; border-radius: 2px; border: 2px solid #fff; }
.btn:hover { background: transparent; color: #fff; }
.btn-solid { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-solid:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }

/* ---- sections ---- */
main section { padding: 3rem 0; border-top: 1px solid var(--rule); }
main section:first-of-type { border-top: none; }
main h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 1.25rem; color: var(--navy); font-weight: 700; }
main h3 { font-size: 1.1875rem; margin: 2rem 0 .5rem; color: var(--ink); }
main h4 { font-size: 1.0625rem; margin: 1.5rem 0 .375rem; color: var(--ink); }
p, li { max-width: var(--measure); }
a { color: var(--blue); }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.tint { background: var(--tint); }

/* ---- definition-style blocks ---- */
.blocks { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.blocks > div { border-left: 3px solid var(--teal); padding-left: 1rem; }
.blocks p { margin: .25rem 0 0; color: var(--ink-soft); max-width: none; }
.blocks strong { color: var(--navy); }

/* ---- feature list ---- */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: .5rem; height: .5rem; background: var(--teal); }

/* ---- tiers ---- */
.tier { border: 1px solid var(--rule); border-top: 4px solid var(--teal); padding: 1.5rem; margin-bottom: 1.25rem; background: #fff; }
.tier-community { border-top-color: var(--navy); background: var(--tint); }
.tier h3 { margin-top: 0; font-size: 1.375rem; color: var(--navy); }
.tier .for { font-size: .9375rem; color: var(--ink-soft); margin: 0 0 1rem; }
.tier ul { margin: 0; }

/* ---- figures ---- */
figure { margin: 1.5rem 0; max-width: 46rem; }
figure img { width: 100%; height: auto; display: block; border: 1px solid var(--rule); }
figcaption { font-size: .9375rem; color: var(--ink-soft); margin-top: .5rem; }

/* ---- people ---- */
.person { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1.5rem; align-items: start; margin-bottom: 2.5rem; }
.person img, .person .avatar { width: 8.5rem; height: 8.5rem; object-fit: cover; border-radius: 50%; background: var(--tint); border: 1px solid var(--rule); }
.person h3 { margin-top: 0; }
.creds { font-size: .9375rem; color: var(--ink-soft); }
@media (max-width: 34rem) { .person { grid-template-columns: 1fr; } }

/* ---- contact ---- */
.email { font-size: 1.125rem; font-weight: 600; }

/* ---- footer ---- */
.site-footer { background: var(--navy); color: #B8C9DC; padding: 2.5rem 0 2rem; margin-top: 3rem; font-size: .9375rem; }
.site-footer a { color: #fff; }
.site-footer p { max-width: none; }
.site-footer .cols { display: grid; gap: 1.5rem 3rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); margin-bottom: 1.75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .375rem; }

/* statutory trading disclosures: present, legible, quiet */
.site-footer .entity p { font-size: .8125rem; line-height: 1.5; color: #8CA2BC; }
.legal { border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.25rem; }
.legal p { font-size: .8125rem; color: #8CA2BC; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; position: fixed; background: #fff; color: var(--navy); padding: .75rem 1rem; z-index: 10; }

/* ---- Cyber Essentials mark ---- */
.ce-badge { display: flex; gap: 1rem; align-items: center; }
.ce-badge img { display: block; height: 72px; width: auto; background: #fff; padding: .375rem; border-radius: 2px; }
.ce-badge p { margin: 0; font-size: .8125rem; color: #8CA2BC; max-width: 46ch; }
@media (max-width: 30rem) { .ce-badge { flex-direction: column; align-items: flex-start; } }

.compliance-mark { display: flex; gap: 1.25rem; align-items: center; margin-bottom: 1.5rem; }
.compliance-mark img { display: block; height: 96px; width: auto; }

/* ---- screenshots ---- */
figure picture { display: block; }
figure img { width: 100%; height: auto; }

/* ---- monogram, interim until headshots land ---- */
.monogram { display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; font-size: 2.25rem; font-weight: 600;
  letter-spacing: .02em; border: none; }

/* ---- email routing note ---- */
.route { font-size: .9375rem; color: var(--ink-soft); margin-top: .25rem; }
.tier .route { margin-top: .25rem; }
