/* palette: bg=#EEF3F7 fg=#0A1824 accent=#0A84D8 */
/* fonts: display="Space Grotesk" body="Inter" mono="IBM Plex Mono" */

:root {
  --bg: #EEF3F7;        /* clean cool light page */
  --bg-alt: #0A2232;    /* deep teal-navy band (ref "Using Common Servers") */
  --bg-panel: #FFFFFF;  /* card surface */
  --fg: #0A1824;        /* ink navy */
  --fg-soft: #32465A;   /* softened ink */
  --muted: #6C8196;     /* secondary text */
  --accent: #0A84D8;    /* electric blue (ref CTA/accent) */
  --accent-deep: #0061A4; /* darker accent for hover */
  --accent-2: #00C2D4;  /* cyan pop */
  --on-dark: #DCE8F2;   /* body text on dark bands */
  --on-dark-muted: #7C93A6;
  --border: rgba(10, 24, 36, 0.12);
  --border-dark: rgba(220, 232, 242, 0.16);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: clamp(72px, 12vw, 160px) 0; }
.section--tight { padding: clamp(56px, 8vw, 104px) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--ondark { color: var(--accent-2); }
.eyebrow--ondark::before { background: var(--accent-2); }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 62ch;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; scroll-behavior: auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 28px -10px rgba(10,132,216,0.7); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn--ondark { background: #fff; color: var(--bg-alt); }
.btn--ondark:hover { background: var(--accent-2); color: var(--bg-alt); transform: translateY(-2px); }
.btn--lg { padding: 18px 38px; font-size: 15px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.arrow-link::after { content: "→"; transition: transform 0.3s var(--ease); }
.arrow-link:hover { color: var(--accent-deep); }
.arrow-link:hover::after { transform: translateX(5px); }
.arrow-link--ondark { color: var(--accent-2); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(238, 243, 247, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 rgba(10,24,36,0.06), 0 8px 30px -18px rgba(10,24,36,0.35);
  border-color: var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent);
  display: grid; place-items: center;
  color: #fff; font-family: var(--serif); font-weight: 700; font-size: 15px;
  position: relative; overflow: hidden;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 55%, rgba(0,194,212,0.6));
}
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 34px; }
  .nav a { font-size: 14px; color: var(--fg-soft); position: relative; transition: color 0.25s var(--ease); }
  .nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--accent); transition: width 0.3s var(--ease); }
  .nav a:hover { color: var(--fg); }
  .nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
  .nav a[aria-current="page"] { color: var(--fg); }
}
.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span { display: block; height: 2px; width: 100%; background: var(--fg); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 72px 0 0; z-index: 99;
  background: var(--bg);
  padding: 32px 24px 48px;
  transform: translateY(-110%);
  transition: transform 0.45s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; font-weight: 500; padding: 16px 0; border-bottom: 1px solid var(--border); letter-spacing: -0.02em; }
.mobile-menu .btn { margin-top: 32px; justify-content: center; }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  background: var(--bg-alt);
  color: #fff;
  overflow: hidden;
  padding-bottom: clamp(56px, 8vw, 96px);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.30; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,34,50,0.55) 0%, rgba(10,34,50,0.35) 40%, rgba(10,34,50,0.92) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 1; opacity: 0.4;
  background-image: linear-gradient(var(--border-dark) 1px, transparent 1px), linear-gradient(90deg, var(--border-dark) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 100%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 100%, #000, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero h1 {
  font-size: clamp(3.3rem, 10vw, 8.4rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 400;
  max-width: 15ch;
  margin: 0 0 28px;
}
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero__sub { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--on-dark); max-width: 54ch; line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta {
  position: absolute; top: clamp(90px, 14vh, 150px); left: 0; z-index: 2;
}
.hero__eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-2);
}

