/* ==================================================
   Alpenglow Technologies — v2 (Technical/Software)
   Type system: Geist + Geist Mono (no serif, no italics)
   -------------------------------------------------- */
:root {
  /* Palette — unchanged from original */
  --ink:        #0B0D12;
  --ink-90:     rgba(11,13,18,0.90);
  --ink-80:     rgba(11,13,18,0.80);
  --ink-60:     rgba(11,13,18,0.60);
  --ink-50:     rgba(11,13,18,0.50);
  --ink-40:     rgba(11,13,18,0.40);
  --ink-15:     rgba(11,13,18,0.15);
  --ink-10:     rgba(11,13,18,0.10);
  --ink-06:     rgba(11,13,18,0.06);
  --ink-03:     rgba(11,13,18,0.03);

  --paper:      #FAFAF7;
  --paper-dim:  #F3F2ED;
  --paper-warm: #F6F3EC;
  --snow:       #FFFFFF;

  --accent-a:   #E84393;   /* alpenglow pink   */
  --accent-b:   #6C5CE7;   /* horizon purple   */
  --accent-c:   #2D3196;   /* deep night blue  */
  --accent-ink: #3A1F5C;

  --glow: linear-gradient(100deg, #E84393 0%, #6C5CE7 50%, #2D3196 100%);
  --glow-soft: linear-gradient(100deg, rgba(232,67,147,0.14) 0%, rgba(108,92,231,0.14) 55%, rgba(45,49,150,0.14) 100%);
  --glow-horizon: linear-gradient(180deg, rgba(232,67,147,0) 0%, rgba(232,67,147,0.10) 40%, rgba(108,92,231,0.14) 60%, rgba(45,49,150,0) 100%);

  /* Type — clean, technical */
  --sans:  "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:  "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Rhythm */
  --gutter: clamp(1.25rem, 3vw, 3rem);
  --content-max: 1280px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Radii — tight, technical (no pills) */
  --r-xs: 3px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-feature-settings: "ss01", "ss03", "cv11";
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.5;
}
::selection { background: var(--accent-b); color: #fff; }
a { color: inherit; text-decoration: none; }

/* ==================================================
   Typography primitives
   -------------------------------------------------- */
.mono, .eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-60);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.eyebrow .idx {
  color: var(--accent-b);
  font-weight: 600;
}

/* Display / hero — heavy geometric sans. No italics, no SOFT axis. */
.display {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
}

.h-section {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.6vw, 2.85rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
}

/* Gradient-on-text. Now applied to weight contrast (semibold) instead of italic. */
.glow-text {
  background: var(--glow);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 500;
  /* Padding/margin to avoid descender clipping */
  padding: 0.05em 0.05em 0.12em 0.04em;
  margin: -0.05em -0.05em -0.12em -0.04em;
  display: inline-block;
  line-height: inherit;
}

.lede {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.6;
  color: var(--ink-80);
  font-weight: 400;
  max-width: 60ch;
}

/* ==================================================
   Layout shell
   -------------------------------------------------- */
.shell { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
.section { padding: clamp(3.5rem, 6vw, 6rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 4vw, 4rem) 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .eyebrow { color: rgba(255,255,255,0.55); }
.section--dark .eyebrow .idx { color: var(--accent-a); }
.section--dark .h-section { color: var(--paper); }
.section--dark .lede { color: rgba(255,255,255,0.72); }

.hairline { height: 1px; background: var(--ink-10); border: 0; }
.horizon  { height: 1px; background: var(--glow); border: 0; opacity: 0.9; }

/* Section header block */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
}
.sec-head__label { padding-top: 0.25rem; }
.sec-head__lede { margin-top: 1rem; }
@media (max-width: 780px) {
  .sec-head { grid-template-columns: 1fr; gap: 1rem; }
}

/* ==================================================
   Navigation — keeps editorial top bar but typographically simpler
   -------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,247,0.85);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--ink-06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.nav__brand {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.nav__brand-mark { width: 22px; height: 22px; display: inline-block; }
.nav__brand-mark svg { width: 100%; height: 100%; display: block; }
.nav__brand small {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-left: 0.25rem;
  font-weight: 500;
}

.nav__links {
  display: flex;
  gap: 0.1rem;
  list-style: none;
  align-items: center;
}
.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-60);
  padding: 0.45rem 0.8rem;
  border-radius: var(--r-md);
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: var(--ink-06); }
.nav__links a.nav__cta,
.nav__links a.nav__cta:hover { color: var(--paper); }
.nav__links a.active { color: var(--ink); background: var(--ink-06); }
.nav__cta {
  margin-left: 0.4rem;
  font-family: var(--sans);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--paper);
  background: var(--ink);
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-md);
  transition: background 0.2s var(--ease);
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nav__cta:hover { background: var(--accent-ink); border-color: var(--accent-ink); }

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}
.nav__dropdown-toggle .chevron {
  width: 10px; height: 10px;
  transition: transform 0.2s var(--ease);
}
.nav__dropdown:hover .chevron { transform: rotate(180deg); }
.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.5rem;
  z-index: 110;
}
.nav__dropdown:hover .nav__dropdown-menu { display: block; }
.nav__dropdown-menu ul {
  list-style: none;
  background: var(--snow);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-md);
  box-shadow: 0 8px 24px rgba(11,13,18,0.08);
  padding: 0.35rem;
  min-width: 190px;
}
.nav__dropdown-menu a {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-60);
  padding: 0.55rem 0.85rem;
  border-radius: var(--r-xs);
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
  white-space: nowrap;
}
.nav__dropdown-menu a:hover { color: var(--ink); background: var(--ink-06); }
.nav__dropdown-menu a.active { color: var(--ink); background: var(--ink-06); }

.hamburger {
  display: none;
  width: 36px; height: 36px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none; border: 0;
}
.hamburger span {
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .hamburger { display: flex; }
  .nav--open .nav__links {
    display: flex;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--ink-10);
    padding: 1rem var(--gutter) 1.5rem;
    gap: 0.2rem;
    align-items: stretch;
  }
  .nav--open .nav__links a {
    padding: 0.5rem 1rem;
    border-radius: var(--r-md);
  }
  .nav--open .nav__cta { display: inline-block; margin: 0.35rem 0 0; text-align: center; }
  .nav--open .nav__dropdown-menu {
    display: block;
    position: static;
    transform: none;
    padding-top: 0;
  }
  .nav--open .nav__dropdown-menu ul {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 1rem;
    min-width: 0;
  }
  .nav--open .nav__dropdown-menu a {
    padding: 0.4rem 1rem;
    font-size: 0.84rem;
  }
  .nav--open .nav__dropdown-toggle .chevron { transform: rotate(180deg); }
}

/* ==================================================
   Buttons — squarer, monolinear, with arrow
   -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.75rem 1.15rem;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s, border-color 0.15s;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn--primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink-15); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink-06); }
.btn__arrow { display: inline-block; transition: transform 0.2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ==================================================
   Main content
   -------------------------------------------------- */
main { flex: 1; }

/* ==================================================
   HERO
   -------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--ink-06);
}
.hero__canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 90%, rgba(232,67,147,0.10), transparent 60%),
    radial-gradient(ellipse 70% 50% at 25% 80%, rgba(108,92,231,0.07), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 70%, rgba(45,49,150,0.06), transparent 60%);
}

.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: clamp(1.75rem, 3.5vw, 3rem); }

.hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.hero__meta .dot {
  width: 6px; height: 6px; background: var(--accent-a);
  display: inline-block; margin-right: 0.5em;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: 0.35 } }

.hero__headline {
  font-family: var(--sans);
  font-size: clamp(2.5rem, 6.4vw, 5.6rem);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--ink);
  max-width: 22ch;
}
.hero__headline .glow-text { font-weight: 500; }

.hero__body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
@media (max-width: 900px) {
  .hero__body { grid-template-columns: 1fr; gap: 1.5rem; }
}

.hero__lede {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.55;
  color: var(--ink-80);
  max-width: 56ch;
  font-weight: 400;
}

.hero__cta-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }

/* Mountain illustration */
.mountain { position: absolute; bottom: -1px; left: 0; right: 0; width: 100%; height: clamp(200px, 38vw, 420px); z-index: 0; pointer-events: none; }
.mountain svg { width: 100%; height: 100%; display: block; }

/* Hero stat strip — now mono-numerals, not serif numerals */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--ink-10);
  padding-top: 1.5rem;
}
.hero__stats .stat { padding: 0 1rem 0 0; border-right: 1px solid var(--ink-06); }
.hero__stats .stat:last-child { border-right: 0; }
.stat .stat__num {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.1em;
  font-variant-numeric: tabular-nums;
}
.stat .stat__num .sup {
  font-family: var(--mono);
  font-size: 0.4em;
  color: var(--accent-b);
  font-weight: 500;
  margin-left: 0.2em;
  letter-spacing: 0;
  text-transform: uppercase;
}
.stat .stat__label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-top: 0.6rem;
}
@media (max-width: 780px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 0; }
  .hero__stats .stat:nth-child(2) { border-right: 0; }
  .hero__stats .stat:nth-child(3), .hero__stats .stat:nth-child(4) { border-top: 1px solid var(--ink-06); padding-top: 1.25rem; }
}

