:root {
  --bg: #080A19;
  --fg: #fff;
  --fg-80: rgba(255, 255, 255, 0.8);
  --fg-50: rgba(255, 255, 255, 0.5);
  --accent: #E8452C;
  --btn: #E9E9E9;
  --btn-fg: #0A0707;
  --navy: #2E4A6B;
  --glass: rgba(17, 16, 15, 0.35);
  --glass-border: rgba(255, 255, 255, 0.06);
  --gutter: clamp(20px, 4vw, 82px);
  --section-gap: clamp(80px, 11vw, 160px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --sans: "Suisse Int'l", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Fraunces, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); overflow-x: clip; }
body { font-family: var(--sans); font-weight: 450; -webkit-font-smoothing: antialiased; min-height: 100vh; }
img { display: block; max-width: none; }
a { color: var(--fg-80); text-decoration: none; transition: color 200ms ease, background-color 200ms ease; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--fg); }
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: 400; }
button { font: inherit; color: inherit; }

.serif { font-family: var(--serif); font-style: italic; font-weight: 300; }
.muted { color: var(--fg-50); }

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

.container { max-width: 1800px; margin: 0 auto; padding: 0 var(--gutter); }
.section { max-width: 1800px; margin: 0 auto; padding: 0 var(--gutter) var(--section-gap); }

.eyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-50); }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(40px, 5vw, 72px); }
.h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1; letter-spacing: -0.025em; }
.h2--spaced { margin-bottom: clamp(48px, 5vw, 80px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 51px; padding: 0 27px; border-radius: 12px; font-size: 16px;
}
.btn--solid { background: var(--btn); color: var(--btn-fg); }
.btn--ghost { border: 1px solid #fff; color: #fff; }
.btn--block { display: flex; width: 100%; }

/* Pressables: instant feedback on press, quick color on hover */
.btn, .nav__cta, .nav__toggle, .menu__close {
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active, .nav__cta:active, .nav__toggle:active, .menu__close:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover, .nav__cta:hover { background: #fff; color: var(--btn-fg); }
  .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
  .nav__links a:hover, .nav__actions a:not(.nav__cta):hover { background-color: rgba(255, 255, 255, 0.06); }
  .post:hover { color: rgba(255, 255, 255, 0.7); }
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.logo__mark { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.logo__mark span { width: 6px; background: #fff; border-radius: 1px; }
.logo__mark span:nth-child(1) { height: 9px; }
.logo__mark span:nth-child(2) { height: 15px; }
.logo__mark span:nth-child(3) { height: 22px; background: var(--accent); }
.logo__text { font-size: 21px; letter-spacing: -0.01em; }

/* Navbar */
/* Fixed so the links stay at hand; a soft scrim fades in once content scrolls underneath */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; }
.nav::before {
  content: ""; position: absolute; inset: 0 0 -20px; pointer-events: none; opacity: 0;
  background: rgba(8, 10, 25, 0.78);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent);
  transition: opacity 300ms var(--ease-out);
}
.nav.is-scrolled::before { opacity: 1; }
.nav__inner { position: relative; transition: transform 300ms var(--ease-out); }
.nav.is-scrolled .nav__inner { transform: translateY(-6px); }
.nav__links a[aria-current="page"] { color: #fff; background-color: rgba(255, 255, 255, 0.08); }
[id] { scroll-margin-top: 96px; }
.nav__inner {
  max-width: 1800px; margin: 0 auto; padding: 20px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav__links, .nav__actions { display: flex; align-items: center; gap: 4px; border-radius: 14px; }
.nav__links { padding: 6px; }
.nav__actions { padding: 5px; }
.nav__links a, .nav__actions a:not(.nav__cta) { display: flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 14px; border-radius: 10px; }
.nav__actions a:not(.nav__cta) { padding: 10px 16px; }
.nav__cta { display: flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 10px; background: var(--btn); color: var(--btn-fg); font-size: 14px; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; padding: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__toggle span { width: 18px; height: 1.5px; background: #fff; }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 50; padding: 20px;
  display: flex; flex-direction: column;
  background: rgba(8, 10, 25, 0.72);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.menu[hidden] { display: none; }
/* Exit is faster than enter: the system responds, it doesn't perform */
.menu { opacity: 0; transition: opacity 180ms var(--ease-out); }
.menu.is-open { opacity: 1; transition-duration: 260ms; }
.menu nav a, .menu .btn { opacity: 0; transform: translateY(10px); transition: opacity 150ms ease, transform 150ms ease; }
.menu.is-open nav a, .menu.is-open .btn {
  opacity: 1; transform: none;
  transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out);
  transition-delay: calc(60ms + var(--i, 0) * 40ms);
}
.menu.is-open .btn:active { transform: scale(0.97); transition: transform 160ms var(--ease-out); }
.menu__top { display: flex; justify-content: space-between; align-items: center; }
.menu__close { width: 44px; height: 44px; border-radius: 12px; font-size: 22px; cursor: pointer; }
.menu nav { display: flex; flex-direction: column; gap: 6px; margin-top: 48px; }
.menu nav a { font-size: 36px; padding: 8px 0; color: #fff; line-height: 1; }
.menu .btn { margin-top: auto; }

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Intro: hidden before first paint, then choreographed by hero.js */
.intro .hero { opacity: 0; }
.intro [data-hero] { opacity: 0; }
.intro-mark { position: fixed; z-index: 60; display: flex; align-items: flex-end; gap: 3px; pointer-events: none; transform-origin: center; }
.intro-mark span { width: 6px; background: #fff; border-radius: 1px; transform-origin: bottom; }
.intro-mark span:nth-child(1) { height: 9px; }
.intro-mark span:nth-child(2) { height: 15px; }
.intro-mark span:nth-child(3) { height: 22px; background: var(--accent); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero h1 .line__in { display: inline-block; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 10, 25, 0.6) 0%, rgba(8, 10, 25, 0) 55%); }
.hero__content {
  position: relative; z-index: 2; height: 100%; max-width: 1800px; margin: 0 auto;
  padding: 120px var(--gutter) clamp(48px, 8vh, 96px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero h1 { font-size: clamp(36px, 5.2vw, 72px); line-height: 1; letter-spacing: -0.025em; max-width: 11ch; text-wrap: balance; }
.hero__sub { margin-top: 24px; max-width: 370px; font-size: 18px; line-height: 1.35; color: var(--fg-80); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Problem */
.problem { padding: var(--section-gap) var(--gutter); }
.problem p {
  max-width: 800px; margin: 0 auto; text-align: center;
  font-size: clamp(28px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -0.02em;
  display: flex; flex-wrap: wrap; justify-content: center; column-gap: 0.26em; row-gap: 0.08em;
}
/* Smooths scroll-linked opacity steps so fast flicks don't strobe */
.problem p span { transition: opacity 240ms ease-out; }

/* Solution */
.solution__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 20px; align-items: stretch; }
.solution__cards { display: flex; flex-direction: column; gap: 20px; }
.card { padding: 32px; border-radius: 28px; display: flex; flex-direction: column; gap: 12px; }
.card--flex { flex: 1; }
.card__num { font-size: 13px; color: var(--fg-50); }
.card__num--accent { color: var(--accent); }
.card h3 { font-size: 26px; line-height: 1.05; letter-spacing: -0.01em; }
.card p { font-size: 16px; line-height: 1.45; color: var(--fg-80); max-width: 46ch; }
.solution__media { position: relative; border-radius: 33px; overflow: hidden; min-height: 420px; border: 1px solid var(--glass-border); }
.solution__media img {
  position: absolute; left: 0; top: -8%; width: 100%; height: 116%;
  object-fit: cover; object-position: 72% center; will-change: transform;
}

/* Services */
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(32px, 3vw, 56px); align-items: start; }
.service { display: flex; flex-direction: column; gap: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 28px; }
.service h3 { font-size: 28px; line-height: 1.05; }
.service li {
  display: flex; justify-content: space-between; gap: 12px; padding: 14px 0;
  border-bottom: 1px solid var(--glass-border); font-size: 16px; color: var(--fg-80);
}
.service li span:last-child { color: var(--fg-50); font-size: 13px; }

.chart {
  width: 100%; max-width: 405px; padding: 28px; border-radius: 28px;
  background: rgba(46, 74, 107, 0.28); display: flex; flex-direction: column; gap: 10px;
}
.chart__label { font-size: 16px; color: var(--fg-80); }
.chart__value { font-size: clamp(40px, 3.6vw, 52px); line-height: 0.95; letter-spacing: -0.02em; }
.chart__value span { color: rgba(255, 255, 255, 0.2); }
.chart__delta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; }
.chart__delta span:first-child { padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); }
.chart__plot { position: relative; height: 150px; margin-top: 16px; }
.chart__grid { position: absolute; inset: 0; display: flex; justify-content: space-between; pointer-events: none; }
.chart__grid span { width: 1px; background: rgba(255, 255, 255, 0.1); }
.chart__bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 3px; }
.chart__bars span { flex: 1; background: #fff; border-radius: 1px; transform-origin: bottom; }
.chart__axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--fg-50); padding-top: 6px; }
.chart__axis span:nth-child(n+4) { color: rgba(255, 255, 255, 0.3); }

.audiences { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: clamp(48px, 5vw, 80px); }
.audiences .eyebrow { margin-right: 8px; }
.pill { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); font-size: 14px; color: var(--fg-80); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.step__week { font-size: 13px; color: var(--fg-50); }
.step h3 { font-size: 24px; line-height: 1.05; }
.step p { font-size: 15px; line-height: 1.45; color: var(--fg-80); max-width: 34ch; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-top: clamp(56px, 6vw, 96px); }
.metric { gap: 10px; }
.metric__value { font-size: clamp(48px, 5vw, 72px); line-height: 0.95; letter-spacing: -0.03em; }
.metric__label { font-size: 15px; color: var(--fg-80); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.quote { justify-content: space-between; gap: 40px; }
.quote blockquote { font-size: 20px; line-height: 1.35; color: #fff; text-wrap: pretty; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 14px; letter-spacing: 0.02em; flex-shrink: 0; }
.quote__who { display: flex; flex-direction: column; gap: 2px; }
.quote__name { font-size: 15px; }
.quote__role { font-size: 13px; color: var(--fg-50); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; align-items: stretch; }
.plan { gap: 20px; }
.plan h3 { font-size: 22px; }
.price { display: flex; flex-direction: column; gap: 6px; }
.price__from { font-size: 13px; color: var(--fg-50); }
.price__amount { font-size: clamp(36px, 3.4vw, 48px); line-height: 0.95; letter-spacing: -0.02em; }
.price__amount small { font-size: 16px; color: var(--fg-50); }
.plan ul { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--fg-80); }
.plan .btn { margin-top: auto; }
.plan__lead { font-size: 16px; line-height: 1.45; color: var(--fg-80); max-width: 34ch; }
.plan--featured .plan__lead { color: rgba(255, 255, 255, 0.9); }
.plan--featured { position: relative; border-radius: 33px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); display: flex; min-height: 520px; }
.plan--featured > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.plan--featured__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 25, 0.35) 0%, rgba(8, 10, 25, 0.7) 100%); }
.plan--featured .plan { position: relative; margin: 12px; margin-top: auto; flex: 1; align-self: flex-end; border-radius: 24px; border-color: rgba(255, 255, 255, 0.08); }
.plan--featured .plan__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan--featured .price__from, .plan--featured .price__amount small, .plan--featured .price__note { font-size: 13px; color: var(--fg-80); }
.plan--featured .price__amount small { font-size: 16px; }
.plan--featured ul { color: rgba(255, 255, 255, 0.9); }
.badge { padding: 5px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; }
.plans__note { margin-top: 28px; font-size: 13px; color: var(--fg-50); }

/* Live preview frame (work.js) */
.shot { position: relative; border-radius: 18px; overflow: hidden; background: #0d1022; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.shot__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.shot__bar span { margin-left: 10px; padding: 3px 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); font-size: 11px; color: var(--fg-50); }
.shot__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.shot__view iframe { position: absolute; top: 0; left: 0; width: 1440px; border: 0; transform-origin: 0 0; pointer-events: none; opacity: 0; transition: opacity 600ms var(--ease); }
.shot.is-loaded iframe { opacity: 1; }
.shot__view::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%) 0 0 / 220% 100%; animation: shimmer 1.6s linear infinite; }
.shot.is-loaded .shot__view::after { display: none; }
@keyframes shimmer { to { background-position: -220% 0; } }

/* Work teaser (landing) */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.work-card { display: flex; flex-direction: column; gap: 18px; color: #fff; }
.work-card .shot { transition: transform 500ms var(--ease), border-color 300ms ease; }
.work-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.work-card__meta h3 { font-size: 24px; letter-spacing: -0.01em; }
.work-card__meta span { font-size: 13px; color: var(--fg-50); }
.badge--line { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); font-size: 12px; color: var(--fg-80); }
.work-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; font-size: 16px; color: #fff; }
.work-more span { display: inline-block; transition: transform 300ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .work-card:hover { color: #fff; }
  .work-card:hover .shot { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.22); }
  .work-more:hover span { transform: translateX(4px); }
}

/* Work page */
.page-hero { max-width: 1800px; margin: 0 auto; padding: clamp(150px, 20vh, 220px) var(--gutter) clamp(64px, 8vw, 120px); position: relative; isolation: isolate; }
.page-hero h1 { font-size: clamp(48px, 8vw, 128px); line-height: 0.92; letter-spacing: -0.04em; max-width: 12ch; text-wrap: balance; }
.page-hero p { margin-top: 28px; max-width: 46ch; font-size: 18px; line-height: 1.45; color: var(--fg-80); }
.page-hero__glow { position: absolute; z-index: -1; right: -10%; top: -20%; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; background: radial-gradient(closest-side, rgba(232, 69, 44, 0.22), rgba(46, 74, 107, 0.18) 55%, transparent 75%); filter: blur(20px); pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-6%, 8%) scale(1.08); } }
.work { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; padding-bottom: clamp(88px, 11vw, 160px); }
.work:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.work:nth-child(even) .work__link { order: 2; }
.work__link { display: block; color: #fff; }
.work__link .shot { transition: transform 600ms var(--ease), border-color 300ms ease; }
.work__num { font-size: 13px; color: var(--fg-50); letter-spacing: 0.08em; }
.work__info h2 { margin-top: 14px; font-size: clamp(36px, 4.4vw, 64px); line-height: 0.95; letter-spacing: -0.03em; }
.work__info p { margin-top: 18px; font-size: 17px; line-height: 1.5; color: var(--fg-80); max-width: 42ch; }
.work__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.work__info .btn { margin-top: 32px; }
@media (hover: hover) and (pointer: fine) { .work__link:hover .shot { transform: translateY(-6px) rotate(-0.4deg); border-color: rgba(255, 255, 255, 0.22); } }
@media (max-width: 900px) {
  .work, .work:nth-child(even) { grid-template-columns: 1fr; }
  .work:nth-child(even) .work__link { order: 0; }
}
.cta-band { position: relative; overflow: hidden; border-radius: 33px; padding: clamp(40px, 6vw, 88px); border: 1px solid var(--glass-border); background: radial-gradient(120% 140% at 100% 0%, rgba(232, 69, 44, 0.28), transparent 50%), radial-gradient(100% 120% at 0% 100%, rgba(46, 74, 107, 0.5), transparent 60%), #0b0e20; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.cta-band h2 { font-size: clamp(36px, 5vw, 72px); line-height: 0.95; letter-spacing: -0.03em; max-width: 14ch; }
.cta-band p { margin-top: 16px; color: var(--fg-80); max-width: 40ch; line-height: 1.45; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.about__id { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 120px; }
.about__avatar { position: relative; width: clamp(120px, 14vw, 180px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, rgba(232, 69, 44, 0.55), transparent 55%), linear-gradient(160deg, #2E4A6B, #0b0e20); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 60px -30px rgba(232, 69, 44, 0.5); }
.about__avatar .logo__mark { height: 44px; gap: 6px; }
.about__avatar .logo__mark span { width: 12px; border-radius: 2px; }
.about__avatar .logo__mark span:nth-child(1) { height: 18px; }
.about__avatar .logo__mark span:nth-child(2) { height: 30px; }
.about__avatar .logo__mark span:nth-child(3) { height: 44px; }
.about__name { font-size: 22px; }
.about__role { font-size: 14px; color: var(--fg-50); }
.about__text { display: flex; flex-direction: column; gap: 24px; }
.about__lead { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; letter-spacing: -0.02em; text-wrap: pretty; }
.about__text p:not(.about__lead) { font-size: 18px; line-height: 1.55; color: var(--fg-80); max-width: 56ch; }
.about__values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; margin-top: 12px; }
.about__values div { padding: 20px; border-radius: 20px; border: 1px solid var(--glass-border); background: rgba(255, 255, 255, 0.02); }
.about__values b { display: block; font-weight: 400; font-size: 17px; margin-bottom: 6px; }
.about__values span { font-size: 14px; line-height: 1.45; color: var(--fg-50); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__id { position: static; flex-direction: row; align-items: center; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 120px); }
.faq__intro p { margin-top: 20px; color: var(--fg-80); line-height: 1.5; max-width: 34ch; }
.faq__intro .btn { margin-top: 28px; }
.faq__list { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.faq details { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.25; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); transition: transform 300ms var(--ease-out), background-color 200ms ease; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: #fff; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 300ms var(--ease-out); }
.faq details[open] summary i { background: rgba(255, 255, 255, 0.08); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 56px 26px 0; font-size: 16px; line-height: 1.6; color: var(--fg-80); max-width: 64ch; }
.faq details[open] p { animation: faqIn 320ms var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
@media (hover: hover) and (pointer: fine) { .faq summary:hover i { background: rgba(255, 255, 255, 0.06); } }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float {
  position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: #25D366; color: #06210f; font-size: 15px; box-shadow: 0 16px 40px -12px rgba(37, 211, 102, 0.55), 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0; transform: translateY(12px) scale(0.96); pointer-events: none;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), background-color 200ms ease;
}
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:active { transform: scale(0.96); }
.wa-float svg { flex: none; }
.wa-float span { white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { background: #2fe076; color: #06210f; } }
@media (max-width: 600px) { .wa-float { width: 56px; padding: 0; justify-content: center; } .wa-float span { display: none; } }

/* Industry pages */
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.pain { padding: 32px; border-radius: 28px; display: flex; flex-direction: column; gap: 16px; }
.pain blockquote { margin: 0; font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; }
.pain p { font-size: 15px; line-height: 1.5; color: var(--fg-50); }
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.feat { display: flex; gap: 18px; padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.feat__n { flex: none; font-size: 13px; color: var(--accent); padding-top: 4px; }
.feat h3 { font-size: 22px; line-height: 1.1; }
.feat p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--fg-80); }
.ind-demo { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.ind-demo p { margin-top: 18px; font-size: 17px; line-height: 1.5; color: var(--fg-80); max-width: 40ch; }
.ind-demo .btn { margin-top: 28px; }
@media (max-width: 900px) { .ind-demo { grid-template-columns: 1fr; } }
a.pill { transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease; }
@media (hover: hover) and (pointer: fine) { a.pill:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); color: #fff; } }

/* Services page */
.svc-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.svc-jump .pill { color: #fff; }
.svc-jump .pill b { font-weight: 400; color: var(--accent); margin-right: 6px; }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.svc--flip .svc__text { order: 2; }
.svc__text { display: flex; flex-direction: column; gap: 20px; }
.svc__num { font-size: clamp(64px, 8vw, 120px); line-height: 0.8; letter-spacing: -0.05em; color: rgba(255, 255, 255, 0.14); }
.svc__num--accent { color: rgba(232, 69, 44, 0.5); }
.svc__lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--fg-80); max-width: 44ch; }
.svc__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 32px; margin-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.svc__list li { display: flex; flex-direction: column; gap: 6px; padding: 18px 0 18px 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); position: relative; }
.svc__list li::before { content: ""; position: absolute; left: 0; top: 25px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.svc__list b { font-weight: 400; font-size: 17px; }
.svc__list span { font-size: 14px; line-height: 1.45; color: var(--fg-50); }
.svc__visual { position: relative; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } .svc--flip .svc__text { order: 0; } }

/* Web mock: a site that assembles itself when it scrolls into view */
.mock { position: relative; isolation: isolate; aspect-ratio: 5 / 4; padding: 4% 14% 10% 0; }
.mock::before { content: ""; position: absolute; inset: 10% 0 0 20%; z-index: -1; background: radial-gradient(closest-side, rgba(232, 69, 44, 0.3), rgba(46, 74, 107, 0.25) 60%, transparent); filter: blur(30px); }
.mock__browser { height: 100%; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; background: rgba(14, 17, 38, 0.7); }
.mock__page { flex: 1; display: flex; flex-direction: column; gap: 4%; padding: 5% 6%; }
.mk { border-radius: 6px; background: rgba(255, 255, 255, 0.1); transform-origin: left center; }
.mk--nav { display: flex; gap: 4%; background: none; height: 6px; }
.mk--nav i { width: 12%; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.mk--nav i:first-child { width: 18%; margin-right: auto; background: rgba(255, 255, 255, 0.35); }
.mk--title { height: 9%; width: 78%; background: rgba(255, 255, 255, 0.55); }
.mk--short { width: 52%; }
.mk--text { height: 4%; width: 60%; }
.mk--btns { display: flex; gap: 3%; background: none; height: 8%; }
.mk--btns i { width: 22%; border-radius: 6px; background: #E9E9E9; }
.mk--btns i + i { background: none; border: 1px solid rgba(255, 255, 255, 0.4); }
.mk--cards { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; background: none; margin-top: 2%; }
.mk--cards i { border-radius: 10px; background: linear-gradient(160deg, rgba(46, 74, 107, 0.7), rgba(255, 255, 255, 0.04)); border: 1px solid rgba(255, 255, 255, 0.06); }
.mk--cards i:nth-child(2) { background: linear-gradient(160deg, rgba(232, 69, 44, 0.5), rgba(255, 255, 255, 0.04)); }
.mock__phone {
  position: absolute; right: 0; bottom: 0; width: 30%; aspect-ratio: 9 / 18; border-radius: 22px; padding: 14px 10px;
  display: flex; flex-direction: column; gap: 6%; background: #0d1028; border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}
.mock__notch { width: 34%; height: 5px; margin: 0 auto 4%; border-radius: 3px; background: rgba(255, 255, 255, 0.18); }
.mock__phone .mk--img { height: 34%; border-radius: 12px; background: linear-gradient(160deg, rgba(232, 69, 44, 0.55), rgba(46, 74, 107, 0.6)); }
.mock__phone .mk--title { height: 5%; width: 90%; }
.mock__phone .mk--text { height: 3%; width: 70%; }
.mk--cta { margin-top: auto; height: 12%; display: grid; place-items: center; border-radius: 10px; background: #E9E9E9; color: var(--btn-fg); font-size: clamp(9px, 0.8vw, 12px); }
.mock__chip { position: absolute; padding: 9px 14px; border-radius: 999px; font-size: 13px; color: #fff; white-space: nowrap; background: rgba(17, 16, 15, 0.55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.12); }
.mock__chip::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: #25D366; }
.mock__chip--a { right: 18%; bottom: 46%; }
.mock__chip--b { left: -2%; top: 30%; }
.mock__chip--c { left: 10%; bottom: 2%; }
@media (max-width: 600px) { .mock__chip { font-size: 11px; padding: 7px 10px; } .mock__chip--b { left: 2%; } }

.js-motion .svc__visual .mk { transform: scaleX(0); opacity: 0; }
.js-motion .svc__visual.is-in .mk { transform: none; opacity: 1; transition: transform 800ms var(--ease), opacity 400ms ease; }
.js-motion .svc__visual.is-in .mock__page .mk:nth-child(2) { transition-delay: 150ms; }
.js-motion .svc__visual.is-in .mock__page .mk:nth-child(3) { transition-delay: 220ms; }
.js-motion .svc__visual.is-in .mock__page .mk:nth-child(4) { transition-delay: 290ms; }
.js-motion .svc__visual.is-in .mock__page .mk:nth-child(5) { transition-delay: 360ms; }
.js-motion .svc__visual.is-in .mock__page .mk:nth-child(6) { transition-delay: 430ms; }
.js-motion .svc__visual.is-in .mock__phone .mk { transition-delay: 500ms; }
.js-motion .svc__visual .mock__phone { transform: translateY(40px); opacity: 0; }
.js-motion .svc__visual.is-in .mock__phone { transform: none; opacity: 1; transition: transform 900ms var(--ease) 300ms, opacity 500ms ease 300ms; }
.js-motion .svc__visual .mock__chip { transform: translateY(10px) scale(0.94); opacity: 0; }
.js-motion .svc__visual.is-in .mock__chip { transform: none; opacity: 1; transition: transform 600ms var(--ease-out), opacity 400ms ease; }
.js-motion .svc__visual.is-in .mock__chip--a { transition-delay: 800ms; }
.js-motion .svc__visual.is-in .mock__chip--b { transition-delay: 950ms; }
.js-motion .svc__visual.is-in .mock__chip--c { transition-delay: 1100ms; }

/* Automation flow: steps light up in sequence (driven by an inline script) */
.flow { position: relative; isolation: isolate; border-radius: 28px; padding: clamp(24px, 3vw, 40px); }
.flow::before { content: ""; position: absolute; inset: 20% -10% -10% 10%; z-index: -1; background: radial-gradient(closest-side, rgba(37, 211, 102, 0.16), rgba(46, 74, 107, 0.25) 60%, transparent); filter: blur(30px); }
.flow__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--fg-80); margin-bottom: 24px; }
.flow__list { position: relative; display: flex; flex-direction: column; gap: 12px; }
.flow__list::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1px; background: rgba(255, 255, 255, 0.12); }
.flow__item {
  position: relative; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px;
  padding: 14px 0; opacity: 0.28; transform: scale(0.98); transform-origin: left center;
  transition: opacity 400ms ease, transform 500ms var(--ease-out);
}
.flow__item.is-on { opacity: 1; transform: none; }
.flow__icon { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #151936; border: 1px solid rgba(255, 255, 255, 0.14); transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease; }
.flow__item.is-on .flow__icon { background: #E9E9E9; color: var(--btn-fg); border-color: transparent; }
.flow__item--wa.is-on .flow__icon { background: #25D366; color: #06210f; }
.flow__item--ok.is-on .flow__icon { background: var(--accent); color: #fff; }
.flow__item b { display: block; font-weight: 400; font-size: 16px; }
.flow__item div span { font-size: 13px; color: var(--fg-50); }
.flow__item time { font-size: 12px; color: var(--fg-50); white-space: nowrap; }

/* Journey */
.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.journey__step { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 28px; min-height: 260px; }
.journey__n { font-size: 13px; color: var(--fg-50); }
.journey__step h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.05; letter-spacing: -0.015em; margin-top: auto; }
.journey__step p { font-size: 15px; line-height: 1.5; color: var(--fg-80); }
.journey__tag { align-self: flex-start; margin-top: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; border: 1px solid rgba(255, 255, 255, 0.16); color: var(--fg-80); }
.journey__tag--accent { border-color: rgba(232, 69, 44, 0.5); color: #ffb4a6; }

/* Industry cards */
.rubros { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.rubro {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 280px; padding: 32px; border-radius: 28px;
  color: #fff; border: 1px solid var(--glass-border); background: radial-gradient(120% 100% at 100% 0%, rgba(46, 74, 107, 0.55), transparent 60%), #0b0e20;
  transition: border-color 300ms ease, transform 600ms var(--ease), opacity 700ms var(--ease);
}
.rubro::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 80% at 100% 0%, rgba(232, 69, 44, 0.35), transparent 60%); opacity: 0; transition: opacity 400ms ease; pointer-events: none; }
.rubro__n { font-size: clamp(26px, 2.4vw, 34px); line-height: 1; letter-spacing: -0.02em; }
.rubro p { font-size: 15px; line-height: 1.5; color: var(--fg-80); max-width: 32ch; }
.rubro__go { margin-top: auto; font-size: 15px; display: inline-flex; gap: 8px; }
.rubro__go span { display: inline-block; transition: transform 300ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .rubro:hover { color: #fff; border-color: rgba(255, 255, 255, 0.2); transform: translateY(-4px); }
  .rubro:hover::after { opacity: 1; }
  .rubro:hover .rubro__go span { transform: translateX(4px); }
}

/* About page: beliefs */
.beliefs { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.beliefs li { display: grid; grid-template-columns: 80px minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 40px; align-items: baseline; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.beliefs li > span { font-size: 13px; color: var(--accent); }
.beliefs h2 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
.beliefs p { font-size: 16px; line-height: 1.55; color: var(--fg-80); max-width: 40ch; }
@media (max-width: 900px) { .beliefs li { grid-template-columns: 1fr; gap: 12px; } }

/* Free diagnosis page */
.diag { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(40px, 6vw, 110px); align-items: start; }
.diag h1 { max-width: 10ch; }
.diag__intro p b { font-weight: 400; color: #fff; }
.diag__checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 32px; margin-top: 40px; max-width: 620px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.diag__checks li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 0 16px 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.diag__checks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 10px; height: 6px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.diag__checks b { font-weight: 400; font-size: 16px; }
.diag__checks span { font-size: 14px; color: var(--fg-50); line-height: 1.4; }
.diag__card { position: sticky; top: 110px; border-radius: 28px; padding: clamp(24px, 3vw, 36px); background: rgba(14, 17, 38, 0.6); }
@media (max-width: 960px) { .diag { grid-template-columns: minmax(0, 1fr); } .diag__card { position: static; } }

.diag-form { display: flex; flex-direction: column; gap: 16px; }
.diag-form[hidden], .diag-done[hidden] { display: none; }
.diag-form__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.diag-form__head h2 { font-size: 26px; letter-spacing: -0.015em; }
.diag-form__head span { font-size: 13px; color: var(--fg-50); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 13px; color: var(--fg-80); }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; font: inherit; font-size: 16px; color: #fff;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.14); outline: none;
  transition: border-color 200ms ease, background-color 200ms ease, opacity 200ms ease;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.6) 50%), linear-gradient(135deg, rgba(255,255,255,.6) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 17px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.field select:invalid { color: rgba(255, 255, 255, 0.4); }
.field select option { color: #fff; background: #0d1028; }
.field input::placeholder { color: rgba(255, 255, 255, 0.35); }
.field input:focus, .field select:focus { border-color: rgba(255, 255, 255, 0.5); background-color: rgba(255, 255, 255, 0.07); }
.field input:disabled { opacity: 0.4; }
.field .is-bad { border-color: var(--accent); background-color: rgba(232, 69, 44, 0.08); }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-80); cursor: pointer; margin-top: -4px; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; border: 0; min-width: 0; }
.chips legend { width: 100%; padding: 0; margin-bottom: 10px; font-size: 13px; color: var(--fg-80); }
.chips legend span { color: var(--fg-50); }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips label span { display: block; padding: 9px 14px; border-radius: 999px; font-size: 14px; color: var(--fg-80); border: 1px solid rgba(255, 255, 255, 0.14); transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.chips input:checked + span { background: #E9E9E9; border-color: #E9E9E9; color: var(--btn-fg); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips label:active span { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .chips label:hover input:not(:checked) + span { background: rgba(255, 255, 255, 0.06); color: #fff; } }
.diag-form__error { font-size: 14px; color: #ff9b89; }
.diag-form__send { gap: 10px; margin-top: 8px; border: 0; cursor: pointer; }
.diag-form__note { font-size: 13px; color: var(--fg-50); text-align: center; }

.diag-done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 12px 0; animation: faqIn 400ms var(--ease-out); }
.diag-done__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #06210f; }
.diag-done h2 { font-size: 32px; letter-spacing: -0.02em; }
.diag-done p { color: var(--fg-80); line-height: 1.5; max-width: 36ch; }
.diag-done__back { background: none; border: 0; padding: 4px 0; color: var(--fg-50); font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.diag-sample { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.diag-sample__text p { margin-top: 20px; font-size: 18px; line-height: 1.5; color: var(--fg-80); max-width: 42ch; }
.diag-report { border-radius: 28px; padding: clamp(24px, 3vw, 36px); }
.diag-report__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--fg-80); padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.diag-report li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.diag-report li:last-child { border-bottom: 0; padding-bottom: 0; }
.diag-report b { font-weight: 400; font-size: 17px; line-height: 1.3; }
.diag-report p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--fg-50); }
.prio { align-self: start; text-align: center; padding: 5px 0; border-radius: 999px; font-size: 12px; }
.prio--high { background: rgba(232, 69, 44, 0.18); color: #ffb4a6; }
.prio--mid { background: rgba(233, 196, 106, 0.14); color: #f1d48e; }
.prio--low { background: rgba(37, 211, 102, 0.14); color: #8be8ad; }
@media (max-width: 900px) { .diag-sample { grid-template-columns: 1fr; } }

/* Diagnosis teaser on the landing */
.diag-band { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 33px; border: 1px solid var(--glass-border); background: radial-gradient(100% 160% at 0% 0%, rgba(37, 211, 102, 0.14), transparent 55%), radial-gradient(100% 140% at 100% 100%, rgba(46, 74, 107, 0.45), transparent 60%), #0b0e20; }
.diag-band h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.025em; max-width: 18ch; }
.diag-band p { margin-top: 14px; color: var(--fg-80); line-height: 1.5; max-width: 52ch; }
@media (max-width: 760px) { .diag-band { grid-template-columns: 1fr; } }

/* Blog */
.posts { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.post {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap;
  padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: #fff;
}
.post__title { font-size: clamp(20px, 2vw, 26px); line-height: 1.15; }
.post__tag { font-size: 13px; color: var(--fg-50); }

/* Footer */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer__inner {
  max-width: 1800px; margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: clamp(64px, 8vw, 120px);
}
.footer__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.footer__cta h2 { font-size: clamp(40px, 6vw, 88px); line-height: 0.95; letter-spacing: -0.03em; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__brand p { font-size: 14px; line-height: 1.45; color: var(--fg-50); max-width: 28ch; }
.footer__list { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--fg-50); border-top: 1px solid var(--glass-border); padding-top: 24px;
}

/* Motion: initial states are applied by main.js only when motion is allowed */
.js-motion [data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), color 200ms ease;
}
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }
.js-motion [data-chart] .chart__bars span { transform: scaleY(0.04); }
.js-motion [data-chart].is-in .chart__bars span { transform: scaleY(1); transition: transform 700ms var(--ease); }

@media (max-width: 1023px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
}
@media (max-width: 767px) {
  .hero__media img { object-position: 72% center; }
  .hero__shade { background: linear-gradient(0deg, rgba(8, 10, 25, 0.75) 0%, rgba(8, 10, 25, 0.4) 45%, rgba(8, 10, 25, 0) 75%); }
  .hero__content { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shot__view::after, .page-hero__glow { animation: none; }
  .flow__item { transition: none; }
  /* Keep the fades, drop the movement */
  .menu nav a, .menu .btn { transform: none !important; }
  .btn:active, .nav__cta:active, .nav__toggle:active, .menu__close:active { transform: none; }
}
.plans__diag { display: inline-block; margin-left: 6px; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; }

/* Mobile section bar: a glass strip under the logo, part of the fixed header */
.tabbar { display: none; }
@media (max-width: 1023px) {
  .nav__inner { padding-bottom: 10px; }
  .tabbar {
    position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px;
    max-width: 560px; margin: 0 var(--gutter) 10px; padding: 4px; border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 32px -14px rgba(0, 0, 0, 0.6);
    transition: transform 300ms var(--ease-out);
  }
  .nav.is-scrolled .tabbar { transform: translateY(-6px); }
  .tabbar a {
    display: flex; align-items: center; justify-content: center; height: 36px; border-radius: 12px;
    font-size: 12.5px; letter-spacing: -0.005em; color: rgba(255, 255, 255, 0.72); white-space: nowrap;
    transition: color 200ms ease, background-color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out);
  }
  .tabbar a:active { transform: scale(0.95); }
  .tabbar a[aria-current="page"], .tabbar a.is-active {
    color: #fff; background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 8px rgba(0, 0, 0, 0.25);
  }
  [id] { scroll-margin-top: 150px; }
}
@media (max-width: 380px) { .tabbar a { font-size: 11.5px; } }
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) { .tabbar a:active { transform: none; } }
