/* =========================================================================
   Analytica Sophia — Institutional site
   Brand identity: owl + "Transformamos dados em conhecimento".
   Palette: ink #121212 · cream #F0EBE5 · electric violet #8B14F2 · coral #E9432B
   Fonts: Poppins (display) · Hanken Grotesk (body) · JetBrains Mono (labels)
   ========================================================================= */

:root {
  /* surfaces */
  --ink:      #121212;
  --ink-2:    #171619;
  --ink-3:    #1C1A20;
  --ink-4:    #25222C;

  /* lines & text */
  --line:     rgba(240, 235, 229, 0.10);
  --line-2:   rgba(240, 235, 229, 0.17);
  --cream:    #F0EBE5;
  --cream-2:  #BCB7B0;
  --muted:    #837F7A;

  /* accents */
  --violet:        #8B14F2;
  --violet-bright: #A23DF6;
  --violet-soft:   rgba(139, 20, 242, 0.16);
  --periwinkle:    #9678F3;
  --indigo:        #5B57C4;
  --coral:         #E9432B;

  /* type */
  --display: "Poppins", "Trebuchet MS", sans-serif;
  --sans:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* metrics */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.6;
  font-size: clamp(16px, 1.05vw, 17px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet-bright); outline-offset: 3px; border-radius: 4px; }

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

/* gradient-mesh helper: soft indigo/violet blobs */
.mesh { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.mesh::before, .mesh::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.mesh::before {
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  top: -18%; right: -8%;
  background: radial-gradient(circle, var(--periwinkle), transparent 62%);
}
.mesh::after {
  width: 50vw; height: 50vw; max-width: 620px; max-height: 620px;
  bottom: -22%; left: -10%;
  background: radial-gradient(circle, rgba(139,20,242,0.7), transparent 64%);
}

/* ------------------------------------------------------------- structure */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(72px, 11vw, 150px); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--violet); }
.eyebrow.is-coral { color: var(--coral); }
.eyebrow.is-coral::before { background: var(--coral); }

.section-head { max-width: 800px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-top: 22px;
}
.section-head h2 em { font-style: normal; color: var(--violet-bright); }
.section-head p {
  color: var(--cream-2);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  margin-top: 20px;
  max-width: 62ch;
}

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.9em 1.5em;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .35s var(--ease),
              color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--violet); color: #fff; box-shadow: 0 8px 30px -10px rgba(139,20,242,0.7); }
.btn--solid:hover { background: var(--violet-bright); box-shadow: 0 12px 36px -10px rgba(139,20,242,0.85); }
.btn--solid:hover svg { transform: translate(3px, -3px); }
.btn--ghost { border-color: var(--line-2); color: var(--cream); }
.btn--ghost:hover { border-color: var(--violet-bright); color: var(--violet-bright); }

/* ------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { height: 34px; width: auto; flex: none; }
.brand__name { font-family: var(--display); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.brand__name em { font-style: normal; color: var(--violet-bright); }

.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 0.92rem; color: var(--cream-2); position: relative; padding: 4px 0; transition: color .3s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--violet-bright); transition: width .35s var(--ease); }
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle { display: none; width: 30px; height: 30px; }
.nav__toggle span { display: block; width: 22px; height: 1.7px; background: var(--cream); margin: 5px auto; transition: transform .35s var(--ease), opacity .25s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.7px) rotate(-45deg); }

/* --------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 10vw, 120px) clamp(60px, 9vw, 120px); }
.hero__grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: radial-gradient(ellipse 90% 80% at 30% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 30%, #000 20%, transparent 80%);
  opacity: 0.45;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-top: 24px;
}
.hero__title em { font-style: normal; color: var(--violet-bright); position: relative; }
.hero__lead { margin-top: 28px; font-size: clamp(1.06rem, 1.7vw, 1.32rem); color: var(--cream-2); max-width: 52ch; }
.hero__lead strong { color: var(--cream); font-weight: 600; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  margin-top: 52px; display: flex; flex-wrap: wrap; gap: 12px 34px;
  padding-top: 26px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.06em;
  color: var(--muted); text-transform: uppercase;
}
.hero__meta li { display: inline-flex; align-items: center; gap: 0.7em; }
.hero__meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet-bright); }

/* hero owl visual */
.hero__owl { position: relative; display: grid; place-items: center; }
.hero__owl-glow {
  position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--violet-soft), transparent 66%);
  filter: blur(20px);
  animation: breathe 6s var(--ease) infinite;
}
@keyframes breathe { 50% { transform: scale(1.08); opacity: 0.8; } }
.hero__owl img { position: relative; width: min(360px, 72%); height: auto; filter: drop-shadow(0 24px 60px rgba(139,20,242,0.35)); }

