/* ============================
   Maketly — editorial dark-tech
   ============================ */

:root {
  /* Neutrals tinted toward indigo (chroma ~0.005) */
  --bg:        #0A0A12;
  --bg-elev:   #12121C;
  --bg-card:   #161621;
  --ink:       #F4F4F8;
  --ink-dim:   #A8A8B8;
  --ink-mute:  #6F6F80;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);
  --focus:     #FFB547;

  --indigo:    #3B30E6;
  --indigo-2:  #5B4FFF;
  --indigo-3:  #8579FF;
  --amber:     #FFB547;
  --amber-2:   #FFD89B;
  --red:       #FF4D5E;

  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body:    'Onest', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --max: 1240px;
  --pad: clamp(20px, 4vw, 56px);

  /* Motion tokens — ease-out-quart family */
  --ease-out:       cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --dur-fast:   180ms;
  --dur-base:   240ms;
  --dur-slow:   400ms;
}

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

html { scroll-behavior: smooth; cursor: auto; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: auto;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ============================
   Focus indicators (WCAG 2.4.7)
   ============================ */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
  transition: outline-offset var(--dur-fast) var(--ease-out);
}
.btn:focus-visible {
  outline-offset: 4px;
  border-radius: 100px;
}
.faq__item summary:focus-visible {
  outline-offset: 6px;
  border-radius: 4px;
}

/* ============================
   Reduced motion (WCAG 2.3.3)
   ============================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ticker__track { animation: none !important; }
  .orb { animation: none !important; }
  .dot--pulse { animation: none !important; }
  .dot--pulse::after { animation: none !important; }
  .logo__mark { animation: none !important; }
  .step__arrow { animation: none !important; }
  .word { transform: translateY(0) !important; }
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--ink-mute);
}

.amber { color: var(--amber); }

/* ============================
   Grain overlay
   ============================ */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Custom cursor removed for a11y / mobile / perf reasons.
   System cursor restored. */
.cursor-dot, .cursor-ring { display: none !important; }

/* ============================
   Nav
   ============================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px var(--pad);
  background: rgba(10,10,15,0.7);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.logo__mark {
  color: var(--amber);
  font-size: 14px;
  animation: breath 3.6s infinite var(--ease-out);
  will-change: opacity;
}
.logo__sup {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 400;
  letter-spacing: 0;
}
.logo__by {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-mute);
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 3px 9px 3px 8px;
  border: 1px solid var(--line);
  border-radius: 100px;
  align-self: center;
  white-space: nowrap;
}
.logo__by .cc-logo { height: 12px; width: auto; }

/* ClientCore wordmark, reused at three sizes */
.cc-logo { display: inline-block; width: auto; }
.cc-logo--lg { height: 32px; display: block; margin: 18px 0 6px; }
.footer__cc { display: inline-block; margin-bottom: 4px; }
.footer__cc .cc-logo { height: 18px; opacity: 0.85; transition: opacity var(--dur-fast) var(--ease-out); }
.footer__cc:hover .cc-logo { opacity: 1; }

@media (max-width: 420px) {
  .logo__by { display: none; }
}
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-dim);
}
.nav__links a {
  position: relative;
  padding: 12px 4px;
  display: inline-block;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 4px; right: 4px;
  height: 1px;
  background: var(--amber);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--dur-base) var(--ease-out-quart);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Burger — hidden on desktop */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 18px; height: 1.5px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out-quart), opacity var(--dur-fast) var(--ease-out);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links {
    display: flex;
    position: absolute;
    top: calc(100% + 1px);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0 var(--pad);
    background: rgba(10,10,15,0.94);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    /* collapsed: animate max-height (robust with multiple children) */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    border-bottom: 1px solid transparent;
    transition: max-height var(--dur-base) var(--ease-out-quart), opacity var(--dur-fast) var(--ease-out), padding var(--dur-base) var(--ease-out-quart);
  }
  .nav__links a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav__links a:last-child { border-bottom: none; }
  .nav.is-open .nav__links {
    max-height: 360px;
    padding: 8px var(--pad) 14px;
    opacity: 1;
    pointer-events: auto;
    border-bottom-color: var(--line);
  }
}

