/* EssenzIA — Design System */

:root {
  /* Palette */
  --ink: #0a0a0b;
  --ink-2: #0e0e10;
  --graphite: #1a1a1d;
  --graphite-2: #26262a;
  --line: rgba(245, 241, 234, 0.08);
  --line-2: rgba(245, 241, 234, 0.14);
  --warm-white: #f5f1ea;
  --warm-white-dim: rgba(245, 241, 234, 0.62);
  --warm-white-mute: rgba(245, 241, 234, 0.38);
  --warm-white-faint: rgba(245, 241, 234, 0.18);
  --accent: #5b7fb8;
  --accent-deep: #1a3a6b;

  /* Type */
  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-sans: "General Sans", "Söhne", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  /* Spacing */
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(96px, 12vw, 180px);
  --max-w: 1320px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--warm-white);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02", "cv11";
  overflow-x: hidden;
}

::selection {
  background: var(--accent-deep);
  color: var(--warm-white);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* Layout primitive */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section--tight {
  padding: calc(var(--section-y) * 0.7) 0;
}

/* Type scale */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-white-mute);
  font-weight: 400;
}

.eyebrow .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
}

.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7.6vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--warm-white);
  font-style: normal;
}

.h-display .it {
  font-style: italic;
  color: var(--warm-white-dim);
}

.h-section {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.022em;
}

.h-section .it {
  font-style: italic;
  color: var(--warm-white-dim);
}

.h-card {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.012em;
}

.lede {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.5;
  color: var(--warm-white-dim);
  max-width: 56ch;
  font-weight: 400;
}

.body {
  color: var(--warm-white-dim);
  font-size: 15.5px;
  line-height: 1.6;
}

.mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--warm-white-mute);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn .arr {
  display: inline-block;
  transition: transform 0.45s var(--ease-out);
}

.btn:hover .arr {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--warm-white);
  color: var(--ink);
}

.btn--primary:hover {
  background: #fff;
}

.btn--ghost {
  border-color: var(--line-2);
  color: var(--warm-white);
}

.btn--ghost:hover {
  border-color: var(--warm-white-faint);
  background: rgba(245, 241, 234, 0.03);
}

.btn--text {
  padding: 8px 0;
  color: var(--warm-white-dim);
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
}

.btn--text:hover {
  color: var(--warm-white);
  border-color: var(--warm-white-faint);
}

/* Hairlines */
.rule {
  height: 1px;
  background: var(--line);
  width: 100%;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* NAV ---------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: backdrop-filter 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.brand .ai {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--warm-white);
}

.brand .essenz {
  color: var(--warm-white);
}

.nav-links {
  display: none;
  gap: 32px;
  font-size: 13.5px;
  color: var(--warm-white-dim);
}

.nav-links a {
  transition: color 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--warm-white);
}

@media (min-width: 880px) {
  .nav-links {
    display: flex;
  }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}

.nav-cta:hover {
  border-color: var(--warm-white-faint);
  background: rgba(245, 241, 234, 0.03);
}

/* HERO ---------------------------------------------------------- */
.hero {
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 18% 10%, rgba(26, 58, 107, 0.18), transparent 60%),
    radial-gradient(60% 50% at 100% 100%, rgba(91, 127, 184, 0.07), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 100% 70% at 30% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 30% 40%, black 30%, transparent 80%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: end;
  width: 100%;
}

@media (min-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: center;
  }
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--warm-white-dim);
  background: rgba(245, 241, 234, 0.02);
}

.hero-meta .pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ec48a;
  box-shadow: 0 0 0 4px rgba(110, 196, 138, 0.12);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hero h1 {
  margin-bottom: 36px;
}

.kinetic {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  color: var(--warm-white-dim);
  font-style: italic;
}

.kinetic-track {
  display: inline-block;
  position: relative;
}

