:root {
  --ink: #111314;
  --muted: #5c6463;
  --paper: #f6f2ea;
  --paper-strong: #fffaf1;
  --line: rgba(17, 19, 20, 0.14);
  --green: #0b6b57;
  --green-2: #58b586;
  --amber: #d28c2d;
  --coral: #e36551;
  --blue: #2d6cdf;
  --shadow: 0 24px 80px rgba(20, 30, 28, 0.18);
  --radius: 8px;
  --scroll-wallpaper-scale: 1;
  --scroll-wallpaper-y: 0px;
  --scroll-wallpaper-rotate: 0deg;
  font-family: "Aptos", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(120deg, rgba(88, 181, 134, 0.14), transparent 34%),
    linear-gradient(240deg, rgba(210, 140, 45, 0.16), transparent 38%),
    radial-gradient(circle at 50% 0%, rgba(255, 250, 241, 0.96), rgba(246, 242, 234, 0.72) 45%, #ece5d8 100%);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 170ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 170ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

body.is-entering-from-right {
  opacity: 0;
  transform: translate3d(34px, 0, 0) scale(0.994);
}

body.is-entering-from-left {
  opacity: 0;
  transform: translate3d(-34px, 0, 0) scale(0.994);
}

body.is-leaving-to-left {
  opacity: 0;
  transform: translate3d(-34px, 0, 0) scale(0.994);
}

body.is-leaving-to-right {
  opacity: 0;
  transform: translate3d(34px, 0, 0) scale(0.994);
}

body.is-leaving {
  opacity: 0;
}

body.is-ready {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(17, 19, 20, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 20, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(900px) rotateX(62deg) translateY(-22%);
  transform-origin: top;
}

body::after {
  position: fixed;
  inset: -14%;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.54;
  background:
    radial-gradient(circle at 18% 24%, rgba(74, 222, 128, 0.38), transparent 22%),
    radial-gradient(circle at 78% 18%, rgba(96, 165, 250, 0.32), transparent 24%),
    radial-gradient(circle at 54% 72%, rgba(210, 140, 45, 0.22), transparent 30%),
    conic-gradient(from 120deg at 50% 50%, transparent, rgba(74, 222, 128, 0.18), transparent, rgba(96, 165, 250, 0.18), transparent);
  filter: blur(24px) saturate(1.24);
  mix-blend-mode: screen;
  transform:
    perspective(1000px)
    translate3d(0, var(--scroll-wallpaper-y), 0)
    rotateX(8deg)
    rotateZ(var(--scroll-wallpaper-rotate))
    scale(var(--scroll-wallpaper-scale));
  transform-origin: center;
  transition: transform 120ms linear;
  will-change: transform;
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

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

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(17, 19, 20, 0.08);
  background: rgba(246, 242, 234, 0.72);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(17, 19, 20, 0.12);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #102d2a);
  box-shadow: 0 14px 30px rgba(11, 107, 87, 0.22);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a,
.icon-link {
  padding: 10px 12px;
  border-radius: 999px;
  color: #38403f;
  font-size: 14px;
  font-weight: 720;
}

.nav-links a:hover,
.nav-links a.active,
.icon-link:hover {
  background: rgba(17, 19, 20, 0.07);
  color: var(--ink);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(17, 19, 20, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(17, 19, 20, 0.24);
}

.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 250, 241, 0.64);
  box-shadow: none;
}

.button.ghost {
  border-color: transparent;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.button.light {
  border-color: rgba(255, 250, 241, 0.92);
  color: var(--ink);
  background: #fffaf1;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 74px);
  padding: 86px 0 64px;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #315b51;
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  content: "";
  background: var(--green);
}

h1,
.display {
  margin: 0;
  max-width: 980px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 9vw, 128px);
  line-height: 0.9;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #3d4543;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

.hero-actions,
.action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 44px;
  max-width: 670px;
}

.mini-stat {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.mini-stat strong {
  display: block;
  font-size: 28px;
}

.mini-stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.stage-wrap {
  position: relative;
  min-height: 560px;
  perspective: 1200px;
}

.scene-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 30px 55px rgba(17, 19, 20, 0.22));
}

.device-stack {
  position: absolute;
  inset: 8% 6% 0;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-34deg);
  transition: transform 500ms ease;
}

.device {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(17, 19, 20, 0.18);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.88);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.device.laptop {
  right: 2%;
  bottom: 16%;
  width: 62%;
  aspect-ratio: 1.65;
  transform: translateZ(74px);
}

.device.phone {
  left: 4%;
  bottom: 22%;
  width: 25%;
  aspect-ratio: 0.52;
  border-radius: 26px;
  transform: translateZ(132px) rotateZ(4deg);
}

.device.tablet {
  left: 23%;
  top: 5%;
  width: 46%;
  aspect-ratio: 1.28;
  transform: translateZ(28px) rotateZ(5deg);
}

.device::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.6), transparent 42%),
    linear-gradient(180deg, rgba(11, 107, 87, 0.08), rgba(227, 101, 81, 0.08));
}