/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease-out-quart), background 0.2s, border-color 0.2s, box-shadow 0.25s;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn--sm { padding: 11px 18px; font-size: 13px; min-height: 40px; }
.btn--lg { padding: 18px 28px; font-size: 15px; }

.btn--primary {
  background: var(--indigo);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12) inset,
    0 0 32px -8px var(--indigo-2),
    0 16px 40px -12px rgba(59,48,230,0.5);
}
.btn--primary:hover {
  background: var(--indigo-2);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.2) inset,
    0 0 48px -4px var(--indigo-2),
    0 24px 60px -12px rgba(91,79,255,0.7);
}
/* Press feedback: scale + flatten — Emil's signature */
.btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 120ms;
}
/* Gate hover-lift on hover-capable pointers only */
@media not all and (hover: hover) and (pointer: fine) {
  .btn--primary:hover,
  .btn--secondary:hover,
  .btn--ghost:hover { transform: none; }
}

.btn--secondary {
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  padding-left: 8px;
  border-left: 1px solid var(--line-2);
  margin-left: 4px;
}

/* ============================
   Hero
   ============================ */
.hero {
  position: relative;
  padding: 140px var(--pad) 80px;
  max-width: var(--max);
  margin: 0 auto;
  overflow: visible;
  min-height: 92vh;          /* fallback */
  min-height: 92dvh;          /* mobile-stable */
}
.hero__grid {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 36px;
  opacity: 0;
  animation: rise 0.7s 0.1s forwards var(--ease-out-quart);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  position: relative;
  flex-shrink: 0;
}
.dot--pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse-halo 1.8s infinite var(--ease-out);
  will-change: transform, opacity;
}

/* GPU-accelerated pulse halo (transform + opacity only) */
@keyframes pulse-halo {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2.4); opacity: 0;   }
}