/* ---------- marquee strip ---------- */
.strip {
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.strip__track { display: flex; gap: 48px; white-space: nowrap; animation: marquee 32s linear infinite; width: max-content; }
.strip__track span { font-family: var(--serif); font-weight: 500; font-size: clamp(1.1rem, 2.4vw, 1.7rem); letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 48px; }
.strip__track span::after { content: "◆"; font-size: 0.6em; color: rgba(255,255,255,0.7); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- section head ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 { font-size: clamp(2.3rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 400; }
.sec-head p { margin-top: 22px; }
.sec-head--between { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; max-width: none; }

/* ---------- stats band (saturated flat block) ---------- */
.stats {
  background: var(--accent);
  color: #fff;
}
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.22); }
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--accent); padding: clamp(32px, 5vw, 56px) 24px; }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.stat__label { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,0.86); line-height: 1.5; }

/* ---------- services grid ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid--2 { grid-template-columns: 1fr 1fr; } }

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(28px, 3.4vw, 40px);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  box-shadow: 0 4px 24px -4px rgba(10,24,36,0.08);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 44px -12px rgba(10,24,36,0.18); border-color: rgba(10,132,216,0.4); }
.card__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 22px; }
.card h3 { font-size: 1.55rem; line-height: 1.1; margin-bottom: 14px; font-weight: 500; }
.card p { color: var(--fg-soft); font-size: 15.5px; line-height: 1.7; }
.card__list { list-style: none; padding: 0; margin: 20px 0 0; }
.card__list li { font-size: 14px; color: var(--muted); padding: 9px 0; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.card__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- dark feature band ---------- */
.band { background: var(--bg-alt); color: #fff; }
.band .sec-head h2 { color: #fff; }
.band .lead { color: var(--on-dark); }
.band__split { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .band__split { grid-template-columns: 1.05fr 0.95fr; } }
.band__media { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; position: relative; border: 1px solid var(--border-dark); }
.band__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.band__media:hover img { transform: scale(1.05); }
.band__media .play {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.band__media .play span {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 12px 40px -8px rgba(10,132,216,0.8);
}
.band__media .play span::after { content: ""; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.band__list { list-style: none; padding: 0; margin: 28px 0 0; }
.band__list li { padding: 18px 0; border-top: 1px solid var(--border-dark); display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; }
.band__list li:last-child { border-bottom: 1px solid var(--border-dark); }
.band__list .k { font-family: var(--mono); font-size: 12px; color: var(--accent-2); letter-spacing: 0.08em; }
.band__list .v { color: var(--on-dark); font-size: 15px; }
.band__list .v strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: #fff; margin-bottom: 4px; letter-spacing: -0.01em; }

/* ---------- manifesto ---------- */
.manifesto { background: var(--bg-alt); color: #fff; text-align: center; }
.manifesto__mark { font-family: var(--serif); font-size: clamp(5rem, 14vw, 11rem); line-height: 0.6; color: var(--accent); display: block; margin-bottom: 8px; }
.manifesto blockquote { margin: 0; max-width: 980px; margin-inline: auto; }
.manifesto blockquote p { font-family: var(--serif); font-size: clamp(1.8rem, 5vw, 3.8rem); line-height: 1.14; font-weight: 400; letter-spacing: -0.025em; color: #fff; }
.manifesto blockquote em { font-style: normal; color: var(--accent-2); }
.manifesto cite { display: block; margin-top: 36px; font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }

/* ---------- work / case grid ---------- */
.work { display: grid; gap: 22px; }
@media (min-width: 760px) { .work { grid-template-columns: 1fr 1fr; } }
.work__item { position: relative; border-radius: 16px; overflow: hidden; background: var(--bg-alt); }
.work__item--wide { grid-column: 1 / -1; }
.work__cover { aspect-ratio: 16 / 10; overflow: hidden; }
.work__item--wide .work__cover { aspect-ratio: 21 / 9; }
.work__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work__item:hover .work__cover img { transform: scale(1.06); }
.work__body { position: absolute; inset: auto 0 0 0; padding: clamp(24px, 3vw, 40px); background: linear-gradient(0deg, rgba(10,34,50,0.94) 10%, transparent); color: #fff; }
.work__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); }
.work__body h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 10px 0 8px; font-weight: 500; }
.work__body p { color: var(--on-dark); font-size: 15px; max-width: 46ch; }

/* ---------- principles / list ---------- */
.principles { list-style: none; padding: 0; margin: 0; }
.principle { display: grid; gap: 16px; padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--border); grid-template-columns: 1fr; }
@media (min-width: 820px) { .principle { grid-template-columns: 0.5fr 0.5fr; gap: 48px; align-items: start; } }
.principle:last-child { border-bottom: 1px solid var(--border); }
.principle__k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }
.principle h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 500; margin-top: 8px; letter-spacing: -0.02em; }
.principle p { color: var(--fg-soft); font-size: 16px; line-height: 1.72; }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 20px; }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: 14px;
  padding: clamp(28px, 3vw, 36px); display: flex; flex-direction: column;
  box-shadow: 0 4px 24px -6px rgba(10,24,36,0.07);
}
.quote p { font-size: 16.5px; line-height: 1.68; color: var(--fg); flex: 1; }
.quote__badge { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.quote__by { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); }
.avatar { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-weight: 600; font-size: 15px; flex: none; letter-spacing: 0; }
.quote__name { font-weight: 600; font-size: 14.5px; }
.quote__role { font-size: 13px; color: var(--muted); }