.screen {
  position: absolute;
  inset: 16px;
  overflow: hidden;
  border: 1px solid rgba(17, 19, 20, 0.12);
  border-radius: 12px;
  background: #fbf6ed;
}

.phone .screen {
  inset: 12px;
  border-radius: 18px;
}

.screen-bar,
.file-row,
.file-tile,
.route-line {
  position: absolute;
  border-radius: 999px;
  background: rgba(17, 19, 20, 0.12);
}

.screen-bar {
  top: 18px;
  left: 18px;
  width: 44%;
  height: 10px;
}

.file-tile {
  width: 28%;
  height: 30%;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(11, 107, 87, 0.9), rgba(88, 181, 134, 0.68));
}

.file-tile.one {
  left: 18px;
  top: 52px;
}

.file-tile.two {
  left: 38%;
  top: 52px;
  background: linear-gradient(135deg, rgba(45, 108, 223, 0.85), rgba(210, 140, 45, 0.6));
}

.file-tile.three {
  left: 18px;
  bottom: 18px;
  width: 66%;
  height: 22%;
  background: linear-gradient(135deg, rgba(227, 101, 81, 0.78), rgba(255, 250, 241, 0.88));
}

.file-row {
  left: 16px;
  right: 16px;
  height: 11px;
}

.file-row.r1 {
  top: 58px;
}

.file-row.r2 {
  top: 84px;
  right: 42px;
}

.file-row.r3 {
  top: 110px;
  right: 24px;
}

.route-line {
  left: 22%;
  top: 45%;
  width: 64%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green), var(--amber), transparent);
  transform: rotate(-18deg) translateZ(180px);
  animation: pulse-line 2.6s ease-in-out infinite;
}

.scroll-chip {
  position: absolute;
  right: 0;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #39423f;
  background: rgba(255, 250, 241, 0.7);
  font-size: 13px;
  font-weight: 760;
  backdrop-filter: blur(16px);
}

.scroll-chip i {
  width: 8px;
  height: 22px;
  border-radius: 999px;
  background: var(--green);
  animation: scroll-dot 1.8s infinite;
}

.section {
  padding: 104px 0;
}

.section.tight {
  padding: 72px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head h2,
.page-title h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

.section-head p,
.page-title p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.68);
  box-shadow: 0 18px 44px rgba(17, 19, 20, 0.08);
  transform-style: preserve-3d;
}

.card::after {
  position: absolute;
  inset: auto -20% -45% 26%;
  height: 140px;
  content: "";
  background: linear-gradient(90deg, rgba(88, 181, 134, 0.22), rgba(210, 140, 45, 0.22));
  transform: rotate(-10deg);
}

.card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: 0;
}

