/* ============================================================
   Infostep homepage — page-level styles on top of the DS tokens
   Prefix: .hp-
   ============================================================ */
html { scroll-behavior: smooth; }
body { background: var(--surface-page); overflow-x: hidden; }

.hp-container {
  width: 100%;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hp-eyebrow {
  font-family: var(--font-eyebrow);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--teal-600);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
}
.hp-eyebrow::before {
  content: "";
  width: 22px; height: 2px; border-radius: 2px;
  background: var(--teal-500);
  display: inline-block;
}

/* ---------------------------------------------------------- Header */
.hp-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--ink-0) 78%, transparent);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  border-bottom: 1px solid var(--border-subtle);
}
.hp-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6);
  height: 76px;
}
.hp-logo { display: inline-flex; align-items: center; }
.hp-logo img { height: 38px; width: auto; display: block; }
.hp-nav { display: flex; align-items: center; gap: var(--space-8); }
.hp-nav__links { display: flex; align-items: center; gap: 1.75rem; }
.hp-nav a:not(.is-btn) {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  color: var(--text-body);
  white-space: nowrap;
}
.hp-nav a:not(.is-btn):hover { color: var(--navy-700); }
.hp-nav__cta { display: flex; align-items: center; gap: var(--space-3); }
.hp-burger { display: none; }

/* ---------------------------------------------------------- Mobile nav */
.hp-mobilenav {
  display: none;
  position: fixed; inset: 0; z-index: 100;
}
.hp-mobilenav.is-open { display: flex; }
.hp-mobilenav__overlay {
  position: absolute; inset: 0;
  background: rgba(6, 22, 52, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hp-mobilenav__panel {
  position: relative;
  margin-left: auto;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--ink-0);
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column;
  padding: var(--space-6);
  overflow-y: auto;
  animation: hp-slideIn var(--duration-slow) var(--ease-out);
}
@keyframes hp-slideIn { from { transform: translateX(100%); } to { transform: none; } }
.hp-mobilenav__close {
  align-self: flex-end;
  background: none; border: none; cursor: pointer;
  color: var(--ink-500); padding: var(--space-2);
}
.hp-mobilenav__close svg { width: 24px; height: 24px; }
.hp-mobilenav__links {
  display: flex; flex-direction: column; gap: var(--space-1);
  margin-top: var(--space-6);
}
.hp-mobilenav__links a {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-md);
  color: var(--text-body);
  padding: var(--space-3) var(--space-2);
  border-radius: var(--radius-md);
  transition: background var(--duration-fast) var(--ease-out);
}
.hp-mobilenav__links a:hover { background: var(--ink-50); color: var(--navy-700); }
.hp-mobilenav__cta {
  display: flex; flex-direction: column; gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
}

/* ---------------------------------------------------------- Hero */
.hp-hero { position: relative; overflow: hidden; }
.hp-hero::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gradient-brand-soft); opacity: 0.55;
  -webkit-mask-image: radial-gradient(120% 100% at 80% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(120% 100% at 80% 0%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hp-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: var(--space-16);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 7rem) clamp(3rem, 6vw, 6rem);
}
.hp-hero__copy { max-width: 36rem; }
.hp-hero h1 {
  font-size: clamp(2.6rem, 5vw, var(--text-5xl));
  font-weight: var(--weight-black);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--navy-800);
  margin-top: var(--space-5);
}
.hp-hero h1 .accent { color: var(--teal-600); }
.hp-hero__sub {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--text-body);
  margin-top: var(--space-6);
  max-width: 33rem;
}
.hp-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hp-hero__trust {
  display: flex; align-items: center; gap: var(--space-3);
  margin-top: var(--space-8);
  font-family: var(--font-sans); font-size: var(--text-sm); color: var(--text-muted);
  font-weight: var(--weight-semibold);
}
.hp-hero__trust .dot { width: 5px; height: 5px; border-radius: 999px; background: var(--ink-300); }