.kinetic-word {
  display: inline-block;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.kinetic-word.out {
  opacity: 0;
  transform: translateY(-6px);
  position: absolute;
  inset: 0;
}

.hero-sub {
  max-width: 50ch;
  font-size: clamp(16px, 1.18vw, 19px);
  line-height: 1.55;
  color: var(--warm-white-dim);
  margin-bottom: 42px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-foot {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--warm-white-mute);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
}

@media (max-width: 1079px) {
  .hero-foot {
    margin-top: 48px;
    justify-content: center;
    text-align: center;
    gap: 10px 18px;
  }
  .hero-foot .scroll-hint { justify-content: center; }
}

.hero-foot .scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-foot .scroll-hint .line {
  width: 36px;
  height: 1px;
  background: var(--warm-white-faint);
  position: relative;
  overflow: hidden;
}

.hero-foot .scroll-hint .line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--warm-white);
  transform: translateX(-100%);
  animation: scroll-line 3s var(--ease) infinite;
}

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  60% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* Floating Assistant UI fragment */
.assistant-card {
  position: relative;
  background: linear-gradient(180deg, rgba(20, 20, 22, 0.85), rgba(14, 14, 16, 0.85));
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 1px 0 rgba(245, 241, 234, 0.04) inset,
    0 30px 80px -30px rgba(0, 0, 0, 0.7),
    0 60px 120px -40px rgba(26, 58, 107, 0.25);
  width: min(100%, 460px);
  margin-left: auto;
  font-size: 13.5px;
}

.assistant-card .head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.assistant-card .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #2a4a7d, #0e1c34);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--warm-white);
}

.assistant-card .head .name {
  font-weight: 500;
  font-size: 14px;
}

.assistant-card .head .role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--warm-white-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.assistant-card .head .status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--warm-white-mute);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.assistant-card .head .status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ec48a;
}

.msg {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(8px);
  animation: msg-in 0.7s var(--ease-out) forwards;
}

.msg:nth-child(1) { animation-delay: 0.4s; }
.msg:nth-child(2) { animation-delay: 1.4s; }
.msg:nth-child(3) { animation-delay: 2.4s; }
.msg:nth-child(4) { animation-delay: 3.6s; }

@keyframes msg-in {
  to { opacity: 1; transform: translateY(0); }
}

.msg .ts {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--warm-white-mute);
  flex-shrink: 0;
  padding-top: 3px;
  letter-spacing: 0.04em;
}

.msg .body-line {
  flex: 1;
  color: var(--warm-white-dim);
  line-height: 1.5;
  font-size: 13px;
}

.msg .body-line strong {
  color: var(--warm-white);
  font-weight: 500;
}

.msg .body-line .tag {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  background: rgba(91, 127, 184, 0.13);
  color: #9eb6d8;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  margin-right: 4px;
}

.assistant-card .foot {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--warm-white-mute);
  letter-spacing: 0.04em;
}

.assistant-card .foot .typing {
  display: inline-flex;
  gap: 4px;
}

.assistant-card .foot .typing span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--warm-white-faint);
  animation: typing 1.4s infinite ease-in-out;
}

.assistant-card .foot .typing span:nth-child(2) { animation-delay: 0.2s; }
.assistant-card .foot .typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

/* Floating tags around card */
.float-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--warm-white-mute);
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: rgba(14, 14, 16, 0.85);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  animation: float 6s var(--ease) infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.float-tag.t1 { top: -14px; left: -20px; animation-delay: 0s; }
.float-tag.t2 { bottom: 18%; left: -42px; animation-delay: 1.5s; }
.float-tag.t3 { top: 28%; right: -28px; animation-delay: 3s; }

/* SECTION HEADERS ---------------------------------------------- */
.s-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 72px;
  align-items: end;
}

@media (min-width: 900px) {
  .s-head {
    grid-template-columns: auto 1fr;
    gap: 72px;
  }
}

.s-head .left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s-head .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--warm-white-mute);
}

/* PROBLEM ------------------------------------------------------- */
.problem {
  background: var(--ink-2);
  position: relative;
}

.problem::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--line);
}

