
/* ============================================================
   LIONMIND® — WILD INTELLIGENCE
   Editorial Interface System / Version 3.0
   ============================================================ */

/* ------------------------------------------------------------
   01. DESIGN TOKENS
   ------------------------------------------------------------ */

:root {
  color-scheme: light;

  --paper: #f8f7f5;
  --paper-bright: #fffefd;
  --paper-muted: #efede9;
  --ink: #181514;
  --ink-soft: #514b49;
  --ink-muted: #827a77;
  --line: #ded9d5;
  --line-dark: rgba(24, 21, 20, 0.16);

  --red: #e50920;
  --red-bright: #ff2038;
  --red-deep: #970817;
  --red-dark: #4d060d;
  --red-soft: #ffeaeb;
  --red-pale: #fff3f3;

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-mono: "DM Mono", monospace;

  --container: 1440px;
  --gutter: clamp(20px, 5.4vw, 86px);
  --section-space: clamp(96px, 12vw, 176px);

  --radius-small: 5px;
  --radius-medium: 12px;
  --radius-large: 22px;
  --radius-pill: 999px;

  --shadow-card: 0 12px 36px rgba(37, 20, 18, 0.045);
  --shadow-hover: 0 22px 56px rgba(100, 12, 23, 0.12);

  --ease: cubic-bezier(.2, .75, .25, 1);
  --transition: 240ms var(--ease);
}

/* ------------------------------------------------------------
   02. RESET AND BASE
   ------------------------------------------------------------ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

body::selection,
body ::selection {
  color: white;
  background: var(--red);
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
}

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

::placeholder {
  color: #9d9591;
  opacity: 1;
}

[hidden] {
  display: none !important;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 10000;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  color: white;
  background: var(--ink);
}

/* =========================================
   LIONMIND — LIGHT RED CUSTOM SCROLLBAR
   ========================================= */

:root {
  --scroll-red: #ff5268;
  --scroll-red-light: #ff8494;
  --scroll-red-dark: #f52f4b;
  --scroll-track: #fff5f6;
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-red) var(--scroll-track);
}

/* Chrome, Edge e Safari */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--scroll-track);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--scroll-red-light),
    var(--scroll-red),
    var(--scroll-red-dark)
  );
  border: 2px solid var(--scroll-track);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    #ff9aa7,
    #ff5268
  );
}

::-webkit-scrollbar-thumb:active {
  background: var(--scroll-red-dark);
}

::-webkit-scrollbar-corner {
  background: var(--scroll-track);
}

/* ------------------------------------------------------------
   03. GLOBAL LAYOUT
   ------------------------------------------------------------ */

.section-shell {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-heading {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: start;
  gap: 28px;
  margin-bottom: 76px;
}

.section-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.08em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .09em;
  line-height: 1.6;
  text-transform: uppercase;
}

.eyebrow i,
.hero-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--red);
}

.section-heading h2 {
  max-width: 860px;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(36px, 5.1vw, 68px);
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: .99;
}

.section-heading h2 span {
  color: var(--red);
}

.section-intro {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.section-code {
  padding-top: 10px;
  color: var(--ink-muted);
  font-size: 9px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.mono {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .035em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--red);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: color var(--transition), gap var(--transition);
}

.text-link span {
  color: var(--red);
  transition: transform var(--transition);
}

.text-link:hover {
  gap: 21px;
  color: var(--red);
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

/* ------------------------------------------------------------
   04. SCROLL PROGRESS
   ------------------------------------------------------------ */

.reading-progress {
  position: fixed;
  z-index: 2000;
  inset: 0 auto auto 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-deep), var(--red-bright));
  pointer-events: none;
}

/* ------------------------------------------------------------
   05. HEADER
   ------------------------------------------------------------ */

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(24, 21, 20, .09);
  background: rgba(248, 247, 245, .91);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
  background: rgba(248, 247, 245, .97);
  box-shadow: 0 8px 30px rgba(30, 18, 18, .045);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1600px;
  min-height: 78px;
  margin-inline: auto;
  padding: 12px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--red);
}

.brand-symbol svg {
  width: 100%;
  height: 100%;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand-wordmark strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1.25;
}

.brand-wordmark strong span {
  color: var(--red);
}

.brand-wordmark small {
  margin-top: 2px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .09em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 40px);
}

.main-nav > a {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  transition: color var(--transition);
}

.main-nav > a:hover {
  color: var(--red);
}

.main-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 12px 17px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-small);
  color: var(--ink);
  transition: color var(--transition), background var(--transition),
    border-color var(--transition);
}

.nav-cta span {
  color: var(--red);
}

.main-nav .nav-cta:hover {
  border-color: var(--red);
  color: white;
  background: var(--red);
}

.main-nav .nav-cta:hover span {
  color: white;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-small);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition: transform var(--transition);
}

.brand-symbol img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ------------------------------------------------------------
   06. HERO
   ------------------------------------------------------------ */

.hero {
  display: flex;
  flex-direction: column;
  min-height: min(860px, calc(100svh - 78px));
  padding-top: 26px;
  padding-bottom: 24px;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}

.hero-background {
  position: absolute;
  z-index: -3;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 72% 49%, rgba(255, 32, 56, .075), transparent 38%),
    linear-gradient(135deg, #fbfaf8, #f4f0ed);
}

.hero-grid,
.closing-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(40, 20, 20, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 20, 20, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 94%);
}

.hero-red-orb {
  position: absolute;
  top: 12%;
  right: 4%;
  width: min(56vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 46, 63, .17), transparent 35%),
    radial-gradient(circle at 55% 58%, rgba(225, 9, 32, .065), transparent 57%);
  filter: blur(12px);
}

.hero-light {
  position: absolute;
  width: 550px;
  height: 170px;
  border-radius: 50%;
  opacity: .15;
  filter: blur(65px);
  pointer-events: none;
}

.hero-light-one {
  top: 25%;
  right: -10%;
  background: #ff1731;
  transform: rotate(-32deg);
}

.hero-light-two {
  bottom: 0;
  left: 20%;
  width: 380px;
  background: #fa7780;
  transform: rotate(30deg);
}

.hero-organic {
  position: absolute;
  width: min(34vw, 440px);
  color: rgba(172, 12, 29, .25);
}

.hero-organic-left {
  bottom: -15%;
  left: -9%;
  transform: rotate(-5deg);
}

.hero-organic-right {
  top: -18%;
  right: -12%;
  transform: rotate(8deg);
}

.hero-scanline {
  position: absolute;
  inset: 0;
  opacity: .24;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 4px,
    rgba(50, 20, 20, .025) 5px
  );
  pointer-events: none;
}

.hero-topline,
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hero-topline .eyebrow {
  margin: 0;
}

.hero-topline .mono,
.hero-bottom .mono {
  color: var(--ink-muted);
  font-size: 9px;
}

.hero-content {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: center;
  gap: clamp(22px, 5vw, 80px);
  padding-block: clamp(50px, 7vh, 88px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.hero-kicker {
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
}

.hero-title {
  position: relative;
  width: fit-content;
  margin: 0 0 24px -7px;
  font-family: var(--font-display);
  font-size: clamp(72px, 11.1vw, 158px);
  font-weight: 700;
  letter-spacing: -.105em;
  line-height: .77;
}

.hero-title::after {
  position: absolute;
  right: 0;
  bottom: -15px;
  left: 8px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent);
  content: "";
}

.hero-title-accent {
  color: var(--red);
  text-shadow: 0 7px 30px rgba(229, 9, 32, .11);
}

.hero-title sup {
  position: absolute;
  top: -14px;
  right: -25px;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-subline {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 38px;
}

.hero-cross {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(229, 9, 32, .35);
  border-radius: 50%;
  color: var(--red);
  font-size: 21px;
}

.hero-subline p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 25px);
  letter-spacing: -.045em;
  line-height: 1.2;
}

.hero-subline strong {
  color: var(--red);
  font-weight: 600;
}

.hero-description {
  max-width: 535px;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  font-size: 12px;
  font-weight: 600;
  transition: transform var(--transition), background var(--transition),
    border-color var(--transition), color var(--transition);
}

.button:hover {
  transform: translateY(-3px);
}

.button span {
  font-size: 15px;
}

.button-dark {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
}

.button-dark:hover {
  border-color: var(--red);
  background: var(--red);
}

.button-quiet {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, .25);
}

.button-quiet span {
  color: var(--red);
}

.button-quiet:hover {
  border-color: var(--red);
  color: var(--red);
}

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 45px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero-footnote .mono {
  color: var(--ink-muted);
  font-size: 8px;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 8px;
}

.hero-status i {
  width: 6px;
  height: 6px;
  flex-basis: 6px;
  box-shadow: 0 0 0 4px rgba(229, 9, 32, .08);
}

.hero-art {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 580px;
  aspect-ratio: .94;
  place-items: center;
  justify-self: end;
  isolation: isolate;
}

.hero-art::before {
  position: absolute;
  z-index: -2;
  inset: 12%;
  border: 1px solid rgba(229, 9, 32, .18);
  border-radius: 50%;
  content: "";
}

.hero-art::after {
  position: absolute;
  z-index: -3;
  inset: 21%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 9, 32, .11), transparent 68%);
  content: "";
}

/* =========================================
   LIONMIND — LOGO NO HERO
   ========================================= */