/* Gentle breath for the brand logo dot */
@keyframes breath {
  0%, 100% { opacity: 1;   }
  50%      { opacity: 0.55; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}
.line {
  display: block;
  overflow: hidden;
}
.word {
  display: inline-block;
  transform: translateY(110%);
  animation: rise-word 0.9s forwards var(--ease-out-quart);
}
.line:nth-child(1) .word { animation-delay: 0.12s; }
.line:nth-child(2) .word { animation-delay: 0.20s; }
.line:nth-child(3) .word { animation-delay: 0.28s; }
.line:nth-child(4) .word { animation-delay: 0.36s; }
.line:nth-child(4) .word.word--mute { animation-delay: 0.42s; }

.word--mute { color: var(--ink-mute); margin-left: 2px; }

@keyframes rise-word {
  to { transform: translateY(0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Slightly tighter hero entrance — 650ms feels snappier than 900ms */
.word { animation-duration: 0.65s !important; }

.hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-dim);
  max-width: 540px;
  margin-bottom: 40px;
  opacity: 0;
  animation: rise 0.7s 0.5s forwards var(--ease-out-quart);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
  opacity: 0;
  animation: rise 0.7s 0.6s forwards var(--ease-out-quart);
}

.hero__strip {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: rise 0.7s 0.75s forwards var(--ease-out-quart);
}
.strip__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.strip__num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.strip__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  text-transform: lowercase;
  letter-spacing: 0.02em;
}
.strip__sep {
  width: 1px; height: 32px;
  background: var(--line);
}

/* Phone device */
.hero__device {
  position: absolute;
  right: var(--pad);
  top: 130px;
  z-index: 1;
  width: 320px;
  opacity: 0;
  animation: rise 1s 0.7s forwards var(--ease-out-quart);
  transform-origin: center;
}
@media (max-width: 1100px) {
  .hero__device {
    position: relative;
    right: auto; top: auto;
    width: 280px;
    margin: 64px auto 0;
  }
}
.device {
  position: relative;
  background: linear-gradient(180deg, #1a1a24 0%, #0d0d15 100%);
  border-radius: 44px;
  padding: 14px;
  border: 1px solid var(--line-2);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.6),
    0 60px 120px -40px rgba(59,48,230,0.4),
    0 24px 80px -20px rgba(0,0,0,0.8);
  transform: rotate(-3deg);
  transition: transform 0.5s var(--ease-out-quart);
}
.device:hover { transform: rotate(-1.5deg) translateY(-6px); }
.device__notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #000;
  border-radius: 100px;
}
.device__screen {
  background: #f4f1ec;
  color: #1a1a24;
  border-radius: 32px;
  padding: 38px 16px 16px;
  font-family: var(--font-body);
  min-height: 580px;
}
.mockup__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 16px;
}
.mockup__avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--indigo), #8579FF);
  border-radius: 12px;
  position: relative;
}
.mockup__avatar::after {
  content: '☕';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.mockup__title {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1px;
}
.mockup__title > span:first-child {
  font-weight: 600;
  font-size: 14px;
}
.mockup__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #888;
}
.mockup__dot {
  width: 8px; height: 8px;
  background: #21C36F;
  border-radius: 50%;
}
.mockup__hero {
  background: linear-gradient(135deg, #1a1a24 0%, #2d2540 100%);
  color: #fff;
  border-radius: 16px;
  padding: 18px 16px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.mockup__hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--amber) 0%, transparent 70%);
  opacity: 0.4;
}
.mockup__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  background: rgba(255,181,71,0.2);
  color: var(--amber);
  padding: 3px 8px;
  border-radius: 100px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.mockup__h {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.mockup__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.mockup__card {
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mockup__img {
  width: 100%;
  height: 56px;
  border-radius: 8px;
  display: block;
  position: relative;
  overflow: hidden;
}
/* Real product photos (generated), cropped to fill the card thumb */
.mockup__img--latte { background: #efe7d8 url("assets/prod-latte.png")      center / cover no-repeat; }
.mockup__img--raf   { background: #efe7d8 url("assets/prod-raf.png")        center / cover no-repeat; }
.mockup__img--cap   { background: #efe7d8 url("assets/prod-cappuccino.png") center / cover no-repeat; }
.mockup__img--esp   { background: #efe7d8 url("assets/prod-espresso.png")   center / cover no-repeat; }
.mockup__card span {
  font-size: 11px;
  color: #555;
}
.mockup__card b {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mockup__cta {
  background: #1a1a24;
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
}
.device__tag {
  position: absolute;
  bottom: -8px; left: -42px;
  background: var(--amber);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 8px 14px;
  border-radius: 100px;
  font-weight: 500;
  transform: rotate(-5deg);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 16px 40px -8px rgba(255,181,71,0.4);
}
@media (max-width: 1100px) {
  .device__tag { left: -20px; bottom: -16px; }
}

/* Background orbs */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}
.orb--indigo {
  width: 520px; height: 520px;
  background: var(--indigo);
  top: -100px; left: -200px;
  animation: float-1 18s ease-in-out infinite;
}
.orb--amber {
  width: 380px; height: 380px;
  background: var(--amber);
  bottom: -150px; right: -100px;
  opacity: 0.18;
  animation: float-2 22s ease-in-out infinite;
}
@keyframes float-1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(120px, 60px) scale(1.1); }
}
@keyframes float-2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-80px, -50px) scale(0.95); }
}

/* ============================
   Clients strip
   ============================ */
.strip-clients {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--pad);
  display: flex;
  align-items: center;
  gap: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.strip-clients__label { flex-shrink: 0; }
.strip-clients__row {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  flex: 1;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-dim);
  letter-spacing: -0.01em;
}
.strip-clients__row > span:last-child {
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

/* ============================
   Sections common
   ============================ */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) var(--pad);
  position: relative;
}
.section__head {
  margin-bottom: 64px;
  max-width: 720px;
}
.chapter {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--amber);
  font-size: 12px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.section__sub {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--ink-dim);
  margin-top: 20px;
  max-width: 580px;
}

/* ============================
   PAIN
   ============================ */
.pain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .pain__grid { grid-template-columns: 1fr; } }

.pain__card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.pain__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.pain__card:hover {
  border-color: rgba(255,77,94,0.3);
  transform: translateY(-4px);
  background: #181822;
}
.pain__card:hover::before { opacity: 1; }
.pain__num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--red);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pain__num span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-mute);
  text-transform: lowercase;
  letter-spacing: 0;
}
.pain__card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.pain__card p {
  font-size: 14.5px;
  color: var(--ink-dim);
  line-height: 1.55;
}

/* ============================
   SOLUTION (steps)
   ============================ */