.contrast {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .contrast {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.contrast-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 38px;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(20, 20, 22, 0.4), rgba(14, 14, 16, 0.2));
}

.contrast-card .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-white-mute);
  margin-bottom: 24px;
}

.contrast-card.passive .label::before {
  content: "—";
  margin-right: 10px;
  color: var(--warm-white-faint);
}

.contrast-card.active .label::before {
  content: "→";
  margin-right: 10px;
  color: var(--accent);
}

.contrast-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 18ch;
}

.contrast-card .verbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.contrast-card .verbs span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 6px 11px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--warm-white-dim);
}

.contrast-card.passive .verbs span {
  color: var(--warm-white-mute);
}

.contrast-card.active {
  background: linear-gradient(180deg, rgba(26, 58, 107, 0.14), rgba(14, 14, 16, 0.4));
  border-color: rgba(91, 127, 184, 0.18);
}

.contrast-card.active .verbs span {
  border-color: rgba(91, 127, 184, 0.18);
  color: var(--warm-white);
}

.problem-symptoms {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.problem-symptoms .sym {
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.problem-symptoms .sym:last-child {
  border-right: none;
}

.problem-symptoms .sym .num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--warm-white-mute);
  letter-spacing: 0.1em;
}

.problem-symptoms .sym .label {
  font-size: 15px;
  color: var(--warm-white);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.problem-symptoms .sym .desc {
  font-size: 13px;
  color: var(--warm-white-dim);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .problem-symptoms {
    grid-template-columns: 1fr 1fr;
  }
  .problem-symptoms .sym {
    padding: 20px 18px 20px 0;
  }
}

/* HOW IT WORKS -------------------------------------------------- */
.how {
  position: relative;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.step {
  padding: 56px 48px 56px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid var(--line);
}

.step:last-child { border-right: none; }

@media (max-width: 899px) {
  .step {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 40px 0;
  }
  .step:last-child { border-bottom: none; }
}

@media (min-width: 900px) {
  .step:nth-child(2) { padding-left: 40px; }
  .step:nth-child(3) { padding-left: 40px; }
}

.step .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  max-width: 14ch;
}

.step p {
  color: var(--warm-white-dim);
  font-size: 15px;
  line-height: 1.55;
  max-width: 30ch;
}

.step .glyph {
  width: 56px;
  height: 56px;
  margin-top: 12px;
}

/* ASSISTANTS ---------------------------------------------------- */
.assistants {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.a-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 980px) {
  .a-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.a-card {
  position: relative;
  padding: 44px;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  overflow: hidden;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(22, 22, 25, 0.7), rgba(12, 12, 14, 0.7));
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}

.a-card:hover {
  border-color: rgba(91, 127, 184, 0.22);
}

.a-card .head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.a-card .mono-glyph {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, #2a4a7d, #0e1c34);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  color: var(--warm-white);
  flex-shrink: 0;
}

.a-card .meta .name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--warm-white);
  margin-bottom: 4px;
}

.a-card .meta .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-white-mute);
}

.a-card .pitch {
  font-size: 17px;
  line-height: 1.5;
  color: var(--warm-white);
  margin-bottom: 28px;
  max-width: 28ch;
  letter-spacing: -0.005em;
}

.a-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.a-card ul li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--warm-white-dim);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.a-card ul li:hover {
  color: var(--warm-white);
  padding-left: 6px;
}

.a-card ul li:last-child { border-bottom: none; }

.a-card ul li .idx {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--warm-white-mute);
  letter-spacing: 0.06em;
  width: 26px;
  flex-shrink: 0;
}

/* VERTICALS ----------------------------------------------------- */
.verticals .v-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