.card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.icon svg,
.card-icon svg,
.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.magnetic-field {
  position: relative;
  isolation: isolate;
}

.magnetic-field::before,
.magnetic-field::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(17, 19, 20, 0.08);
  border-radius: 50%;
  transform: rotateX(70deg);
  pointer-events: none;
}

.magnetic-field::before {
  inset: 9% 7%;
}

.magnetic-field::after {
  inset: 20% 18%;
}

.card .icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border: 1px solid rgba(17, 19, 20, 0.12);
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.wide-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 19, 20, 0.92);
  color: #fffaf1;
}

.media-showcase {
  position: relative;
  overflow: hidden;
}

.media-showcase::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(115deg, rgba(17, 19, 20, 0.96), rgba(12, 44, 39, 0.92) 44%, rgba(210, 140, 45, 0.18)),
    url("media/screenshots/shot-01.png") center / cover;
  background-blend-mode: multiply;
}

.media-showcase .section-head h2,
.media-showcase .section-head p {
  color: #fffaf1;
}

.clip-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
  align-items: stretch;
}

.clip-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  transform-style: preserve-3d;
}

.clip-card.small {
  min-height: 200px;
}

.clip-card video,
.clip-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.clip-card video {
  opacity: 0.88;
  filter: saturate(1.08) contrast(1.03);
}

.clip-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  padding: 16px;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 8px;
  color: #fffaf1;
  background: rgba(17, 19, 20, 0.62);
  backdrop-filter: blur(18px);
}

.clip-caption strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.clip-caption span {
  color: rgba(255, 250, 241, 0.72);
  line-height: 1.45;
}

.clip-stack {
  display: grid;
  gap: 18px;
}

.product-lab {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f9fbff;
}

.product-lab::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.7;
  background:
    linear-gradient(90deg, rgba(11, 107, 87, 0.08), transparent 34%, rgba(45, 108, 223, 0.1)),
    url("media/screenshots/shot-10.png") center / cover fixed;
  filter: saturate(0.75);
}

.product-lab::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(246, 242, 234, 0.72);
  backdrop-filter: blur(4px);
}

.product-lab .shell {
  position: relative;
  z-index: 1;
}

.feature-categories {
  display: grid;
  gap: 28px;
}

.feature-category {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.74);
  box-shadow: 0 22px 54px rgba(17, 19, 20, 0.08);
}

.feature-category:nth-child(even) {
  background: rgba(250, 253, 255, 0.76);
}

.feature-category h3 {
  margin: 0 0 12px;
  font-size: 28px;
}

.feature-category p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.shot-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 250px;
  padding: 16px 16px 30px;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #252b2f, #0a0d0f 84%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent);
  box-shadow: 0 24px 54px rgba(17, 19, 20, 0.2);
  transform-style: preserve-3d;
}

.shot-card::before {
  display: block;
  height: 9px;
  margin: -4px auto 10px;
  width: 54px;
  border-radius: 999px;
  content: "";
  background: rgba(255, 255, 255, 0.24);
}

.shot-card::after {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 8px;
  height: 8px;
  border-radius: 0 0 18px 18px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 250, 241, 0.42), transparent);
}

.shot-card.featured {
  grid-column: span 2;
  min-height: 340px;
}

.shot-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 600ms ease;
}

.shot-card:hover img {
  transform: scale(1.045);
}

.shot-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 19, 20, 0.7);
  font-size: 12px;
  font-weight: 820;
  backdrop-filter: blur(12px);
}

.phone-shot {
  max-width: 330px;
  min-height: 420px;
  border-radius: 32px;
  padding: 20px 14px 34px;
  justify-self: center;
}

.phone-shot::before {
  width: 88px;
  height: 12px;
}

.depth-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.depth-card {
  position: sticky;
  top: 96px;
  min-height: 420px;
  padding: 26px;
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: 8px;
  color: #fffaf1;
  background: rgba(17, 19, 20, 0.88);
  box-shadow: 0 26px 74px rgba(17, 19, 20, 0.22);
  transform-style: preserve-3d;
}