.solution__steps {
  display: flex;
  gap: 20px;
  align-items: stretch;
  flex-wrap: wrap;
}
@media (max-width: 1000px) {
  .solution__steps { flex-direction: column; }
  .step__arrow { transform: rotate(90deg); align-self: center; }
}
.step {
  flex: 1;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s, border-color 0.3s;
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.step--accent {
  background: linear-gradient(180deg, rgba(59,48,230,0.15) 0%, transparent 100%), var(--bg-card);
  border-color: rgba(91,79,255,0.4);
}
.step__num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink-mute);
  opacity: 0.5;
}
.step--accent .step__num { color: var(--indigo-3); opacity: 0.9; }
.step__time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.04em;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.step p {
  font-size: 14.5px;
  color: var(--ink-dim);
  margin-top: auto;
}
.step__arrow {
  align-self: center;
  font-size: 28px;
  color: var(--ink-mute);
  padding: 0 4px;
  animation: arrow-drift 3.6s infinite var(--ease-out);
  will-change: transform, opacity;
}
@keyframes arrow-drift {
  0%, 100% { transform: translateX(0);  opacity: 0.45; }
  50%      { transform: translateX(4px); opacity: 0.9;  }
}

/* ============================
   FEATURES
   ============================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  grid-auto-rows: 1fr;
}
@media (max-width: 900px) {
  /* auto rows so short cards size to content (1fr would stretch every row to
     the tallest card's height → huge empty space when stacked) */
  .features__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .feature--big { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .features__grid { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  min-width: 0; /* allow grid items to shrink below content width (prevents mobile overflow) */
}
.feature:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
  background: #18182188;
}
.feature--big {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, rgba(59,48,230,0.18) 0%, var(--bg-card) 60%);
  border-color: rgba(91,79,255,0.25);
  min-height: 460px;
}
/* Must come AFTER the base rule above to win (same specificity, source order).
   On tablet/mobile the big card is full-width single-row — never span 2 (which
   would force an implicit 2nd column on the 1-col grid → horizontal overflow). */
@media (max-width: 900px) {
  .feature--big { grid-column: 1 / -1; grid-row: auto; min-height: auto; }
  .feature { min-height: auto; } /* hug content when stacked, no empty space */
}
.feature__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255,181,71,0.08);
  border: 1px solid rgba(255,181,71,0.18);
  border-radius: 100px;
  align-self: flex-start;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.feature--big h3 {
  font-size: 32px;
  line-height: 1.05;
  max-width: 90%;
}
.feature p {
  font-size: 14px;
  color: var(--ink-dim);
}
.feature--big p {
  font-size: 16px;
  max-width: 80%;
}
.feature__art {
  margin-top: auto;
}
.feature__art--cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fcard {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.fcard__img {
  display: block;
  height: 72px;
  border-radius: 10px;
  background: #efe7d8 center / cover no-repeat;
}
.fcard__img--latte { background-image: url("assets/prod-latte.png"); }
.fcard__img--cap   { background-image: url("assets/prod-cappuccino.png"); }
.fcard__img--raf   { background-image: url("assets/prod-raf.png"); }
.fcard__img--esp   { background-image: url("assets/prod-espresso.png"); }
.fcard__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px 2px;
}
.fcard__t { font-size: 12px; color: var(--ink-dim); }
.fcard__p {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ============================
   INTEGRATIONS (ticker)
   ============================ */
.integrations {
  text-align: center;
}
.integrations .section__head {
  margin-left: auto;
  margin-right: auto;
}
.ticker {
  overflow: hidden;
  position: relative;
  padding: 32px 0;
  margin: 0 calc(var(--pad) * -1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015), transparent);
}
.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: scroll-x 50s linear infinite;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink-dim);
}
.ticker__track i {
  color: var(--amber);
  font-style: normal;
  font-size: 16px;
  opacity: 0.6;
}
.ticker__track span {
  transition: color 0.3s;
}
.ticker__track:hover { animation-play-state: paused; }
.ticker:hover .ticker__track span:hover { color: var(--ink); }

@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.integrations__note {
  margin-top: 32px;
  color: var(--ink-dim);
  font-size: 15px;
}
.integrations__note a {
  color: var(--amber);
  border-bottom: 1px solid rgba(255,181,71,0.4);
  transition: border-color 0.2s;
}
.integrations__note a:hover { border-color: var(--amber); }

