/* HeltAIum — landing pages (Service-Landingpages)
   Same tokens as main, leaner layout — content-first, conversion-focused */

:root {
  --bg: #0b0a08;
  --bg-elev: #131210;
  --bg-deep: #060604;
  --ink: #ede4d3;
  --ink-mute: #b8ac94;
  --ink-dim: #7d7464;
  --ink-faint: #3e3a32;
  --accent: #e8a04b;
  --accent-hot: #ff6a1f;
  --rule: rgba(237, 228, 211, 0.10);
  --rule-mid: rgba(237, 228, 211, 0.18);

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-sans: "Instrument Sans", -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --max: 1100px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(0.7, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

/* film grain */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }

/* ─────────── NAV ─────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(11, 10, 8, 0.85);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 14px; height: 14px;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-hot) 60%, #5a2810);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(232, 160, 75, 0.55), inset 0 0 4px rgba(255,255,255,0.3);
}
.brand sup { font-family: var(--font-mono); font-size: 9px; color: var(--ink-dim); margin-left: 2px; }

.nav-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
  transition: color 0.3s;
  padding: 6px 0;
}
.nav-back:hover { color: var(--accent); }
.nav-back .arr { font-family: var(--font-display); font-style: italic; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--ink); color: var(--ink);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: all 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0;
  background: var(--ink); transform: translateY(101%);
  transition: transform 0.4s var(--ease);
}
.nav-cta:hover::before { transform: translateY(0); }
.nav-cta span { position: relative; z-index: 1; transition: color 0.3s 0.05s; }
.nav-cta:hover span { color: var(--bg); }
.nav-cta .arr { font-family: var(--font-display); font-style: italic; font-size: 14px; }

@media (max-width: 600px) {
  .nav-back span:not(.arr) { display: none; }
  .nav-cta { padding: 8px 12px; font-size: 10px; }
}

/* ─────────── HERO ─────────── */
.hero {
  padding: clamp(60px, 10vw, 140px) var(--gutter) clamp(50px, 8vw, 100px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(232,160,75,0.08), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(255,106,31,0.05), transparent 50%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max); margin: 0 auto;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 200px 1fr;
  gap: clamp(24px, 4vw, 56px);
}
@media (max-width: 760px) { .hero-inner { grid-template-columns: 1fr; } }

.hero-meta {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim);
  display: flex; flex-direction: column; gap: 8px;
  align-self: start;
  position: sticky; top: 100px;
}
.hero-meta .num {
  font-family: var(--font-display); font-style: italic;
  font-weight: 300; font-size: 60px;
  color: var(--accent); line-height: 0.85;
  margin-bottom: 14px; letter-spacing: -0.04em;
}
.hero-meta b { color: var(--ink); font-weight: 500; }
.hero-meta .faint { color: var(--ink-faint); }
.hero-meta .status {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px;
}
.hero-meta .status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.hero-body { display: flex; flex-direction: column; gap: 32px; }
.hero-body .crumb {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-dim);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.hero-body .crumb a { color: var(--ink-mute); transition: color 0.3s; }
.hero-body .crumb a:hover { color: var(--accent); }
.hero-body .crumb .sep { color: var(--ink-faint); }
.hero-body .crumb .here { color: var(--ink); }

.hero-body h1 {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
}
.hero-body h1 em { font-style: italic; color: var(--accent); font-weight: 300; }