.depth-card:nth-child(2) {
  top: 126px;
  background: rgba(11, 107, 87, 0.9);
}

.depth-card:nth-child(3) {
  top: 156px;
  background: rgba(45, 108, 223, 0.86);
}

.depth-card strong {
  display: block;
  margin-bottom: 180px;
  color: rgba(255, 250, 241, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.depth-card h3 {
  margin: 0 0 14px;
  font-size: 30px;
}

.depth-card p {
  margin: 0;
  color: rgba(255, 250, 241, 0.72);
  line-height: 1.58;
}

.wide-band::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 250, 241, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 241, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
}

.wide-band .shell {
  position: relative;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 250, 241, 0.18);
  background: rgba(255, 250, 241, 0.18);
}

.step {
  min-height: 260px;
  padding: 26px;
  background: rgba(17, 19, 20, 0.72);
}

.step b {
  display: block;
  margin-bottom: 72px;
  color: var(--green-2);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.step p {
  margin: 0;
  color: rgba(255, 250, 241, 0.72);
  line-height: 1.55;
}

.platform-strip {
  display: flex;
  align-items: stretch;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.platform-pill {
  flex: 0 0 210px;
  min-height: 140px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.7);
}

.platform-pill strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.platform-pill span {
  color: var(--muted);
  line-height: 1.45;
}

.sansara-section {
  position: relative;
  overflow: hidden;
  margin: 22px 0;
  color: #f6f2ea;
  background:
    radial-gradient(circle at 78% 20%, rgba(74, 222, 128, 0.22), transparent 26%),
    radial-gradient(circle at 16% 84%, rgba(45, 108, 223, 0.24), transparent 30%),
    linear-gradient(135deg, #090d0c, #13201c 46%, #080b0b);
  perspective: 1500px;
}

.sansara-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 250, 241, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 241, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: rotateX(64deg) translateY(-30%);
  transform-origin: top;
}

.sansara-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1fr);
  gap: 56px;
  align-items: center;
  min-height: 760px;
}

.manifesto-copy {
  max-width: 620px;
}

.manifesto-copy h2 {
  margin: 0 0 24px;
  max-width: 10ch;
  font-size: clamp(64px, 8.4vw, 132px);
  line-height: 0.82;
  letter-spacing: -0.08em;
}

.manifesto-copy p {
  margin: 0 0 18px;
  max-width: 560px;
  color: rgba(246, 242, 234, 0.72);
  font-size: 18px;
  line-height: 1.68;
}

.manifesto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.sansara-section .button.ghost {
  border-color: rgba(255, 250, 241, 0.18);
  color: #f6f2ea;
  background: rgba(255, 250, 241, 0.06);
}

.protocol-theatre {
  position: relative;
  min-height: 610px;
  transform-style: preserve-3d;
}

.protocol-theatre::before,
.protocol-theatre::after {
  position: absolute;
  inset: 80px 36px;
  content: "";
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: 999px;
  transform: rotateX(65deg) rotateZ(-18deg);
}

.protocol-theatre::after {
  inset: 130px 82px;
  border-color: rgba(74, 222, 128, 0.22);
  transform: rotateX(65deg) rotateZ(20deg);
}

.protocol-core {
  position: absolute;
  top: 174px;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 250px;
  height: 250px;
  padding: 28px;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 50%;
  text-align: center;
  background: rgba(12, 16, 15, 0.78);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.4), inset 0 0 60px rgba(74, 222, 128, 0.08);
  transform: translateX(-50%) translateZ(80px);
}

.protocol-core img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(77, 177, 255, 0.34));
}