/* ==================================================
   SERVICES
   -------------------------------------------------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
}
.service {
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
  border-right: 1px solid var(--ink-10);
  position: relative;
  transition: background 0.25s var(--ease);
}
.service:last-child { border-right: 0; }
.service:hover { background: var(--ink-03); }
.service__num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent-b);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  display: block;
  font-weight: 500;
}
.service__peak { margin-bottom: 1.25rem; color: var(--ink); opacity: 0.85; }
.service h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.service p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-80);
  max-width: 32ch;
}
.service__list { list-style: none; margin-top: 1rem; padding: 0; }
.service__list li {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-60);
  padding: 0.4rem 0;
  border-top: 1px solid var(--ink-06);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0;
}
.service__list li:last-child { border-bottom: 1px solid var(--ink-06); }
.service__list li::before {
  content: "→";
  color: var(--accent-b);
  flex-shrink: 0;
  font-size: 0.85em;
}
@media (max-width: 880px) {
  .services { grid-template-columns: 1fr; }
  .service { border-right: 0; border-bottom: 1px solid var(--ink-10); }
  .service:last-child { border-bottom: 0; }
}

/* ==================================================
   MODULES showcase
   -------------------------------------------------- */
.section--tinted {
  background: var(--paper-warm);
  position: relative;
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
}
.section--tinted::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 220px;
  background: var(--glow-horizon);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.section--tinted::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--glow);
  opacity: 0.35;
  pointer-events: none;
}
.section--tinted > * { position: relative; z-index: 1; }
.section--tinted .modules { background: var(--ink-10); box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset; }
.section--tinted .module { background: var(--paper-warm); }
.section--tinted .module:hover { background: var(--snow); }

.modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink-10);
  border: 1px solid var(--ink-10);
}
.module {
  background: var(--paper);
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 170px;
  transition: background 0.25s var(--ease);
  position: relative;
}
.module:hover { background: var(--snow); }
.module__icon {
  width: 36px; height: 36px;
  margin-bottom: 0.25rem;
  display: block;
  filter: grayscale(0.15);
  transition: filter 0.25s var(--ease), transform 0.25s var(--ease);
}
.module:hover .module__icon { filter: grayscale(0); transform: translateY(-2px); }
.module__icon img { width: 100%; height: 100%; display: block; object-fit: contain; }
.module__id {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ink-40);
  letter-spacing: 0.02em;
  font-weight: 500;
}
.module__name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: auto;
}
.module__tag {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--ink-60);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.module__accent {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 8px; height: 8px;
  background: var(--glow);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.module:hover .module__accent { opacity: 1; }
@media (max-width: 880px) { .modules { grid-template-columns: repeat(2, 1fr); } }

/* ==================================================
   APPS PREVIEW / TILES
   -------------------------------------------------- */
.apps-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 1.5vw, 1.25rem);
}
.app-tile {
  position: relative;
  background: var(--snow);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-sm);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.app-tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--glow);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.app-tile:hover {
  border-color: var(--ink-15);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(11,13,18,0.05);
}
.app-tile:hover::before { opacity: 1; }
.app-tile__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.app-tile__cat {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-b);
  font-weight: 500;
}
.app-tile__ver {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ink-40);
  letter-spacing: 0;
  font-weight: 500;
}
.app-tile__name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.app-tile__desc { font-size: 0.9rem; line-height: 1.55; color: var(--ink-80); }
.app-tile__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ink-06);
}
.app-tile__link:hover { color: var(--accent-b); }
.app-tile__link svg { transition: transform 0.2s var(--ease); }
.app-tile__link:hover svg { transform: translate(2px, -2px); }
@media (max-width: 780px) { .apps-preview { grid-template-columns: 1fr; } }