.lion-emblem {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-lion-logo {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.art-orbit {
  position: absolute;
  border: 1px solid rgba(156, 15, 30, .22);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  inset: 5%;
  transform: rotate(-25deg) scaleY(.72);
}

.orbit-two {
  inset: 15% -5%;
  transform: rotate(48deg) scaleY(.65);
}

.orbit-three {
  inset: 2% 20%;
  transform: rotate(20deg) scaleY(.8);
}

.art-orbit::before {
  position: absolute;
  top: 12%;
  left: 18%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 16px rgba(229, 9, 32, .45);
  content: "";
}

.art-cross {
  position: absolute;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 21px;
}

.art-cross-a {
  top: 15%;
  left: 14%;
}

.art-cross-b {
  top: 28%;
  right: 4%;
}

.art-cross-c {
  right: 20%;
  bottom: 11%;
}

.art-coordinate {
  position: absolute;
  top: 7%;
  right: 1%;
  color: var(--ink-muted);
  font-size: 8px;
  line-height: 1.8;
}

.art-side-label {
  position: absolute;
  right: -4%;
  bottom: 34%;
  color: var(--red);
  font-size: 8px;
  letter-spacing: .15em;
  transform: rotate(90deg);
  transform-origin: right center;
}

.art-bottom {
  position: absolute;
  right: 0;
  bottom: 2%;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 8px;
}

.art-orbit-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--red);
  border-radius: 50%;
}

.hero-bottom {
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
}

.hero-bottom-center {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .13em;
}

.hero-bottom > a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
}

.hero-bottom > a:hover {
  color: white;
  background: var(--red);
}

/* ------------------------------------------------------------
   07. MANIFESTO
   ------------------------------------------------------------ */

.manifesto {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.manifesto .section-heading {
  margin-bottom: 80px;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(50px, 9vw, 140px);
}

.manifesto-copy {
  position: relative;
  max-width: 560px;
  padding-top: 32px;
}

.editorial-mark {
  position: absolute;
  top: -42px;
  left: -8px;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 94px;
  line-height: 1;
  opacity: .82;
}

.manifesto-copy h3 {
  position: relative;
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.1vw, 52px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: 1.06;
}

.manifesto-copy > p {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 2;
}

.manifesto-copy .text-link {
  margin-top: 16px;
}

.manifesto-visual {
  position: relative;
  padding: 0 20px 25px 0;
}

.manifesto-image-frame {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  border: 1px solid rgba(229, 9, 32, .24);
  border-radius: var(--radius-medium);
  isolation: isolate;
  background: #1a0b0d;
}

.manifesto-image-background {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 22%, rgba(255, 35, 53, .95), transparent 29%),
    radial-gradient(ellipse at 22% 72%, rgba(175, 8, 28, .8), transparent 44%),
    linear-gradient(138deg, #19090b 8%, #700714 48%, #e50920 100%);
}

.manifesto-image-background::before,
.manifesto-image-background::after {
  position: absolute;
  inset: -25%;
  content: "";
  pointer-events: none;
}

.manifesto-image-background::before {
  background: repeating-linear-gradient(
    118deg,
    transparent 0,
    transparent 14px,
    rgba(255, 255, 255, .035) 15px,
    transparent 17px
  );
  transform: rotate(-10deg);
}

.manifesto-image-background::after {
  background: radial-gradient(ellipse, transparent 25%, rgba(0, 0, 0, .4) 100%);
}

.manifesto-geometry {
  position: absolute;
  inset: 5%;
  width: 90%;
  height: 90%;
  color: rgba(255, 238, 238, .64);
}

.manifesto-stamp {
  position: absolute;
  right: 8%;
  bottom: 16%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: white;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.15;
}

.manifesto-stamp strong {
  color: #ff8994;
  font-size: 38px;
}

.manifesto-image-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  color: rgba(255, 255, 255, .78);
  background: rgba(17, 5, 7, .37);
  font-size: 10px;
}

.manifesto-image-caption .mono {
  font-size: 8px;
}

.manifesto-side-note {
  position: absolute;
  top: 10%;
  right: -17px;
  color: var(--red);
  font-size: 8px;
  line-height: 1.8;
  writing-mode: vertical-rl;
}

.manifesto-data {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 96px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.data-item {
  min-height: 190px;
  padding: 25px 22px 28px 0;
}

.data-item + .data-item {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.data-index {
  display: block;
  margin-bottom: 24px;
  color: var(--red);
  font-size: 9px;
}

.data-item strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -.04em;
}

.data-item p {
  max-width: 245px;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.8;
}

/* ------------------------------------------------------------
   08. AI ECOSYSTEM
   ------------------------------------------------------------ */

.ecosystem {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #f0eeeb;
}

.ecosystem-backdrop {
  position: absolute;
  top: -150px;
  right: -100px;
  z-index: 0;
  pointer-events: none;
}

.ecosystem-backdrop span {
  color: rgba(229, 9, 32, .035);
  font-family: var(--font-display);
  font-size: clamp(300px, 45vw, 650px);
  font-weight: 700;
  letter-spacing: -.12em;
  line-height: 1;
}

.ecosystem > *:not(.ecosystem-backdrop) {
  position: relative;
  z-index: 1;
}

.ecosystem .section-heading {
  margin-bottom: 55px;
}

.ecosystem-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 500px);
  min-height: 53px;
  padding: 0 15px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, .68);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-wrap:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(229, 9, 32, .06);
}

.search-wrap > span {
  color: var(--red);
  font-size: 25px;
  line-height: 1;
}

.search-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
}

.search-wrap input:focus-visible {
  outline: none;
}

.search-wrap kbd {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.result-count {
  color: var(--ink-muted);
  font-size: 9px;
  white-space: nowrap;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 37px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .42);
  font-size: 11px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition),
    background var(--transition), transform var(--transition);
}

.filter-button span {
  display: grid;
  min-width: 19px;
  height: 19px;
  padding-inline: 4px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-muted);
  background: rgba(0, 0, 0, .045);
  font-family: var(--font-mono);
  font-size: 8px;
}

.filter-button:hover {
  border-color: var(--red);
  color: var(--red);
}

.filter-button.active {
  border-color: var(--red);
  color: white;
  background: var(--red);
}

.filter-button.active span {
  color: white;
  background: rgba(255, 255, 255, .19);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 278px;
  padding: 23px;
  overflow: hidden;
  border: 1px solid rgba(30, 20, 20, .11);
  border-radius: var(--radius-medium);
  text-align: left;
  background: rgba(255, 254, 253, .82);
  cursor: pointer;
  isolation: isolate;
  box-shadow: 0 0 0 transparent;
  transition: transform 300ms var(--ease), border-color 300ms var(--ease),
    background 300ms var(--ease), box-shadow 300ms var(--ease);
}

.tool-card::before {
  position: absolute;
  z-index: -1;
  top: -100px;
  right: -100px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 9, 32, .08), transparent 70%);
  opacity: 0;
  content: "";
  transition: opacity 300ms var(--ease), transform 500ms var(--ease);
}

.tool-card:hover {
  z-index: 2;
  border-color: rgba(229, 9, 32, .48);
  background: white;
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.tool-card:hover::before {
  opacity: 1;
  transform: scale(1.4);
}

.tool-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.tool-logo {
  display: grid;
  width: 51px;
  height: 51px;
  flex: 0 0 51px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(30, 20, 20, .1);
  border-radius: 13px;
  color: var(--logo-color, var(--red));
  background: white;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.05em;
}

.tool-logo img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.tool-category {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
}

.tool-card-content {
  flex: 1;
  padding-top: 29px;
}

.tool-card-content h3 {
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.2;
}

.tool-card-content p {
  max-width: 360px;
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.8;
}

.tool-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 23px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.tool-card-bottom > span:first-child {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .05em;
}

.tool-arrow {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--red);
  font-size: 15px;
  transition: color var(--transition), background var(--transition),
    transform var(--transition);
}

.tool-card:hover .tool-arrow {
  color: white;
  background: var(--red);
  transform: rotate(45deg);
}

.empty-state {
  padding: 80px 20px;
  border: 1px dashed var(--line-dark);
  border-radius: var(--radius-medium);
  text-align: center;
  background: rgba(255, 255, 255, .35);
}

.empty-symbol {
  display: block;
  margin-bottom: 20px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 50px;
}

.empty-state h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: -.05em;
}

.empty-state p {
  margin-bottom: 23px;
  color: var(--ink-muted);
  font-size: 13px;
}

.ecosystem-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}

.ecosystem-bottom > span {
  color: var(--red);
  font-size: 8px;
}

.ecosystem-bottom p {
  color: var(--ink-muted);
  font-size: 11px;
}

/* ------------------------------------------------------------
   09. APPLICATION AREAS
   ------------------------------------------------------------ */

.applications {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.applications .section-heading {
  margin-bottom: 62px;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.application-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 570px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-medium);
  background: var(--paper-bright);
  isolation: isolate;
  transition: border-color var(--transition), transform 300ms var(--ease),
    box-shadow 300ms var(--ease);
}

.application-card:hover {
  border-color: rgba(229, 9, 32, .55);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.application-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.application-card-top .mono {
  color: var(--ink-muted);
  font-size: 8px;
}

.application-icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(229, 9, 32, .25);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 13px;
}

.application-graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  margin: 24px -5px 26px;
  overflow: hidden;
  border-radius: var(--radius-small);
  background: var(--paper-muted);
}

.application-graphic::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 20, 20, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 20, 20, .055) 1px, transparent 1px);
  background-size: 19px 19px;
  content: "";
}

.graphic-code {
  gap: 13px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 24px;
}

.graphic-code span:nth-child(2) {
  margin-top: 27px;
  color: #bd3444;
}

.graphic-code span:nth-child(3) {
  font-size: 50px;
  font-weight: 400;
}

.graphic-code span:nth-child(4) {
  align-self: flex-start;
  margin-top: 27px;
  color: var(--ink);
  font-size: 14px;
}

.graphic-design > div {
  position: absolute;
  width: 86px;
  height: 86px;
  border: 1px solid var(--red);
  transform: rotate(45deg);
}