.protocol-core span,
.protocol-nodes span,
.floating-shot figcaption {
  color: rgba(246, 242, 234, 0.58);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.protocol-core strong {
  color: #fffaf1;
  font-size: 22px;
  line-height: 1;
}

.protocol-nodes {
  position: absolute;
  inset: 40px 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  z-index: 3;
}

.protocol-nodes span {
  padding: 14px 16px;
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.06);
  backdrop-filter: blur(12px);
}

.floating-shot {
  position: absolute;
  z-index: 4;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  transform-style: preserve-3d;
}

.floating-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.floating-shot figcaption {
  padding: 12px 14px;
  background: rgba(8, 11, 11, 0.82);
}

.shot-a {
  right: 0;
  bottom: 26px;
  width: min(70%, 430px);
  transform: rotateY(-13deg) rotateX(5deg) translateZ(80px);
}

.shot-b {
  left: 8px;
  bottom: 130px;
  width: min(54%, 330px);
  transform: rotateY(16deg) rotateX(8deg) translateZ(130px);
}

.shot-c {
  right: 42px;
  top: 104px;
  width: min(46%, 284px);
  transform: rotateY(-24deg) rotateX(10deg) translateZ(160px);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.download-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-height: 330px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.76);
  box-shadow: 0 18px 44px rgba(17, 19, 20, 0.08);
  transform-style: preserve-3d;
}

.os-mark {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #354240);
  font-weight: 900;
}

.os-mark svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.os-mark img,
.contact-icon img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.os-mark.macos img {
  width: 52px;
  height: 52px;
}

.os-mark.macos svg,
.os-mark.ios svg,
.os-mark.windows svg,
.os-mark.android svg,
.os-mark.linux svg {
  fill: currentColor;
  stroke: none;
}

.os-mark.android {
  color: #102019;
  background: linear-gradient(135deg, #a7f3b6, #55d46d);
}

.os-mark.windows {
  background: linear-gradient(135deg, #1875ff, #0b55b7);
}

.os-mark.macos,
.os-mark.ios {
  color: #111314;
  background: linear-gradient(135deg, #ffffff, #dfe8f4);
}

.os-mark.linux {
  color: #111314;
  background: linear-gradient(135deg, #ffe07a, #f5a623);
}

.download-card h3 {
  margin: 0 0 4px;
}

.download-card p {
  margin: 0;
  color: var(--muted);
}

.download-card .button {
  width: 100%;
}

.page-hero {
  padding: 88px 0 56px;
}

.page-title {
  max-width: 980px;
}

.page-title h1 {
  margin-bottom: 24px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.48fr);
  gap: 48px;
  align-items: start;
}

.panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.72);
}

.section-copy {
  display: grid;
  gap: 22px;
}

.section-copy h2,
.panel h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.section-copy h3,
.panel h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.section-copy p,
.panel p {
  color: var(--muted);
  line-height: 1.62;
}

.protocol-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 20px;
  margin-top: 12px;
  padding: 22px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 84% 12%, rgba(96, 165, 250, 0.22), transparent 32%),
    rgba(20, 22, 24, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.protocol-panel::before {
  position: absolute;
  inset: auto -20% -42% 10%;
  height: 170px;
  content: "";
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.protocol-panel-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.protocol-panel-head img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(96, 165, 250, 0.28));
}

.protocol-panel-head span,
.protocol-tags span,
.protocol-flow span {
  font-family: "Consolas", "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.protocol-panel-head span {
  display: block;
  color: #60a5fa;
}

.protocol-panel-head strong {
  display: block;
  margin-top: 2px;
  color: #e8eaed;
  font-size: 24px;
}

.protocol-flow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.protocol-flow span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #e8eaed;
  background: rgba(255, 255, 255, 0.05);
}

.protocol-flow i {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.2), #60a5fa);
}

.protocol-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.protocol-tags span {
  padding: 6px 9px;
  border: 1px solid rgba(74, 222, 128, 0.24);
  border-radius: 5px;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.detail-tile {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.74);
  box-shadow: 0 18px 44px rgba(17, 19, 20, 0.07);
  transform-style: preserve-3d;
}

