/* ==========================================================
   Digital Secrett — design tokens
   ========================================================== */
:root {
  --bg: #06060A;
  --bg-2: #0D0C14;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --ink: #F2F0FF;
  --muted: #8E8AA6;
  --violet: #8B5CFF;
  --blue: #5B7CFF;
  --cyan: #22E1FF;
  --magenta: #FF4FD8;
  --grad: linear-gradient(110deg, var(--violet), var(--blue) 45%, var(--cyan));
  --radius: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --f-display: "Unbounded", "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter Tight", system-ui, -apple-system, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--violet); color: #fff; }

.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.eyebrow {
  font-family: var(--f-display);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 24px;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-head { margin-bottom: clamp(40px, 6vw, 80px); }
.section-title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(34px, 6vw, 84px); line-height: 1.02; letter-spacing: -.035em;
  margin: 0;
}
.section-title .serif { font-size: 1.12em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lead { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); max-width: 52ch; }

/* ---------- Buttons ---------- */
.btn {
  --h: 58px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15px/1 var(--f-body); color: var(--ink); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--grad); color: #07060B; box-shadow: 0 10px 40px -10px rgba(139, 92, 255, .7); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #fff;
  transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease);
}
.btn--primary:hover::before { transform: translateY(0); }
.btn--ghost { border: 1px solid var(--line); background: transparent; }
.btn--ghost:hover { background: var(--surface-2); }
.btn--glass { background: var(--surface-2); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.btn--glass:hover { background: rgba(255,255,255,.12); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 14px; }
.btn--full { width: 100%; }

/* ---------- Grain / cursor / progress ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); }
}
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 100; }

.cursor { display: none; }
@media (pointer: fine) {
  html.js body, html.js a, html.js button { cursor: none; }
  html.js .cursor { display: block; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; z-index: 120; pointer-events: none; border-radius: 50%; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ink); }
  .cursor__ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(242,240,255,.4);
    display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
  }
  .cursor__ring em { font: 600 11px var(--f-display); text-transform: uppercase; letter-spacing: .1em; font-style: normal; color: #07060B; opacity: 0; transition: opacity .2s; }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(242,240,255,.08); border-color: transparent; }
  .cursor.is-view .cursor__ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--cyan); border-color: transparent; }
  .cursor.is-view .cursor__ring em { opacity: 1; }
}

/* ---------- Loader ---------- */
.loader { display: none; }
html.js .loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg);
}
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__mark { width: 92px; height: 92px; overflow: visible; }
.loader__stroke { fill: none; stroke: var(--violet); stroke-width: 1.2; stroke-dasharray: 160; stroke-dashoffset: 160; }
.loader__fill { opacity: 0; }
.loader__count { font: 300 13px var(--f-display); letter-spacing: .3em; color: var(--muted); }
.loader__curtain { position: absolute; inset: 0; background: var(--grad); transform: scaleY(0); transform-origin: bottom; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 80;
  width: calc(100% - 2 * var(--gutter)); max-width: 1360px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  border: 1px solid transparent; transition: background .5s, border-color .5s, backdrop-filter .5s, transform .6s var(--ease);
}
.nav.is-scrolled { background: rgba(10, 9, 16, .6); border-color: var(--line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.nav.is-hidden { transform: translate(-50%, -140%); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 34px; height: 34px; }
.brand__word { display: grid; line-height: 1; font-family: var(--f-display); }
.brand__word small { font-size: 8.5px; font-weight: 300; letter-spacing: .42em; color: var(--muted); text-transform: uppercase; }
.brand__word b { font-size: 16px; font-weight: 800; letter-spacing: .06em; margin-top: 3px; }
.nav__links { display: flex; gap: 6px; }
.nav__links a { padding: 10px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .3s, background .3s; }
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 70; background: rgba(6,6,10,.96); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 24px;
  clip-path: circle(0% at calc(100% - 44px) 40px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; }
.mobile-menu a { font: 600 clamp(32px, 9vw, 56px)/1.15 var(--f-display); letter-spacing: -.03em; }

/* ---------- Aurora ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; filter: blur(80px) saturate(140%); opacity: .55; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 55vw; height: 55vw; left: -10vw; top: -15vw; background: var(--violet); animation: drift1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 45vw; height: 45vw; right: -12vw; top: 10vh; background: var(--cyan); opacity: .55; animation: drift2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 35vw; height: 35vw; left: 30vw; bottom: -20vw; background: var(--magenta); opacity: .35; animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vw, 12vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-20vw, 18vh) scale(.85); } }
@keyframes drift3 { to { transform: translate(-14vw, -24vh) scale(1.2); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 72px; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero__globe { position: absolute; top: 50%; right: -8vw; width: min(78vw, 980px); aspect-ratio: 1; transform: translateY(-50%); opacity: .95; }
.hero__content { position: relative; z-index: 2; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34,225,255,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(34,225,255,0); } 100% { box-shadow: 0 0 0 0 rgba(34,225,255,0); } }
.hero__title {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 7.8vw, 140px); line-height: .92; letter-spacing: -.045em; margin: 0 0 40px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .serif { text-transform: none; font-size: 1.08em; letter-spacing: -.02em; }
.hero__title .line--grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title .line--grad .char { background: var(--grad); background-size: 600% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.word { display: inline-block; white-space: nowrap; }
.char { display: inline-block; will-change: transform; }
.hero__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero__lead { margin: 0; max-width: 46ch; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); }
.hero__lead strong { color: var(--ink); font-weight: 500; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.float-card {
  position: absolute; z-index: 3; padding: 16px 18px; border-radius: 20px;
  background: rgba(20, 18, 32, .55); border: 1px solid var(--line); backdrop-filter: blur(16px);
  display: grid; gap: 6px; min-width: 190px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.float-card--a { top: 17%; right: 6%; }
.float-card--b { top: 40%; right: 4%; }
@media (max-width: 1280px) { .float-card { display: none; } }
.float-card__label { font-size: 12px; color: var(--muted); }
.float-card__value { font: 600 28px var(--f-display); letter-spacing: -.03em; }
.spark { width: 120px; height: 36px; }
.spark path { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 2.4s 2.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chip { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); justify-self: start; }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 1px solid var(--line); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--ink); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--bg-2); transform: rotate(-1.5deg) scale(1.03); margin: 40px 0; }
.marquee__track { display: flex; gap: 40px; width: max-content; align-items: center; animation: marquee 32s linear infinite; }
.marquee span { font: 600 clamp(24px, 3.5vw, 48px)/1 var(--f-display); letter-spacing: -.03em; white-space: nowrap; text-transform: uppercase; }
.marquee span:nth-of-type(even) { -webkit-text-stroke: 1px rgba(242,240,255,.5); color: transparent; }
.marquee b { color: var(--cyan); font-size: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto { padding-block: clamp(100px, 16vw, 220px); }
.manifesto__text { font: 500 clamp(28px, 4.4vw, 64px)/1.15 var(--f-display); letter-spacing: -.035em; margin: 0; max-width: 22ch; }
.manifesto__text .w { opacity: .14; transition: none; }
html:not(.js) .manifesto__text .w { opacity: 1; }

/* ---------- Bento services ---------- */
.services { padding-bottom: clamp(100px, 14vw, 200px); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(300px, auto); gap: 16px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; isolation: isolate;
  transition: border-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--mx) var(--my), rgba(139, 92, 255, .18), transparent 45%);
}
.card:hover { border-color: rgba(139, 92, 255, .35); }
.card:hover::before { opacity: 1; }
.card h3 { font: 600 clamp(22px, 2.2vw, 30px)/1.1 var(--f-display); letter-spacing: -.03em; margin: 0; }
.card p { margin: 0; color: var(--muted); max-width: 42ch; }
.card__tag { align-self: flex-start; font: 500 11px var(--f-display); text-transform: uppercase; letter-spacing: .14em; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.card__link { margin-top: 8px; color: var(--cyan); font-weight: 600; }
.card--xl { grid-column: span 2; grid-row: span 2; min-height: 560px; }
.card--xl h3 { font-size: clamp(32px, 4vw, 60px); }
.card--tall { grid-row: span 2; }
.pills { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font-size: 13px; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }

.card__bg--city { position: absolute; inset: 0 0 auto; height: 62%; z-index: -1; display: flex; align-items: flex-end; justify-content: center; gap: 14px; padding: 0 8%; mask-image: linear-gradient(#000 40%, transparent); -webkit-mask-image: linear-gradient(#000 40%, transparent); }
.card__bg--city span {
  flex: 1; border-radius: 10px 10px 0 0; background:
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(255,255,255,.05) 14px 16px),
    linear-gradient(180deg, rgba(139,92,255,.5), rgba(34,225,255,.08));
  border: 1px solid rgba(255,255,255,.08); transform-origin: bottom;
}
.card__bg--city span:nth-child(1) { height: 40%; } .card__bg--city span:nth-child(2) { height: 70%; }
.card__bg--city span:nth-child(3) { height: 55%; } .card__bg--city span:nth-child(4) { height: 92%; background: repeating-linear-gradient(0deg, transparent 0 14px, rgba(255,255,255,.07) 14px 16px), linear-gradient(180deg, rgba(34,225,255,.6), rgba(139,92,255,.1)); }
.card__bg--city span:nth-child(5) { height: 62%; } .card__bg--city span:nth-child(6) { height: 80%; } .card__bg--city span:nth-child(7) { height: 45%; }

.card__visual { position: absolute; inset: 0 0 auto; height: 55%; z-index: -1; display: grid; place-items: center; }
.browser { width: 78%; aspect-ratio: 4/3; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); padding: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; transform: perspective(800px) rotateX(18deg) rotateZ(-6deg); transition: transform .8s var(--ease); }
.card:hover .browser { transform: perspective(800px) rotateX(0) rotateZ(0); }
.browser i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
.browser__body { flex-basis: 100%; display: grid; gap: 8px; margin-top: 8px; }
.browser__body span { height: 18px; border-radius: 6px; background: var(--grad); opacity: .55; }
.browser__body span:nth-child(1) { width: 70%; height: 30px; } .browser__body span:nth-child(2) { width: 90%; opacity: .2; } .browser__body span:nth-child(3) { width: 40%; height: 26px; border-radius: 999px; opacity: .9; }

.neural { position: relative; width: 150px; height: 120px; }
.neural i { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 20px var(--cyan); animation: float 3s ease-in-out infinite; }
.neural i:nth-child(1) { left: 0; top: 50px; } .neural i:nth-child(2) { left: 60px; top: 10px; background: var(--violet); box-shadow: 0 0 20px var(--violet); animation-delay: -.6s; }
.neural i:nth-child(3) { left: 60px; top: 90px; animation-delay: -1.2s; } .neural i:nth-child(4) { left: 130px; top: 30px; background: var(--magenta); box-shadow: 0 0 20px var(--magenta); animation-delay: -1.8s; }
.neural i:nth-child(5) { left: 125px; top: 85px; background: var(--violet); box-shadow: 0 0 20px var(--violet); animation-delay: -2.4s; }
.neural::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(-34deg, transparent 49.5%, rgba(255,255,255,.15) 50%, transparent 50.5%),
  linear-gradient(34deg, transparent 49.5%, rgba(255,255,255,.15) 50%, transparent 50.5%); }