@media (min-width: 720px) {
  .verticals .v-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1080px) {
  .verticals .v-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.v-card {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  cursor: pointer;
  transition: background 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  min-height: 280px;
}

.v-card .glyph { margin-left: auto; margin-right: auto; }
.v-card h4 { width: 100%; }
.v-card .desc { max-width: 36ch; margin-left: auto; margin-right: auto; }
.v-card .radar { width: 100%; text-align: left; }
.v-card .examples { width: 100%; text-align: left; }
.v-card .examples .ex { width: 100%; text-align: left; }
.v-card .arrow { right: 24px; }

.v-card:hover {
  background: rgba(91, 127, 184, 0.04);
}

.v-card .glyph {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--warm-white-dim);
  margin-bottom: 8px;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}

.v-card:hover .glyph {
  border-color: var(--accent);
  color: var(--accent);
}

.v-card h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.018em;
  line-height: 1;
}

.v-card .desc {
  font-size: 13.5px;
  color: var(--warm-white-dim);
  line-height: 1.55;
  max-width: 30ch;
  flex: 1;
}

.v-card .radar {
  margin-top: 4px;
  padding: 14px 14px;
  border: 1px dashed var(--line-2);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(91, 127, 184, 0.04);
}

.v-card .radar .head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.v-card .radar .head::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(91, 127, 184, 0.12);
}

.v-card .radar .obs {
  font-size: 13px;
  line-height: 1.5;
  color: var(--warm-white);
  letter-spacing: -0.005em;
}

.v-card .radar .obs strong {
  color: var(--warm-white);
  font-weight: 500;
}

.v-card .radar .meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--warm-white-mute);
}

.v-card .examples {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), margin-top 0.4s var(--ease);
}

.v-card:hover .examples {
  max-height: 200px;
  opacity: 1;
  margin-top: 12px;
}

.v-card .examples .ex {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--warm-white-mute);
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.v-card .examples .ex strong {
  color: var(--warm-white);
  font-weight: 500;
  font-family: var(--font-sans);
  font-size: 12.5px;
  letter-spacing: -0.005em;
}

.v-card .arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--warm-white-mute);
  transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}

.v-card:hover .arrow {
  transform: translate(3px, -3px);
  color: var(--warm-white);
}

/* CTA — CUSTOM ASSISTANT --------------------------------------- */
.custom-cta {
  position: relative;
  overflow: hidden;
}

.custom-cta-inner {
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: clamp(48px, 7vw, 96px);
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(26, 58, 107, 0.18), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(91, 127, 184, 0.06), transparent 70%),
    linear-gradient(180deg, rgba(20, 20, 22, 0.5), rgba(12, 12, 14, 0.7));
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
  position: relative;
  overflow: hidden;
}

@media (min-width: 980px) {
  .custom-cta-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }
}

.custom-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.022em;
  margin-bottom: 24px;
}

.custom-cta h2 .it { font-style: italic; color: var(--warm-white-dim); }

.custom-cta p {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.55;
  color: var(--warm-white-dim);
  max-width: 48ch;
  margin-bottom: 36px;
}

.custom-cta .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.custom-cta .right {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--warm-white-mute);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

@media (min-width: 980px) {
  .custom-cta .right { text-align: right; }
}

.custom-cta .right .row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.custom-cta .right .row:last-child { border-bottom: none; }

.custom-cta .right .row .k { color: var(--warm-white-mute); }
.custom-cta .right .row .v { color: var(--warm-white); font-family: var(--font-sans); font-size: 14px; letter-spacing: -0.005em; }

/* PHILOSOPHY ---------------------------------------------------- */
.philosophy {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.philosophy .quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 22ch;
  color: var(--warm-white);
  margin-bottom: 64px;
}

.philosophy .quote .it { font-style: italic; color: var(--warm-white-dim); }

.philosophy .principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 720px) {
  .philosophy .principles {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1080px) {
  .philosophy .principles {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.principle {
  padding: 32px 32px 32px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 720px) {
  .principle:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 32px; }
  .principle:nth-child(even) { padding-left: 32px; }
}

@media (min-width: 1080px) {
  .principle { border-right: 1px solid var(--line); padding: 32px; }
  .principle:nth-child(3n) { border-right: none; padding-right: 0; }
  .principle:nth-child(3n+1) { padding-left: 0; }
}

.principle .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}

.principle h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-bottom: 8px;
}

.principle p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--warm-white-dim);
  max-width: 32ch;
}

/* FINAL CTA / FOOTER -------------------------------------------- */
.final {
  position: relative;
  padding-top: var(--section-y);
  padding-bottom: 80px;
}

.final-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 980px) {
  .final-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: end;
  }
}

.final h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.final h2 .it { font-style: italic; color: var(--warm-white-dim); }

.final .lede {
  margin-bottom: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-white-mute);
}

.field input,
.field textarea,
.field select {
  background: transparent;
  border: none;
  color: var(--warm-white);
  font-family: var(--font-sans);
  font-size: 17px;
  letter-spacing: -0.005em;
  outline: none;
  padding: 0;
  resize: none;
  width: 100%;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--warm-white-faint);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M1 1l4 4 4-4' stroke='%23f5f1ea' stroke-opacity='0.4' stroke-width='1'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 24px;
}

.field select option { background: var(--ink); color: var(--warm-white); }

.contact-form .submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  flex-wrap: wrap;
}

.contact-form .submit-row .note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--warm-white-mute);
}

footer {
  margin-top: 120px;
  padding: 56px var(--gutter) 32px;
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto;
}

@media (min-width: 720px) {
  .foot-grid {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 64px;
    align-items: start;
  }
}

.foot-brand .brand {
  font-size: 22px;
  margin-bottom: 18px;
}

.foot-brand .brand .ai { font-size: 24px; }

.foot-brand p {
  font-size: 14px;
  color: var(--warm-white-dim);
  max-width: 56ch;
  text-wrap: balance;
  line-height: 1.55;
}

.foot-col h5 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-white-mute);
  margin-bottom: 20px;
  font-weight: 400;
}

.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-col ul a {
  font-size: 14px;
  color: var(--warm-white-dim);
  transition: color 0.3s var(--ease);
}

.foot-col ul a:hover { color: var(--warm-white); }

.foot-base {
  max-width: var(--max-w);
  margin: 64px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--warm-white-mute);
  letter-spacing: 0.04em;
  text-align: center;
}

/* DENSITY tweaks */
[data-density="compact"] {
  --section-y: clamp(72px, 9vw, 130px);
}

[data-density="airy"] {
  --section-y: clamp(120px, 14vw, 220px);
}

/* Light mode toggle (alternate palette) */
[data-palette="light"] {
  --ink: #fafaf7;
  --ink-2: #f3f1ec;
  --warm-white: #0a0a0b;
  --warm-white-dim: rgba(10, 10, 11, 0.62);
  --warm-white-mute: rgba(10, 10, 11, 0.42);
  --warm-white-faint: rgba(10, 10, 11, 0.22);
  --line: rgba(10, 10, 11, 0.08);
  --line-2: rgba(10, 10, 11, 0.14);
}

[data-palette="light"] body { background: var(--ink); }
[data-palette="light"] .assistant-card,
[data-palette="light"] .a-card,
[data-palette="light"] .contrast-card,
[data-palette="light"] .custom-cta-inner {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(245, 245, 240, 0.4));
}
[data-palette="light"] .float-tag { background: rgba(255, 255, 255, 0.85); }
[data-palette="light"] .nav.is-scrolled { background: rgba(250, 250, 247, 0.78); }
[data-palette="light"] .btn--primary { background: var(--warm-white); color: var(--ink); }