/* ----------------------------------------------------------- marquee */
.marquee { border-block: 1px solid var(--line); background: var(--ink-2); overflow: hidden; padding-block: 20px; }
.marquee__track {
  display: flex; gap: 50px; width: max-content;
  animation: slide 34s linear infinite;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem); color: var(--cream-2);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 50px; white-space: nowrap; }
.marquee__track span::after { content: "◆"; color: var(--violet-bright); font-size: 0.6em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------- problem */
.problem { background: var(--ink-2); border-block: 1px solid var(--line); }
.problem__layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.stat { position: relative; }
.stat__num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(4.5rem, 12vw, 8.5rem); line-height: 0.9;
  color: var(--coral); letter-spacing: -0.04em;
}
.stat__txt { margin-top: 14px; color: var(--cream-2); font-size: 1.05rem; max-width: 30ch; }
.stat__txt b { color: var(--cream); font-weight: 600; }
.pains { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pain { background: var(--ink-2); padding: clamp(22px, 2.6vw, 32px); transition: background .35s var(--ease); }
.pain:hover { background: var(--ink-3); }
.pain h3 { font-family: var(--display); font-weight: 600; font-size: 1.12rem; display: flex; align-items: center; gap: 10px; }
.pain h3::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--coral); flex: none; }
.pain p { margin-top: 10px; color: var(--cream-2); font-size: 0.96rem; }

/* ------------------------------------------------------------- approach (venn) */
.approach__layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.venn { width: 100%; max-width: 440px; margin-inline: auto; }
.venn circle { fill: rgba(139,20,242,0.05); stroke: var(--line-2); stroke-width: 1.2; }
.venn text { font-family: var(--display); font-weight: 600; font-size: 15px; fill: var(--cream); text-anchor: middle; }
.venn .venn__core { fill: var(--violet); filter: blur(7px); opacity: 0.85; }
.approach__lead {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.12; letter-spacing: -0.02em;
}
.approach__lead em { font-style: normal; color: var(--violet-bright); }
.approach__lead + p { margin-top: 18px; color: var(--cream-2); max-width: 48ch; }

/* ------------------------------------------------------------- framework (3 pillars) */
.framework { background: var(--ink-2); border-block: 1px solid var(--line); }
.flow {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 60px);
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.flow span { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--cream-2); }
.flow span.is-end { background: var(--violet); border-color: var(--violet); color: #fff; }
.flow b { color: var(--violet-bright); font-size: 1.2em; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pillar { background: var(--ink-2); padding: clamp(28px, 3vw, 42px); display: flex; flex-direction: column; gap: 14px; transition: background .35s var(--ease); }
.pillar:hover { background: var(--ink-3); }
.pillar__step { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.18em; color: var(--violet-bright); }
.pillar h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: -0.01em; }
.pillar p { color: var(--cream-2); font-size: 0.97rem; }
.pillar ul { margin-top: 4px; display: grid; gap: 9px; }
.pillar li { display: flex; gap: 10px; align-items: flex-start; color: var(--cream-2); font-size: 0.92rem; }
.pillar li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--violet-bright); flex: none; }