.graphic-design > div:nth-child(1) {
  background: var(--red);
  transform: translate(-42px, -10px) rotate(45deg);
}

.graphic-design > div:nth-child(2) {
  border-color: #ff6575;
  background: rgba(255, 101, 117, .38);
  transform: translate(22px, 13px) rotate(45deg);
}

.graphic-design > div:nth-child(3) {
  border-color: var(--ink);
  background: rgba(24, 21, 20, .07);
  transform: translate(75px, -24px) rotate(45deg);
}

.graphic-design > div:nth-child(4) {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--paper);
  transform: translate(-80px, 34px);
}

.graphic-research span {
  position: absolute;
  width: 92px;
  height: 92px;
  border: 1px solid var(--red);
  border-radius: 50%;
}

.graphic-research span:nth-child(1) {
  transform: translate(-35px, 0);
}

.graphic-research span:nth-child(2) {
  transform: translate(20px, 0);
}

.graphic-research span:nth-child(3) {
  width: 8px;
  height: 8px;
  border: 0;
  background: var(--red);
  transform: translate(0, 0);
}

.graphic-content {
  gap: 10px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 66px;
  font-weight: 700;
  letter-spacing: -.1em;
}

.graphic-content strong {
  font-size: 92px;
  line-height: 1;
}

.graphic-content span {
  align-self: flex-start;
  margin-top: 15px;
  color: var(--ink);
  font-size: 37px;
}

.graphic-content i {
  align-self: flex-start;
  margin-top: -2px;
  color: #ff7782;
  font-size: 45px;
  font-style: normal;
}

.graphic-product {
  background: #f2eeeb;
}

.product-window {
  position: absolute;
  top: 28px;
  left: 25px;
  display: flex;
  gap: 5px;
  width: 62%;
  height: 95px;
  padding: 10px;
  border: 1px solid rgba(24, 21, 20, .2);
  border-radius: 5px;
  background: white;
}

.product-window span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.product-block {
  position: absolute;
  right: 27px;
  bottom: 25px;
  width: 72px;
  height: 72px;
  border-radius: 4px;
  background: linear-gradient(145deg, #ff4a5d, #9d0618);
  box-shadow: 12px 12px 0 rgba(229, 9, 32, .1);
  transform: rotate(12deg);
}

.graphic-productivity {
  background:
    radial-gradient(circle at center, rgba(229, 9, 32, .09), transparent 60%),
    var(--paper-muted);
}

.orbit-productivity {
  position: absolute;
  width: 122px;
  height: 52px;
  border: 1px solid var(--red);
  border-radius: 50%;
  transform: rotate(0deg);
}

.orbit-productivity:nth-child(2) {
  transform: rotate(60deg);
}

.orbit-productivity:nth-child(3) {
  transform: rotate(-60deg);
}

.application-card-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.application-card-content .eyebrow {
  margin-bottom: 13px;
  font-size: 8px;
}

.application-card-content h3 {
  max-width: 330px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.3vw, 30px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: 1.12;
}

.application-card-content > p:not(.eyebrow) {
  margin-bottom: 20px;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.85;
}

.application-card-content ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.application-card-content li {
  position: relative;
  padding-left: 17px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.65;
}

.application-card-content li::before {
  position: absolute;
  top: .72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.application-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 25px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.application-tools span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-muted);
  font-size: 9px;
}

.application-index {
  position: absolute;
  z-index: -1;
  right: 5px;
  bottom: -55px;
  color: rgba(229, 9, 32, .045);
  font-family: var(--font-display);
  font-size: 180px;
  font-weight: 700;
  letter-spacing: -.12em;
  line-height: 1;
  pointer-events: none;
}

.applications-note {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  margin-top: 28px;
  padding: 22px 25px;
  border: 1px solid rgba(229, 9, 32, .2);
  border-radius: var(--radius-small);
  background: var(--red-pale);
}

.note-mark {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--red);
  font-family: var(--font-mono);
  font-size: 12px;
}

.applications-note p {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.85;
}

.applications-note strong {
  color: var(--ink);
}

/* ------------------------------------------------------------
   10. METHOD
   ------------------------------------------------------------ */

.method {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  border-top: 1px solid var(--line);
  background: #f0eeeb;
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(45px, 9vw, 140px);
}

.method-intro {
  align-self: start;
  max-width: 460px;
}

.method-symbol {
  display: grid;
  width: 180px;
  height: 180px;
  margin-bottom: 40px;
  place-items: center;
  border: 1px solid rgba(229, 9, 32, .24);
  border-radius: 50%;
  color: var(--red);
  background: rgba(255, 255, 255, .32);
}

.method-symbol svg {
  width: 100%;
  height: 100%;
  padding: 14px;
}

.method-intro h3 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.3vw, 43px);
  font-weight: 500;
  letter-spacing: -.07em;
  line-height: 1.05;
}

.method-intro > p:not(.eyebrow) {
  margin-bottom: 25px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 2;
}

.method-steps {
  border-top: 1px solid var(--line-dark);
}

.method-step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 25px;
  align-items: start;
  gap: 20px;
  padding: 29px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: padding var(--transition);
}

.method-step:hover {
  padding-right: 8px;
  padding-left: 8px;
}

.method-step-number {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 12px;
  transition: color var(--transition), background var(--transition);
}

.method-step:hover .method-step-number {
  color: white;
  background: var(--red);
}

.method-step .eyebrow {
  margin-bottom: 7px;
  font-size: 8px;
}

.method-step h3 {
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -.045em;
}

.method-step p:not(.eyebrow) {
  max-width: 490px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.85;
}

.method-step-arrow {
  padding-top: 9px;
  color: var(--red);
  font-size: 19px;
}

.method-statement {
  position: relative;
  margin-top: 105px;
  padding: 40px 45px;
  overflow: hidden;
  border: 1px solid rgba(229, 9, 32, .2);
  border-radius: var(--radius-medium);
  background:
    radial-gradient(ellipse at 90% 50%, rgba(229, 9, 32, .09), transparent 40%),
    rgba(255, 255, 255, .4);
}

.method-statement > .mono {
  color: var(--red);
  font-size: 8px;
}

.method-statement > p {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-size: clamp(25px, 4vw, 49px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: 1.15;
}

.method-statement > p strong {
  color: var(--red);
  font-weight: 600;
}

.method-statement-mark {
  position: absolute;
  right: 25px;
  bottom: -135px;
  color: rgba(229, 9, 32, .07);
  font-family: Georgia, serif;
  font-size: 350px;
  line-height: 1;
}

/* ------------------------------------------------------------
   11. CLOSING SECTION
   ------------------------------------------------------------ */

.closing {
  display: flex;
  min-height: 660px;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 90px;
  overflow: hidden;
  color: white;
  background: #20070b;
  isolation: isolate;
}

.closing-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background: #24070b;
}

.closing-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 15%, rgba(255, 36, 57, .75), transparent 38%),
    radial-gradient(ellipse at 88% 75%, rgba(190, 5, 26, .7), transparent 44%),
    linear-gradient(120deg, #27070c 0%, #7c0717 44%, #e50920 100%);
}

.closing-grid {
  opacity: .35;
  background-image:
    linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  mask-image: linear-gradient(90deg, transparent, black 70%);
}

.closing-background svg {
  position: absolute;
  top: -5%;
  right: -6%;
  width: min(64vw, 760px);
  color: rgba(255, 255, 255, .36);
}

.closing-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
}

.closing-content .eyebrow {
  color: #ffbdc4;
}

.closing-content .eyebrow i {
  background: white;
}

.closing-content h2 {
  margin-bottom: 27px;
  font-family: var(--font-display);
  font-size: clamp(48px, 8.2vw, 105px);
  font-weight: 500;
  letter-spacing: -.09em;
  line-height: .93;
}

.closing-content h2 span {
  color: #ff8792;
}

.closing-content > p:not(.eyebrow) {
  max-width: 460px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
  line-height: 1.95;
}

.button-light {
  border-color: white;
  color: var(--red-deep);
  background: white;
}

.button-light:hover {
  border-color: white;
  color: white;
  background: transparent;
}

.closing-side-label {
  position: absolute;
  right: var(--gutter);
  bottom: 50px;
  color: rgba(255, 255, 255, .65);
  font-size: 8px;
  line-height: 1.8;
  text-align: right;
}

/* ------------------------------------------------------------
   12. FOOTER
   ------------------------------------------------------------ */

.site-footer {
  position: relative;
  overflow: hidden;
  color: white;
  background: #19070a;
  isolation: isolate;
}

.site-footer::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(255, 41, 60, .95), transparent 35%),
    radial-gradient(ellipse at 95% 60%, rgba(198, 5, 27, .82), transparent 44%),
    linear-gradient(115deg, #8c0617, #3a060d 47%, #d70a20);
  content: "";
}

.site-footer::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent, black);
  content: "";
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr .75fr .85fr .85fr;
  gap: clamp(35px, 6vw, 90px);
  max-width: var(--container);
  margin-inline: auto;
  padding: 82px var(--gutter) 70px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.06em;
}

.footer-brand sup {
  font-size: 8px;
}

.footer-brand-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  font-size: 22px;
  letter-spacing: -.08em;
}

.footer-brand-block > p {
  margin-top: 23px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .75);
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -.045em;
  line-height: 1.3;
}

.footer-location {
  color: rgba(255, 255, 255, .62);
  font-size: 8px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-heading {
  margin-bottom: 13px;
  color: rgba(255, 255, 255, .6);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
}

.footer-column > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  transition: color var(--transition), transform var(--transition);
}

.footer-column > a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-socials > a span {
  color: #ff9ba5;
  transition: transform var(--transition);
}

.footer-socials > a:hover span {
  transform: translate(2px, -2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 22px var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .67);
  font-size: 9px;
}

.footer-bottom .mono {
  font-size: 8px;
}