@keyframes float { 50% { transform: translateY(-8px); } }

.card__visual--code pre { margin: 0; font: 13px/1.6 ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--muted); padding: 16px 20px; border-radius: 14px; background: rgba(0,0,0,.3); border: 1px solid var(--line); }
.card__visual--code .k { color: var(--magenta); } .card__visual--code .f { color: var(--cyan); } .card__visual--code .p { color: var(--ink); } .card__visual--code .s { color: #B9A6FF; }

/* ---------- Real estate horizontal ---------- */
.estate { position: relative; background: var(--bg-2); border-block: 1px solid var(--line); }
.estate__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 48px; padding: 120px 0 80px; overflow: hidden; }
.estate__hint { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.estate__track { display: flex; gap: 20px; padding: 0 var(--gutter); width: max-content; }
.seg {
  position: relative; width: min(440px, 82vw); min-height: 480px; padding: 36px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
}
.seg--lux { background: linear-gradient(160deg, rgba(212, 175, 105, .16), rgba(255,255,255,.015)); border-color: rgba(212,175,105,.3); }
.seg--lux .seg__num { color: #D4AF69; -webkit-text-stroke-color: #D4AF69; }
.seg__num { font: 800 64px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(242,240,255,.35); }
.seg h3 { font: 600 34px/1.02 var(--f-display); letter-spacing: -.035em; margin: 0; }
.seg p { color: var(--muted); margin: 0; }
.seg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.seg li { padding-left: 26px; position: relative; font-size: 15px; }
.seg li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 4px; background: var(--grad); }
.seg__kpi { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.seg__kpi b { color: var(--ink); margin-right: 8px; font-family: var(--f-display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: clamp(100px, 12vw, 180px); }
.stat { border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 8px; }
.stat__num { font: 600 clamp(36px, 4.6vw, 72px)/1 var(--f-display); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--muted); }

/* ---------- AI ---------- */
.ai { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); align-items: center; padding-bottom: clamp(100px, 14vw, 200px); }
.ai .lead { margin: 28px 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: center; }
.checks li::before { content: "✓"; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(34,225,255,.12); color: var(--cyan); font-size: 13px; }
.phone {
  position: relative; justify-self: center; width: min(360px, 100%); height: 640px; border-radius: 48px; padding: 14px;
  background: linear-gradient(160deg, #1b1930, #0b0a12); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 50px 120px -30px rgba(139,92,255,.55), inset 0 0 0 6px #050409;
  display: flex; flex-direction: column; overflow: hidden;
}
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 20px; background: #000; z-index: 2; }
.phone__head { display: flex; gap: 12px; align-items: center; padding: 52px 16px 14px; border-bottom: 1px solid var(--line); }
.phone__head b { display: block; font-size: 15px; } .phone__head small { color: #3DDC97; font-size: 12px; }
.phone__avatar { width: 38px; height: 38px; padding: 6px; border-radius: 50%; background: var(--surface-2); }
.chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 16px 12px; overflow: hidden; mask-image: linear-gradient(transparent, #000 18%); -webkit-mask-image: linear-gradient(transparent, #000 18%); }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.4; }
.msg--in { align-self: flex-start; background: rgba(255,255,255,.08); border-bottom-left-radius: 6px; }
.msg--out { align-self: flex-end; background: linear-gradient(135deg, var(--violet), var(--blue)); border-bottom-right-radius: 6px; }
.msg--sys { align-self: center; font-size: 12px; color: #3DDC97; background: rgba(61,220,151,.1); border-radius: 999px; }
.typing { align-self: flex-end; display: flex; gap: 4px; padding: 14px 16px; border-radius: 18px; background: rgba(139,92,255,.35); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; transform: translateY(-2px); } }

/* ---------- Process ---------- */
.process { padding-bottom: clamp(100px, 14vw, 200px); }
.steps { position: relative; display: grid; gap: 0; padding-left: 0; }
.steps__line { position: absolute; left: 31px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.steps__line span { position: absolute; inset: 0; background: var(--grad); transform-origin: top; transform: scaleY(0); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: clamp(24px, 4vw, 60px); padding: 32px 0; border-bottom: 1px solid var(--line); align-items: start; }
.step__n { position: relative; z-index: 1; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); font: 600 15px var(--f-display); transition: background .5s, border-color .5s, color .5s; }
.step.is-active .step__n { background: var(--grad); color: #07060B; border-color: transparent; }
.step h3 { font: 600 clamp(26px, 3.4vw, 48px)/1 var(--f-display); letter-spacing: -.035em; margin: 10px 0 12px; }
.step p { color: var(--muted); margin: 0; max-width: 56ch; }

/* ---------- FAQ ---------- */
.faq { padding-bottom: clamp(100px, 14vw, 200px); max-width: 1100px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 28px 56px 28px 0; position: relative; font: 500 clamp(18px, 2vw, 24px)/1.3 var(--f-display); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 40px; height: 40px; margin-top: -20px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: transform .4s var(--ease), background .4s; font-family: var(--f-body); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--surface-2); }
.faq details p { margin: 0; padding: 0 56px 28px 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding-block: clamp(100px, 14vw, 180px); border-top: 1px solid var(--line); }
.aurora--cta { opacity: .35; }
.cta__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.cta__title { font: 800 clamp(38px, 5.4vw, 92px)/.95 var(--f-display); letter-spacing: -.045em; text-transform: uppercase; margin: 0 0 28px; }
.cta__title .serif { text-transform: none; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.form { display: grid; gap: 14px; padding: 32px; border-radius: var(--radius); background: rgba(16,14,26,.7); border: 1px solid var(--line); backdrop-filter: blur(20px); }
.form label { display: grid; gap: 8px; }
.form label span { font-size: 13px; color: var(--muted); }
.form input, .form select {
  height: 54px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.04);
  color: var(--ink); font: 16px var(--f-body); outline: none; transition: border-color .3s, box-shadow .3s;
}
.form select option { background: var(--bg-2); }
.form input:focus, .form select:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139,92,255,.18); }
.form input.is-invalid { border-color: var(--magenta); }
.form__note { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 72px; overflow: hidden; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer__brand { display: grid; gap: 16px; } .footer__brand .brand__mark { width: 48px; height: 48px; }
.footer__brand p { margin: 0; color: var(--muted); }
.footer__cols { display: flex; flex-wrap: wrap; gap: clamp(40px, 8vw, 120px); }
.footer__cols div { display: grid; gap: 10px; align-content: start; }
.footer__cols b { font: 500 12px var(--f-display); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-bottom: 6px; }
.footer__cols a { transition: color .3s; } .footer__cols a:hover { color: var(--cyan); }
.footer__giant {
  font: 800 19.5vw/.8 var(--f-display); letter-spacing: -.06em; text-align: center; margin-top: 60px;
  background: linear-gradient(180deg, rgba(242,240,255,.14), rgba(242,240,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav .btn--glass { display: none; }
  .float-card--b { display: none; }
}
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .card--xl, .card--tall { grid-column: auto; grid-row: auto; min-height: 460px; }
  .card { min-height: 380px; }
  .ai, .cta__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .hero__globe { right: -40vw; top: 34%; width: 120vw; opacity: .6; }
  .estate__track { flex-direction: column; width: 100%; }
  .seg { width: 100%; min-height: 0; }
  .phone { height: 580px; }
}
@media (max-width: 600px) {
  /* "TECNOLOGIA" is the widest word (~8.4em): keep it inside the gutters */
  .hero__title { font-size: calc((100vw - 2 * var(--gutter) - 8px) / 8.4); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .float-card { display: none; }
  .hero__ctas, .hero__ctas .btn { width: 100%; }
  .card { padding: 24px; }
  .form { padding: 22px; }
  .step { grid-template-columns: 48px 1fr; }
  .step__n { width: 48px; height: 48px; font-size: 13px; }
  .steps__line { left: 23px; }
  .faq summary { padding-right: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .manifesto__text .w { opacity: 1; }
}
