/* ==========================================================================
   AlumDeck - alumdeck.com
   Design system: "Slate & Brass". Light mode only, by decision.
   Type:  Bricolage Grotesque (display) / Figtree (text) / Geist Mono (code)
   All three SIL OFL 1.1, self hosted as WOFF2. No CDN, no consent question.
   Contrast ratios in the QA report are computed, not judged by eye.
   ========================================================================== */

/* ------------------------------------------------------------------ fonts */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-wght.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-wght.woff2') format('woff2-variations');
  font-weight: 300 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

/* ----------------------------------------------------------------- tokens */

:root {
  /* brand */
  --slate:          #2E4B7A;
  --slate-dark:     #1B2E4C;
  --slate-light:    #6488BE;
  --slate-wash:     #EEF2F8;
  --brass:          #8C6A22;
  --brass-light:    #C9A961;
  --brass-wash:     #F7F1E3;

  /* ink */
  --ink:            #12181F;
  --ink-2:          #33404F;
  --muted:          #5B6673;
  --faint:          #656E7A;

  /* surface */
  --paper:          #FFFFFF;
  --subtle:         #F4F6F9;
  --line:           #DFE4EA;
  --line-strong:    #818CA0;

  /* semantic */
  --ok:             #15803D;
  --warn:           #B45309;
  --bad:            #B91C1C;

  /* type scale, fluid 320 -> 1280 */
  --t-h1:   clamp(2.375rem, 1.792rem + 2.917vw, 4.125rem);
  --t-h2:   clamp(2.000rem, 1.667rem + 1.667vw, 3.000rem);
  --t-h3:   clamp(1.500rem, 1.292rem + 1.042vw, 2.125rem);
  --t-h4:   clamp(1.250rem, 1.125rem + 0.625vw, 1.625rem);
  --t-h5:   clamp(1.125rem, 1.062rem + 0.312vw, 1.312rem);
  --t-eyebrow: clamp(0.812rem, 0.792rem + 0.104vw, 0.875rem);
  --t-lead: clamp(1.125rem, 1.083rem + 0.208vw, 1.250rem);
  --t-body: clamp(1.000rem, 0.979rem + 0.104vw, 1.062rem);
  --t-sm:   0.875rem;
  --t-xs:   0.75rem;

  /* spacing, 4px base */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px;
  --s-20: 80px; --s-24: 96px; --s-32: 128px;

  /* shape */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;

  /* elevation, kept restrained */
  --sh-1: 0 1px 2px rgba(18, 24, 31, .05);
  --sh-2: 0 2px 8px rgba(18, 24, 31, .06), 0 1px 2px rgba(18, 24, 31, .04);
  --sh-3: 0 12px 32px -8px rgba(18, 24, 31, .14), 0 3px 8px rgba(18, 24, 31, .05);
  --sh-4: 0 28px 64px -16px rgba(27, 46, 76, .28), 0 8px 20px rgba(18, 24, 31, .08);

  /* motion */
  --dur-1: 150ms;
  --dur-2: 300ms;
  --dur-3: 600ms;
  --dur-4: 900ms;
  --ease:      cubic-bezier(.16, 1, .3, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --ease-io:   cubic-bezier(.4, 0, .2, 1);

  /* layout */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --header-h: 68px;
}

/* ------------------------------------------------------------------ reset */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--slate); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--slate-dark); }

h1, h2, h3, h4, h5 {
  font-family: 'Bricolage Grotesque', 'Figtree', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: var(--t-h2); line-height: 1.08; letter-spacing: -.025em; }
h3 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -.02em; }
h4 { font-size: var(--t-h4); line-height: 1.2;  letter-spacing: -.01em; }
h5 { font-size: var(--t-h5); line-height: 1.3;  letter-spacing: -.005em; }
p  { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

code, kbd, .mono {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .92em;
  font-weight: 500;
}

::selection { background: var(--slate); color: #fff; }

:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--slate-dark); color: #fff;
  padding: var(--s-3) var(--s-5); z-index: 200; border-radius: 0 0 var(--r-md) 0;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------------- layout */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s-6); }