/* ============================
   CASES
   ============================ */
/* CASES: 3 equal cards. Variety comes from photography, not layout */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .cases__grid { grid-template-columns: 1fr; }
}
.case {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out-quart), border-color var(--dur-base) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.case:hover { transform: translateY(-4px); border-color: var(--line-2); }
.case__img {
  position: relative;
  overflow: hidden;
  background: var(--bg-elev);
  aspect-ratio: 4 / 3;
  width: 100%;
}
.case__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.85;
  filter: saturate(0.85) contrast(1.05);
  transition: opacity var(--dur-slow) var(--ease-out), filter var(--dur-slow) var(--ease-out), transform 0.6s var(--ease-out-quart);
}
.case:hover .case__img img {
  opacity: 1;
  filter: saturate(1) contrast(1);
  transform: scale(1.04);
}
.case__body {
  padding: 22px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.case h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.case p {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.5;
}
.case__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.case__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.case h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.case p {
  color: var(--ink-dim);
  font-size: 14px;
}

/* ============================
   COMPARE
   ============================ */
.compare__table {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.compare__group {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.compare__group-label {
  position: absolute;
  top: 18px;
  left: 28px;
  font-size: 10px;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  z-index: 1;
}
.compare__group-label::before {
  content: '';
  position: absolute;
  left: -16px; top: 50%;
  width: 8px; height: 1px;
  background: var(--amber);
  opacity: 0.5;
}
.compare__group .compare__row:first-of-type {
  padding-top: 28px;
}
.compare__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
}
.compare__row > div {
  padding: 14px 28px;
  display: flex;
  align-items: center;
  font-size: 15px;
}
.compare__group .compare__row:first-of-type > div { padding-top: 28px; }
.compare__group .compare__row:last-of-type > div { padding-bottom: 22px; }
.compare__row--head > div {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 18px;
  padding-bottom: 18px;
  background: rgba(255,255,255,0.02);
}
.compare__us {
  color: var(--amber) !important;
  position: relative;
}
.compare__us::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--amber), transparent);
  opacity: 0.4;
}
.compare__label {
  color: var(--ink);
  font-weight: 500;
}
.compare__cell--bad { color: var(--ink-mute); text-decoration: line-through; text-decoration-color: rgba(255,77,94,0.5); }
.compare__cell--good {
  color: var(--ink);
  font-weight: 500;
  background: linear-gradient(90deg, rgba(255,181,71,0.06) 0%, rgba(255,181,71,0.02) 100%);
  position: relative;
}
.compare__cell--good::before {
  content: '✓';
  margin-right: 10px;
  color: var(--amber);
  font-weight: 600;
}

@media (max-width: 700px) {
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__row > div:nth-child(1) {
    grid-column: 1 / -1;
    padding-bottom: 4px;
    background: rgba(255,255,255,0.03);
  }
  .compare__row--head > div:nth-child(1) { display: none; }
}

/* ============================
   MAX LOGO (with conic gradient fill via mask)
   ============================ */