.hero-body .lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 60ch;
}
.hero-body .lead em {
  font-family: var(--font-display); font-style: italic;
  color: var(--ink); font-weight: 400;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px;
  background: var(--ink); color: var(--bg);
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  position: relative; overflow: hidden;
  transition: color 0.3s var(--ease);
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: var(--accent); transform: translateY(101%);
  transition: transform 0.45s var(--ease);
  z-index: 0;
}
.btn-primary:hover::after { transform: translateY(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary .arr {
  font-family: var(--font-display);
  font-style: italic; font-size: 16px;
  position: relative; z-index: 1;
  transition: transform 0.4s var(--ease-out);
}
.btn-primary:hover .arr { transform: translateX(6px); }

.btn-text {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 0;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--rule-mid);
  transition: color 0.3s, border-color 0.3s;
}
.btn-text:hover { color: var(--ink); border-color: var(--ink); }
.btn-text .arr { font-family: var(--font-display); font-style: italic; }

/* ─────────── SECTION ─────────── */
section { position: relative; }

.section {
  padding: clamp(60px, 10vw, 140px) var(--gutter);
  border-bottom: 1px solid var(--rule);
}
.section.alt { background: var(--bg-deep); }

.section-head {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 200px 1fr;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: clamp(40px, 6vw, 64px);
  align-items: end;
}
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}
.section-head .meta {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim);
  display: flex; flex-direction: column; gap: 8px;
}
.section-head .meta b { color: var(--ink); font-weight: 500; }
.section-head .meta .num {
  font-family: var(--font-display); font-style: italic;
  font-weight: 300; font-size: 56px;
  color: var(--accent);
  line-height: 0.85; letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--font-display); font-weight: 350;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
}
.section-head h2 em { font-style: italic; color: var(--accent); font-weight: 300; }

/* ─────────── PROBLEM CARDS ─────────── */
.problem-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 720px) { .problem-grid { grid-template-columns: 1fr; } }

.problem {
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  display: grid; grid-template-columns: 36px 1fr; gap: 20px;
  align-items: start;
}
.problem:nth-child(2n) { border-right: none; }
@media (max-width: 720px) { .problem { border-right: none; } }
.problem .mark {
  width: 28px; height: 28px;
  border: 1px solid var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display); font-style: italic;
  font-size: 18px; color: var(--accent); line-height: 1;
}
.problem h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.25; letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 8px;
}
.problem p { font-size: 14px; line-height: 1.6; color: var(--ink-mute); max-width: 42ch; }

/* ─────────── SOLUTION HIGHLIGHTS ─────────── */
.solution {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .solution { grid-template-columns: 1fr; } }

.solution .lead-text {
  font-family: var(--font-display); font-weight: 350;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3; letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
  margin-bottom: 28px;
}
.solution .lead-text em { font-style: italic; color: var(--accent); font-weight: 300; }
.solution p {
  font-size: 16px; line-height: 1.7;
  color: var(--ink-mute); max-width: 60ch;
  margin-bottom: 18px;
}

.feature-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 18px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.feature-list li {
  display: grid; grid-template-columns: 28px 1fr; gap: 16px;
  align-items: start;
}
.feature-list .check {
  width: 22px; height: 22px;
  border: 1px solid var(--accent);
  display: grid; place-items: center;
  color: var(--accent);
  font-family: var(--font-display); font-style: italic;
  font-size: 14px; line-height: 1;
  margin-top: 2px;
}
.feature-list .body {
  font-size: 15px; line-height: 1.55;
}
.feature-list .body b {
  display: block; color: var(--ink); font-weight: 500;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.005em;
}
.feature-list .body span { color: var(--ink-mute); }

/* ─────────── PROCESS / TIMELINE ─────────── */
.process {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process { grid-template-columns: 1fr; } }

.phase {
  padding: clamp(28px, 4vw, 40px) clamp(16px, 2vw, 24px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: grid; grid-template-rows: auto auto auto auto; gap: 14px;
  position: relative;
}
.phase:last-child { border-right: none; }
@media (max-width: 900px) {
  .phase:nth-child(2n) { border-right: none; }
  .phase { border-right: 1px solid var(--rule); }
}
@media (max-width: 540px) {
  .phase { border-right: none; }
}
.phase .step {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.phase h4 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1; letter-spacing: -0.015em;
}
.phase h4 em { font-style: italic; color: var(--ink-mute); font-weight: 300; }
.phase p { font-size: 13px; line-height: 1.55; color: var(--ink-mute); max-width: 30ch; }
.phase .when {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-dim);
  border-top: 1px solid var(--rule); padding-top: 10px;
  margin-top: auto;
}

/* ─────────── USE-CASE CARDS ─────────── */
.cases {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 720px) { .cases { grid-template-columns: 1fr; } }

.uc {
  padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  transition: background 0.4s var(--ease);
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px;
}
.uc:nth-child(2n) { border-right: none; }
@media (max-width: 720px) { .uc { border-right: none; } }
.uc:hover { background: var(--bg-elev); }