.wrap-narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--subtle { background: var(--subtle); }
.section--wash { background: linear-gradient(180deg, var(--slate-wash) 0%, #fff 100%); }
.section--ink { background: var(--slate-dark); color: #E7ECF4; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: #C3CDDD; }

.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.stack > * + * { margin-top: var(--s-4); }
.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-tight { max-width: 52ch; }
.center .measure, .center .measure-tight { margin-inline: auto; }

/* ------------------------------------------------------------- type bits */

.eyebrow {
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 var(--s-3);
  display: block;
}
.section--ink .eyebrow { color: var(--brass-light); }

.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }
.small { font-size: var(--t-sm); }
.muted { color: var(--muted); }
.balance { text-wrap: balance; }

.underline-brass {
  background-image: linear-gradient(transparent 62%, rgba(140, 106, 34, .22) 62%);
  background-repeat: no-repeat;
  background-size: 0 100%;
  animation: swipe var(--dur-4) var(--ease) forwards;
  animation-delay: 350ms;
}
@keyframes swipe { to { background-size: 100% 100%; } }

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 13px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 650;
  font-size: var(--t-sm);
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-1) var(--ease),
              box-shadow var(--dur-1) var(--ease),
              background-color var(--dur-1) var(--ease),
              border-color var(--dur-1) var(--ease),
              color var(--dur-1) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--slate); color: #fff; box-shadow: var(--sh-2); }
