/* Lumify shared styles — fonts, tokens, base, buttons, header, footer */

@font-face {
  font-family: 'Epilogue';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('/assets/fonts/heading-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Epilogue';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('/assets/fonts/heading-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/body-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/body-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Subset: only the icon ligatures used across the site (FILL axis 0..1) */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/assets/fonts/icons.woff2') format('woff2');
}

:root {
  --primary: #0b1f4b;
  --primary-container: #1a5fd6;
  --primary-fixed: #dcebff;
  --on-primary-fixed: #0b1f4b;
  --secondary: #2f6fd8;
  --secondary-container: #a8d4ff;
  --secondary-fixed: #ddeeff;
  --on-secondary-fixed: #0a2350;
  --on-secondary-container: #1d4e9e;
  --tertiary: #053a52;
  --tertiary-container: #0e5a7a;
  --tertiary-fixed: #d6f3ff;
  --tertiary-fixed-dim: #8fd8f7;
  --on-tertiary-fixed: #05364c;
  --surface: #f6faff;
  --surface-lowest: #ffffff;
  --surface-low: #eff6ff;
  --surface-container: #e8f2fe;
  --surface-high: #deecfd;
  --surface-highest: #d2e3fa;
  --on-surface: #0c1a33;
  --on-surface-variant: #45526a;

  --font-head: 'Epilogue', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;

  --gutter: clamp(1.25rem, 3vw, 1.5rem);
  --wrap: 1180px;
  --header-h: clamp(52px, 9svh, 80px);
  --radius-card: 2rem;
  --radius-box: 1rem;
  --shadow-clay: inset 0 1px 3px rgba(255, 255, 255, 0.9), 0 18px 36px rgba(14, 42, 92, 0.07);
  --shadow-soft: inset 0 1px 2px rgba(255, 255, 255, 0.9), 0 6px 20px rgba(14, 42, 92, 0.06);
  --shadow-sm: 0 1px 2px rgba(12, 26, 51, 0.06);
}

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

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

body.lum {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.lum ::selection {
  background: var(--secondary-container);
  color: var(--on-secondary-container);
}

:where(.lum) :where(h1, h2, h3, p, ul, blockquote, figure) {
  margin: 0;
}

:where(.lum) ul {
  padding: 0;
  list-style: none;
}

:where(.lum) a {
  color: inherit;
}

.lum-icon {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0;
  overflow: hidden;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  user-select: none;
}

.lum-icon--fill {
  font-variation-settings: 'FILL' 1;
}

.lum-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.lum-wrap--narrow {
  max-width: 880px;
}

/* Buttons */
.lum-btn {
  appearance: none;
  border: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.lum-btn:focus-visible {
  outline: 3px solid var(--secondary-container);
  outline-offset: 3px;
}

.lum-btn--nav {
  padding: clamp(0.55rem, 1.4svh, 0.75rem) clamp(1rem, 2.2vw, 1.5rem);
  background: var(--primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(14, 42, 92, 0.2);
}

.lum-btn--nav .lum-icon {
  font-size: 18px;
}

.lum-btn--nav:hover {
  background: var(--primary-container);
}

.lum-btn--hero {
  padding: var(--btn-py, 1.25rem) var(--btn-px, 2.5rem);
  background: var(--primary-container);
  font-family: var(--font-head);
  font-size: var(--btn-fs, 20px);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25), 0 12px 32px rgba(14, 42, 92, 0.28);
}

.lum-btn--hero .lum-icon {
  font-size: 1.2em;
  transition: transform 0.2s ease;
}

.lum-btn--hero:hover {
  background: #1550b8;
  transform: translateY(-2px);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), 0 16px 40px rgba(14, 42, 92, 0.36);
}

.lum-btn--hero:hover .lum-icon {
  transform: translateY(2px);
}

.lum-btn:active {
  transform: translateY(0) scale(0.99);
}

.cta:disabled,
.cta[aria-disabled="true"],
.cta:disabled:hover,
.cta[aria-disabled="true"]:hover {
  background: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.cta:disabled:hover .lum-icon,
.cta[aria-disabled="true"]:hover .lum-icon {
  transform: none;
}

/* Header */
.lum-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 250, 255, 0.8);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 1px 8px rgba(14, 42, 92, 0.04);
}

.lum-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lum-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.lum-brand__mark {
  width: clamp(34px, 5.4svh, 40px);
  height: clamp(34px, 5.4svh, 40px);
  border-radius: 50%;
  background: var(--primary-container);
  color: var(--primary-fixed);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(14, 42, 92, 0.18);
  transition: transform 0.2s ease;
}

.lum-brand:hover .lum-brand__mark {
  transform: scale(1.05);
}

.lum-brand__mark .lum-icon {
  font-size: 22px;
}

.lum-brand__name {
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--on-surface);
}

