:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --ink: #e8e8e8;
  --muted: #8a8a8a;
  --cyan: #00eaff;
  --cyan-dim: rgba(0, 234, 255, 0.14);
  --warm: #ff7a18;
  --line: rgba(255, 255, 255, 0.08);
  --mono: "Cascadia Mono", Consolas, Menlo, Monaco, monospace;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 72rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #7cf0ff; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cyan);
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ——— Header ——— */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  padding: 1rem var(--pad);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lang-switch {
  display: flex;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
}

.lang-switch a[aria-current="page"],
.lang-switch a:hover {
  color: var(--cyan);
}

/* ——— Hero ——— */
.hero {
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 4rem var(--pad) 3rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% 40%, rgba(0, 80, 100, 0.22), transparent 70%),
    var(--bg);
}

#artStage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform-origin: center center;
  position: relative;
  touch-action: none;
}

#asciiCanvas {
  display: block;
  margin: 0;
  cursor: crosshair;
  max-width: 100%;
}

#artStage.is-dispersing #asciiCanvas {
  cursor: none;
}

#subtitleStage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform-origin: top center;
  margin-top: 0.75rem;
}

#subtitle {
  margin-top: 6px;
  min-height: 1.6em;
  font-family: var(--mono);
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

#subtitle .glyph {
  display: inline-block;
  will-change: opacity, filter, text-shadow, color;
  opacity: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.85;
}

.hero-scroll:hover { color: var(--cyan); }

@keyframes tronFlicker {
  0% { opacity: 0; color: #00eaff; text-shadow: 0 0 2px rgba(0,234,255,.9), 0 0 8px rgba(0,234,255,.6), 0 0 18px rgba(0,234,255,.45); }
  8% { opacity: 1; }
  16% { opacity: .15; color: #b5f6ff; }
  28% { opacity: 1; }
  40% { opacity: .35; }
  55% { opacity: 1; }
  70% { opacity: .5; }
  85% { opacity: 1; }
  100% { opacity: 1; }
}

@keyframes warmGlow {
  0% { color: #ffd1e1; text-shadow: 0 0 2px rgba(255,120,180,.6), 0 0 8px rgba(255,120,180,.5), 0 0 18px rgba(255,120,180,.4); }
  50% { color: #ff7a18; text-shadow: 0 0 3px rgba(255,140,120,.9), 0 0 10px rgba(255,120,80,.7), 0 0 24px rgba(255,120,80,.55); }
  100% { color: #ff3d81; text-shadow: 0 0 4px rgba(255,90,150,1), 0 0 16px rgba(255,120,80,.9), 0 0 36px rgba(255,120,80,.6); }
}

@keyframes burnOut {
  0% { opacity: 1; filter: none; }
  60% { opacity: .5; filter: blur(.2px) brightness(.9); }
  100% { opacity: 0; filter: blur(.5px) brightness(.7); }
}

@keyframes artFadeIn {
  0% { opacity: 0; filter: blur(0.2px); transform: translateY(0.1ch); }
  100% { opacity: 1; filter: none; transform: translateY(0); }
}

@keyframes artFadeOut {
  0% { opacity: 1; filter: none; transform: translateY(0); }
  100% { opacity: 0; filter: blur(0.25px); transform: translateY(-0.1ch); }
}

@media (prefers-reduced-motion: reduce) {
  #asciiCanvas { cursor: default; }
  #subtitle .glyph {
    opacity: 1 !important;
    animation: none !important;
    color: #fff !important;
    text-shadow: none !important;
    filter: none !important;
  }
}

/* ——— Sections ——— */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad);
  border-top: 1px solid var(--line);
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 0.75rem;
}

.section__title {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.section__lead {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 2rem;
  font-size: 1.05rem;
}

/* Hooks */
.hooks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.hooks li {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  display: grid;
  gap: 0.35rem;
}

.hooks li:last-child { border-bottom: 1px solid var(--line); }

.hooks__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

.hooks__sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40rem;
}

.hooks .hooks__cta {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cyan);
  margin-top: 0.35rem;
  display: inline-block;
  cursor: pointer;
  text-align: left;
}

.hooks .hooks__cta:hover { color: #7cf0ff; }

/* Authority */
.authority-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 720px) {
  .authority-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
  }
}

.authority-block h3 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
  font-weight: 500;
}

.product-list,
.client-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.product-list a,
.client-list .client-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.product-list a:hover { color: var(--cyan); }

.client-list li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.client-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.client-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.client-list--names-only {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.client-list--names-only li {
  border: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--ink);
}

.client-list--names-only a {
  color: var(--ink);
  text-decoration: none;
}

.client-list--names-only a:hover {
  color: var(--cyan);
}

.client-footnote {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 28rem;
}

/* Demo */
.demo-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 3vw, 2rem);
  max-width: 48rem;
}

.demo-panel__note {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm);
  margin: 0 0 1rem;
}