.btn-primary:hover { background: var(--slate-dark); color: #fff; box-shadow: var(--sh-3); }

.btn-brass { background: var(--brass); color: #fff; box-shadow: var(--sh-2); }
.btn-brass:hover { background: #74581B; color: #fff; box-shadow: var(--sh-3); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--line-strong); background: var(--subtle); color: var(--ink); }

.section--ink .btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.section--ink .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }

.btn-lg { padding: 16px 28px; font-size: var(--t-body); }
.btn-sm { padding: 9px 16px; font-size: var(--t-xs); }

.btn .arrow { transition: transform var(--dur-1) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.linkish {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 650; font-size: var(--t-sm); text-decoration: none;
}
.linkish:hover .arrow { transform: translateX(3px); }
.linkish .arrow { transition: transform var(--dur-1) var(--ease); }

/* ---------------------------------------------------------------- pills */

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px 6px 10px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: var(--t-xs);
  font-weight: 650;
  color: var(--ink-2);
  box-shadow: var(--sh-1);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex: none; }
.pill--brass { background: var(--brass-wash); border-color: #E6D8B4; color: #6E5218; }
.pill--slate { background: var(--slate-wash); border-color: #D2DDEE; color: var(--slate-dark); }

.pill-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* ---------------------------------------------------------------- cards */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--sh-1);
  transition: box-shadow var(--dur-2) var(--ease),
              transform var(--dur-2) var(--ease),
              border-color var(--dur-2) var(--ease);
}
.card--hover:hover { box-shadow: var(--sh-3); transform: translateY(-3px); border-color: #CBD4E0; }
.card h3, .card h4 { margin-bottom: var(--s-2); }
.card p { color: var(--muted); }

.card--flat { box-shadow: none; background: var(--subtle); border-color: transparent; }
.card--bordered { box-shadow: none; }

/* bento: deliberately uneven, per the research on templated-looking grids */
.bento { display: grid; gap: var(--s-4); grid-template-columns: repeat(6, 1fr); }
.bento > * { grid-column: span 6; }
@media (min-width: 780px) {
  .bento > .b-3 { grid-column: span 3; }
  .bento > .b-2 { grid-column: span 2; }
  .bento > .b-4 { grid-column: span 4; }
  .bento > .b-6 { grid-column: span 6; }
}

/* -------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(18,24,31,.03); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s-6); }

.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex: none; }
.brand svg { display: block; }
.brand-name { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }

.nav { display: none; margin-left: auto; align-items: center; gap: var(--s-1); }
@media (min-width: 960px) { .nav { display: flex; } }

.nav a {
  padding: 8px 12px; border-radius: var(--r-sm);
  font-size: var(--t-sm); font-weight: 600; color: var(--ink-2); text-decoration: none;
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.nav a:hover { background: var(--subtle); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--slate); background: var(--slate-wash); }

.nav-actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }
@media (min-width: 960px) { .nav-actions { margin-left: var(--s-4); } }

.burger {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--paper); cursor: pointer;
}
@media (min-width: 960px) { .burger { display: none; } }
.burger span { display: block; width: 17px; height: 1.5px; background: var(--ink); position: relative; transition: transform var(--dur-2) var(--ease); }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 17px; height: 1.5px; background: var(--ink);
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-1) linear;
}
.burger span::before { top: -5.5px; }
.burger span::after  { top:  5.5px; }
.burger[aria-expanded="true"] span { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(-90deg); }
.burger[aria-expanded="true"] span::after  { opacity: 0; }

.mobile-nav {
  display: none;
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: var(--paper);
  padding: var(--s-6);
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 650; text-decoration: none; color: var(--ink); }
.mobile-nav .group-label { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-top: var(--s-6); font-weight: 700; }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(40px, 5vw, 72px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -200px 0 auto -10%;
  height: 620px; z-index: -1;
  background:
    radial-gradient(52% 46% at 22% 42%, rgba(100,136,190,.16), transparent 68%),
    radial-gradient(42% 40% at 82% 24%, rgba(201,169,97,.14), transparent 70%);
}
.hero-grid { display: grid; gap: var(--s-10); align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1fr 1.08fr; gap: var(--s-16); } }

.hero h1 { margin-bottom: var(--s-5); }
.hero .lead { margin-bottom: var(--s-6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-5); }

/* dotted paper texture, cheap and CSS only */
.paper-dots {
  background-image: radial-gradient(rgba(18,24,31,.055) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ------------------------------------------------------- browser frame */

.frame {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--sh-4);
  overflow: hidden;
}
.frame-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  background: var(--subtle);
  border-bottom: 1px solid var(--line);
}
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D6DCE4; display: block; flex: none; }
.frame-url {
  margin-left: 8px; flex: 1;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 4px 12px; font-size: 11px; color: var(--faint);
  font-family: 'Geist Mono', monospace;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.frame img { display: block; width: 100%; }

/* --------------------------------------------------------------- table */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
table.cmp { width: 100%; border-collapse: collapse; font-size: var(--t-sm); min-width: 560px; }
table.cmp th, table.cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th {
  position: sticky; top: var(--header-h); z-index: 2;
  background: var(--subtle); font-weight: 700; color: var(--ink);
  font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .08em;
}
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:hover { background: #FAFBFD; }
table.cmp td:first-child { font-weight: 650; color: var(--ink); }
table.cmp .col-us { background: rgba(238,242,248,.55); }
table.cmp thead .col-us { background: var(--slate-wash); color: var(--slate-dark); }

.yes, .no { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }
.yes { color: var(--ok); }
.no  { color: var(--muted); }

/* ----------------------------------------------------------------- faq */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: var(--s-5) 44px var(--s-5) 0;
  position: relative;
  font-weight: 650; font-size: var(--t-lead); color: var(--ink);
  transition: color var(--dur-1) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--slate); }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  margin-top: -6px;
  border-right: 2px solid var(--line-strong); border-bottom: 2px solid var(--line-strong);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform var(--dur-2) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .answer { padding: 0 56px var(--s-6) 0; color: var(--muted); }
.faq details[open] .answer { animation: fadeUp var(--dur-2) var(--ease) both; }

/* --------------------------------------------------------------- steps */

.steps { counter-reset: step; display: grid; gap: var(--s-6); }
.step { position: relative; padding-left: 60px; counter-increment: step; }
.step::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--slate-wash); color: var(--slate-dark);
  font-weight: 800; font-size: var(--t-sm);
  border: 1px solid #D2DDEE;
}
.step h4 { margin-bottom: 6px; }
.step p { color: var(--muted); }