.detail-tile strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.security-lab {
  color: #e8eaed;
  background: #0d0f11;
}

.security-lab .eyebrow,
.security-lab h1,
.security-lab h2,
.security-lab h3 {
  color: #e8eaed;
}

.security-lab .page-title p,
.security-lab .section-head p,
.security-lab p {
  color: #8d96a7;
}

.security-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0;
}

.security-metric,
.security-card,
.info-bar {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #141618;
}

.security-metric {
  padding: 18px;
}

.security-metric span {
  display: block;
  margin-bottom: 8px;
  color: #7a8190;
  font-family: "Consolas", "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.security-metric strong {
  color: #4ade80;
  font-family: "Consolas", "DM Mono", monospace;
  font-size: 22px;
}

.security-stack {
  display: grid;
  gap: 10px;
}

.security-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.security-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: #1c1f22;
}

.card-icon,
.security-card .card-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 8px;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
}

.badge-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.badge {
  padding: 3px 8px;
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 4px;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  font-family: "Consolas", monospace;
  font-size: 11px;
}

.info-bar {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.2);
}

.info-bar p {
  margin: 0;
  color: #60a5fa;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.platform-card {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.76);
  box-shadow: 0 18px 44px rgba(17, 19, 20, 0.08);
  transform-style: preserve-3d;
}

.platform-card h3 {
  margin: 0;
  font-size: 28px;
}

.platform-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(17, 19, 20, 0.08);
  color: #39423f;
  font-size: 14px;
}

.spec-list b {
  color: var(--ink);
}

.pricing-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.45fr);
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 19, 20, 0.92);
  color: #fffaf1;
  box-shadow: var(--shadow);
}

.pricing-hero-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.9;
}

.pricing-hero-card p {
  color: rgba(255, 250, 241, 0.72);
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.78);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 1px;
  border-bottom: 1px solid var(--line);
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-row > div {
  padding: 16px;
}

.comparison-row.header {
  color: #fff;
  background: var(--ink);
  font-weight: 820;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.74);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 19, 20, 0.24);
  box-shadow: 0 18px 34px rgba(17, 19, 20, 0.1);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
}

.contact-icon.image {
  color: inherit;
  background: rgba(255, 250, 241, 0.82);
  border: 1px solid var(--line);
}

.contact-icon.github {
  background: #181717;
}

.contact-icon.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.contact-icon.gmail {
  background: #fff;
  color: #c5221f;
  border: 1px solid var(--line);
}

.contact-icon.telegram {
  background: #26a5e4;
}

.contact-card strong,
.contact-card span {
  display: block;
}

.contact-card span {
  color: var(--muted);
  word-break: break-word;
}

.list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: #39423f;
  line-height: 1.55;
}

.list li:last-child {
  border-bottom: 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 820;
}

.faq p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form .message-again[hidden] {
  display: none;
}