/* ==================================================
   PROCESS (timeline) — dark band
   -------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--glow);
  opacity: 0.8;
}
.process-step { padding: 0 1.5rem 0 0; position: relative; padding-top: 3rem; }
.process-step__dot {
  position: absolute;
  top: 14px;
  left: 0;
  width: 12px; height: 12px;
  background: var(--ink);
  border: 2px solid var(--accent-a);
  box-shadow: 0 0 0 4px var(--ink);
}
.process-step__num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent-a);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  display: block;
  font-weight: 500;
}
.process-step__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.process-step__desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  max-width: 28ch;
}
@media (max-width: 880px) {
  .process { grid-template-columns: 1fr 1fr; gap: 2rem 0; }
  .process::before { display: none; }
  .process-step { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12); padding-left: 0; }
  .process-step__dot { top: -7px; left: 0; }
}
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ==================================================
   CTA band
   -------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-top: 1px solid var(--ink-10);
}
.cta-band__inner {
  padding: clamp(3rem, 5.5vw, 5rem) 0;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.cta-band__headline {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.cta-band__headline .glow-text { font-weight: 500; }
.cta-band__actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.cta-band__note {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-60);
  letter-spacing: 0;
}
@media (max-width: 780px) { .cta-band__inner { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ==================================================
   ABOUT page
   -------------------------------------------------- */
.about-intro {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 3vw, 3rem);
  border-bottom: 1px solid var(--ink-10);
}
.about-intro__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.about-intro__eyebrow { margin-bottom: 1rem; }
.about-intro__h {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
}
.about-intro__h .glow-text { font-weight: 500; }
.about-intro__body { font-size: 1rem; line-height: 1.65; color: var(--ink-80); }
.about-intro__body p + p { margin-top: 1rem; }
@media (max-width: 880px) { .about-intro__grid { grid-template-columns: 1fr; } }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
}
.expertise-card {
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.75rem);
  border-right: 1px solid var(--ink-10);
}
.expertise-card:last-child { border-right: 0; }
.expertise-card__num {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent-b);
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  display: block;
  font-weight: 500;
}
.expertise-card h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.expertise-card p { font-size: 0.88rem; line-height: 1.55; color: var(--ink-80); }
@media (max-width: 880px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-card:nth-child(2) { border-right: 0; }
  .expertise-card:nth-child(1), .expertise-card:nth-child(2) { border-bottom: 1px solid var(--ink-10); }
}
@media (max-width: 520px) {
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { border-right: 0; border-bottom: 1px solid var(--ink-10); }
  .expertise-card:last-child { border-bottom: 0; }
}

.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.fact-row .fact { padding: 1.75rem clamp(1rem, 2vw, 1.75rem); border-right: 1px solid var(--ink-10); }
.fact-row .fact:last-child { border-right: 0; }
.fact__label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.fact__value {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
@media (max-width: 780px) {
  .fact-row { grid-template-columns: 1fr; }
  .fact-row .fact { border-right: 0; border-bottom: 1px solid var(--ink-10); }
  .fact-row .fact:last-child { border-bottom: 0; }
}

/* ==================================================
   ODOO APPS page
   -------------------------------------------------- */
.apps-header {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 3.5vw, 3rem);
  border-bottom: 1px solid var(--ink-10);
}
.apps-header__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}
.apps-header__h {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
}
.apps-header__h .glow-text { font-weight: 500; }
.apps-header__meta { display: flex; flex-direction: column; gap: 1rem; }
.apps-header__desc { font-size: 0.98rem; line-height: 1.6; color: var(--ink-80); max-width: 50ch; }

.apps-category {
  padding: clamp(2rem, 3.5vw, 3rem) 0 clamp(1.75rem, 2.5vw, 2.25rem);
  border-bottom: 1px solid var(--ink-10);
}
.apps-category__head {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  margin-bottom: 1.5rem;
}
.apps-category__label { display: flex; flex-direction: column; gap: 0.35rem; }
.apps-category__label .num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--accent-b);
  font-weight: 500;
}
.apps-category__label .name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  letter-spacing: -0.02em;
}
.apps-category__note { font-size: 0.92rem; color: var(--ink-60); line-height: 1.5; max-width: 50ch; }

.app-list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.75rem, 1.25vw, 1rem); }
@media (max-width: 780px) {
  .apps-header__grid, .apps-category__head { grid-template-columns: 1fr; }
  .app-list { grid-template-columns: 1fr; }
}

/* ==================================================
   TaxAvenger product page
   -------------------------------------------------- */