/* ---------------------------------------------------------- Flow board (hero visual) */
.hp-board {
  position: relative;
  background: var(--ink-0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-8) var(--space-8) 1.75rem;
  overflow: hidden;
}
.hp-board__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-6); }
.hp-board__title { font-family: var(--font-display); font-weight: var(--weight-extrabold); font-size: var(--text-sm); color: var(--text-strong); }
.hp-board__chrome { display: flex; gap: 6px; }
.hp-board__chrome span { width: 9px; height: 9px; border-radius: 999px; background: var(--ink-200); }

.hp-flow { position: relative; display: flex; flex-direction: column; }
.hp-pipe {
  height: 28px; width: 0;
  margin-left: 42px;
  border-left: 3px dashed var(--teal-400);
  border-radius: 2px;
}
.hp-node {
  position: relative;
  display: flex; align-items: center; gap: var(--space-4);
  background: var(--ink-0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-4) var(--space-5);
}
.hp-node--brand {
  border-color: color-mix(in oklab, var(--teal-500) 32%, transparent);
  box-shadow: var(--shadow-md);
}
.hp-node__mark {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  flex: none; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: var(--weight-extrabold);
  font-size: var(--text-md); color: var(--navy-700);
  background: var(--ink-50); border: 1px solid var(--border-subtle);
}
.hp-node--brand .hp-node__mark { background: var(--gradient-brand); color: #fff; border-color: transparent; }
.hp-node__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hp-node__name { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-sm); color: var(--text-strong); }
.hp-node__role { font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--text-muted); letter-spacing: 0.04em; }
.hp-node__status { margin-left: auto; flex: none; white-space: nowrap; }

/* ---------------------------------------------------------- Section scaffolding */
.hp-section { padding-block: clamp(4rem, 8vw, var(--space-24)); }
.hp-section__head { max-width: 44rem; margin-bottom: var(--space-12); }
.hp-section__head h2 {
  font-size: clamp(2rem, 3.6vw, var(--text-3xl));
  font-weight: var(--weight-black);
  color: var(--navy-800);
  margin-top: var(--space-4);
  line-height: 1.08;
}
.hp-section__head p {
  font-size: var(--text-md); line-height: var(--leading-relaxed);
  color: var(--text-muted); margin-top: var(--space-4); max-width: 38rem;
}
.hp-section__head--center { margin-inline: auto; text-align: center; }
.hp-section__head--center .hp-eyebrow { justify-content: center; }
.hp-section__head--center p { margin-inline: auto; }

/* ---------------------------------------------------------- Logos / supported systems strip */
.hp-strip { background: var(--ink-0); border-block: 1px solid var(--border-subtle); }
.hp-strip__inner { padding-block: var(--space-10); }
.hp-strip__label {
  text-align: center; font-family: var(--font-sans); font-size: var(--text-sm);
  color: var(--text-muted); font-weight: var(--weight-semibold); margin-bottom: 1.75rem;
}
.hp-strip__row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: var(--space-3);
}
.hp-syschip {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.6rem var(--space-4);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--ink-25);
  font-family: var(--font-display); font-weight: var(--weight-bold);
  font-size: var(--text-sm); color: var(--navy-700);
}
.hp-syschip__dot { width: 9px; height: 9px; border-radius: 3px; background: var(--navy-700); flex: none; }
.hp-syschip--erp .hp-syschip__dot { background: var(--navy-700); }
.hp-syschip--end .hp-syschip__dot { background: var(--teal-500); border-radius: 999px; }
.hp-strip__via {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono); font-size: var(--text-xs);
  color: var(--teal-600); font-weight: var(--weight-bold);
  padding-inline: var(--space-2);
}
.hp-strip__via svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------- Featured packaged product (Kobra II) */
.hp-product { padding-top: 0; }
.hp-product__card {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-12);
  align-items: center;
  background: var(--ink-0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(2rem, 4vw, var(--space-12));
}
.hp-product__meta { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-5); flex-wrap: wrap; }
.hp-product__meta .is-statusdot { white-space: nowrap; }
.hp-product h2 { font-size: clamp(1.8rem, 3vw, var(--text-2xl)); font-weight: var(--weight-black); color: var(--navy-800); line-height: 1.1; }
.hp-product p { font-size: var(--text-md); line-height: var(--leading-relaxed); color: var(--text-body); margin-top: var(--space-4); max-width: 40ch; }
.hp-product__list { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.hp-product__list li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-sm); color: var(--text-body); line-height: var(--leading-snug); }
.hp-product__list svg { width: 20px; height: 20px; flex: none; color: var(--teal-600); margin-top: 1px; }
.hp-product__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }

.hp-product__flow {
  background: var(--gradient-brand-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8) 1.75rem;
  display: flex; flex-direction: column; align-items: stretch;
}
.hp-pnode {
  display: flex; align-items: center; gap: var(--space-4);
  background: var(--ink-0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-4) var(--space-5);
}
.hp-pnode--brand { border-color: color-mix(in oklab, var(--teal-500) 32%, transparent); box-shadow: var(--shadow-md); }
.hp-pnode__mark {
  width: 42px; height: 42px; border-radius: var(--radius-md); flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: var(--weight-extrabold); font-size: var(--text-sm);
  color: var(--navy-700); background: var(--ink-50); border: 1px solid var(--border-subtle);
}
.hp-pnode--brand .hp-pnode__mark { background: var(--gradient-brand); color: #fff; border-color: transparent; }
.hp-pnode__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.hp-pnode__name { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-sm); color: var(--text-strong); white-space: nowrap; }
.hp-pnode__role { font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--text-muted); letter-spacing: 0.04em; white-space: nowrap; }
.hp-pnode__targets { display: flex; flex-direction: column; gap: var(--space-3); }
.hp-ppipe { height: 26px; width: 0; margin-left: 41px; border-left: 3px dashed var(--teal-400); border-radius: 2px; }
.hp-ppipe--split { height: 18px; }

/* ---------------------------------------------------------- Services cards */
.hp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.hp-svc {
  background: var(--ink-0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: box-shadow var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}
.hp-svc:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--border-default); }
.hp-svc__icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-brand-subtle); color: var(--teal-700);
  margin-bottom: var(--space-5);
}
.hp-svc__icon svg { width: 26px; height: 26px; }
.hp-svc--feature .hp-svc__icon { background: var(--gradient-brand); color: #fff; }
.hp-svc h3 { font-size: var(--text-lg); font-weight: var(--weight-extrabold); color: var(--navy-800); }
.hp-svc p { font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--text-body); margin-top: var(--space-3); flex: 1; }
.hp-svc__link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  margin-top: var(--space-5);
  font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-sm);
  color: var(--teal-700);
}
.hp-svc__link svg { width: 16px; height: 16px; transition: transform var(--duration-fast) var(--ease-out); }
.hp-svc__link:hover svg { transform: translateX(3px); }

/* secondary band: expertise + custom dev */
.hp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin-top: var(--space-6); }
.hp-band {
  border-radius: var(--radius-xl); padding: 1.75rem;
  display: flex; gap: var(--space-5); align-items: flex-start;
}
.hp-band--soft { background: var(--gradient-brand-soft); border: 1px solid var(--border-subtle); }
.hp-band--amber { background: var(--amber-50); border: 1px solid color-mix(in oklab, var(--amber-500) 22%, transparent); }
.hp-band__icon { width: 46px; height: 46px; border-radius: var(--radius-md); flex: none; display: flex; align-items: center; justify-content: center; background: var(--ink-0); box-shadow: var(--shadow-sm); }
.hp-band__icon svg { width: 24px; height: 24px; }
.hp-band--soft .hp-band__icon { color: var(--teal-700); }
.hp-band--amber .hp-band__icon { color: var(--amber-600); }
.hp-band h3 { font-size: var(--text-md); font-weight: var(--weight-extrabold); color: var(--navy-800); }
.hp-band p { font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--text-body); margin-top: var(--space-2); }
.hp-band__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }

/* ---------------------------------------------------------- How it works */
.hp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); position: relative; }
.hp-step { position: relative; }
.hp-step__num {
  font-family: var(--font-mono); font-weight: var(--weight-bold);
  font-size: var(--text-sm); color: var(--teal-600);
  display: inline-flex; align-items: center; gap: var(--space-3);
}
.hp-step__num::after { content: ""; flex: 1; height: 2px; background: var(--ink-150); border-radius: 2px; min-width: 18px; }
.hp-step__node {
  width: 16px; height: 16px; border-radius: var(--radius-xs);
  background: var(--gradient-brand); margin-block: var(--space-5) var(--space-4);
}
.hp-step:nth-child(odd) .hp-step__node { border-radius: 999px; }
.hp-step h3 { font-size: var(--text-md); font-weight: var(--weight-extrabold); color: var(--navy-800); }
.hp-step p { font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--text-muted); margin-top: var(--space-3); }

/* ---------------------------------------------------------- Excel expertise */
.hp-excel { background: var(--ink-0); border-block: 1px solid var(--border-subtle); }
.hp-excel__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: var(--space-16); align-items: center; }
.hp-excel__copy h2 {
  font-size: clamp(2rem, 3.6vw, var(--text-3xl));
  font-weight: var(--weight-black);
  color: var(--navy-800);
  margin-top: var(--space-4);
  line-height: 1.08;
}
.hp-excel__copy > p {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  margin-top: var(--space-5);
  max-width: 34rem;
}
.hp-excel__points { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-6); }
.hp-excel__point { display: flex; gap: var(--space-4); align-items: flex-start; }
.hp-excel__point-icon { width: 46px; height: 46px; border-radius: var(--radius-md); flex: none; display: flex; align-items: center; justify-content: center; background: var(--surface-brand-subtle); color: var(--teal-700); }
.hp-excel__point-icon svg { width: 24px; height: 24px; }
.hp-excel__point h3 { font-size: var(--text-md); font-weight: var(--weight-extrabold); color: var(--navy-800); }
.hp-excel__point p { font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--text-muted); margin-top: var(--space-2); }
.hp-excel__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }

/* Spreadsheet / BI motif */
.hp-sheet {
  background: var(--ink-0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.hp-sheet__bar { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border-subtle); background: var(--ink-25); }
.hp-sheet__fx { font-family: var(--font-mono); font-weight: var(--weight-bold); font-size: var(--text-xs); color: var(--teal-600); border: 1px solid var(--border-subtle); background: var(--ink-0); border-radius: var(--radius-xs); padding: 2px 7px; }
.hp-sheet__formula { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-sheet__formula b { color: var(--navy-700); font-weight: var(--weight-bold); }
.hp-sheet__grid { display: grid; grid-template-columns: 28px repeat(4, 1fr); }
.hp-cell {
  font-family: var(--font-mono); font-size: var(--text-2xs);
  padding: var(--space-3) var(--space-3);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-body); background: var(--ink-0);
  display: flex; align-items: center; min-height: 38px;
  white-space: nowrap; overflow: hidden;
}
.hp-cell--num { justify-content: flex-end; font-variant-numeric: tabular-nums; }
.hp-cell--head { background: var(--ink-50); color: var(--text-muted); font-weight: var(--weight-bold); justify-content: center; }
.hp-cell--rowhead { background: var(--ink-50); color: var(--text-subtle); justify-content: center; }
.hp-cell--hot { background: color-mix(in oklab, var(--teal-500) 12%, var(--ink-0)); color: var(--teal-700); font-weight: var(--weight-bold); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--teal-500) 55%, transparent); }
.hp-sheet__grid > .hp-cell:nth-child(5n) { border-right: none; }

.hp-sheet__chart { padding: var(--space-5) var(--space-5) var(--space-6); }
.hp-sheet__chart-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); }
.hp-sheet__chart-head .is-badge { white-space: nowrap; }
.hp-sheet__chart-title { font-family: var(--font-display); font-weight: var(--weight-extrabold); font-size: var(--text-sm); color: var(--text-strong); }
.hp-sheet__bars { display: flex; align-items: flex-end; gap: var(--space-3); height: 92px; }
.hp-sheet__bars .bar { flex: 1; border-radius: var(--radius-xs) var(--radius-xs) 0 0; background: var(--ink-150); }
.hp-sheet__bars .bar--on { background: var(--gradient-brand); }