.max-svg {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  fill: transparent;
  /* Logo shape is rendered by the masked conic-gradient on .max-mark / .footer .max-svg.
     The inline <use> stays transparent so it doesn't overlay the masked fill. */
}
/* Conic-gradient approximation using mask: more faithful to angular gradient */
.max-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: conic-gradient(from 140deg, #00B8FF 0%, #001CF1 30%, #8A00AD 70%, #00B8FF 100%);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'><path d='M28.458 0.107c15.438 0 27.542 12.523 27.542 27.97 0 15.447-12.489 27.661-27.395 27.661-5.289 0-7.855-.745-11.982-3.666-.283-.201-.674-.147-.912.106-3.177 3.389-11.31 5.766-11.683 1.14C4.028 45.257 0 40.016 0 27.923 0 12.047 13.02.108 28.458.107zM28.892 13.872c-7.327-.384-13.045 4.7-14.305 12.657-1.044 6.589.807 14.617 2.39 15.022.672.171 2.287-1.064 3.463-2.173.221-.208.555-.243.815-.085 1.833 1.121 3.908 1.963 6.196 2.083 7.521.394 14.186-5.493 14.58-13.015.394-7.522-5.619-14.095-13.14-14.49z'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'><path d='M28.458 0.107c15.438 0 27.542 12.523 27.542 27.97 0 15.447-12.489 27.661-27.395 27.661-5.289 0-7.855-.745-11.982-3.666-.283-.201-.674-.147-.912.106-3.177 3.389-11.31 5.766-11.683 1.14C4.028 45.257 0 40.016 0 27.923 0 12.047 13.02.108 28.458.107zM28.892 13.872c-7.327-.384-13.045 4.7-14.305 12.657-1.044 6.589.807 14.617 2.39 15.022.672.171 2.287-1.064 3.463-2.173.221-.208.555-.243.815-.085 1.833 1.121 3.908 1.963 6.196 2.083 7.521.394 14.186-5.493 14.58-13.015.394-7.522-5.619-14.095-13.14-14.49z'/></svg>") no-repeat center / contain;
  flex-shrink: 0;
}
.max-svg.max-svg--xs { width: 12px; height: 12px; }
/* For inline .max-svg (in footer), use conic via mask approach too */
.footer .max-svg {
  width: 14px; height: 14px;
  background: conic-gradient(from 140deg, #00B8FF 0%, #001CF1 30%, #8A00AD 70%, #00B8FF 100%);
  fill: transparent;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'><path d='M28.458 0.107c15.438 0 27.542 12.523 27.542 27.97 0 15.447-12.489 27.661-27.395 27.661-5.289 0-7.855-.745-11.982-3.666-.283-.201-.674-.147-.912.106-3.177 3.389-11.31 5.766-11.683 1.14C4.028 45.257 0 40.016 0 27.923 0 12.047 13.02.108 28.458.107zM28.892 13.872c-7.327-.384-13.045 4.7-14.305 12.657-1.044 6.589.807 14.617 2.39 15.022.672.171 2.287-1.064 3.463-2.173.221-.208.555-.243.815-.085 1.833 1.121 3.908 1.963 6.196 2.083 7.521.394 14.186-5.493 14.58-13.015.394-7.522-5.619-14.095-13.14-14.49z'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'><path d='M28.458 0.107c15.438 0 27.542 12.523 27.542 27.97 0 15.447-12.489 27.661-27.395 27.661-5.289 0-7.855-.745-11.982-3.666-.283-.201-.674-.147-.912.106-3.177 3.389-11.31 5.766-11.683 1.14C4.028 45.257 0 40.016 0 27.923 0 12.047 13.02.108 28.458.107zM28.892 13.872c-7.327-.384-13.045 4.7-14.305 12.657-1.044 6.589.807 14.617 2.39 15.022.672.171 2.287-1.064 3.463-2.173.221-.208.555-.243.815-.085 1.833 1.121 3.908 1.963 6.196 2.083 7.521.394 14.186-5.493 14.58-13.015.394-7.522-5.619-14.095-13.14-14.49z'/></svg>") no-repeat center / contain;
  display: inline-block;
  vertical-align: -2px;
  margin-left: 6px;
}

/* ============================
   METRICS STRIP (compact, pre-CTA)
   ============================ */
.metrics {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.metrics__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 32px 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) {
  .metrics__inner { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
}
.metric {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}
.metric:last-child { border-right: none; }
@media (max-width: 700px) {
  .metric { border-right: none; border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .metric:last-child { border-bottom: none; }
}
.metric__icon {
  font-size: 22px;
  color: var(--amber);
  width: 44px; height: 44px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,181,71,0.18), transparent 60%),
    rgba(255,255,255,0.03);
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.metric__num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.metric__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* ============================
   PRICING
   ============================ */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 1000px) {
  .pricing__grid { grid-template-columns: 1fr; }
}
.plan {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.plan:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.plan--featured {
  background:
    linear-gradient(180deg, rgba(59,48,230,0.22) 0%, rgba(59,48,230,0.04) 50%, transparent 100%),
    var(--bg-card);
  border-color: rgba(91,79,255,0.4);
  box-shadow: 0 30px 80px -30px rgba(59,48,230,0.4);
}
.plan--featured:hover {
  border-color: rgba(91,79,255,0.7);
  transform: translateY(-6px);
  box-shadow: 0 40px 100px -30px rgba(59,48,230,0.55);
}
.plan__ribbon {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--amber);
  color: var(--bg);
  padding: 5px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.plan__top { display: flex; flex-direction: column; gap: 10px; }
.plan__badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: lowercase;
}
.plan h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan__hint {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.45;
  max-width: 90%;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.plan__num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan--featured .plan__num { color: var(--amber); }
.plan__unit {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.plan__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-dim);
  flex: 1;
}
.plan__list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.45;
}
.plan__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 1px;
  background: var(--line-2);
}
.plan__list li.plan__hi {
  color: var(--ink);
  font-weight: 500;
  padding-top: 12px;
  padding-bottom: 0;
  margin-top: 4px;
  border-top: 1px dashed var(--line);
}
.plan__list li.plan__hi::before {
  background: var(--amber);
  top: 22px;
}
.plan__cta {
  margin-top: 8px;
  justify-content: center;
  width: 100%;
}
.pricing__note {
  margin-top: 40px;
  padding: 24px 28px;
  background: rgba(255,255,255,0.025);
  border: 1px dashed var(--line-2);
  border-radius: 16px;
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.6;
}
.pricing__note > .mono {
  display: block;
  margin-bottom: 12px;
  color: var(--amber);
}
.pricing__note ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 24px;
  padding: 0;
  margin: 0;
}
@media (max-width: 800px) {
  .pricing__note ul { grid-template-columns: 1fr 1fr; }
}
.pricing__note li {
  position: relative;
  padding-left: 18px;
}
.pricing__note li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--amber);
  font-weight: 600;
  font-size: 12px;
}