.lum-brand__logo {
  display: block;
  height: 43px;
  width: auto;
}

.lum-brand--sm .lum-brand__mark {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}

.lum-brand--sm .lum-brand__mark .lum-icon {
  font-size: 18px;
}

/* Main + ambient glow */
.lum-main {
  position: relative;
  flex: 1 0 auto;
  isolation: isolate;
  overflow-x: clip;
}

.lum-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}


/* Section headings */
.lum-h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-surface);
}

.lum-h3 {
  margin-bottom: 0.5rem !important;
  font-family: var(--font-head);
  font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--on-surface);
}

.lum-lead {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--on-surface-variant);
}

/* Footer */
.lum-footer {
  margin-top: clamp(3rem, 6vw, 6rem);
  padding-block: 4rem;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 -1px 12px rgba(14, 42, 92, 0.03);
}

.lum-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .lum-footer__grid {
    grid-template-columns: 5fr 7fr;
  }
}

.lum-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lum-footer__brand p {
  max-width: 24rem;
  font-size: 13px;
  line-height: 20px;
  color: var(--on-surface-variant);
}

.lum-footer__mail {
  font-size: 13px;
  line-height: 20px;
  color: var(--on-surface-variant);
  text-decoration: none;
}

.lum-footer__mail:hover {
  color: var(--on-surface);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lum-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.lum-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lum-footer__col span {
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

.lum-footer__col a {
  font-size: 13px;
  line-height: 20px;
  color: var(--on-surface-variant);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lum-footer__col a:hover {
  color: var(--primary);
}

.lum-footer__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-box);
  background: rgba(232, 242, 254, 0.4);
  font-size: 13px;
  line-height: 20px;
  color: var(--on-surface-variant);
  text-align: center;
}

@media (min-width: 640px) {
  .lum-footer__bar {
    flex-direction: row;
    text-align: left;
  }
}

.lum-footer__note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.lum-footer__note .lum-icon {
  font-size: 18px;
  color: var(--secondary);
}

@media (max-width: 479px) {
  .lum-btn--nav {
    padding-inline: 0.9rem;
  }

  .lum-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 379px) {
  .lum-btn--nav span:last-child {
    font-size: 14px;
  }
}

/* Download overlay injected by download.js */
.lmf-dl-title {
  font-family: 'Epilogue', sans-serif !important;
  font-weight: 700 !important;
}

.lmf-dl-note {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

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

/* ============================================================
   Lumify brand theme — palette derived from the logo
   (navy wordmark, electric blue document, sky-blue bolt)
   ============================================================ */
:root {
  --navy: #0b1f4b;
  --navy-2: #12306b;
  --brand: #1a5fd6;
  --brand-bright: #2d8cff;
  --sky: #38bdf8;
  --brand-grad: linear-gradient(135deg, #1a5fd6 0%, #2d8cff 60%, #38bdf8 100%);
  --brand-grad-hover: linear-gradient(135deg, #154fb5 0%, #1a73e8 60%, #1ea7e6 100%);
  --radius-card: 1.5rem;
  --radius-box: 0.875rem;
}

.lum-btn--nav {
  border-radius: 0.75rem;
  background: var(--brand-grad);
  box-shadow: 0 6px 18px rgba(26, 95, 214, 0.28);
}

.lum-btn--nav:hover {
  background: var(--brand-grad-hover);
}

.lum-btn--hero {
  border-radius: 1rem;
  background: var(--brand-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 14px 34px rgba(26, 95, 214, 0.32);
}

.lum-btn--hero:hover {
  background: var(--brand-grad-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 18px 40px rgba(26, 95, 214, 0.4);
}

.lum-btn:focus-visible {
  outline-color: var(--sky);
}

.lum-header {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none;
  border-bottom: 1px solid rgba(14, 42, 92, 0.08);
}

/* Footer — dark navy band */
.lum-footer {
  background: var(--navy);
  background-image: radial-gradient(circle at 85% 0%, rgba(45, 140, 255, 0.22), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(56, 189, 248, 0.12), transparent 40%);
  box-shadow: none;
  color: #c9d8f2;
}

.lum-footer .lum-brand__name {
  color: #fff;
}

.lum-footer .lum-brand--sm .lum-brand__mark {
  background: var(--brand-grad);
  border-radius: 0.6rem;
}

.lum-footer__brand p,
.lum-footer__mail,
.lum-footer__col a,
.lum-footer__bar {
  color: #b7c7e4;
}

.lum-footer__mail:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lum-footer__col span {
  color: #7fb2ff;
}

.lum-footer__col a:hover {
  color: #fff;
}

.lum-footer__bar {
  border-radius: 0;
  padding: 1.5rem 0 0;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lum-footer__note .lum-icon {
  color: var(--sky);
}