.footer-bottom > a {
  color: white;
  font-family: var(--font-mono);
  font-size: 8px;
  transition: color var(--transition);
}

.footer-bottom > a:hover {
  color: #ffadb6;
}

/* ------------------------------------------------------------
   13. INDIVIDUAL AI PAGES
   ------------------------------------------------------------ */

body.detail-open {
  background: var(--paper);
}

.detail-page {
  min-height: 80vh;
  padding-top: 35px;
  padding-bottom: 100px;
  animation: pageAppear 450ms var(--ease) both;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 40px;
  color: var(--ink-muted);
  font-size: 12px;
  transition: color var(--transition);
}

.detail-back:hover {
  color: var(--red);
}

.detail-back span {
  color: var(--red);
  font-size: 19px;
}

.detail-hero {
  position: relative;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 0 30px;
  padding: clamp(28px, 5vw, 68px);
  overflow: hidden;
  border: 1px solid rgba(229, 9, 32, .24);
  border-radius: var(--radius-large);
  background:
    radial-gradient(ellipse at 95% 10%, rgba(229, 9, 32, .13), transparent 45%),
    linear-gradient(140deg, #fffefd, #f1eeeb);
}

.detail-hero::after {
  position: absolute;
  right: -90px;
  bottom: -210px;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(229, 9, 32, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(229, 9, 32, .025),
    0 0 0 65px rgba(229, 9, 32, .02);
  content: "";
  pointer-events: none;
}

.detail-hero > .tool-logo {
  grid-row: 1 / span 4;
  width: 85px;
  height: 85px;
  border-radius: 20px;
  font-size: 24px;
  box-shadow: var(--shadow-card);
}

.detail-hero > .tool-logo img {
  width: 43px;
  height: 43px;
}

.detail-hero .eyebrow {
  margin: 0 0 15px;
}

.detail-hero h1 {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(43px, 7vw, 88px);
  font-weight: 600;
  letter-spacing: -.085em;
  line-height: .98;
  overflow-wrap: anywhere;
}

.detail-hero > p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.detail-tag {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 31px;
}

.detail-actions .button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--red);
  border-radius: var(--radius-small);
  color: white;
  background: var(--red);
  font-size: 12px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.detail-actions .button-primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
}

.detail-secondary {
  color: var(--ink-soft);
  font-size: 12px;
  transition: color var(--transition);
}

.detail-secondary:hover {
  color: var(--red);
}

.detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.detail-body > section {
  padding: clamp(23px, 4vw, 40px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-medium);
  background: var(--paper-bright);
}

.detail-body .eyebrow {
  margin-bottom: 18px;
}

.detail-body h2 {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: 1.1;
}

.detail-body h2:not(:first-of-type) {
  margin-top: 34px;
}

.detail-body p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.detail-body ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-body li {
  position: relative;
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}

.detail-body li:last-child {
  border-bottom: 0;
}

.detail-body li::before {
  position: absolute;
  top: 22px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.detail-related {
  margin-top: 85px;
}

.detail-related > .eyebrow {
  margin-bottom: 12px;
}

.detail-related > h2 {
  margin-bottom: 30px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -.07em;
}

.detail-related .tool-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-related .tool-card {
  min-height: 245px;
  padding: 18px;
}

.detail-related .tool-card-content h3 {
  font-size: 19px;
}

.detail-notice {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.9;
}

/* ------------------------------------------------------------
   14. REVEAL ANIMATIONS
   ------------------------------------------------------------ */

.reveal {
  opacity: 1;
  transform: none;
}

body.reveal-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

body.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

@keyframes lionFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes pageAppear {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------------------------
   15. RESPONSIVE — LARGE TABLETS
   ------------------------------------------------------------ */

@media (max-width: 1100px) {
  :root {
    --gutter: clamp(24px, 4vw, 48px);
    --section-space: 112px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
    gap: 24px;
  }

  .hero-title {
    font-size: clamp(68px, 10vw, 115px);
  }

  .hero-art {
    width: 100%;
  }

  .section-heading {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 22px;
  }

  .section-number {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }

  .section-code {
    grid-column: 2;
    padding-top: 0;
  }

  .manifesto-grid {
    gap: 50px;
  }

  .tool-grid,
  .application-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .application-card {
    min-height: 545px;
  }

  .detail-related .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

/* ------------------------------------------------------------
   16. RESPONSIVE — TABLETS AND MOBILE NAVIGATION
   ------------------------------------------------------------ */

@media (max-width: 760px) {
  :root {
    --gutter: 22px;
    --section-space: 88px;
  }

  html {
    scroll-padding-top: 78px;
  }

  .header-inner {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--gutter) 24px;
    border-bottom: 1px solid var(--line-dark);
    background: rgba(248, 247, 245, .98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition),
      visibility var(--transition);
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav > a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .nav-cta {
    justify-content: space-between;
    margin-top: 12px;
    padding: 13px 15px;
    border: 1px solid var(--line-dark);
  }

  .hero {
    min-height: auto;
    padding-top: 22px;
  }

  .hero-topline {
    align-items: flex-start;
  }

  .hero-topline .eyebrow {
    max-width: 250px;
    font-size: 8px;
  }

  .hero-topline .mono {
    max-width: 100px;
    font-size: 7px;
    text-align: right;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-top: 70px;
    padding-bottom: 30px;
  }

  .hero-title {
    font-size: clamp(68px, 14.4vw, 108px);
  }

  .hero-kicker {
    font-size: 12px;
  }

  .hero-description {
    max-width: 590px;
  }

  .hero-art {
    width: min(100%, 460px);
    justify-self: center;
    margin-top: 8px;
  }

  .hero-organic {
    width: 55vw;
  }

  .hero-bottom-center {
    display: none;
  }

  .section-heading {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 17px;
    margin-bottom: 45px;
  }

  .section-number {
    width: 45px;
    height: 45px;
    font-size: 17px;
  }

  .section-heading .eyebrow {
    font-size: 8px;
  }

  .section-heading h2 {
    font-size: clamp(34px, 7.8vw, 54px);
  }

  .section-intro {
    font-size: 13px;
  }

  .section-code {
    font-size: 8px;
  }

  .manifesto-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 60px;
  }

  .manifesto-copy {
    max-width: 620px;
  }

  .manifesto-image-frame {
    min-height: 400px;
  }

  .manifesto-side-note {
    right: -13px;
  }

  .manifesto-data {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 65px;
  }

  .data-item {
    min-height: 160px;
    padding: 22px 14px 22px 0;
  }

  .data-item + .data-item {
    padding-left: 16px;
  }

  .data-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .data-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .ecosystem-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-wrap {
    width: 100%;
  }

  .tool-grid,
  .application-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-card {
    min-height: 270px;
    padding: 18px;
  }

  .tool-category {
    max-width: 100px;
    font-size: 7px;
  }

  .tool-card-content {
    padding-top: 23px;
  }

  .tool-card-content h3 {
    font-size: 20px;
  }

  .tool-card-content p {
    font-size: 11px;
  }

  .application-card {
    min-height: 550px;
    padding: 17px;
  }

  .application-graphic {
    height: 130px;
  }

  .application-card-content h3 {
    font-size: 24px;
  }

  .method-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 55px;
  }

  .method-intro {
    max-width: 620px;
  }

  .method-symbol {
    width: 140px;
    height: 140px;
    margin-bottom: 30px;
  }

  .method-statement {
    margin-top: 75px;
    padding: 30px 24px;
  }

  .closing {
    min-height: 590px;
  }

  .closing-background svg {
    top: 15%;
    right: -35%;
    width: 90vw;
    opacity: .6;
  }

  .closing-content h2 {
    font-size: clamp(49px, 10vw, 76px);
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 28px;
    padding-top: 60px;
    padding-bottom: 48px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }

  .footer-bottom .mono {
    display: none;
  }

  .detail-hero {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 0 18px;
    padding: 28px 22px;
  }

  .detail-hero > .tool-logo {
    width: 60px;
    height: 60px;
    border-radius: 13px;
  }

  .detail-hero > .tool-logo img {
    width: 32px;
    height: 32px;
  }

  .detail-hero h1 {
    font-size: clamp(39px, 9vw, 65px);
  }

  .detail-hero > p:not(.eyebrow),
  .detail-meta,
  .detail-actions {
    grid-column: 1 / -1;
  }

  .detail-hero > p:not(.eyebrow) {
    margin-top: 26px;
  }

  .detail-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-related .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------
   17. RESPONSIVE — SMALL MOBILE
   ------------------------------------------------------------ */

@media (max-width: 480px) {
  :root {
    --gutter: 17px;
    --section-space: 74px;
  }

  body {
    font-size: 14px;
  }

  .brand-symbol {
    width: 36px;
    height: 36px;
  }

  .brand-wordmark strong {
    font-size: 15px;
  }

  .hero-topline .mono {
    display: none;
  }

  .hero-title {
    margin-left: -4px;
    font-size: clamp(59px, 14.3vw, 78px);
  }

  .hero-title sup {
    top: -11px;
    right: -19px;
    font-size: 12px;
  }

  .hero-subline p {
    font-size: 20px;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: space-between;
  }

  .hero-footnote {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 32px;
  }

  .hero-art {
    width: 110%;
    margin-left: -5%;
  }

  .art-coordinate {
    right: 5%;
    font-size: 7px;
  }

  .art-side-label {
    right: 0;
    font-size: 7px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .section-number {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .section-heading h2 {
    font-size: clamp(33px, 9vw, 44px);
  }

  .section-code {
    grid-column: 1;
  }

  .manifesto-copy h3 {
    font-size: 34px;
  }

  .manifesto-image-frame {
    min-height: 340px;
  }

  .manifesto-image-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .manifesto-data {
    margin-top: 55px;
  }

  .data-item strong {
    font-size: 21px;
  }

  .data-item p {
    font-size: 11px;
  }

  .filter-list {
    gap: 6px;
  }

  .filter-button {
    gap: 7px;
    min-height: 34px;
    padding: 6px 9px;
    font-size: 10px;
  }

  .tool-grid,
  .application-grid,
  .detail-related .tool-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-card {
    min-height: 240px;
    padding: 21px;
  }

  .tool-card-content {
    padding-top: 22px;
  }

  .application-card {
    min-height: auto;
    padding: 20px;
  }

  .application-graphic {
    height: 155px;
  }

  .application-card-content h3 {
    max-width: 290px;
    font-size: 27px;
  }

  .application-card-content ul {
    gap: 10px;
  }

  .applications-note {
    padding: 18px 15px;
  }

  .method-step {
    grid-template-columns: 43px minmax(0, 1fr) 15px;
    gap: 12px;
  }

  .method-step-number {
    width: 40px;
    height: 40px;
    font-size: 10px;
  }

  .method-step h3 {
    font-size: 21px;
  }

  .method-statement {
    padding: 26px 19px;
  }

  .closing {
    min-height: 560px;
  }

  .closing-content h2 {
    font-size: clamp(44px, 12vw, 60px);
  }

  .closing-side-label {
    right: var(--gutter);
    bottom: 25px;
    font-size: 7px;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-top: 50px;
  }

  .footer-brand-block {
    grid-column: auto;
  }

  .footer-column {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .18);
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .detail-page {
    padding-top: 25px;
  }

  .detail-back {
    margin-bottom: 25px;
  }

  .detail-hero {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 0 14px;
    padding: 22px 16px;
    border-radius: var(--radius-medium);
  }

  .detail-hero > .tool-logo {
    width: 49px;
    height: 49px;
    font-size: 15px;
  }

  .detail-hero > .tool-logo img {
    width: 27px;
    height: 27px;
  }

  .detail-hero .eyebrow {
    font-size: 7px;
    overflow-wrap: anywhere;
  }

  .detail-hero h1 {
    font-size: clamp(33px, 9.5vw, 46px);
  }

  .detail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-actions .button-primary {
    width: 100%;
  }

  .detail-body > section {
    padding: 23px 18px;
  }

  .detail-related {
    margin-top: 60px;
  }

  .detail-related .tool-card {
    min-height: 220px;
  }
}

/* ------------------------------------------------------------
   18. ACCESSIBILITY AND MOTION
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  body.reveal-ready .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------
   19. HIGH CONTRAST / PRINT
   ------------------------------------------------------------ */

@media (forced-colors: active) {
  .button,
  .filter-button,
  .tool-card,
  .application-card {
    border: 1px solid ButtonText;
  }

  .hero-title-accent,
  .section-heading h2 span {
    color: CanvasText;
  }
}

@media print {
  .site-header,
  .reading-progress,
  .hero-actions,
  .search-wrap,
  .filter-list,
  .site-footer,
  .closing {
    display: none !important;
  }

  body,
  .ecosystem,
  .method {
    color: black;
    background: white;
  }

  .section-shell {
    max-width: none;
    padding: 20px;
  }

  .tool-card,
  .application-card {
    break-inside: avoid;
    box-shadow: none;
  }
}


/* ============================================================
   LIONMIND — ADVANCED AI PROFILE COMPONENTS
   ============================================================ */

.detail-overview {
  margin-top: 24px;
  padding: clamp(25px, 4.5vw, 55px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-medium);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(229, 9, 32, .07), transparent 40%),
    var(--paper-bright);
}

.detail-overview h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: 1.05;
}

.detail-overview > p:not(.eyebrow) {
  max-width: 800px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 2;
}

.detail-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.detail-stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 15px 0 0;
}

.detail-stat + .detail-stat {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.detail-stat > span {
  color: var(--ink-muted);
  font-size: 8px;
}

.detail-stat strong {
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 500;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.detail-content-section {
  position: relative;
  margin-top: 24px;
  padding: clamp(25px, 4.5vw, 55px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-medium);
  background: var(--paper-bright);
}

.detail-section-number {
  position: absolute;
  top: 24px;
  right: 27px;
  color: rgba(229, 9, 32, .24);
  font-size: 11px;
}

.detail-content-section > .eyebrow {
  margin-bottom: 15px;
}

.detail-content-section > h2 {
  max-width: 850px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.3vw, 49px);
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: 1.05;
}

.detail-section-intro {
  max-width: 760px;
  margin-bottom: 30px;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.9;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 35px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding: 17px 0 17px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}

.detail-list li::before {
  position: absolute;
  top: 25px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.detail-use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.detail-use-card {
  min-height: 145px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: #faf8f6;
  transition: border-color var(--transition), transform var(--transition);
}

.detail-use-card:hover {
  border-color: rgba(229, 9, 32, .45);
  transform: translateY(-3px);
}

.detail-use-number {
  display: block;
  margin-bottom: 24px;
  color: var(--red);
  font-size: 9px;
}

.detail-use-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}

.detail-workflow {
  margin-top: 30px;
  border-top: 1px solid var(--line-dark);
}

.detail-workflow-step {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.detail-workflow-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(229, 9, 32, .35);
  border-radius: 50%;
  color: var(--red);
  font-size: 10px;
}

.detail-workflow-step p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.detail-limitations {
  border-color: rgba(229, 9, 32, .23);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(229, 9, 32, .06), transparent 45%),
    #fffafa;
}

.detail-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 25px;
}