/* ---------- faq ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--border); padding: 6px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 500; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 1.6rem; color: var(--accent); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 48px 28px 0; color: var(--fg-soft); font-size: 16px; line-height: 1.72; }

/* ---------- CTA block ---------- */
.cta { background: var(--accent); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.0; letter-spacing: -0.03em; font-weight: 400; max-width: 16ch; margin: 0 auto 24px; }
.cta p { color: rgba(255,255,255,0.9); max-width: 52ch; margin: 0 auto 36px; font-size: 1.08rem; }
.cta .btn--ondark { background: #fff; color: var(--accent-deep); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; gap: clamp(40px, 6vw, 72px); }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.info-list { list-style: none; padding: 0; margin: 32px 0 0; }
.info-list li { padding: 22px 0; border-top: 1px solid var(--border); }
.info-list li:last-child { border-bottom: 1px solid var(--border); }
.info-list .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 7px; }
.info-list .v { font-size: 17px; color: var(--fg); line-height: 1.5; }
.info-list .v a:hover { color: var(--accent); }

.form { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 16px; padding: clamp(28px, 4vw, 44px); box-shadow: 0 8px 40px -16px rgba(10,24,36,0.2); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 15px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--bg);
  color: var(--fg); transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10,132,216,0.15);
}
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__note { font-size: 12.5px; color: var(--muted); margin-top: 16px; line-height: 1.6; text-align: center; }
.form__note a { color: var(--accent); }