/* Bege palette */
[data-palette="bege"] {
  --accent: #b39966;
  --accent-deep: #8a7a5c;
}
[data-palette="bege"] .hero::before {
  background:
    radial-gradient(80% 60% at 18% 10%, rgba(138, 122, 92, 0.16), transparent 60%),
    radial-gradient(60% 50% at 100% 100%, rgba(179, 153, 102, 0.06), transparent 70%);
}
[data-palette="bege"] .a-card .mono-glyph,
[data-palette="bege"] .assistant-card .avatar {
  background: radial-gradient(circle at 30% 30%, #6b5a3a, #2a2014);
}
[data-palette="bege"] .msg .body-line .tag {
  background: rgba(179, 153, 102, 0.13);
  color: #c9b489;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ============================================================
   MOBILE REFINEMENT (≤ 720px)
   ICPs acessam majoritariamente via mobile — tipografia, ritmo,
   densidade e toque foram ajustados para essa realidade.
   ============================================================ */
@media (max-width: 720px) {
  :root {
    --gutter: 22px;
    --section-y: 72px;
  }

  body { font-size: 15.5px; }

  /* NAV — compacto, marca + CTA legíveis */
  .nav { padding: 14px var(--gutter); gap: 12px; }
  .nav.is-scrolled {
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
  }
  .brand { font-size: 16px; }
  .brand .ai { font-size: 17px; }
  .nav-cta {
    padding: 9px 14px;
    font-size: 12.5px;
    min-height: 40px;
  }

  /* TIPOGRAFIA — display reduzida e respirando bem */
  .h-display {
    font-size: clamp(40px, 11vw, 56px);
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .h-section {
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.05;
  }
  .h-card { font-size: 19px; }
  .lede { font-size: 16px; line-height: 1.55; }
  .body { font-size: 15px; }

  /* HERO */
  .hero {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 56px;
    text-align: center;
  }
  .hero-grid { gap: 40px; align-items: start; }
  .hero-left { display: flex; flex-direction: column; align-items: center; }
  .hero-meta {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    justify-content: center;
  }
  .hero-meta .pill { font-size: 10.5px; padding: 5px 10px; }
  .hero-meta .mono { font-size: 10.5px; }
  .hero h1 { margin-bottom: 24px; text-wrap: balance; }
  .hero-sub {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 32px;
    max-width: 100%;
    text-align: center;
  }

  /* CTAs — largura cheia, alvo de toque ≥ 48px */
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; justify-content: center; width: 100%; }
  .btn {
    padding: 15px 22px;
    font-size: 14.5px;
    min-height: 48px;
    justify-content: center;
    width: 100%;
  }
  .btn--ghost { width: 100%; }

  /* Hero footer mais discreto — vira fluxo normal no mobile */
  .hero-foot {
    position: static;
    font-size: 10.5px;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 56px;
    justify-content: center;
    text-align: center;
  }
  .hero-foot .scroll-hint { justify-content: center; }
  .hero { padding-bottom: 64px; }

  /* CARDS DE ASSISTENTE no hero */
  .hero-right { padding: 0 !important; }
  .hero-right > div {
    padding: 0 !important;
    gap: 16px !important;
  }
  .float-tag { display: none; }
  .assistant-card {
    padding: 22px 20px;
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
  }
  .assistant-card .head { gap: 10px; }
  .assistant-card .head .name { font-size: 13.5px; }
  .assistant-card .head .role { font-size: 9.5px; }
  .assistant-card .msg { font-size: 13px; line-height: 1.5; }
  .assistant-card .msg .ts { font-size: 10px; }
  .assistant-card .tag { font-size: 9.5px; }

  /* SECTION HEADERS — empilhados naturalmente */
  .section { padding: var(--section-y) 0; }
  .s-head { gap: 20px; margin-bottom: 40px; text-align: center; align-items: center; }
  .s-head .left { align-items: center; }
  .s-head .num { font-size: 10.5px; }
  .s-head .h-section { text-align: center; text-wrap: balance; }
  .s-head .lede { margin-left: auto; margin-right: auto; text-align: center; }

  /* PROBLEM — contrast cards empilhados */
  .contrast { gap: 20px; }
  .contrast-card { padding: 28px 22px; border-radius: 14px; width: 100%; }
  .contrast-card > div { width: 100%; }
  .contrast-card h3 { font-size: 24px; line-height: 1.1; }
  .contrast-card p.body { max-width: 100% !important; }
  .contrast-card .verbs { gap: 8px; margin-top: 18px; width: 100%; }
  .contrast-card .verbs span { font-size: 10.5px; padding: 5px 10px; }

  /* Sintomas — 2 colunas já é o default mobile, mas refinar */
  .problem-symptoms {
    margin-top: 40px;
    gap: 20px;
  }
  .problem-symptoms .sym {
    padding: 18px 14px;
    border-right: none;
    text-align: center;
  }
  .problem-symptoms .sym .label { font-size: 14px; }
  .problem-symptoms .sym .desc { font-size: 12.5px; }

  /* STEPS — divisor horizontal entre passos */
  .steps { gap: 0; }
  .step {
    padding: 36px 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
    text-align: center;
    align-items: center;
  }
  .step:last-child { border-bottom: none; }
  .step h3 { font-size: 22px; }
  .step p { font-size: 14.5px; max-width: 38ch; margin-left: auto; margin-right: auto; }
  .step .glyph { width: 48px; height: 48px; margin: 0 auto 20px; }

  /* ASSISTENTES (a-grid) */
  .a-grid { gap: 20px; }
  .a-card { padding: 28px 22px; border-radius: 16px; }
  .a-card .head { gap: 14px; margin-bottom: 22px; }
  .a-card .mono-glyph { width: 48px; height: 48px; }
  .a-card .meta .name { font-size: 22px; }
  .a-card .pitch { font-size: 15.5px; }
  .a-card ul li { padding: 12px 0; font-size: 14px; }

  /* SETORES (verticals) */
  .verticals .v-grid { gap: 0; }
  .v-card {
    padding: 32px 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
    width: 100%;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .v-card:last-child { border-bottom: none; }
  .v-card .glyph { width: 40px; height: 40px; margin: 0 auto; }
  .v-card h4 { font-size: 22px; }
  .v-card .desc { font-size: 13px; max-width: 38ch; margin-left: auto; margin-right: auto; }
  .v-card .radar { padding: 12px; width: 100%; text-align: left; }
  .v-card .radar .obs { font-size: 12.5px; }
  /* Em mobile não tem hover — exemplos sempre visíveis */
  .v-card .examples {
    max-height: none;
    opacity: 1;
    margin-top: 16px;
    width: 100%;
    text-align: left;
  }
  .v-card .examples .ex { font-size: 11px; }
  .v-card .arrow { display: none; }

  /* CTA personalizado */
  .custom-cta-inner { padding: 32px 24px; border-radius: 18px; }

  /* Filosofia — princípios empilhados */
  .principle {
    padding: 24px 0;
    border-right: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;
  }
  .principle:last-child { border-bottom: none; }
  .principle h4 { font-size: 20px; }
  .principle p { font-size: 13.5px; max-width: 40ch; margin-left: auto; margin-right: auto; }

  /* Final grid */
  .final-grid { gap: 36px; }

  /* RODAPÉ — empilhado, brand primeiro, links em duas colunas */
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  .foot-brand .brand { font-size: 20px; margin-bottom: 14px; }
  .foot-brand p {
    font-size: 13.5px;
    max-width: 100%;
  }
  .foot-col h5 { font-size: 10px; margin-bottom: 14px; }
  .foot-col ul { gap: 10px; }
  .foot-col ul a { font-size: 13.5px; }
  .foot-base {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    text-align: center;
  }

  /* Cancelar transformações de hover que viram delays no toque */
  .a-card ul li:hover { padding-left: 0; }
  .v-card:hover { background: transparent; }
  .v-card:hover .glyph { border-color: var(--line-2); color: var(--warm-white-dim); }
  .v-card:hover .arrow { transform: none; }
}

/* TELAS MUITO ESTREITAS (≤ 380px) — iPhone SE, etc. */
@media (max-width: 380px) {
  :root { --gutter: 18px; }
  .h-display { font-size: 38px; }
  .h-section { font-size: 28px; }
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
}