.detail-check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 70px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: #faf8f6;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.detail-check-row:has(input:checked) {
  border-color: rgba(229, 9, 32, .4);
  background: var(--red-pale);
}

.detail-check-row input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 3px 0 0;
  accent-color: var(--red);
}

.detail-check-row span {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.8;
}

.detail-related {
  padding-top: 75px;
}

.detail-related > .detail-section-intro {
  margin-bottom: 30px;
}

.detail-related .tool-card-compact {
  min-height: 235px;
}

.detail-notice {
  max-width: 920px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.9;
}

@media (max-width: 760px) {
  .detail-stat-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-stat {
    padding: 16px 0;
  }

  .detail-stat + .detail-stat {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .detail-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-checklist {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .detail-content-section,
  .detail-overview {
    padding: 23px 17px;
  }

  .detail-use-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-use-card {
    min-height: 115px;
  }

  .detail-workflow-step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .detail-section-number {
    top: 20px;
    right: 18px;
  }
}

/* ==========================================================
   LIONMIND® — CINEMATIC GEOMETRIC INTRO
   Porcelain / Editorial Red / Soft Motion
   ========================================================== */

.lm-intro,
.lm-intro * {
  box-sizing: border-box;
}

.lm-intro {
  --lm-paper: #f8f7f5;
  --lm-white: #fffefd;
  --lm-ink: #181715;
  --lm-muted: #817b76;
  --lm-red: #e23a32;
  --lm-red-dark: #b82125;
  --lm-red-light: #ff7770;
  --lm-line: rgba(32, 25, 22, 0.09);

  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  isolation: isolate;
  display: block;
  background: var(--lm-paper);
  color: var(--lm-ink);
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 850ms cubic-bezier(.22, 1, .36, 1),
    visibility 850ms;
}

.lm-intro.is-finishing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lm-intro.is-finished {
  display: none;
}

.lm-intro-grain {
  position: absolute;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  animation: lm-grain-drift 1.1s steps(3) infinite;
}

.lm-intro-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(to right, transparent calc(100% - 1px), var(--lm-line) 1px),
    linear-gradient(to bottom, transparent calc(100% - 1px), var(--lm-line) 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.lm-intro-glow {
  position: absolute;
  width: min(43vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(65px);
  opacity: .16;
  z-index: 0;
}

.lm-intro-glow-left {
  top: 22%;
  left: -19%;
  background: radial-gradient(circle, #ff9189 0%, #ffdad5 37%, transparent 72%);
  animation: lm-glow-breathe 4s ease-in-out infinite alternate;
}

.lm-intro-glow-right {
  right: -19%;
  bottom: -16%;
  background: radial-gradient(circle, #e94a40 0%, #ffd8d3 38%, transparent 72%);
  animation: lm-glow-breathe 4.8s ease-in-out infinite alternate-reverse;
}

/* Cabeçalho e rodapé */

.lm-intro-topline,
.lm-intro-footer {
  position: absolute;
  z-index: 30;
  left: clamp(22px, 5vw, 76px);
  right: clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lm-intro-topline {
  top: clamp(22px, 4vh, 42px);
}

.lm-intro-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .19em;
}

.lm-intro-brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lm-red);
  box-shadow: 0 0 14px rgba(226, 58, 50, .4);
  animation: lm-status-pulse 1.6s ease-in-out infinite;
}

.lm-intro-brand-reg {
  align-self: flex-start;
  margin-left: -8px;
  font-size: 8px;
  color: var(--lm-red);
}

.lm-intro-edition,
.lm-intro-footer {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .13em;
  color: var(--lm-muted);
}

.lm-intro-footer {
  bottom: clamp(22px, 4vh, 42px);
  gap: 20px;
}

.lm-intro-footer-right {
  white-space: nowrap;
}

.lm-intro-footer-right span {
  color: var(--lm-red);
  padding: 0 4px;
}

.lm-intro-skip {
  position: absolute;
  top: clamp(62px, 8vh, 86px);
  right: clamp(22px, 5vw, 76px);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 10px 12px;
  border: 0;
  background: transparent;
  color: #68615c;
  font: 500 11px "DM Sans", sans-serif;
  cursor: pointer;
  transition: color .2s ease;
}

.lm-intro-skip:hover {
  color: var(--lm-red);
}

.lm-intro-skip span {
  display: inline-block;
  color: var(--lm-red);
  transition: transform .25s ease;
}

.lm-intro-skip:hover span {
  transform: translate(3px, -3px);
}

/* ==========================================================
   GEOMETRIA MUTÁVEL
   ========================================================== */

.lm-intro-geometry {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: min(33vw, 430px);
  height: min(55vh, 440px);
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0;
}

.lm-intro-geometry-left {
  left: 1.5%;
  animation: lm-geometry-enter-left 1s .35s cubic-bezier(.22, 1, .36, 1) forwards;
}

.lm-intro-geometry-right {
  right: 1.5%;
  animation: lm-geometry-enter-right 1s .45s cubic-bezier(.22, 1, .36, 1) forwards;
}

.lm-intro-shape {
  --shape-size: 74px;
  --shape-x: 50%;
  --shape-y: 50%;
  --shape-delay: 0s;

  position: absolute;
  left: var(--shape-x);
  top: var(--shape-y);
  width: var(--shape-size);
  height: var(--shape-size);
  display: grid;
  place-items: center;
  border: 1px solid rgba(213, 61, 53, .35);
  background: linear-gradient(145deg, rgba(255,255,255,.8), rgba(255,230,226,.35));
  box-shadow:
    inset 0 0 24px rgba(255,255,255,.65),
    0 10px 35px rgba(173, 56, 48, .045);
  transform: translate(-50%, -50%) rotate(0deg) scale(.7);
  opacity: 0;
  animation:
    lm-shape-float 4.5s var(--shape-delay) ease-in-out infinite,
    lm-shape-appear .8s var(--shape-delay) cubic-bezier(.2, .8, .2, 1) forwards;
  transition:
    border-radius 700ms cubic-bezier(.22, 1, .36, 1),
    clip-path 700ms cubic-bezier(.22, 1, .36, 1),
    background 700ms ease,
    border-color 700ms ease,
    box-shadow 700ms ease,
    filter 700ms ease;
  will-change: transform, border-radius, clip-path;
}

.lm-intro-shape span {
  width: 27%;
  height: 27%;
  border: 1px solid rgba(205, 48, 43, .55);
  border-radius: 50%;
  background: rgba(226, 58, 50, .12);
  box-shadow: 0 0 18px rgba(226, 58, 50, .14);
  transition:
    border-radius 600ms ease,
    transform 600ms ease,
    background 600ms ease;
}

/* Posicionamento individual */

.shape-1 {
  --shape-x: 28%;
  --shape-y: 23%;
  --shape-size: 82px;
  --shape-delay: .3s;
  border-radius: 50%;
}

.shape-2 {
  --shape-x: 68%;
  --shape-y: 39%;
  --shape-size: 62px;
  --shape-delay: .55s;
  border-radius: 15px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.shape-3 {
  --shape-x: 40%;
  --shape-y: 73%;
  --shape-size: 92px;
  --shape-delay: .7s;
  border-radius: 50% 50% 12% 12%;
}

.shape-4 {
  --shape-x: 68%;
  --shape-y: 22%;
  --shape-size: 72px;
  --shape-delay: .4s;
  border-radius: 14px;
}

.shape-5 {
  --shape-x: 30%;
  --shape-y: 52%;
  --shape-size: 94px;
  --shape-delay: .65s;
  border-radius: 50%;
}

.shape-6 {
  --shape-x: 63%;
  --shape-y: 78%;
  --shape-size: 64px;
  --shape-delay: .8s;
  border-radius: 50% 10% 50% 10%;
}

/* Estados geométricos que o JS alterna */

.lm-intro.geometry-phase-two .lm-intro-shape {
  border-radius: 8px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,215,209,.65));
  border-color: rgba(226, 58, 50, .55);
  box-shadow:
    inset 0 0 18px rgba(255,255,255,.8),
    0 0 30px rgba(226, 58, 50, .08);
}

.lm-intro.geometry-phase-two .lm-intro-shape span {
  border-radius: 3px;
  transform: rotate(45deg) scale(.7);
  background: rgba(226, 58, 50, .2);
}

.lm-intro.geometry-phase-three .lm-intro-shape {
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  border-radius: 0;
  background: rgba(255, 246, 244, .88);
}

.lm-intro.geometry-phase-three .lm-intro-shape span {
  border-radius: 50%;
  transform: scale(1.2);
  background: var(--lm-red);
}

.lm-intro.geometry-phase-four .lm-intro-shape {
  clip-path: none;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(244,180,173,.28));
}

.lm-intro.geometry-phase-four .lm-intro-shape span {
  transform: scale(.55);
  background: rgba(226, 58, 50, .2);
}

/* Linhas de conexão */

.lm-intro-connections {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  animation: lm-connections-enter .8s 1s ease forwards;
}

.lm-intro-connection {
  fill: none;
  stroke: rgba(219, 66, 57, .22);
  stroke-width: 1.2;
  stroke-dasharray: 5 9;
  stroke-linecap: round;
  animation: lm-line-flow 5s linear infinite;
}

.lm-connection-2 {
  animation-delay: -.8s;
}

.lm-connection-3 {
  animation-delay: -1.5s;
}

.lm-connection-4 {
  animation-delay: -2.1s;
}

/* ==========================================================
   ROBÔ
   ========================================================== */

.lm-intro-robot-stage {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  width: 240px;
  height: 370px;
  transform: translate(-50%, -46%);
  opacity: 0;
  animation: lm-robot-arrive 1.15s .25s cubic-bezier(.2, .8, .2, 1) forwards;
}

.lm-intro-robot {
  position: absolute;
  inset: 0;
  transform-origin: 50% 68%;
  animation: lm-robot-idle 3.2s 1.2s ease-in-out infinite;
  filter: drop-shadow(0 15px 18px rgba(65, 31, 28, .07));
}

.lm-intro-robot-shadow {
  position: absolute;
  width: 145px;
  height: 22px;
  left: 50%;
  bottom: 17px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(106, 49, 44, .13);
  filter: blur(12px);
  animation: lm-shadow-breathe 3.2s ease-in-out infinite;
}

.lm-robot-antenna {
  position: absolute;
  left: 50%;
  top: 5px;
  width: 4px;
  height: 30px;
  border-radius: 4px;
  background: linear-gradient(to top, #b6aaa5, #fff);
  transform: translateX(-50%);
}

.lm-robot-antenna-light {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--lm-red);
  box-shadow: 0 0 16px rgba(226, 58, 50, .7);
  animation: lm-status-pulse 1.4s ease-in-out infinite;
}

.lm-robot-head {
  position: absolute;
  width: 112px;
  height: 91px;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(111, 82, 74, .17);
  border-radius: 32px 32px 27px 27px;
  background: linear-gradient(145deg, #fffefd 8%, #f5f0ed 60%, #e8dfda);
  box-shadow:
    inset 4px 4px 10px rgba(255,255,255,.95),
    inset -5px -7px 12px rgba(170, 140, 130, .13),
    0 12px 24px rgba(89, 52, 46, .08);
  z-index: 3;
  animation: lm-robot-head-tilt 4.2s 1.4s ease-in-out infinite;
}

.lm-robot-ear {
  position: absolute;
  top: 28px;
  width: 10px;
  height: 30px;
  border-radius: 5px;
  background: linear-gradient(90deg, #d6c9c2, #fff);
  border: 1px solid rgba(120, 80, 70, .12);
}

.lm-robot-ear-left {
  left: -8px;
}

.lm-robot-ear-right {
  right: -8px;
}

.lm-robot-face {
  position: absolute;
  inset: 12px 10px 11px;
  border-radius: 23px;
  background: linear-gradient(155deg, #282525, #141313);
  box-shadow:
    inset 0 2px 8px rgba(255,255,255,.09),
    0 0 0 1px rgba(255,255,255,.3);
}

.lm-robot-eye {
  position: absolute;
  top: 26px;
  width: 12px;
  height: 15px;
  border-radius: 50%;
  background: #ff7169;
  box-shadow:
    0 0 8px rgba(255, 80, 70, .75),
    0 0 20px rgba(255, 80, 70, .25);
  animation: lm-robot-blink 4.3s 1.5s infinite;
}

.lm-robot-eye-left {
  left: 19px;
}

.lm-robot-eye-right {
  right: 19px;
}

.lm-robot-mouth {
  position: absolute;
  width: 17px;
  height: 3px;
  left: 50%;
  bottom: 17px;
  transform: translateX(-50%);
  border-radius: 5px;
  background: rgba(255, 123, 115, .75);
  box-shadow: 0 0 8px rgba(255, 85, 76, .35);
}

.lm-robot-cheek {
  position: absolute;
  bottom: 22px;
  width: 9px;
  height: 4px;
  border-radius: 50%;
  background: rgba(239, 105, 95, .2);
}

.lm-robot-cheek-left {
  left: 18px;
}

.lm-robot-cheek-right {
  right: 18px;
}

.lm-robot-neck {
  position: absolute;
  width: 31px;
  height: 19px;
  top: 113px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 7px;
  background: linear-gradient(90deg, #d2c5be, #fff, #d7c8c0);
}

.lm-robot-body {
  position: absolute;
  width: 104px;
  height: 119px;
  top: 126px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 28px 28px 22px 22px;
  border: 1px solid rgba(111, 82, 74, .16);
  background: linear-gradient(145deg, #fffefd 5%, #f2ece8 62%, #e5dad4);
  box-shadow:
    inset 4px 4px 12px rgba(255,255,255,.9),
    inset -5px -6px 12px rgba(170, 140, 130, .12),
    0 10px 20px rgba(89, 52, 46, .05);
}

.lm-robot-chest {
  position: absolute;
  width: 36px;
  height: 36px;
  left: 50%;
  top: 25px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(226, 58, 50, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
}

.lm-robot-chest-core {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lm-red);
  box-shadow: 0 0 12px rgba(226, 58, 50, .55);
  animation: lm-core-pulse 1.8s ease-in-out infinite;
}

.lm-robot-chest-ring {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(226, 58, 50, .27);
  border-radius: 50%;
}

.lm-robot-body-line {
  position: absolute;
  width: 33px;
  height: 3px;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: rgba(173, 151, 140, .3);
}

.lm-robot-arm {
  position: absolute;
  top: 142px;
  width: 27px;
  height: 84px;
  border-radius: 15px;
  border: 1px solid rgba(111, 82, 74, .15);
  background: linear-gradient(90deg, #e3d8d2, #fffefd, #e6dbd5);
  transform-origin: 50% 12px;
  z-index: 2;
}

.lm-robot-arm-left {
  left: 47px;
  transform: rotate(13deg);
  animation: lm-robot-wave-left 3.8s 1.8s ease-in-out infinite;
}

.lm-robot-arm-right {
  right: 47px;
  transform: rotate(-13deg);
  animation: lm-robot-wave-right 3.8s 2s ease-in-out infinite;
}

.lm-robot-joint {
  position: absolute;
  width: 19px;
  height: 19px;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(111, 82, 74, .12);
  background: linear-gradient(145deg, #fff, #e6d9d2);
}

.lm-robot-hand {
  position: absolute;
  width: 25px;
  height: 22px;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  border-radius: 9px 9px 12px 12px;
  border: 1px solid rgba(111, 82, 74, .12);
  background: linear-gradient(145deg, #fffefd, #e6dad3);
}

.lm-robot-leg {
  position: absolute;
  top: 230px;
  width: 30px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(90deg, #e0d4ce, #fffefd, #e4d9d3);
  border: 1px solid rgba(111, 82, 74, .12);
}

.lm-robot-leg-left {
  left: 88px;
}

.lm-robot-leg-right {
  right: 88px;
}

.lm-robot-foot {
  position: absolute;
  top: 271px;
  width: 41px;
  height: 18px;
  border-radius: 9px 13px 8px 8px;
  background: linear-gradient(145deg, #fffefd, #e6dad3);
  border: 1px solid rgba(111, 82, 74, .12);
}

.lm-robot-foot-left {
  left: 76px;
}

.lm-robot-foot-right {
  right: 76px;
}

.lm-intro-robot-caption,
.lm-computer-caption {
  position: absolute;
  left: 50%;
  bottom: -28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: 90vw;
  transform: translateX(-50%);
  white-space: nowrap;
  font: 9px "DM Mono", monospace;
  letter-spacing: .13em;
  color: #8a7e77;
}

.lm-caption-indicator {
  display: inline-block;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lm-red);
  box-shadow: 0 0 9px rgba(226, 58, 50, .4);
}

/* O robô se inclina, olha para os lados e acena */

.lm-intro.robot-interacting .lm-robot-arm-left {
  animation: lm-robot-greet 850ms cubic-bezier(.22, 1, .36, 1) both;
}

.lm-intro.robot-interacting .lm-robot-head {
  animation: lm-robot-look 950ms cubic-bezier(.22, 1, .36, 1) both;
}

.lm-intro.robot-interacting .lm-robot-chest-core {
  animation-duration: .65s;
}

.lm-intro.robot-exiting .lm-intro-robot-stage {
  animation: lm-robot-exit .7s cubic-bezier(.7, 0, .84, 0) forwards;
}

.lm-intro.robot-exiting .lm-intro-geometry {
  animation: lm-geometry-exit .65s ease-in forwards;
}

.lm-intro.robot-exiting .lm-intro-connections {
  animation: lm-fade-out .4s ease forwards;
}

/* ==========================================================
   COMPUTADOR — CENTRALIZADO E SOZINHO
   ========================================================== */

.lm-intro-computer-stage {
  position: absolute;
  z-index: 15;
  left: 50%;
  top: 50%;
  width: min(650px, 76vw);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -43%) scale(.93);
  pointer-events: none;
}

.lm-intro.computer-entering .lm-intro-computer-stage {
  visibility: visible;
  animation: lm-computer-enter 900ms cubic-bezier(.2, .8, .2, 1) forwards;
}

.lm-computer-aura {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 85%;
  aspect-ratio: 1.7;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(234, 70, 60, .14), rgba(255, 222, 217, .12) 43%, transparent 72%);
  filter: blur(25px);
}

.lm-computer {
  position: relative;
  width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 30px 35px rgba(61, 34, 29, .12));
}

.lm-computer-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1.64;
  padding: 11px;
  border: 1px solid rgba(119, 96, 87, .3);
  border-radius: 19px;
  background: linear-gradient(135deg, #fff, #e8e1dd 50%, #fff);
  box-shadow:
    inset 2px 2px 4px rgba(255,255,255,.95),
    inset -3px -3px 6px rgba(147, 124, 115, .16),
    0 15px 35px rgba(84, 52, 44, .1);
}

.lm-computer-camera {
  position: absolute;
  z-index: 5;
  width: 5px;
  height: 5px;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #a49b96;
  box-shadow: 0 0 0 2px rgba(255,255,255,.5);
}

.lm-computer-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #fcfbf9;
  border: 1px solid rgba(35, 29, 26, .14);
  box-shadow: inset 0 0 25px rgba(35, 29, 26, .045);
}

.lm-screen-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 31px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(33, 27, 24, .08);
  background: rgba(255,255,255,.76);
}

.lm-screen-dots {
  display: flex;
  gap: 4px;
}

.lm-screen-dots i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e3d6d0;
}

.lm-screen-dots i:first-child {
  background: #e77d72;
}

.lm-screen-address {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #9a8e87;
  font: 8px "DM Mono", monospace;
}

.lm-screen-status {
  font: 7px "DM Mono", monospace;
  letter-spacing: .1em;
  color: var(--lm-red);
}

.lm-screen-content {
  position: absolute;
  inset: 31px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.lm-screen-search-mark {
  position: relative;
  width: 55px;
  height: 55px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
}

.lm-search-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(226, 58, 50, .35);
  border-radius: 50%;
  animation: lm-search-orbit 2s linear infinite;
}

.lm-search-orbit-two {
  inset: 8px;
  border-style: dashed;
  border-color: rgba(226, 58, 50, .5);
  animation-direction: reverse;
  animation-duration: 3s;
}

.lm-search-center {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lm-red);
  box-shadow: 0 0 19px rgba(226, 58, 50, .35);
}

.lm-screen-search-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
  text-align: center;
  font-size: clamp(10px, 1.4vw, 14px);
  font-weight: 500;
  letter-spacing: -.02em;
}

.lm-screen-search-prefix {
  font: 9px "DM Mono", monospace;
  color: var(--lm-red);
  letter-spacing: .1em;
}

.lm-screen-search-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: min(55%, 250px);
  margin-bottom: 16px;
}

.lm-screen-search-lines span {
  height: 3px;
  border-radius: 10px;
  background: #eee5e1;
  animation: lm-search-lines 1.3s ease-in-out infinite alternate;
}

.lm-screen-search-lines span:nth-child(1) {
  width: 100%;
}

.lm-screen-search-lines span:nth-child(2) {
  width: 74%;
  animation-delay: .15s;
}

.lm-screen-search-lines span:nth-child(3) {
  width: 48%;
  animation-delay: .3s;
}

.lm-screen-search-progress {
  width: min(45%, 200px);
  height: 2px;
  overflow: hidden;
  background: #eaded9;
  border-radius: 5px;
}

.lm-screen-search-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--lm-red);
  box-shadow: 0 0 8px rgba(226, 58, 50, .3);
  transition: width 2.3s cubic-bezier(.2, .8, .2, 1);
}