/* --------------------------------------------------------------- stats */

.stats { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat-v {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  font-weight: 700; line-height: 1; letter-spacing: -.03em;
  color: var(--slate-dark);
}
.section--ink .stat-v { color: #fff; }
.stat-l { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-top: var(--s-2); }
.section--ink .stat-l { color: #9FB0C8; }

/* ------------------------------------------------------------ terminal */

.terminal {
  background: #101720; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-4); border: 1px solid #1D2837;
}
.terminal .frame-bar { background: #17202C; border-bottom-color: #222E3E; }
.terminal .frame-bar i { background: #2C3A4D; }
.terminal pre {
  margin: 0; padding: var(--s-6);
  font-family: 'Geist Mono', monospace; font-size: 13px; line-height: 1.85;
  color: #C7D3E3; overflow-x: auto;
}
.terminal .c-dim { color: #64748B; }
.terminal .c-ok  { color: #4ADE80; }
.terminal .c-key { color: #C9A961; }

/* --------------------------------------------------------------- price */

.price-card {
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--paper); box-shadow: var(--sh-3);
  padding: clamp(24px, 3.4vw, 44px);
  position: relative; overflow: hidden;
}
.price-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--slate) 0%, var(--slate-light) 50%, var(--brass-light) 100%);
}
.price-amount {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(3.2rem, 2.2rem + 4vw, 5rem);
  font-weight: 700; line-height: .95; letter-spacing: -.04em; color: var(--ink);
}
.price-amount sup { font-size: .38em; vertical-align: super; font-weight: 700; margin-right: 2px; }
.price-once { font-size: var(--t-sm); color: var(--muted); font-weight: 650; }

.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.tick-list li { display: flex; gap: 11px; align-items: flex-start; font-size: var(--t-sm); }
.tick-list svg { flex: none; margin-top: 3px; color: var(--ok); }

/* --------------------------------------------------------------- quote */

.quote { border-left: 3px solid var(--brass-light); padding-left: var(--s-6); }
.quote p { font-size: var(--t-lead); color: var(--ink-2); font-style: normal; }
.quote cite { display: block; margin-top: var(--s-3); font-size: var(--t-sm); color: var(--muted); font-style: normal; }

/* -------------------------------------------------------------- footer */

.site-footer { background: var(--slate-dark); color: #B9C5D8; padding-block: var(--s-16) var(--s-8); margin-top: var(--s-8); }
.site-footer a { color: #D5DEEC; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s-10); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.footer-grid .col-brand { grid-column: 1 / -1; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } .footer-grid .col-brand { grid-column: auto; } }
.footer-h { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .12em; color: #9AAAC2; font-weight: 700; margin-bottom: var(--s-4); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: var(--t-sm); }
.footer-bottom {
  margin-top: var(--s-12); padding-top: var(--s-6);
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between;
  font-size: var(--t-xs); color: #9AAAC2;
}

/* ------------------------------------------------------------ breadcrumb */

.crumbs { font-size: var(--t-xs); color: var(--muted); padding-top: var(--s-6); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--slate); text-decoration: underline; }
.crumbs span { margin-inline: 7px; color: var(--faint); }

/* ------------------------------------------------------------ prose */

.prose h2 { margin-top: var(--s-12); }
.prose h3 { margin-top: var(--s-10); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.15em; margin: 0 0 var(--s-4); }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--brass); }
.prose a { font-weight: 600; }

/* =====================================================================
   MOTION
   Everything below is decoration. The global guard at the end turns it
   all off for anyone who has asked their system for reduced motion.
   ===================================================================== */

@keyframes fadeUp   { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn  { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes slideRt  { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

/* Reveal on scroll. Content is visible by default and only hides once JS
   confirms it can animate it back in, so nothing is ever lost to a failed
   observer or a blocked script. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease);
  transition-delay: var(--d, 0ms);
}

/* draw-on line work */
.draw path, .draw line, .draw circle, .draw rect, .draw polyline, .draw polygon {
  stroke-dasharray: var(--len, 300);
  stroke-dashoffset: var(--len, 300);
}
.js .draw.in path, .js .draw.in line, .js .draw.in circle,
.js .draw.in rect, .js .draw.in polyline, .js .draw.in polygon {
  animation: draw var(--dur-4) var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------------------------------------------------- animated icon kit */

.ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--slate-wash);
  color: var(--slate);
  flex: none;
  transition: background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico--brass { background: var(--brass-wash); color: var(--brass); }
.ico--lg { width: 56px; height: 56px; border-radius: var(--r-lg); }
.ico--lg svg { width: 30px; height: 30px; }

.card--hover:hover .ico { background: var(--slate); color: #fff; }
.card--hover:hover .ico--brass { background: var(--brass); color: #fff; }

/* 1. directory: cards fan out */
.ic-dir .c { transform-origin: 12px 20px; transition: transform var(--dur-2) var(--ease); }
.card--hover:hover .ic-dir .c1, .ico:hover .ic-dir .c1 { transform: rotate(-11deg) translateX(-1.4px); }
.card--hover:hover .ic-dir .c3, .ico:hover .ic-dir .c3 { transform: rotate(11deg) translateX(1.4px); }

/* 2. cap toss */
.ic-cap .board { transition: transform var(--dur-3) var(--ease-back); }
.ic-cap .tassel { transform-origin: 17px 8px; transition: transform var(--dur-3) var(--ease-back) 60ms; }
.card--hover:hover .ic-cap .board, .ico:hover .ic-cap .board { transform: translateY(-2.6px); }
.card--hover:hover .ic-cap .tassel, .ico:hover .ic-cap .tassel { transform: rotate(15deg); }

/* 3. network nodes */
.ic-net .n { transition: transform var(--dur-2) var(--ease-back); transform-origin: center; }
.card--hover:hover .ic-net .n1, .ico:hover .ic-net .n1 { transform: scale(1.28); }
.card--hover:hover .ic-net .n2, .ico:hover .ic-net .n2 { transform: scale(1.28); transition-delay: 60ms; }
.card--hover:hover .ic-net .n3, .ico:hover .ic-net .n3 { transform: scale(1.28); transition-delay: 120ms; }

/* 4. envelope sends */
.ic-send .plane { transition: transform var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease); }
.card--hover:hover .ic-send .plane, .ico:hover .ic-send .plane { transform: translate(3px, -3px); }

/* 5. shield locks */
.ic-shield .bolt { transform-origin: 12px 12px; transition: transform var(--dur-2) var(--ease-back); }
.card--hover:hover .ic-shield .bolt, .ico:hover .ic-shield .bolt { transform: scale(1.16); }

/* 6. server pulse - the one deliberate loop, and only on hover */
.ic-server .led { opacity: .45; }
.card--hover:hover .ic-server .led, .ico:hover .ic-server .led { animation: blink 1.6s var(--ease-io) infinite; }
.card--hover:hover .ic-server .led2, .ico:hover .ic-server .led2 { animation-delay: .3s; }
@keyframes blink { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

/* 7. calendar pin drop */
.ic-cal .pin { transition: transform var(--dur-2) var(--ease-back); }
.card--hover:hover .ic-cal .pin, .ico:hover .ic-cal .pin { transform: translateY(-2px); }

/* 8. bars grow */
.ic-bars .b { transform-origin: bottom; transition: transform var(--dur-2) var(--ease); }
.card--hover:hover .ic-bars .b1, .ico:hover .ic-bars .b1 { transform: scaleY(1.22); }
.card--hover:hover .ic-bars .b2, .ico:hover .ic-bars .b2 { transform: scaleY(1.3); transition-delay: 60ms; }
.card--hover:hover .ic-bars .b3, .ico:hover .ic-bars .b3 { transform: scaleY(1.16); transition-delay: 120ms; }

/* 9. search sweep */
.ic-search .glass { transition: transform var(--dur-2) var(--ease); }
.card--hover:hover .ic-search .glass, .ico:hover .ic-search .glass { transform: translate(1.6px, -1.6px); }

/* 10. timeline draws */
.ic-time .tick { transition: transform var(--dur-2) var(--ease-back); transform-origin: center; }
.card--hover:hover .ic-time .t2, .ico:hover .ic-time .t2 { transform: scale(1.35); }

/* 11. globe spins a touch */
.ic-globe .mer { transition: transform var(--dur-3) var(--ease); transform-origin: center; }
.card--hover:hover .ic-globe .mer, .ico:hover .ic-globe .mer { transform: scaleX(.55); }

/* 12. sliders settle */
.ic-slide .knob { transition: transform var(--dur-2) var(--ease-back); }
.card--hover:hover .ic-slide .k1, .ico:hover .ic-slide .k1 { transform: translateX(4px); }
.card--hover:hover .ic-slide .k2, .ico:hover .ic-slide .k2 { transform: translateX(-4px); transition-delay: 70ms; }

/* --------------------------------------------------------- logo marquee */

.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: var(--s-12); width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------- counter */

.count { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- forms */

.field { display: grid; gap: 7px; margin-bottom: var(--s-4); }
.field label { font-size: var(--t-sm); font-weight: 650; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--paper);
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--slate);
  box-shadow: 0 0 0 3px rgba(46, 75, 122, .14);
}
.field .hint { font-size: var(--t-xs); color: var(--muted); }
.hp { position: absolute; left: -9999px; }

.note {
  border-left: 3px solid var(--brass-light);
  background: var(--brass-wash);
  padding: var(--s-4) var(--s-5);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--t-sm);
  color: #5E4715;
}
.note strong { color: #4A380F; }

/* ------------------------------------------------------------- utility */

.hide { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--s-6); } .mt-8 { margin-top: var(--s-8); } .mt-10 { margin-top: var(--s-10); }
.mb-6 { margin-bottom: var(--s-6); } .mb-8 { margin-bottom: var(--s-8); } .mb-10 { margin-bottom: var(--s-10); }
.flex { display: flex; } .items-center { align-items: center; } .gap-3 { gap: var(--s-3); } .gap-4 { gap: var(--s-4); }
.wrap-flex { flex-wrap: wrap; }

/* =====================================================================
   The guard. One place, applies to everything above.
   ===================================================================== */

@media (prefers-reduced-motion: reduce) {
  :root { --dur-1: 0ms; --dur-2: 0ms; --dur-3: 0ms; --dur-4: 0ms; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .draw path, .draw line, .draw circle, .draw rect, .draw polyline, .draw polygon {
    stroke-dashoffset: 0 !important;
  }
  .marquee-track { animation: none !important; }
  .underline-brass { background-size: 100% 100% !important; animation: none !important; }
}

/* hero with the screenshot beneath, full width - better for wide captures */
.hero--stacked .hero-head { max-width: 46rem; }
.hero--stacked .hero-shot { margin-top: clamp(40px, 5vw, 64px); }
.hero--stacked .hero-shot .frame { transform: perspective(1800px) rotateX(1.6deg); }
.hero-figcap { margin-top: var(--s-4); font-size: var(--t-xs); color: var(--muted); text-align: center; }