.contact-form .button:disabled {
  cursor: default;
  opacity: 0.74;
  transform: none;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 250, 241, 0.74);
  font: inherit;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.footer {
  padding: 52px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-legal {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(246, 242, 234, 0.48);
  font-size: 12px;
  line-height: 1.55;
}

.legal-panel {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.legal-panel p {
  margin: 0;
  color: rgba(246, 242, 234, 0.68);
  line-height: 1.62;
}

.legal-panel h2 {
  margin: 0;
}

/* Premium dark editorial pass shared across the full site. */
body {
  color: #f6f2ea;
  background:
    radial-gradient(circle at 12% 8%, rgba(74, 222, 128, 0.12), transparent 24%),
    radial-gradient(circle at 92% 16%, rgba(45, 108, 223, 0.18), transparent 28%),
    linear-gradient(140deg, #060807, #0f1714 45%, #050706);
}

body::before {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 250, 241, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 241, 0.06) 1px, transparent 1px);
}

.nav {
  border-bottom-color: rgba(255, 250, 241, 0.09);
  background: rgba(6, 8, 7, 0.72);
}

.brand,
.nav-links a:hover,
.nav-links a.active {
  color: #fffaf1;
}

.brand small,
.nav-links a,
.lead,
.section-head p,
.page-title p,
.card p,
.feature-category p,
.download-card p,
.platform-card p,
.detail-tile p,
.panel p,
.section-copy p,
.platform-pill span,
.contact-card span,
.faq p {
  color: rgba(246, 242, 234, 0.66);
}

.brand-mark {
  border-color: rgba(255, 250, 241, 0.14);
  background: linear-gradient(135deg, #4ade80, #0b6b57 48%, #102d2a);
  box-shadow: 0 18px 48px rgba(74, 222, 128, 0.2);
}

.nav-links a:hover,
.nav-links a.active,
.icon-link:hover {
  background: rgba(255, 250, 241, 0.08);
}

.button.secondary,
.contact-card .button.secondary,
.download-card .button.secondary {
  border-color: rgba(255, 250, 241, 0.18);
  color: #fffaf1;
  background: rgba(255, 250, 241, 0.08);
}

.button.ghost {
  color: #fffaf1;
}

.eyebrow {
  color: #8ee6b3;
}

.eyebrow::before {
  background: #4ade80;
}

h1,
.display,
.section-head h2,
.page-title h1,
.section-copy h2,
.panel h2,
.card h3,
.feature-category h3,
.download-card h3,
.platform-card h3,
.pricing-hero-card h2,
.contact-card strong,
.faq summary {
  color: #fffaf1;
}

.hero,
.page-hero,
.section:not(.sansara-section):not(.media-showcase):not(.wide-band):not(.product-lab) {
  position: relative;
  overflow: hidden;
}

.page-hero::before,
.section:not(.sansara-section):not(.media-showcase):not(.wide-band):not(.product-lab)::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 72% 10%, rgba(74, 222, 128, 0.11), transparent 26%),
    linear-gradient(180deg, rgba(255, 250, 241, 0.025), transparent 45%);
}

.card,
.panel,
.feature-category,
.download-card,
.platform-card,
.detail-tile,
.platform-pill,
.comparison-table,
.contact-card {
  border-color: rgba(255, 250, 241, 0.12);
  color: #fffaf1;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.095), rgba(255, 250, 241, 0.035)),
    rgba(9, 13, 12, 0.72);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.card::after {
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.18), rgba(96, 165, 250, 0.18));
}

.product-lab {
  color: #fffaf1;
  background: #07100d;
  border-color: rgba(255, 250, 241, 0.1);
}

.product-lab::before {
  opacity: 0.55;
  filter: saturate(0.95) contrast(1.05);
}

.product-lab::after {
  background:
    radial-gradient(circle at 80% 16%, rgba(74, 222, 128, 0.12), transparent 28%),
    rgba(5, 7, 7, 0.78);
  backdrop-filter: blur(2px);
}

.feature-category:nth-child(even) {
  background:
    linear-gradient(145deg, rgba(96, 165, 250, 0.12), rgba(255, 250, 241, 0.035)),
    rgba(9, 13, 12, 0.76);
}

.feature-category,
.download-card,
.platform-card,
.contact-card,
.detail-tile {
  border-radius: 18px;
}

.download-card,
.platform-card {
  min-height: 360px;
}