.lm-intro.searching #lmSearchProgress {
  width: 100%;
}

.lm-screen-logo-reveal {
  position: absolute;
  inset: 31px 0 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 223, 218, .5), transparent 55%),
    #fcfbf9;
  opacity: 0;
  transform: scale(.96);
  visibility: hidden;
  transition:
    opacity 650ms cubic-bezier(.22, 1, .36, 1),
    transform 850ms cubic-bezier(.22, 1, .36, 1),
    visibility 650ms;
}

.lm-intro.logo-revealed .lm-screen-logo-reveal {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.lm-screen-lion-logo {
  display: block;
  width: clamp(52px, 8vw, 90px);
  height: clamp(52px, 8vw, 90px);
  object-fit: contain;
  filter: drop-shadow(0 7px 16px rgba(226, 58, 50, .15));
  animation: lm-logo-arrive 800ms cubic-bezier(.22, 1, .36, 1) both;
}

.lm-screen-logo-name {
  color: var(--lm-ink);
  font-size: clamp(13px, 2.1vw, 21px);
  font-weight: 700;
  letter-spacing: .24em;
  padding-left: .24em;
}

.lm-screen-logo-subtitle {
  color: #968780;
  font: 8px "DM Mono", monospace;
  letter-spacing: .2em;
}

.lm-screen-reflection {
  position: absolute;
  z-index: 8;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 22%, rgba(255,255,255,.19) 43%, transparent 62%);
  transform: translateX(-110%);
}