/* ============================
   CLIENTCORE / TEAM
   ============================ */
.cc__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 1000px) {
  .cc__inner { grid-template-columns: 1fr; gap: 40px; }
}
.cc__left .section__title { margin-top: 16px; }
.cc__left > p {
  font-size: 16.5px;
  color: var(--ink-dim);
  margin-top: 20px;
  max-width: 480px;
  line-height: 1.65;
}
.cc__quote {
  margin-top: 32px;
  padding: 28px 30px;
  background:
    linear-gradient(135deg, rgba(255,181,71,0.07), transparent 65%),
    rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.cc__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.5;
}
.cc__quote p::before {
  content: '\201C';
  color: var(--amber);
  margin-right: 4px;
}
.cc__byline {
  display: block;
  margin-top: 18px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.cc__facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-card);
  overflow: hidden;
}
.cc__fact {
  padding: 28px 30px;
  border-bottom: 1px solid var(--line);
  transition: background var(--dur-base) var(--ease-out);
}
.cc__fact:last-child { border-bottom: none; }
.cc__fact:hover { background: #181822; }
.cc__fact-k {
  display: block;
  color: var(--amber);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.cc__fact h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.cc__fact p {
  font-size: 14.5px;
  color: var(--ink-dim);
  line-height: 1.55;
}

/* ============================
   FORM SELECT (Tariff)
   ============================ */
.field select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B6B7A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  transition: border-color 0.2s, background-color 0.2s;
}
.field select:focus {
  outline: none;
  border-color: var(--amber);
  background-color: rgba(255,181,71,0.04);
}
.field select option {
  background: var(--bg-elev);
  color: var(--ink);
}

/* ============================
   FAQ
   ============================ */
.faq__list {
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 28px;
  font-weight: 300;
  color: var(--ink-mute);
  transition: transform var(--dur-base) var(--ease-out-quart), color var(--dur-base) var(--ease-out);
  flex-shrink: 0;
  will-change: transform;
}
.faq__item:hover summary { color: var(--amber); }
.faq__item:hover summary::after { color: var(--amber); }
.faq__item[open] summary::after {
  transform: rotate(45deg);
  color: var(--amber);
}

/* Animated accordion body — grid-template-rows trick (GPU-friendly) */
.faq__body {
  display: grid;
  grid-template-rows: 0fr;
  max-width: 760px;
  transition:
    grid-template-rows var(--dur-base) var(--ease-out-quart),
    opacity var(--dur-base) var(--ease-out);
  opacity: 0;
}
.faq__body > * { overflow: hidden; min-height: 0; }
.faq__body p {
  font-size: 16px;
  color: var(--ink-dim);
  line-height: 1.65;
  padding: 4px 0 28px;
}
.faq__item[open] .faq__body {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* ============================
   CTA
   ============================ */
.cta {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 100px) var(--pad);
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 24px;
  background:
    radial-gradient(ellipse at top left, rgba(59,48,230,0.35), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(255,181,71,0.15), transparent 55%),
    linear-gradient(180deg, rgba(21,21,31,0.55) 0%, rgba(14,14,22,0.8) 100%),
    #0E0E16 url("assets/hero-art.png") center / cover no-repeat;
  border-radius: 32px;
  border: 1px solid var(--line-2);
}
.cta__inner {
  position: relative;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 60px);
  z-index: 2;
}
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
  max-width: 720px;
}
.cta__sub {
  font-size: 17px;
  color: var(--ink-dim);
  max-width: 460px;
  margin-bottom: 40px;
}
.cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
  position: relative;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field--wide { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  text-transform: lowercase;
  letter-spacing: 0.04em;
}
.field input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
  cursor: text;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255,181,71,0.04);
  box-shadow: 0 0 0 3px rgba(255,181,71,0.12);
  transition:
    border-color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}