.os-mark,
.os-mark.android,
.os-mark.windows,
.os-mark.macos,
.os-mark.ios,
.os-mark.linux {
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 20px;
  color: #111314;
  background: rgba(255, 250, 241, 0.92);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.os-mark img {
  width: 50px;
  height: 50px;
}

.os-mark.macos img {
  width: 58px;
  height: 58px;
}

.contact-icon.image {
  width: 58px;
  height: 58px;
  border-color: rgba(255, 250, 241, 0.16);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.94);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.contact-icon img {
  width: 42px;
  height: 42px;
}

.spec-list li,
.list li,
.faq details,
.comparison-row {
  border-color: rgba(255, 250, 241, 0.11);
  color: rgba(246, 242, 234, 0.72);
}

.spec-list b,
.detail-tile strong {
  color: #8ee6b3;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border-color: rgba(255, 250, 241, 0.14);
  color: #fffaf1;
  background: rgba(255, 250, 241, 0.08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(246, 242, 234, 0.46);
}

.footer {
  border-top-color: rgba(255, 250, 241, 0.1);
  color: rgba(246, 242, 234, 0.54);
}

.mtproto-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 22px;
  margin-top: 36px;
  padding: 28px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 14% 32%, rgba(96, 165, 250, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(255, 250, 241, 0.08), rgba(255, 250, 241, 0.025));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.mtproto-hero::before {
  position: absolute;
  inset: 12% 10%;
  content: "";
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 50%;
  transform: rotateX(64deg) rotateZ(-18deg);
}

.mtproto-orbit {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
}

.mtproto-orbit img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(96, 165, 250, 0.38));
}

.mtproto-orbit span {
  color: #fffaf1;
  font-size: clamp(30px, 6vw, 68px);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.mtproto-lines {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mtproto-lines span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: 999px;
  color: rgba(246, 242, 234, 0.76);
  background: rgba(255, 250, 241, 0.06);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mtproto-lines i {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #60a5fa);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes pulse-line {
  0%,
  100% {
    opacity: 0.4;
    transform: rotate(-18deg) translateZ(180px) scaleX(0.75);
  }
  50% {
    opacity: 1;
    transform: rotate(-18deg) translateZ(180px) scaleX(1.05);
  }
}

@keyframes scroll-dot {
  0% {
    transform: translateY(-4px);
    opacity: 0.4;
  }
  50% {
    transform: translateY(5px);
    opacity: 1;
  }
  100% {
    transform: translateY(-4px);
    opacity: 0.4;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .split {
    grid-template-columns: 1fr;
  }

  .stage-wrap {
    min-height: 430px;
  }

  .grid.three,
  .grid.two,
  .timeline,
  .clip-grid,
  .feature-category,
  .depth-row,
  .sansara-grid,
  .detail-grid,
  .platform-grid,
  .pricing-hero-card,
  .comparison-row {
    grid-template-columns: 1fr;
  }

  .sansara-grid {
    min-height: auto;
  }

  .protocol-theatre {
    min-height: 560px;
  }

  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 12px 0;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .nav-cta {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .hero,
  .section,
  .page-hero {
    padding: 56px 0;
  }

  h1,
  .display {
    font-size: clamp(50px, 17vw, 76px);
  }

  .lead {
    font-size: 18px;
  }

  .manifesto-copy h2 {
    font-size: clamp(56px, 18vw, 82px);
  }

  .protocol-theatre {
    min-height: 520px;
  }

  .protocol-nodes {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    margin-bottom: 18px;
  }

  .protocol-core {
    top: 146px;
    width: 210px;
    height: 210px;
  }

  .shot-a,
  .shot-b,
  .shot-c {
    width: 70%;
  }

  .trust-row,
  .download-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .feature-category,
  .clip-card {
    padding: 0;
  }

  .feature-category {
    padding: 18px;
  }

  .shot-card.featured {
    grid-column: auto;
  }

  .security-metrics,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    grid-template-columns: auto 1fr;
  }

  .contact-card .button {
    grid-column: 1 / -1;
  }

  .stage-wrap {
    min-height: 340px;
  }

  .device-stack {
    inset: 0;
    transform: rotateX(55deg) rotateZ(-32deg) scale(0.88);
  }

  .nav-cta {
    width: auto;
    justify-content: flex-end;
  }
}