.lm-intro.searching .lm-screen-reflection {
  animation: lm-screen-reflection 2.5s ease-in-out infinite;
}

.lm-computer-neck {
  position: relative;
  width: 12%;
  height: 30px;
  margin: 0 auto;
  background: linear-gradient(90deg, #d3c8c1, #fff, #d8cbc4);
  border-left: 1px solid rgba(119, 96, 87, .18);
  border-right: 1px solid rgba(119, 96, 87, .18);
}

.lm-computer-stand {
  width: 20%;
  height: 12px;
  margin: -1px auto 0;
  border-radius: 2px 2px 5px 5px;
  background: linear-gradient(180deg, #f8f4f1, #d6cac3);
  border: 1px solid rgba(119, 96, 87, .2);
}

.lm-computer-base {
  width: 40%;
  height: 8px;
  margin: -1px auto 0;
  border-radius: 50% 50% 5px 5px;
  border: 1px solid rgba(119, 96, 87, .2);
  background: linear-gradient(180deg, #fff, #dcd0ca);
  box-shadow: 0 5px 12px rgba(80, 48, 41, .09);
}

.lm-computer-base-light {
  width: 12%;
  height: 2px;
  margin: -5px auto 0;
  position: relative;
  z-index: 2;
  border-radius: 5px;
  background: var(--lm-red);
  box-shadow: 0 0 10px rgba(226, 58, 50, .35);
}

.lm-computer-caption {
  bottom: -36px;
}

/* Flash controlado */

.lm-intro-flash {
  position: absolute;
  z-index: 80;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: #fffefd;
}

.lm-intro.final-flash .lm-intro-flash {
  animation: lm-final-flash 600ms ease-out both;
}

/* ==========================================================
   KEYFRAMES
   ========================================================== */

@keyframes lm-grain-drift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(1%, -1%); }
  50% { transform: translate(-1%, 1%); }
  75% { transform: translate(1%, 1%); }
  100% { transform: translate(0, 0); }
}

@keyframes lm-glow-breathe {
  from { opacity: .1; transform: scale(.92); }
  to { opacity: .24; transform: scale(1.08); }
}

@keyframes lm-status-pulse {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}

@keyframes lm-geometry-enter-left {
  from { opacity: 0; transform: translate(-28px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}

@keyframes lm-geometry-enter-right {
  from { opacity: 0; transform: translate(28px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}

@keyframes lm-shape-appear {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes lm-shape-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(0deg); }
  50% { transform: translate(-50%, -50%) translateY(-12px) rotate(12deg); }
}

@keyframes lm-connections-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lm-line-flow {
  to { stroke-dashoffset: -56; }
}

@keyframes lm-robot-arrive {
  from { opacity: 0; transform: translate(-50%, -40%) scale(.91); }
  to { opacity: 1; transform: translate(-50%, -46%) scale(1); }
}

@keyframes lm-robot-idle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-1deg); }
}

@keyframes lm-shadow-breathe {
  0%, 100% { transform: translateX(-50%) scaleX(1); opacity: .7; }
  50% { transform: translateX(-50%) scaleX(.86); opacity: .45; }
}

@keyframes lm-robot-head-tilt {
  0%, 35%, 100% { rotate: 0deg; }
  45% { rotate: -5deg; }
  58% { rotate: 4deg; }
  70% { rotate: 0deg; }
}

@keyframes lm-robot-blink {
  0%, 43%, 47%, 78%, 82%, 100% { transform: scaleY(1); }
  45%, 80% { transform: scaleY(.12); }
}

@keyframes lm-robot-wave-left {
  0%, 100% { transform: rotate(13deg); }
  50% { transform: rotate(23deg); }
}

@keyframes lm-robot-wave-right {
  0%, 100% { transform: rotate(-13deg); }
  50% { transform: rotate(-5deg); }
}

@keyframes lm-robot-greet {
  0% { transform: rotate(13deg); }
  30% { transform: rotate(-42deg); }
  65% { transform: rotate(-28deg); }
  100% { transform: rotate(13deg); }
}

@keyframes lm-robot-look {
  0% { rotate: 0deg; }
  30% { rotate: -9deg; }
  65% { rotate: 7deg; }
  100% { rotate: 0deg; }
}

@keyframes lm-robot-exit {
  to {
    opacity: 0;
    transform: translate(-50%, -56%) scale(.88);
    filter: blur(7px);
  }
}

@keyframes lm-geometry-exit {
  to { opacity: 0; transform: translateY(-50%) scale(.92); }
}

@keyframes lm-fade-out {
  to { opacity: 0; }
}

@keyframes lm-computer-enter {
  0% {
    opacity: 0;
    transform: translate(-50%, -39%) scale(.94);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -43%) scale(1);
    filter: blur(0);
  }
}