/* ---------- generic prose (legal) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 400; margin-bottom: 16px; }
.prose .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 48px; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 500; margin: 48px 0 16px; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.2rem; font-weight: 600; margin: 28px 0 10px; font-family: var(--sans); }
.prose p { color: var(--fg-soft); font-size: 16.5px; line-height: 1.78; margin-bottom: 18px; }
.prose ul { padding-left: 22px; margin-bottom: 18px; color: var(--fg-soft); }
.prose li { margin-bottom: 10px; line-height: 1.7; font-size: 16.5px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* page hero (interior) */
.page-hero { background: var(--bg-alt); color: #fff; padding: clamp(120px, 18vh, 200px) 0 clamp(64px, 9vw, 110px); position: relative; overflow: hidden; }
.page-hero__grid {
  position: absolute; inset: 0; opacity: 0.35;
  background-image: linear-gradient(var(--border-dark) 1px, transparent 1px), linear-gradient(90deg, var(--border-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 0%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 80% 0%, #000, transparent 70%);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); line-height: 0.98; letter-spacing: -0.035em; font-weight: 400; max-width: 16ch; }
.page-hero h1 em { font-style: normal; color: var(--accent-2); }
.page-hero p { color: var(--on-dark); max-width: 58ch; margin-top: 26px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.7; }
.crumbs { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 26px; }
.crumbs a { color: var(--on-dark-muted); }
.crumbs a:hover { color: #fff; }

/* ---------- footer ---------- */
.footer { background: var(--bg-alt); color: var(--on-dark); padding: clamp(64px, 9vw, 110px) 0 40px; }
.footer__top { display: grid; gap: 44px; padding-bottom: 56px; border-bottom: 1px solid var(--border-dark); }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.footer .brand { color: #fff; margin-bottom: 20px; }
.footer__tag { color: var(--on-dark-muted); font-size: 15px; line-height: 1.65; max-width: 34ch; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); font-weight: 500; margin-bottom: 18px; }
.footer__col ul { list-style: none; padding: 0; }
.footer__col li { margin-bottom: 12px; }
.footer__col a { color: var(--on-dark); font-size: 14.5px; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__col p { color: var(--on-dark); font-size: 14.5px; margin-bottom: 12px; line-height: 1.6; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 32px; }
.footer__bottom p { font-size: 13px; color: var(--on-dark-muted); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a { font-size: 13px; color: var(--on-dark-muted); }
.footer__legal a:hover { color: #fff; }

/* ---------- cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; padding: 24px; background: rgba(10,24,36,0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg); padding: 32px 36px; max-width: 480px; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(10,24,36,0.5); margin: 0 auto; }
@media (min-width: 560px) { .cookie-popup { align-items: center; } }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cookie-popup__card h3 { font-size: 1.4rem; font-weight: 500; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14px; color: var(--fg-soft); line-height: 1.65; }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 12px 24px; border: 1px solid var(--border); cursor: pointer; font-size: 14px; border-radius: 999px; font-weight: 600; transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease); flex: 1; }
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #fff; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); }

/* ---------- misc ---------- */
.intro-cols { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 860px) { .intro-cols { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.intro-cols .big { font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.16; font-weight: 400; letter-spacing: -0.02em; }
.intro-cols .big em { font-style: normal; color: var(--accent); }
.intro-cols .body p { color: var(--fg-soft); font-size: 17px; line-height: 1.78; margin-bottom: 18px; }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--border); }
.timeline li:last-child { border-bottom: 1px solid var(--border); }
.timeline .year { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.06em; padding-top: 4px; }
.timeline h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 6px; }
.timeline p { color: var(--fg-soft); font-size: 15.5px; }

.pricing { display: grid; gap: 20px; }
@media (min-width: 860px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 16px; padding: clamp(28px, 3.4vw, 40px); display: flex; flex-direction: column; box-shadow: 0 4px 24px -6px rgba(10,24,36,0.08); }
.plan--featured { background: var(--bg-alt); color: #fff; border-color: var(--accent); }
.plan--featured .plan__desc, .plan--featured .plan__feat li { color: var(--on-dark); }
.plan--featured .plan__feat li { border-color: var(--border-dark); }
.plan__tier { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.plan--featured .plan__tier { color: var(--accent-2); }
.plan h3 { font-size: 1.6rem; font-weight: 500; margin-bottom: 8px; }
.plan__price { font-family: var(--serif); font-size: 2.4rem; font-weight: 500; letter-spacing: -0.02em; margin: 12px 0 6px; }
.plan__price small { font-size: 0.95rem; color: var(--muted); font-family: var(--sans); font-weight: 400; }
.plan--featured .plan__price small { color: var(--on-dark-muted); }
.plan__desc { color: var(--fg-soft); font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
.plan__feat { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan__feat li { font-size: 14.5px; padding: 11px 0; border-top: 1px solid var(--border); color: var(--fg-soft); display: flex; gap: 10px; align-items: flex-start; }
.plan__feat li::before { content: "→"; color: var(--accent); flex: none; }
.plan--featured .plan__feat li::before { color: var(--accent-2); }
.plan .btn { justify-content: center; }