/* ------------------------------------------------------------- why */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why { background: var(--ink); padding: clamp(26px, 3vw, 40px); transition: background .35s var(--ease); }
.why:hover { background: var(--ink-2); }
.why__ico { width: 40px; height: 40px; border-radius: 11px; background: var(--violet-soft); display: grid; place-items: center; margin-bottom: 18px; }
.why__ico svg { width: 21px; height: 21px; color: var(--violet-bright); }
.why h3 { font-family: var(--display); font-weight: 600; font-size: 1.18rem; }
.why p { margin-top: 10px; color: var(--cream-2); font-size: 0.95rem; }

/* -------------------------------------------------------------- product (basiQo) */
.product { overflow: hidden; }
.product__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.product__copy h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.05; letter-spacing: -0.02em; margin-top: 22px; }
.product__copy h2 b { color: var(--violet-bright); font-weight: 600; }
.product__copy p { color: var(--cream-2); margin-top: 20px; font-size: 1.06rem; max-width: 52ch; }
.product__copy p em { color: var(--cream); font-style: normal; font-weight: 600; }
.product__list { margin-top: 26px; display: grid; gap: 14px; }
.product__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--cream-2); }
.product__list svg { width: 20px; height: 20px; flex: none; color: var(--violet-bright); margin-top: 3px; }
.product__cta { margin-top: 34px; }
.product__card {
  position: relative; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: radial-gradient(120% 80% at 80% 0%, rgba(150,120,243,0.16), transparent 52%),
              radial-gradient(120% 90% at 10% 100%, rgba(139,20,242,0.18), transparent 55%), var(--ink-3);
  padding: clamp(26px, 3vw, 36px); overflow: hidden;
}
.product__card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 38px 38px; opacity: 0.4; pointer-events: none; }
.product__card-top { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 0.74rem; color: var(--muted); letter-spacing: 0.06em; position: relative; }
.product__card-top b { color: var(--cream); font-weight: 500; }
.product__dot { display: inline-flex; align-items: center; gap: 7px; color: var(--periwinkle); }
.product__dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--periwinkle); box-shadow: 0 0 0 0 rgba(150,120,243,0.5); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 70%, 100% { box-shadow: 0 0 0 9px rgba(150,120,243,0); } }
.product__bars { position: relative; display: flex; align-items: flex-end; gap: 10px; height: 148px; margin-top: 28px; }
.product__bars i { flex: 1; background: linear-gradient(180deg, var(--periwinkle), var(--violet)); border-radius: 5px 5px 0 0; transform-origin: bottom; transform: scaleY(0); animation: grow 1s var(--ease) forwards; }
@keyframes grow { to { transform: scaleY(1); } }
.product__meta { position: relative; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product__meta div span { display: block; font-family: var(--mono); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.product__meta div b { font-family: var(--display); font-weight: 600; font-size: 1.18rem; color: var(--cream); }

/* -------------------------------------------------------------- case */
.case { background: var(--ink-2); border-block: 1px solid var(--line); }
.case__card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(139,20,242,0.16), transparent 48%), var(--ink-3);
  padding: clamp(30px, 4vw, 56px);
}
.case__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.case__col h4 { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-bright); margin-bottom: 12px; }
.case__col p { color: var(--cream-2); }
.case__col ul { margin-top: 8px; display: grid; gap: 9px; }
.case__col li { display: flex; gap: 10px; color: var(--cream-2); }
.case__col li b { color: var(--cream); font-weight: 600; }
.case__col li::before { content: ""; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--violet-bright); flex: none; }
.quote { margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.quote blockquote { font-family: var(--display); font-weight: 500; font-size: clamp(1.15rem, 2.1vw, 1.55rem); line-height: 1.4; letter-spacing: -0.01em; }
.quote blockquote b { color: var(--violet-bright); font-weight: 600; }
.quote figcaption { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--cream-2); }
.quote__badge { width: 40px; height: 40px; border-radius: 50%; background: var(--violet-soft); color: var(--violet-bright); font-family: var(--display); font-weight: 600; display: grid; place-items: center; flex: none; }
.quote figcaption b { color: var(--cream); }