.field input::placeholder { color: var(--ink-mute); }

.cta__form .btn {
  grid-column: 1 / -1;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
}
.cta__legal {
  grid-column: 1 / -1;
  color: var(--ink-mute);
  text-align: center;
  margin-top: 4px;
}
.cta__sent {
  grid-column: 1 / -1;
  display: none;
  padding: 18px;
  background: rgba(255,181,71,0.08);
  border: 1px solid rgba(255,181,71,0.3);
  border-radius: 14px;
  color: var(--amber);
  font-weight: 500;
  text-align: center;
}
.cta__sent span {
  display: inline-block;
  width: 22px; height: 22px;
  background: var(--amber);
  color: var(--bg);
  border-radius: 50%;
  text-align: center;
  line-height: 22px;
  font-weight: 700;
  margin-right: 8px;
}
.cta__form.sent .field,
.cta__form.sent button,
.cta__form.sent .cta__legal { display: none; }
.cta__form.sent .cta__sent { display: block; }

/* Honeypot — off-screen, never shown to humans */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Submit error */
.cta__err {
  grid-column: 1 / -1;
  margin-top: 4px;
  text-align: center;
  color: var(--red);
  text-transform: none;
}
.cta__err a { color: var(--amber); border-bottom: 1px solid rgba(255,181,71,0.4); }

/* Consent checkbox */
.cta__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  text-transform: none;
  text-align: left;
  line-height: 1.5;
}
.cta__consent input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 1px;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.cta__consent input:checked {
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.2L5 8.5L9.5 3.8' stroke='%230A0A12' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-color: var(--amber);
}
.cta__consent a { color: var(--amber); border-bottom: 1px solid rgba(255,181,71,0.4); }

/* Footer legal links */
.footer__legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__legal a {
  color: var(--ink-mute);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer__legal a:hover { color: var(--ink-dim); }

/* Cookie / analytics consent banner */
.cookie[hidden] { display: none; }
.cookie {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px 18px;
  background: rgba(18,18,28,0.92);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
  animation: cookie-rise 0.5s var(--ease-out-quart);
}
@keyframes cookie-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie__text {
  flex: 1;
  min-width: 220px;
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.5;
}
.cookie__text a { color: var(--amber); border-bottom: 1px solid rgba(255,181,71,0.4); }
.cookie__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .cookie { gap: 12px; }
  .cookie__actions { width: 100%; }
  .cookie__actions .btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie { animation: none; }
}

/* ============================
   FOOTER
   ============================ */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px var(--pad) 40px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}
@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr; }
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.footer__by {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-mute);
  letter-spacing: 0;
  margin-left: 8px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 600px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
.footer__cols > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__cols span.mono {
  margin-bottom: 4px;
  color: var(--amber);
}
.footer__cols a {
  font-size: 14px;
  color: var(--ink-dim);
  transition: color 0.2s;
}
.footer__cols a:hover { color: var(--ink); }
.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--pad);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-mute);
}
