/* Shared by every page: fonts, tokens, reset, the page surface, the skip link, reveal, buttons, nav, display type, footer.
   Lifted from design/mock/landing-mock.html; page-specific rules stay inline in each page. */

@font-face { font-family: "GS"; src: url("/assets/fonts/GeneralSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "GS"; src: url("/assets/fonts/GeneralSans-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "GS"; src: url("/assets/fonts/GeneralSans-Semibold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
:root {
  --canvas: #F4F5F7; --surface: #fff; --brand: #0052CC; --brand-deep: #003D99; --blue-25: #EBF3FF; --blue-50: #E0ECFF; --blue-75: #B3D4FF;
  --navy: #091E42; --ink-2: #505F79; --ink-3: #6B778C; --border: #EBECF0; --emphasis: #172B4D;
  --green: #36B37E; --green-strong: #006644; --green-subtle: #E3FCEF;
  --shadow-card: 0 0 0 .5px rgba(9,30,66,.08), 0 1px 2px rgba(9,30,66,.06), 0 10px 24px -6px rgba(9,30,66,.10);
  --shadow-md: 0 0 0 .5px rgba(9,30,66,.08), 0 2px 4px rgba(9,30,66,.06), 0 18px 36px -10px rgba(9,30,66,.18);
  --shadow-lift: 0 0 0 .5px rgba(9,30,66,.08), 0 24px 48px -16px rgba(9,30,66,.28), 0 6px 14px rgba(9,30,66,.06);
  --shadow-soft: 0 0 0 .5px rgba(9,30,66,.07);
  --gap-section: 144px;
  --nav-h: 82px; /* the sticky nav bar; anchors scroll to just below it */
  --quart: cubic-bezier(.25, 1, .5, 1); --expo: cubic-bezier(.16, 1, .3, 1); --flow: cubic-bezier(.22, 0, .12, 1);
  --spring-gentle: linear(0,0.005,0.021 2.6%,0.048,0.086 5.7%,0.17 8.7%,0.475 18.5%,0.568,0.648,0.716,0.774,0.824 35.5%,0.866 39.2%,0.904 43.7%,0.935 48.5%,0.958 53.9%,0.975 59.9%,0.987 66.7%,0.994 74.8%,1);
  --spring-dur: 667ms;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: var(--nav-h); }
img { display: inline-block; }
body { font-family: "GS", system-ui, sans-serif; background: var(--surface); color: var(--navy); font-size: 16px; line-height: 1.5; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; } .skip:focus { top: 12px; }
/* A visible ring for keyboard users on links, the spotlight's feature buttons and the skip link. */
a:focus-visible, [role="button"]:focus-visible, .skip:focus { outline: 3px solid var(--brand); outline-offset: 2px; }

/* ===== reveal =====
   Hidden only when the inline script has marked <html> with `js`, so the page reads in full without JavaScript.
   `:not(.in)` keeps the hidden state from outranking `.rv.in` and, after it, `.tile:hover` (same specificity as the mock). */
.rv { transition: opacity .5s var(--quart), transform .9s var(--expo); transition-delay: calc(var(--i, 0) * 90ms); }
html.js .rv:not(.in) { opacity: 0; transform: translateY(18px) scale(.96); }
.rv.in { opacity: 1; transform: none; }
.enter { opacity: 0; transform: translateY(18px) scale(.97); animation: enter .9s var(--expo) forwards; }
.enter.e1 { animation-delay: .05s } .enter.e2 { animation-delay: .15s } .enter.e3 { animation-delay: .25s } .enter.e4 { animation-delay: .35s } .enter.e5 { animation-delay: .5s } .enter.e6 { animation-delay: .75s }
@keyframes enter { to { opacity: 1; transform: none } }

/* ===== buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--brand); color: #fff; border-radius: 999px; padding: 11px 22px 11px 16px; font-weight: 600; font-size: 15px; text-decoration: none; line-height: 1.2; transition: background-color .2s ease-out, transform .26s var(--expo), box-shadow .36s var(--quart); cursor: pointer; }
.btn img { width: 20px; height: 20px; }
.btn.lg { font-size: 17px; padding: 15px 28px 15px 20px; } .btn.lg img { width: 24px; height: 24px; }
.btn.ink { background: var(--navy); padding: 12px 22px; } .btn.ink:hover { background: #122a5a; }
.btn:hover { background: var(--brand-deep); transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgba(0,82,204,.45); }
/* Every call to action carries a long and a short label; the short one shows only where a page asks for it. */
.btn .short { display: none; }

/* ===== nav ===== */
/* The nav sits in a bar that sticks to the top of the page: see-through at the top, where the header's gradient shows
   through it (each page pulls its .top up underneath by --nav-h), and frosted glass once the page has scrolled (site.js
   toggles `scrolled`). Without JS it is glass from the start, so the links stay readable over whatever scrolls under. */
.navbar { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(255,255,255,.72); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 rgba(9,30,66,.06); transition: background-color .25s ease-out, box-shadow .25s ease-out, -webkit-backdrop-filter .25s ease-out, backdrop-filter .25s ease-out; }
html.js .navbar:not(.scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.top { margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); }
.nav { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; gap: 30px; height: var(--nav-h); padding: 0 24px; }
.nav .logo { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: inherit; text-decoration: none; }
.nav .logo img { width: 28px; height: 28px; border-radius: 8px; }
.nav .links { display: flex; gap: 30px; } .nav .links a { color: var(--emphasis); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .16s ease-out; } .nav .links a:hover { color: var(--brand); }
.nav .spacer { flex: 1; }
.nav .btn { padding: 9px 18px 9px 13px; font-size: 14px; }

/* ===== type ===== */
.t-display { font-size: 46px; letter-spacing: -0.022em; line-height: 1.06; font-weight: 600; max-width: 760px; }

/* ===== footer ===== */
.pagefoot { background: #f7f9fc; border-top: 1px solid var(--border); }
.pagefoot .in { max-width: 1140px; margin: 0 auto; padding: 56px 24px 28px; }
.fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.fbrand .logo { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 18px; } .fbrand .logo img { width: 28px; height: 28px; border-radius: 8px; }
.fbrand p { color: var(--ink-2); font-size: 14.5px; margin: 12px 0 18px; max-width: 320px; line-height: 1.5; }
.fbrand .badge img { height: 44px; width: auto; display: block; }
.fcol a { display: block; color: var(--ink-2); font-size: 14.5px; text-decoration: none; padding: 5px 0; transition: color .16s; } .fcol a:hover { color: var(--brand); }
.fbottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--border); margin-top: 40px; padding-top: 20px; color: var(--ink-2); font-size: 12.5px; flex-wrap: wrap; }

/* ===== tablet (≤ 1024px) and phone (≤ 720px) =====
   Every rule below sits inside a breakpoint, so the approved desktop page is untouched above 1024px. */
@media (max-width: 1024px) {
  :root { --gap-section: 112px; }
  /* nav: tighter links, and the call to action's short label (here and at phone width), so one row fits down to 721px */
  .nav { gap: 14px; }
  .nav .links { gap: 16px; } .nav .links a { font-size: 14px; white-space: nowrap; }
  .nav .btn { white-space: nowrap; }
  .nav .btn .long { display: none; } .nav .btn .short { display: inline; }
}
@media (max-width: 720px) {
  :root { --gap-section: 88px; }
  .wrap { padding: 0 20px; }
  /* nav: logo left, the call to action right (its short label, from the tablet rules), no links and no menu */
  :root { --nav-h: 68px; }
  .nav { gap: 12px; padding: 0 20px; }
  .nav .links { display: none; }
  .nav .btn { padding: 8px 14px 8px 11px; font-size: 13.5px; gap: 8px; }
  /* type */
  .t-display { font-size: 32px; line-height: 1.1; }
  /* footer: one column, centred */
  .pagefoot .in { padding: 44px 20px 28px; }
  .fgrid { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .fbrand .logo { justify-content: center; }
  .fbrand p { margin-left: auto; margin-right: auto; }
  .fbrand .badge img { margin: 0 auto; }
  .fbottom { flex-direction: column; justify-content: center; text-align: center; gap: 8px; margin-top: 28px; }
}

/* ===== reduced motion =====
   This block stops the reveals (`html.js .rv:not(.in)` repeats the reveal's own selector: a plain `.rv` would lose to it),
   the hero entrance and the logo marquee (`html .marquee`: the page's own `.marquee` rule comes later in the cascade and a
   plain `.marquee` would lose to it). The landing page's own `*` rule in site/index.html is what stops the halos, the trail,
   the toast and the hover keyframes; the spotlight's auto-advance stops in that page's script. */
@media (prefers-reduced-motion: reduce) {
  html.js .rv:not(.in) { opacity: 1; transform: none; transition: none; }
  .enter { animation: none; opacity: 1; transform: none; }
  html .marquee { animation: none; }
}