/* ---------------------------------------------------------- Why Infostep */
.hp-why { background: var(--ink-0); border-block: 1px solid var(--border-subtle); }
.hp-why__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-16); align-items: center; }
.hp-why__copy h2 {
  font-size: clamp(2rem, 3.6vw, var(--text-3xl));
  font-weight: var(--weight-black);
  color: var(--navy-800);
  margin-top: var(--space-4);
  line-height: 1.08;
}
.hp-why__copy > p {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  margin-top: var(--space-5);
  max-width: 34rem;
}
.hp-why__actions {
  margin-top: var(--space-8);
  display: flex; gap: var(--space-3); flex-wrap: wrap;
}
.hp-feats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.hp-feat {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--ink-25);
}
.hp-feat__icon { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--surface-brand-subtle); color: var(--teal-700); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); }
.hp-feat__icon svg { width: 22px; height: 22px; }
.hp-feat h3 { font-size: var(--text-base); font-weight: var(--weight-extrabold); color: var(--navy-800); }
.hp-feat p { font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--text-muted); margin-top: var(--space-2); }

/* ---------------------------------------------------------- Contact */
.hp-cta-wrap { padding-block: clamp(3rem, 6vw, var(--space-20)); }
.hp-contact {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  background: var(--ink-0);
  border: 1px solid var(--border-subtle);
}
.hp-eyebrow--onbrand { color: var(--teal-200); }
.hp-eyebrow--onbrand::before { background: var(--teal-300); }

.hp-contact__intro {
  position: relative; overflow: hidden;
  background: var(--gradient-brand);
  padding: clamp(2.25rem, 4vw, var(--space-16));
  display: flex; flex-direction: column;
}
.hp-contact__mark { position: absolute; right: -44px; bottom: -52px; width: 230px; height: auto; opacity: 0.13; pointer-events: none; }
.hp-contact__intro h2 { position: relative; font-size: clamp(1.8rem, 3vw, var(--text-3xl)); font-weight: var(--weight-black); color: #fff; letter-spacing: -0.02em; line-height: 1.1; margin-top: var(--space-4); max-width: 18ch; }
.hp-contact__intro p { position: relative; font-size: var(--text-md); line-height: var(--leading-relaxed); color: color-mix(in oklab, #fff 84%, var(--teal-200)); margin-top: var(--space-5); max-width: 40ch; }
.hp-contact__points { position: relative; list-style: none; margin: var(--space-8) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.hp-contact__points li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-sm); line-height: var(--leading-snug); color: color-mix(in oklab, #fff 88%, var(--teal-100)); }
.hp-contact__points svg { width: 20px; height: 20px; flex: none; color: var(--teal-200); margin-top: 1px; }
.hp-contact__points a { color: #fff; font-weight: var(--weight-bold); text-decoration: underline; text-underline-offset: 2px; }

.hp-contact__formwrap { position: relative; padding: clamp(2rem, 3.5vw, var(--space-12)); }

.hp-form { display: flex; flex-direction: column; gap: var(--space-5); }
.hp-field { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; min-width: 0; }
.hp-field--row { flex-direction: row; gap: var(--space-4); }
.hp-field label { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-sm); color: var(--text-strong); }
.hp-field__opt { font-family: var(--font-sans); font-weight: var(--weight-regular); color: var(--text-muted); }
.hp-form input, .hp-form select, .hp-form textarea {
  font-family: var(--font-sans); font-size: var(--text-base); color: var(--text-strong);
  background: var(--ink-25);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.85rem;
  width: 100%;
  transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}
.hp-form textarea { resize: vertical; min-height: 96px; line-height: var(--leading-normal); }
.hp-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235b6b80' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.7rem center; padding-right: 2.4rem; }
.hp-form input::placeholder, .hp-form textarea::placeholder { color: var(--text-subtle); }
.hp-form input:focus, .hp-form select:focus, .hp-form textarea:focus {
  outline: none; background: var(--ink-0);
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--teal-500) 18%, transparent);
}
.hp-form input:user-invalid, .hp-form textarea:user-invalid {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--red-500) 14%, transparent);
}
.hp-form__foot { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-2); }
.hp-form__note { font-family: var(--font-sans); font-size: var(--text-xs); color: var(--text-muted); line-height: var(--leading-snug); flex: 1; min-width: 14ch; }