.uc .tag {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.uc h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15; letter-spacing: -0.015em;
}
.uc h3 em { font-style: italic; color: var(--accent); font-weight: 300; }
.uc p { font-size: 15px; line-height: 1.6; color: var(--ink-mute); max-width: 42ch; }
.uc .stack {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-dim);
  border-top: 1px solid var(--rule); padding-top: 12px;
  display: flex; flex-wrap: wrap; gap: 6px 12px;
}
.uc .stack span::before { content: '·'; color: var(--accent); margin-right: 6px; }
.uc .stack span:first-child::before { content: ''; margin: 0; }

/* ─────────── FAQ ─────────── */
.q-list { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--rule); }
.q {
  border-bottom: 1px solid var(--rule);
  padding: clamp(20px, 3vw, 32px) 0;
  cursor: pointer;
  display: grid; grid-template-columns: 60px 1fr auto; gap: 20px;
  align-items: start;
  transition: padding 0.3s var(--ease);
}
.q:hover { padding-left: 8px; }
.q .num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; color: var(--accent); padding-top: 6px; }
.q .body { display: flex; flex-direction: column; gap: 14px; }
.q .body h4 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2; letter-spacing: -0.01em;
}
.q .body h4 em { font-style: italic; color: var(--ink-mute); font-weight: 300; }
.q .body .a {
  display: none;
  color: var(--ink-mute); font-size: 15px; line-height: 1.65;
  max-width: 70ch;
  padding-top: 4px;
}
.q.open .body .a { display: block; }
.q .toggle {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 30px; line-height: 0.9; color: var(--accent);
  transition: transform 0.4s var(--ease);
}
.q.open .toggle { transform: rotate(45deg); }

/* ─────────── CTA ─────────── */
.cta {
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  text-align: center;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--rule);
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(232,160,75,0.08), transparent 60%);
  pointer-events: none;
}
.cta .label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 32px;
  position: relative; z-index: 1;
}
.cta .label .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: pulse 2.4s var(--ease) infinite;
}
.cta h2 {
  font-family: var(--font-display); font-weight: 350;
  font-size: clamp(36px, 6vw, 84px);
  line-height: 0.98; letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144;
  position: relative; z-index: 1;
  max-width: 18ch; margin: 0 auto;
}
.cta h2 em { font-style: italic; color: var(--accent); font-weight: 300; }

.cta-foot {
  margin-top: 44px;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  position: relative; z-index: 1;
}
.cta-channels {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: center;
  align-items: center;
}
.cta-channels .channel {
  font-family: var(--font-display); font-style: italic;
  font-weight: 300; font-size: clamp(18px, 1.8vw, 24px);
  color: var(--ink); border-bottom: 1px solid var(--rule-mid);
  padding-bottom: 4px; transition: border-color 0.3s, color 0.3s;
}
.cta-channels .channel:hover { color: var(--accent); border-color: var(--accent); }
.cta-channels .sep {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; color: var(--ink-dim);
}

/* ─────────── FOOTER ─────────── */
footer { padding: clamp(50px, 7vw, 80px) var(--gutter) 28px; background: var(--bg); }
.foot {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 48px; border-bottom: 1px solid var(--rule);
}
@media (max-width: 720px) { .foot { grid-template-columns: 1fr; } }

.foot-brand { display: flex; flex-direction: column; gap: 18px; max-width: 36ch; }
.foot-brand .big {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 0.95; letter-spacing: -0.025em; color: var(--ink);
}
.foot-brand .big em { color: var(--accent); }
.foot-brand p { color: var(--ink-mute); font-size: 14px; line-height: 1.6; }

.foot-col h5 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 16px;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.foot-col a {
  font-size: 14px; color: var(--ink-mute);
  transition: color 0.3s, padding-left 0.3s var(--ease);
  display: inline-flex; align-items: center; gap: 8px;
}
.foot-col a:hover { color: var(--accent); padding-left: 4px; }

.foot-bot {
  max-width: var(--max); margin: 0 auto;
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-dim);
}

/* ─────────── REVEAL ─────────── */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