.demo-controls {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .demo-controls {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.demo-controls label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.demo-controls select,
.demo-controls textarea {
  width: 100%;
  background: #000;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  padding: 0.65rem 0.75rem;
  border-radius: 0;
}

.demo-controls textarea {
  min-height: 5.5rem;
  resize: vertical;
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 0.9rem;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.btn {
  appearance: none;
  border: 1px solid var(--cyan);
  background: var(--cyan-dim);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
}

.btn:hover { background: rgba(0, 234, 255, 0.22); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.btn--solid {
  background: var(--cyan);
  color: #001018;
  border-color: var(--cyan);
}

.btn--solid:hover { background: #7cf0ff; }

.consent-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 40rem;
}

.consent-row input { margin-top: 0.25rem; }

.demo-result {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .demo-result { grid-template-columns: 1fr 1fr; }
}

.demo-pane {
  border: 1px solid var(--line);
  padding: 1rem;
  min-height: 6rem;
  background: #000;
}

.demo-pane h4 {
  margin: 0 0 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.demo-pane p {
  margin: 0;
  font-size: 0.95rem;
  white-space: pre-wrap;
}

.demo-status {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
  min-height: 1.2em;
}

.demo-status[data-tone="error"] { color: #ff6b6b; }
.demo-status[data-tone="ok"] { color: var(--cyan); }

/* CTA — simple booking */
.section--cta {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(0, 120, 140, 0.16), transparent 65%),
    var(--bg);
}

.cta-block {
  max-width: 40rem;
  text-align: center;
}

.cta-block .section__label {
  text-align: center;
}

.cta-block .section__title {
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
}

.cta-block__lead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
  margin: 0 auto 1.75rem;
  max-width: 34rem;
}

.btn--lg {
  display: inline-block;
  padding: 1rem 1.6rem;
  font-size: 0.9rem;
  text-decoration: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.contact-modal[hidden] { display: none; }

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.contact-modal__panel {
  position: relative;
  z-index: 1;
  width: min(36rem, 100%);
  max-height: min(90vh, 44rem);
  overflow: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.contact-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.contact-modal__close:hover { color: var(--ink); }

.contact-modal__panel h2 {
  margin: 0 2rem 0.5rem 0;
  font-size: 1.35rem;
}

.contact-modal__lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

body.contact-modal-open { overflow: hidden; }

.kieki-contact-form {
  max-width: 34rem;
  margin: 0;
  text-align: left;
}

.contact-form__grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
  margin-bottom: 1rem;
}

@media (min-width: 600px) {
  .contact-form__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form__message {
    grid-column: 1 / -1;
  }
}

.contact-form__grid label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-form__grid input,
.contact-form__grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #000;
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.75rem;
}

.contact-form__grid textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.turnstile-container {
  margin: 1rem 0;
}

.contact-form__status {
  min-height: 1.4em;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-form__status[data-tone="ok"] { color: var(--cyan); }
.contact-form__status[data-tone="error"] { color: #ff6b6b; }

.cta-block__meta {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 28rem;
  margin-inline: auto;
}

/* Hook selection (problem picker) */
.hooks li {
  cursor: pointer;
  position: relative;
  padding-left: 0;
  transition: padding-left 0.2s ease, background 0.2s ease;
}

.hooks li:hover { background: rgba(255, 255, 255, 0.02); }

.hooks li[aria-pressed="true"] {
  padding-left: 1rem;
  border-left: 2px solid var(--cyan);
  background: rgba(0, 234, 255, 0.04);
}

.hooks li[aria-pressed="true"] .hooks__title { color: var(--cyan); }

.hooks__pick {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.hooks li[aria-pressed="true"] .hooks__pick { color: var(--cyan); }

/* Offer stack */
.offer-stack {
  list-style: none;
  margin: 0 auto 1.25rem;
  padding: 0;
  max-width: 34rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  text-align: left;
}

.offer-stack li {
  position: relative;
  padding: 0.9rem 1.1rem 0.9rem 2.1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink);
}

.offer-stack li:last-child { border-bottom: 0; }

.offer-stack li::before {
  content: "▸";
  position: absolute;
  left: 1rem;
  top: 0.9rem;
  color: var(--cyan);
}

.offer-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--muted);
}

.offer-price strong {
  color: var(--cyan);
  font-size: 1.35rem;
  letter-spacing: 0;
}

.offer-price s {
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0;
  text-decoration-thickness: 1.5px;
  opacity: 0.75;
}

.cta-lang {
  margin: 0.85rem 0 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Slots badge (real scarcity — hidden if data-slots unset/0) */
.slots-badge {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm);
  margin: 0 0 1.25rem;
}

.slots-badge::before { content: "● "; }

/* Guarantee */
.guarantee {
  max-width: 34rem;
  margin: 1.75rem auto 0;
  padding: 1rem 1.25rem;
  border: 1px dashed rgba(0, 234, 255, 0.35);
  font-size: 0.92rem;
  color: var(--muted);
  text-align: left;
}

.guarantee strong { color: var(--ink); }

/* Objections */
.objections {
  list-style: none;
  margin: 2rem auto 0;
  padding: 0;
  max-width: 34rem;
  display: grid;
  gap: 0.9rem;
  text-align: left;
  font-size: 0.9rem;
  color: var(--muted);
}

.objections strong { color: var(--ink); display: block; }

/* Sticky CTA bar */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.6rem var(--pad);
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.sticky-cta.is-visible { transform: translateY(0); }

.sticky-cta__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-cta .btn { padding: 0.55rem 0.9rem; text-decoration: none; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
  .hooks li { transition: none; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem var(--pad) 2.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: baseline;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover { color: var(--cyan); }