.hp-form__success { display: none; flex-direction: column; text-align: center; max-width: 38ch; margin: var(--space-6) auto; align-items: center; }
.hp-form__success-icon { width: 56px; height: 56px; border-radius: 999px; background: var(--green-50); color: var(--green-600); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-5); }
.hp-form__success-icon svg { width: 28px; height: 28px; }
.hp-form__success h3 { font-size: var(--text-lg); font-weight: var(--weight-extrabold); color: var(--navy-800); }
.hp-form__success p { font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--text-muted); margin-top: var(--space-3); }
.hp-form__success a { color: var(--teal-700); font-weight: var(--weight-bold); }
.hp-form__success .is-btn { margin-top: var(--space-6); }

.hp-form__error {
  font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-semibold);
  color: var(--red-600); background: var(--red-50);
  border: 1px solid color-mix(in oklab, var(--red-500) 28%, transparent);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-top: var(--space-4);
  text-align: center;
}

/* ---------------------------------------------------------- Footer */
.hp-footer { background: var(--navy-900); color: color-mix(in oklab, #fff 72%, var(--navy-300)); }
.hp-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-10); padding-block: var(--space-16) var(--space-12); }
.hp-footer__brand img { height: 34px; width: auto; margin-bottom: var(--space-5); }
.hp-footer__brand p { font-size: var(--text-sm); line-height: var(--leading-relaxed); max-width: 30ch; color: color-mix(in oklab, #fff 60%, var(--navy-300)); }
.hp-footer__col h4 { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--teal-300); margin-bottom: var(--space-4); }
.hp-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.hp-footer__col a { color: color-mix(in oklab, #fff 72%, var(--navy-300)); font-size: var(--text-sm); font-family: var(--font-sans); }
.hp-footer__col a:hover { color: #fff; }
.hp-footer__bottom {
  border-top: 1px solid color-mix(in oklab, #fff 12%, transparent);
  padding-block: var(--space-6);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap;
}
.hp-footer__tagline { font-family: var(--font-eyebrow); font-weight: var(--weight-extrabold); font-size: var(--text-xs); letter-spacing: var(--tracking-caps); color: var(--teal-300); }
.hp-footer__copy { font-size: var(--text-xs); color: color-mix(in oklab, #fff 50%, var(--navy-300)); }

/* ---------------------------------------------------------- Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------- Responsive */
@media (max-width: 940px) {
  .hp-hero__grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .hp-hero__copy { max-width: none; }
  .hp-why__grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .hp-product__card { grid-template-columns: 1fr; gap: var(--space-8); }
  .hp-contact { grid-template-columns: 1fr; }
  .hp-excel__grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .hp-excel__grid > .hp-sheet { order: 2; }
  .hp-grid-3 { grid-template-columns: 1fr 1fr; }
  .hp-steps { grid-template-columns: 1fr 1fr; gap: var(--space-10) var(--space-6); }
  .hp-footer__top { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
}
@media (max-width: 720px) {
  .hp-nav__links { display: none; }
  .hp-nav .is-btn--ghost { display: none; }
  .hp-burger { display: inline-flex; }
  .hp-grid-3, .hp-grid-2, .hp-feats, .hp-steps { grid-template-columns: 1fr; }
  .hp-field--row { flex-direction: column; gap: var(--space-5); }
  .hp-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .hp-footer__top { grid-template-columns: 1fr; }
}