@keyframes lm-search-orbit {
  to { transform: rotate(360deg); }
}

@keyframes lm-search-lines {
  from { opacity: .45; transform: scaleX(.92); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes lm-screen-reflection {
  0% { transform: translateX(-110%); }
  70%, 100% { transform: translateX(110%); }
}

@keyframes lm-logo-arrive {
  from { opacity: 0; transform: translateY(10px) scale(.88); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes lm-final-flash {
  0% { opacity: 0; }
  25% { opacity: .75; }
  100% { opacity: 0; }
}

/* ==========================================================
   RESPONSIVIDADE
   ========================================================== */

@media (max-width: 900px) {
  .lm-intro-geometry {
    width: 30vw;
    height: 42vh;
  }

  .lm-intro-shape {
    --shape-size: 54px;
  }

  .shape-1 { --shape-size: 61px; }
  .shape-2 { --shape-size: 48px; }
  .shape-3 { --shape-size: 66px; }
  .shape-4 { --shape-size: 53px; }
  .shape-5 { --shape-size: 67px; }
  .shape-6 { --shape-size: 46px; }

  .lm-intro-robot-stage {
    transform: translate(-50%, -46%) scale(.83);
  }

  .lm-intro.robot-exiting .lm-intro-robot-stage {
    animation: lm-robot-exit-tablet .7s ease-in forwards;
  }

  .lm-intro-computer-stage {
    width: min(650px, 82vw);
  }
}

@keyframes lm-robot-exit-tablet {
  to {
    opacity: 0;
    transform: translate(-50%, -56%) scale(.73);
    filter: blur(7px);
  }
}

@media (max-width: 600px) {
  .lm-intro-grid {
    background-size: 44px 44px;
  }

  .lm-intro-topline,
  .lm-intro-footer {
    left: 20px;
    right: 20px;
  }

  .lm-intro-topline {
    top: 21px;
  }

  .lm-intro-edition {
    font-size: 7px;
    letter-spacing: .06em;
  }

  .lm-intro-brand {
    font-size: 10px;
    gap: 7px;
  }

  .lm-intro-skip {
    top: 55px;
    right: 20px;
    font-size: 10px;
  }

  .lm-intro-footer {
    bottom: 20px;
    font-size: 7px;
    letter-spacing: .06em;
  }

  .lm-intro-footer-right {
    font-size: 7px;
  }

  .lm-intro-geometry {
    width: 34vw;
    height: 38vh;
    top: 46%;
  }

  .lm-intro-geometry-left {
    left: -5%;
  }

  .lm-intro-geometry-right {
    right: -5%;
  }

  .shape-1 { --shape-size: 42px; }
  .shape-2 { --shape-size: 34px; }
  .shape-3 { --shape-size: 48px; }
  .shape-4 { --shape-size: 37px; }
  .shape-5 { --shape-size: 49px; }
  .shape-6 { --shape-size: 34px; }

  .lm-intro-robot-stage {
    top: 48%;
    transform: translate(-50%, -46%) scale(.68);
  }

  .lm-intro.robot-exiting .lm-intro-robot-stage {
    animation: lm-robot-exit-mobile .65s ease-in forwards;
  }

  .lm-intro-connections {
    opacity: .55;
  }

  .lm-intro-computer-stage {
    width: 90vw;
    top: 49%;
  }

  .lm-computer-frame {
    padding: 7px;
    border-radius: 12px;
  }

  .lm-screen-topbar {
    height: 22px;
    padding: 0 8px;
    gap: 7px;
  }

  .lm-screen-dots {
    gap: 3px;
  }

  .lm-screen-dots i {
    width: 4px;
    height: 4px;
  }

  .lm-screen-address {
    font-size: 6px;
  }

  .lm-screen-status {
    font-size: 6px;
  }

  .lm-screen-content {
    inset: 22px 0 0;
    padding: 10px;
  }

  .lm-screen-search-mark {
    width: 37px;
    height: 37px;
    margin-bottom: 8px;
  }

  .lm-screen-search-title {
    gap: 4px;
    margin-bottom: 8px;
    font-size: 10px;
  }

  .lm-screen-search-prefix {
    font-size: 7px;
  }

  .lm-screen-search-lines {
    margin-bottom: 9px;
  }

  .lm-screen-search-progress {
    width: 55%;
  }

  .lm-screen-logo-reveal {
    inset: 22px 0 0;
    gap: 5px;
  }

  .lm-screen-lion-logo {
    width: 48px;
    height: 48px;
  }

  .lm-screen-logo-name {
    font-size: 12px;
  }

  .lm-screen-logo-subtitle {
    font-size: 6px;
  }

  .lm-computer-neck {
    height: 20px;
  }

  .lm-computer-stand {
    height: 8px;
  }

  .lm-computer-base {
    height: 6px;
  }

  .lm-computer-caption {
    bottom: -28px;
    font-size: 7px;
  }

  .lm-intro-robot-caption {
    font-size: 8px;
  }
}

@keyframes lm-robot-exit-mobile {
  to {
    opacity: 0;
    transform: translate(-50%, -56%) scale(.58);
    filter: blur(6px);
  }
}

/* Acessibilidade: reduzir movimento quando solicitado */

@media (prefers-reduced-motion: reduce) {
  .lm-intro-grain,
  .lm-intro-glow,
  .lm-intro-shape,
  .lm-intro-connection,
  .lm-robot-antenna-light,
  .lm-robot-chest-core,
  .lm-robot-head,
  .lm-robot-eye,
  .lm-robot-arm,
  .lm-intro-robot,
  .lm-robot-shadow,
  .lm-search-orbit,
  .lm-screen-search-lines span {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