/* --------------------------------------------------------------- about */
.about__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 90px); }
.about__lead { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.12; letter-spacing: -0.02em; }
.about__lead em { font-style: normal; color: var(--violet-bright); }
.about__body p { color: var(--cream-2); }
.about__body p + p { margin-top: 18px; }
.about__values { margin-top: 30px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.about__values div { background: var(--ink); padding: 20px 22px; }
.about__values h4 { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-bright); }
.about__values p { margin-top: 8px; font-size: 0.96rem; }

/* ------------------------------------------------------------- contact */
.contact { position: relative; overflow: hidden; }
.contact__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.04; letter-spacing: -0.025em; margin-top: 22px; }
.contact__head h2 em { font-style: normal; color: var(--violet-bright); }
.contact__head p { color: var(--cream-2); margin-top: 20px; max-width: 42ch; }
.contact__direct { margin-top: 34px; display: grid; gap: 2px; }
.contact__direct a { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 1.05rem; transition: color .3s var(--ease), padding .3s var(--ease); }
.contact__direct a:last-child { border-bottom: 1px solid var(--line); }
.contact__direct a:hover { color: var(--violet-bright); padding-left: 8px; }
.contact__direct svg { width: 20px; height: 20px; color: var(--violet-bright); flex: none; }
.contact__direct span { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); margin-left: auto; letter-spacing: 0.08em; }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-2); }
.field input, .field textarea { font: inherit; color: var(--cream); background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 15px; transition: border-color .3s var(--ease), background .3s var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet-bright); background: var(--ink-3); }
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form button { justify-content: center; }
.form__hint { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }

/* -------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(32px, 5vw, 64px); padding-block: clamp(56px, 7vw, 84px); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--muted); max-width: 36ch; font-size: 0.95rem; }
.footer-col h5 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-2); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: var(--muted); font-size: 0.95rem; padding: 5px 0; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--violet-bright); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 26px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 0.74rem; color: var(--muted); letter-spacing: 0.04em; }
.footer-bottom a:hover { color: var(--violet-bright); }

/* legal pages ------------------------------------------------------------ */
.legal { padding-block: clamp(60px, 9vw, 120px); max-width: 820px; }
.legal .eyebrow { margin-bottom: 18px; }
.legal h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; line-height: 1.05; }
.legal__updated { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); margin-top: 14px; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.01em; margin-top: 48px; margin-bottom: 14px; }
.legal h3 { font-size: 1.05rem; margin-top: 26px; margin-bottom: 8px; color: var(--cream); }
.legal p, .legal li { color: var(--cream-2); }
.legal p { margin-top: 14px; }
.legal ul { margin-top: 14px; display: grid; gap: 10px; padding-left: 4px; }
.legal ul li { display: flex; gap: 12px; }
.legal ul li::before { content: "—"; color: var(--violet-bright); flex: none; }
.legal a { color: var(--violet-bright); text-decoration: underline; text-underline-offset: 3px; }
.legal .back { margin-top: 56px; display: inline-flex; }

/* ----------------------------------------------------- scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

.load-up { opacity: 0; transform: translateY(20px); animation: loadUp .9s var(--ease) forwards; }
.load-up.d1 { animation-delay: .05s; } .load-up.d2 { animation-delay: .15s; }
.load-up.d3 { animation-delay: .28s; } .load-up.d4 { animation-delay: .42s; }
.load-up.d5 { animation-delay: .58s; }
@keyframes loadUp { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .hero__inner, .problem__layout, .approach__layout, .product__inner, .about__inner, .contact__inner, .case__grid { grid-template-columns: 1fr; }
  .hero__owl { order: -1; max-width: 320px; margin-inline: auto; }
  .pillars { grid-template-columns: 1fr; }
  .pains { grid-template-columns: 1fr; }
  .approach__visual { order: -1; }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .site-header.menu-open .nav__links { display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0; background: var(--ink-2); border-bottom: 1px solid var(--line); padding: 18px var(--gutter) 28px; gap: 4px; }
  .site-header.menu-open .nav__links a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .form__row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .load-up { opacity: 1; transform: none; }
}