.ta-hero {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 3.5vw, 3.5rem);
  border-bottom: 1px solid var(--ink-10);
  position: relative;
  overflow: hidden;
}
.ta-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(167, 32, 54, 0.05), transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(232,67,147,0.05), transparent 70%);
}
.ta-hero__inner { position: relative; z-index: 1; }
.ta-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.ta-hero__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 3rem);
  background: var(--snow);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-sm);
  position: relative;
}
.ta-hero__logo-wrap::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #A72036, #E84393);
}
.ta-hero__logo { max-width: 100%; height: auto; }
.ta-hero__content { display: flex; flex-direction: column; gap: 1.25rem; }
.ta-hero__eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #A72036;
  font-weight: 500;
}
.ta-hero__h {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.2vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.ta-hero__h .glow-text { font-weight: 500; }
.ta-hero__desc { font-size: 1rem; line-height: 1.55; color: var(--ink-80); max-width: 48ch; }
@media (max-width: 780px) {
  .ta-hero__grid { grid-template-columns: 1fr; }
  .ta-hero__logo-wrap { order: -1; }
}

.ta-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
}
.ta-feature {
  padding: 1.75rem clamp(1rem, 2vw, 1.75rem);
  border-right: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
}
.ta-feature:nth-child(3n) { border-right: 0; }
.ta-feature:nth-last-child(-n+3) { border-bottom: 0; }
.ta-feature__num {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: #A72036;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  display: block;
  font-weight: 500;
}
.ta-feature h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}
.ta-feature p { font-size: 0.88rem; line-height: 1.55; color: var(--ink-80); }
@media (max-width: 780px) {
  .ta-features { grid-template-columns: 1fr; }
  .ta-feature { border-right: 0; border-bottom: 1px solid var(--ink-10); }
  .ta-feature:last-child { border-bottom: 0; }
}

/* ==================================================
   CPQ / BoM Editor page
   -------------------------------------------------- */
.cpq-hero {
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2.5rem, 4vw, 4rem);
  border-bottom: 1px solid var(--ink-10);
  position: relative;
  overflow: hidden;
}
.cpq-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(108,92,231,0.06), transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(45,49,150,0.05), transparent 70%);
}
.cpq-hero__inner { position: relative; z-index: 1; max-width: 48rem; }
.cpq-hero__content { display: flex; flex-direction: column; gap: 1.25rem; }
.cpq-hero__eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-b);
  font-weight: 500;
}
.cpq-hero__h {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.cpq-hero__h .glow-text { font-weight: 500; }
.cpq-hero__desc { font-size: 1.05rem; line-height: 1.55; color: var(--ink-80); max-width: 56ch; }

.cpq-accent { color: var(--accent-b) !important; }

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 1px solid var(--ink-10);
  border-radius: var(--r-sm);
  background: var(--ink);
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
}
.problem-card {
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.25rem, 2vw, 1.75rem);
  border-right: 1px solid var(--ink-10);
}
.problem-card:last-child { border-right: 0; }
.problem-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--ink-10);
  border-radius: var(--r-sm);
  margin-bottom: 1.25rem;
  color: var(--accent-b);
}
.problem-card h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}
.problem-card p { font-size: 0.88rem; line-height: 1.55; color: var(--ink-80); }
@media (max-width: 780px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { border-right: 0; border-bottom: 1px solid var(--ink-10); }
  .problem-card:last-child { border-bottom: 0; }
}

/* ==================================================
   CONTACT page
   -------------------------------------------------- */
.contact-wrap { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
}
.contact-h {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
}
.contact-h .glow-text { font-weight: 500; }
.contact-lede { font-size: 1.05rem; line-height: 1.55; color: var(--ink-80); margin-top: 1.25rem; max-width: 40ch; }
.contact-email-block {
  margin-top: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
}
.contact-email-block .label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.contact-email-block a {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s var(--ease);
}
.contact-email-block a:hover { color: var(--accent-b); }

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--ink-10);
}
.contact-channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--ink-10);
  transition: padding 0.2s var(--ease);
}
.contact-channel:hover { padding-left: 0.6rem; }
.contact-channel__l { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-channel__l .t {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}
.contact-channel__l .d { font-size: 0.85rem; color: var(--ink-60); line-height: 1.4; }
.contact-channel__arrow {
  font-family: var(--mono);
  color: var(--accent-b);
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
.contact-channel:hover .contact-channel__arrow { transform: translateX(3px); }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

/* ==================================================
   FOOTER
   -------------------------------------------------- */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: clamp(2.5rem, 4.5vw, 4rem) 0 1.75rem;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}
.footer-horizon { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--glow); }
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand { display: flex; flex-direction: column; gap: 1rem; max-width: 32ch; }
.footer__brand .mark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--paper);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.footer__brand .mark svg { width: 22px; height: 22px; }
.footer__brand p { font-size: 0.88rem; line-height: 1.6; color: rgba(255,255,255,0.6); }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.footer__col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--paper); }

.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
}
.footer__social { display: flex; gap: 0.4rem; }
.footer__social a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer__social a:hover {
  color: var(--paper);
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
}
@media (max-width: 780px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }
