/* ==========================================================================
   GrowStation — vanilla stylesheet
   Hand-written. No Tailwind, no preprocessor, no build step.

   1. Tokens
   2. Reset & base
   3. Layout primitives
   4. HUD chrome (bevels, brackets, scanlines, grids)
   5. Buttons
   6. Header & mobile drawer
   7. Preloader
   8. Hero + gesture viewfinder
   9. Sections & cards
  10. Page-specific blocks
  11. Footer
  12. Motion / reveals
  13. Responsive
   ========================================================================== */

/* -------------------------------------------------------------- 1. tokens */

:root,
[data-theme="light"] {
  --surface: #fbfaf7;
  --panel: #ffffff;
  --sunken: #f3efe8;

  --fg: #14121a;
  --muted: #57535f;
  --faint: #8e8996;

  --line: #e7e1d7;
  --line-strong: #d8d1c4;

  --shadow-rgb: 32 24 12;
  --shadow-a: 0.09;
}

[data-theme="dark"] {
  --surface: #0b0a12;
  --panel: #14131d;
  --sunken: #100f18;

  --fg: #f7f5f2;
  --muted: #a8a3b2;
  --faint: #736e80;

  --line: #262433;
  --line-strong: #343146;

  --shadow-rgb: 0 0 0;
  --shadow-a: 0.45;
}

:root {
  --brand-50: #fff5ed;
  --brand-100: #ffe6d2;
  --brand-200: #ffc79f;
  --brand-300: #ffa365;
  --brand-400: #fb832c;
  --brand-500: #f76c0d;
  --brand-600: #d75708;
  --brand-700: #ab4207;

  --volt-400: #ffc83d;
  --volt-500: #ffb020;
  --scan-400: #38bdf8;

  --ink-950: #08080f;

  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono:
    ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, monospace;

  --wrap: 84rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-card:
    0 1px 2px rgb(var(--shadow-rgb) / calc(var(--shadow-a) * 0.7)),
    0 12px 28px -12px rgb(var(--shadow-rgb) / var(--shadow-a));
  --shadow-lg:
    0 2px 4px rgb(var(--shadow-rgb) / calc(var(--shadow-a) * 0.6)),
    0 28px 60px -22px rgb(var(--shadow-rgb) / calc(var(--shadow-a) * 1.35));
  --glow-brand: 0 10px 30px -10px rgba(247, 108, 13, 0.75);
}

/* --------------------------------------------------------- 2. reset/base */

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--line);
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--surface);
  color-scheme: light;
}

html[data-nav-tone="dark"] {
  color-scheme: dark;
}

body {
  background: var(--surface);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition:
    background-color 0.6s ease,
    color 0.6s ease;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.06;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

ul,
ol {
  list-style: none;
  padding: 0;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--brand-500);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  ::-webkit-scrollbar {
    width: 11px;
  }
  ::-webkit-scrollbar-track {
    background: var(--sunken);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--brand-500);
    border-radius: 999px;
    border: 3px solid var(--sunken);
  }
}

/* ------------------------------------------------------------- 3. layout */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  position: relative;
  overflow: hidden;
  padding-block: 3rem;
  background: var(--surface);
  color: var(--fg);
  transition:
    background-color 0.6s ease,
    color 0.6s ease;
}

.section--tight {
  padding-block: 3rem;
}

.section--sunken {
  background: var(--sunken);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.stack > * + * {
  margin-top: var(--stack, 1rem);
}

.center {
  text-align: center;
}

/* ---------------------------------------------------------- 4. HUD chrome */

.bevel {
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}

.bevel-sm {
  clip-path: polygon(
    0 0,
    calc(100% - 9px) 0,
    100% 9px,
    100% 100%,
    9px 100%,
    0 calc(100% - 9px)
  );
}

/* L-brackets pinned to opposite corners */
.hud {
  position: relative;
}

.hud::before,
.hud::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--brand-500);
  pointer-events: none;
  opacity: 0.75;
  transition:
    opacity 0.35s ease,
    width 0.35s ease,
    height 0.35s ease;
}

.hud::before {
  top: 10px;
  left: 10px;
  border-top: 2px solid;
  border-left: 2px solid;
}
.icons-controller{
  margin-bottom: 100px;
}

.hud::after {
  right: 10px;
  bottom: 10px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.hud:hover::before,
.hud:hover::after {
  opacity: 1;
  width: 22px;
  height: 22px;
}

.scanlines {
  position: relative;
}

.scanlines::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    rgb(var(--shadow-rgb) / 0.045) 0px,
    rgb(var(--shadow-rgb) / 0.045) 1px,
    transparent 1px,
    transparent 3px
  );
}

.tech-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size:
    96px 96px,
    96px 96px,
    24px 24px,
    24px 24px;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 14%,
    #000 86%,
    transparent
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 14%,
    #000 86%,
    transparent
  );
}

.blob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}

.blob--brand {
  background: rgba(247, 108, 13, 0.1);
}
.blob--volt {
  background: rgba(255, 176, 32, 0.1);
}
.blob--scan {
  background: rgba(56, 189, 248, 0.08);
}

/* mono HUD label */
.tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  border: 2px solid rgba(247, 108, 13, 0.3);
  background: rgba(247, 108, 13, 0.07);
  color: var(--brand-700);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  clip-path: polygon(
    0 0,
    calc(100% - 9px) 0,
    100% 9px,
    100% 100%,
    9px 100%,
    0 calc(100% - 9px)
  );
}

.eyebrow .slash {
  color: rgba(247, 108, 13, 0.7);
}

.pip {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
}

.pip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand-500);
  animation: pulse-ring 2.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pip::after {
  content: "";
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--brand-500);
}

/* ------------------------------------------------------------ 5. buttons */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow: hidden;
  user-select: none;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
  clip-path: polygon(
    0 0,
    calc(100% - 9px) 0,
    100% 9px,
    100% 100%,
    9px 100%,
    0 calc(100% - 9px)
  );
}

.btn__sweep {
  position: absolute;
  inset-block: 0;
  width: 33%;
  transform: translateX(-140%) skewX(-18deg);
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.btn:hover .btn__sweep {
  animation: sweep-once 0.7s ease-in-out;
}

.btn > span:not(.btn__sweep) {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.btn--primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 4px 0 0 var(--brand-700);
}

.btn--primary:hover {
  background: var(--brand-400);
}

.btn--primary:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 0 var(--brand-700);
}

.btn--outline {
  /* margin-bottom: 30px; */
  border: 2px solid var(--line-strong);
  background: var(--panel);
  color: var(--fg);
  box-shadow: 0 4px 0 0 var(--line-strong);
}
.btn-ges{
  margin-bottom: 30px;
  border: 2px solid var(--line-strong);
   background: var(--brand-500);
  color: #fff;
  box-shadow: 0 4px 0 0 var(--line-strong);
}

.btn--outline:hover {
  border-color: var(--brand-500);
  color: var(--brand-700);
}

.btn--outline:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 0 var(--line-strong);
}

.btn--lg {
  padding: 1.15rem 2.5rem;
  font-size: 0.8125rem;
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.6875rem;
}

.btn--block {
  width: 100%;
}


.btn__icon {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------- 6. header & drawer */

.progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: 3px;
  z-index: 70;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(
    90deg,
    var(--brand-600),
    var(--brand-400),
    var(--volt-500)
  );
}

.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding-block: 1rem;
  border-bottom: 1px solid transparent;
  transition:
    padding 0.4s ease,
    background-color 0.4s ease,
    border-color 0.4s ease;
}

.header.is-stuck {
  padding-block: 0.625rem;
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: var(--brand-500);
  color: #fff;
  flex-shrink: 0;
}

.brand__mark svg {
  width: 62%;
  height: 62%;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__name em {
  font-style: normal;
  color: var(--brand-500);
}

.nav {
  display: none;
  align-items: center;
  gap: 0.125rem;
}

.nav__link {
  display: block;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.nav__link:hover {
  color: var(--fg);
}

.nav__link.is-active {
  color: var(--brand-700);
  background: rgba(247, 108, 13, 0.1);
  box-shadow: inset 0 0 0 1px rgba(247, 108, 13, 0.2);
}

.header__cta {
  display: none;
}

.burger {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--panel);
  box-shadow: var(--shadow-card);
}

.burger__box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.25rem;
  height: 0.875rem;
}

.burger__box span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: var(--brand-500);
  transition:
    transform 0.3s ease,
    opacity 0.2s ease;
}

.burger[aria-expanded="true"] .burger__box span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger__box span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}
.burger[aria-expanded="true"] .burger__box span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(8, 8, 15, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  inset-block: 0;
  right: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  width: min(88vw, 21rem);
  padding: 6rem 0 2.5rem;
  overflow-y: auto;
  background: var(--surface);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__list {
  padding-inline: 1.5rem;
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drawer__link.is-active {
  color: var(--brand-600);
}

.drawer__link span {
  font-size: 0.75rem;
  color: var(--faint);
}

.drawer__foot {
  padding: 2rem 1.5rem 0;
}

.drawer__meta {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: var(--faint);
}

.drawer__meta a {
  color: var(--muted);
  font-weight: 500;
}

/* --------------------------------------------------------- 7. preloader */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preloader.is-done {
  pointer-events: none;
}

.preloader__half {
  position: absolute;
  inset-inline: 0;
  height: 50%;
  background: var(--surface);
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.preloader__half--top {
  top: 0;
  border-bottom: 2px solid rgba(247, 108, 13, 0.3);
}
.preloader__half--bottom {
  bottom: 0;
}

.preloader.is-done .preloader__half--top {
  transform: translateY(-100%);
}
.preloader.is-done .preloader__half--bottom {
  transform: translateY(100%);
}

.preloader__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 1.5rem;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.preloader.is-done .preloader__body {
  opacity: 0;
  transform: scale(0.95);
}

.preloader__rig {
  width: min(100vw, 38.75rem);  /* 620px ≈ 38.75rem — matches viewBox 1:1 */
  height: auto;
  aspect-ratio: 620 / 250;      /* same ratio as viewBox, so nothing gets squeezed */
  filter: drop-shadow(0 0 18px rgba(247, 108, 13, 0.25));
}

.preloader__rig .bone {
  stroke: var(--brand-500);
  stroke-width: 1.8;
  stroke-linecap: round;
  fill: none;
  opacity: 0;
}

.preloader__rig .joint {
  fill: var(--brand-500);
  transform-box: fill-box;
  transform-origin: center;
  scale: 0;
}

.preloader__rig .joint--tip {
  fill: var(--volt-500);
}

.preloader__rig .reticle {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1;
  stroke-dasharray: 4 12;
  transform-origin: 130px 118px;
  animation: spin 20s linear infinite;
}

.preloader__brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.preloader__brand em {
  font-style: normal;
  color: var(--brand-500);
}

.preloader__console {
  height: 1rem;
  margin-top: 1.25rem;
  color: var(--muted);
}

.preloader__console b {
  color: var(--brand-500);
  font-weight: 400;
}

.caret {
  display: inline-block;
  width: 6px;
  height: 0.75rem;
  margin-left: 0.25rem;
  vertical-align: middle;
  background: var(--brand-500);
  animation: blink 1.4s steps(2, start) infinite;
}

.preloader__bar {
  display: flex;
  gap: 3px;
  width: 14rem;
  margin-top: 1.25rem;
}

.preloader__bar i {
  flex: 1;
  height: 10px;
  background: var(--line);
  transition: background-color 0.15s ease;
}

.preloader__bar i.on {
  background: var(--brand-500);
}

.preloader__pct {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  font-variant-numeric: tabular-nums;
  color: var(--brand-600);
}

/* ----------------------------------------------- 8. hero & viewfinder */

.hero {
  position: relative;
  padding-block: 7rem 4rem;
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero__title {
  margin-top: 1.5rem;
  font-size: clamp(2.6rem, 9vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero__title span {
  display: block;
}

.gradient-text {
  background-image: linear-gradient(
    96deg,
    var(--brand-600) 0%,
    var(--brand-500) 38%,
    var(--volt-500) 62%,
    var(--brand-500) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}

.hero__lede {
  max-width: 36rem;
  margin-top: 1.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(247, 108, 13, 0.4);
  font-size: 0.9375rem;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.stat {
  position: relative;
  padding: 0.75rem 0.875rem;
  border: 2px solid var(--line);
  background: var(--panel);
  clip-path: polygon(
    0 0,
    calc(100% - 9px) 0,
    100% 9px,
    100% 100%,
    9px 100%,
    0 calc(100% - 9px)
  );
}

.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--brand-500);
}

.stat__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  margin-top: 0.125rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.stat__eq {
  position: absolute;
  right: 0.75rem;
  bottom: 0.625rem;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 0.75rem;
}

.stat__eq i {
  width: 2px;
  height: 100%;
  transform-origin: bottom;
  background: rgba(247, 108, 13, 0.4);
  animation: bar 1.1s ease-in-out infinite;
}

/* viewfinder ------------------------------------------------------------ */

.viewfinder {
  position: relative;
}

.viewfinder__halo {
  position: absolute;
  inset: -1.5rem;
  border-radius: 3rem;
  background: rgba(247, 108, 13, 0.2);
  filter: blur(70px);
  pointer-events: none;
}

.viewfinder__panel {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid #1a1926;
  border-radius: 1.75rem;
  background: #0b0a12;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  box-shadow: var(--shadow-lg);
}

.viewfinder__panel.is-dragging {
  cursor: grabbing;
}

.viewfinder__panel canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.viewfinder__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 48px 48px;
}

.viewfinder__scan {
  position: absolute;
  inset-inline: 0;
  height: 6rem;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(247, 108, 13, 0.2),
    transparent
  );
  animation: scanline 4s linear infinite;
}

.viewfinder__corner {
  position: absolute;
  width: 1.75rem;
  height: 1.75rem;
  border-color: rgba(251, 131, 44, 0.8);
  pointer-events: none;
}

.viewfinder__corner--tl {
  top: 1rem;
  left: 1rem;
  border-top: 2px solid;
  border-left: 2px solid;
}
.viewfinder__corner--tr {
  top: 1rem;
  right: 1rem;
  border-top: 2px solid;
  border-right: 2px solid;
}
.viewfinder__corner--bl {
  bottom: 1rem;
  left: 1rem;
  border-bottom: 2px solid;
  border-left: 2px solid;
}
.viewfinder__corner--br {
  bottom: 1rem;
  right: 1rem;
  border-bottom: 2px solid;
  border-right: 2px solid;
}

.viewfinder__rec {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.viewfinder__rec i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: blink 1.4s steps(2, start) infinite;
}

.viewfinder__rec span {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.viewfinder__pose {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--volt-400);
  white-space: nowrap;
  pointer-events: none;
}

.viewfinder__hint {
  margin-top: 1.25rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
}

.poses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.pose {
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.pose:hover {
  border-color: var(--brand-400);
  color: var(--brand-600);
}

.pose.is-active {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
  box-shadow: var(--glow-brand);
}

/* ------------------------------------------------- 9. sections & cards */

.head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}

.head--left {
  align-items: flex-start;
  text-align: left;
}

.head__title {
  max-width: 56rem;
  font-size: clamp(1.875rem, 5vw, 3.2rem);
}

.head__kicker {
  max-width: 42rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.page-hero {
  position: relative;
  padding-block: 8rem 3.5rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.page-hero__title {
  max-width: 56rem;
  margin-inline: auto;
  font-size: clamp(2.1rem, 8vw, 4.2rem);
  line-height: 1.02;
}

.page-hero__kicker {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.card {
  position: relative;
  height: 100%;
  padding: 1.5rem;
  border: 2px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  transition:
    border-color 0.4s ease,
    transform 0.4s var(--ease);
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}
.card-download{
    position: relative;
  padding: 1.5rem;
  border: 2px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  transition:
    border-color 0.4s ease,
    transform 0.4s var(--ease);
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}
.card:hover {
  border-color: rgba(247, 108, 13, 0.4);
}

.card__title {
  font-size: 1.125rem;
  font-weight: 700;
}

.card__body {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.card__index {
  position: absolute;
  right: -0.5rem;
  top: -1.25rem;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: rgb(var(--shadow-rgb) / 0.035);
  pointer-events: none;
}

.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
  border-radius: 1rem;
  background: var(--brand-500);
  box-shadow: var(--glow-brand);
  transition: transform 0.5s var(--ease);
}

.card:hover .icon-tile {
  transform: translateY(-4px) rotate(6deg);
}

.icon-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* media frame ----------------------------------------------------------- */

.frame {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-lg);
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}

.frame__caption {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  background: rgba(8, 8, 15, 0.7);
  backdrop-filter: blur(4px);
  color: var(--volt-400);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

/* rail (horizontal scroller) -------------------------------------------- */

.rail {
  display: flex;
  gap: 1.25rem;
  padding: 0 1.25rem 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 78vw;
  flex-shrink: 0;
  scroll-snap-align: center;
  border: 2px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.5s ease;
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}

.rail__card:hover {
  border-color: rgba(247, 108, 13, 0.5);
}

.rail__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.rail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.rail__card:hover .rail__media img {
  transform: scale(1.05);
}

.rail__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--panel),
    color-mix(in srgb, var(--panel) 35%, transparent),
    transparent
  );
}

.rail__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.rail__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-500);
}

.rail__more i {
  font-style: normal;
  transition: transform 0.3s ease;
}

.rail__card:hover .rail__more i {
  transform: translateX(6px);
}

/* steps ----------------------------------------------------------------- */

.steps {
  position: relative;
  max-width: 48rem;
  margin: 3.5rem auto 0;
}

.steps::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 0.5rem;
  width: 1px;
  height: 100%;
  background: var(--line);
}

.step {
  position: relative;
  display: flex;
  gap: 1.25rem;
}

.step + .step {
  margin-top: 2.5rem;
}

.step__num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border: 1px solid rgba(247, 108, 13, 0.4);
  border-radius: 50%;
  background: var(--surface);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-500);
}

/* reviews / marquee ------------------------------------------------------ */

.marquee {
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.marquee__track {
  display: flex;
  flex-shrink: 0;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
  padding: 1.75rem;
  border: 2px solid var(--line);
  background: var(--panel);
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}

.review__head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review__avatar {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(247, 108, 13, 0.4);
}

.review__name {
  font-size: 1rem;
  font-weight: 700;
}

.review__role {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-500);
}

.stars {
  display: flex;
  gap: 2px;
  margin-top: 0.375rem;
}

.stars svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: var(--line-strong);
}

.stars svg.on {
  fill: var(--volt-500);
}

.review__quote {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ------------------------------------------------ 10. page-specific */

/* pricing */
.plans {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 2.25rem;
}

.plan-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
  padding: 1rem 1.25rem;
  border: 2px solid var(--line);
  background: var(--panel);
  text-align: left;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
  clip-path: polygon(
    0 0,
    calc(100% - 9px) 0,
    100% 9px,
    100% 100%,
    9px 100%,
    0 calc(100% - 9px)
  );
}

.plan-tab:hover {
  border-color: var(--line-strong);
}

.plan-tab[aria-selected="true"] {
  border-color: rgba(247, 108, 13, 0.6);
  background: rgba(247, 108, 13, 0.07);
}

.plan-tab__n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--sunken);
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 700;
}

.plan-tab[aria-selected="true"] .plan-tab__n {
  background: var(--brand-500);
  color: #fff;
}

.plan-tab__name {
  font-size: 1rem;
  font-weight: 700;
}

.plan-tab__sub {
  font-size: 0.75rem;
  color: var(--faint);
}

.plan-tab__price {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--faint);
}

.plan-tab[aria-selected="true"] .plan-tab__price {
  color: var(--brand-500);
}

.plan-card {
  position: relative;
  padding: 1.75rem;
  border: 2px solid rgba(247, 108, 13, 0.3);
  background: var(--panel);
  overflow: hidden;
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
}

.plan-card__cur {
  font-size: 1.125rem;
  color: var(--brand-500);
}

.plan-card__period {
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

.plan-card__rule {
  height: 1px;
  margin-block: 1.5rem;
  background: linear-gradient(
    90deg,
    rgba(247, 108, 13, 0.5),
    var(--line),
    transparent
  );
}

.plan-card__list {
  margin-top: 1.5rem;
}

.plan-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.plan-card__list li + li {
  margin-top: 0.875rem;
}

.tick {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  border-radius: 50%;
  background: rgba(247, 108, 13, 0.2);
}

.tick svg {
  width: 0.6875rem;
  height: 0.6875rem;
  stroke: var(--brand-500);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--brand-500);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* faq */
.faq {
  border: 2px solid var(--line);
  background: var(--panel);
  padding: 1rem 1.25rem;
  transition: border-color 0.4s ease;
  clip-path: polygon(
    0 0,
    calc(100% - 9px) 0,
    100% 9px,
    100% 100%,
    9px 100%,
    0 calc(100% - 9px)
  );
}

.faq[open] {
  border-color: rgba(247, 108, 13, 0.35);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--brand-500);
  font-style: normal;
  transition: transform 0.3s ease;
}

.faq[open] summary i {
  transform: rotate(45deg);
}

.faq p {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* team */
.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 1.25rem;
  text-align: center;
  border: 2px solid var(--line);
  background: var(--panel);
  transition: border-color 0.4s ease;
  clip-path: polygon(
    0 0,
    calc(100% - 9px) 0,
    100% 9px,
    100% 100%,
    9px 100%,
    0 calc(100% - 9px)
  );
}

.member:hover {
  border-color: rgba(247, 108, 13, 0.4);
}

.member__photo {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--line);
  transition:
    box-shadow 0.4s ease,
    transform 0.6s ease;
}

.member:hover .member__photo {
  box-shadow: 0 0 0 2px rgba(247, 108, 13, 0.6);
  transform: scale(1.05);
}

.member__name {
  margin-top: 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
}

.member__role {
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  color: var(--brand-500);
}

/* carousel */
.carousel {
  position: relative;
}

.carousel__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  perspective: 1600px;
}

.carousel__item {
  position: absolute;
  width: 86%;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  transition:
    transform 0.55s var(--ease),
    opacity 0.55s ease,
    filter 0.55s ease;
}

.carousel__item iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.carousel__cover {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 15, 0.35);
  cursor: pointer;
}

.carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.carousel__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--muted);
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.carousel__btn:hover {
  border-color: rgba(247, 108, 13, 0.6);
  background: rgba(247, 108, 13, 0.15);
  color: var(--brand-600);
  transform: translateY(-2px);
}

.carousel__dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: all 0.4s ease;
}

.carousel__dot.is-active {
  width: 1.75rem;
  background: var(--brand-500);
}

.carousel__count {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--faint);
}

/* forms */
.field {
  position: relative;
}

.field + .field,
.field-row + .field {
  margin-top: 1rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 1.5rem 1rem 0.625rem;
  border: 1px solid var(--line);
  background: var(--sunken);
  font-size: 0.875rem;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
  clip-path: polygon(
    0 0,
    calc(100% - 9px) 0,
    100% 9px,
    100% 100%,
    9px 100%,
    0 calc(100% - 9px)
  );
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(247, 108, 13, 0.7);
  background: var(--panel);
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field label {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  pointer-events: none;
  transition: all 0.2s ease;
}

.field input:placeholder-shown:not(:focus) + label,
.field textarea:placeholder-shown:not(:focus) + label {
  top: 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  letter-spacing: 0;
  text-transform: none;
}

.field input:focus + label,
.field textarea:focus + label {
  color: var(--brand-500);
}

.field input::placeholder,
.field textarea::placeholder {
  color: transparent;
}

.field__error {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: #dc2626;
}

.field.has-error input,
.field.has-error textarea {
  border-color: rgba(220, 38, 38, 0.6);
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #059669;
}

.newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
  margin: 1.5rem auto 0;
}

.newsletter input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sunken);
  font-size: 0.875rem;
}

.newsletter input:focus {
  outline: none;
  border-color: rgba(247, 108, 13, 0.6);
}

/* contact info */
.info-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.info-row:hover {
  color: var(--brand-600);
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: rgba(247, 108, 13, 0.15);
  box-shadow: inset 0 0 0 1px rgba(247, 108, 13, 0.25);
}

.info-icon svg {
  width: 1rem;
  height: 1rem;
  fill: var(--brand-500);
}

/* dl grid */
.spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.875rem;
  border-bottom: 1px solid var(--line);
}

.spec dt {
  font-size: 0.875rem;
  color: var(--muted);
}

.spec dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
}

/* ------------------------------------------------------------ 11. footer */

.footer {
  position: relative;
  overflow: hidden;
  padding-block: 4rem 2.5rem;
  background: var(--surface);
  color: var(--fg);
}

.footer__grid {
  display: grid;
  gap: 3rem;
}

.footer__lede {
  max-width: 24rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer__head {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-500);
}

.footer__links {
  margin-top: 1.25rem;
}

.footer__links li + li {
  margin-top: 0.75rem;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.3s ease;
}

.footer__links a::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--brand-500);
  transition: width 0.3s ease;
}

.footer__links a:hover {
  color: var(--fg);
}

.footer__links a:hover::before {
  width: 1rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--panel);
  color: var(--muted);
  transition: all 0.3s ease;
}

.socials a:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 108, 13, 0.6);
  background: var(--brand-500);
  color: #fff;
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__base {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.75rem;
  color: var(--faint);
}

.footer__base a {
  font-weight: 600;
  color: var(--muted);
}

.footer__base a:hover {
  color: var(--brand-500);
}

/* ------------------------------------------------- 12. motion / reveals */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}

[data-reveal="left"] {
  transform: translateX(-40px);
}
[data-reveal="right"] {
  transform: translateX(40px);
}
[data-reveal="scale"] {
  transform: scale(0.92);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

@keyframes shine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes scanline {
  0% {
    transform: translateY(-120%);
  }
  100% {
    transform: translateY(420%);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.15;
  }
}

@keyframes bar {
  0%,
  100% {
    transform: scaleY(0.35);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sweep-once {
  to {
    transform: translateX(360%) skewX(-18deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* -------------------------------------------------------- 13. responsive */

@media (min-width: 1040px) {
  .wrap {
    padding-inline: 2rem;
  }

  .section {
    padding-block: 2rem;
  }

  .hero {
    padding-block: 9rem 6rem;
  }

  .page-hero {
    padding-block: 10rem 5rem;
  }

  .hero__actions {
    flex-direction: row;
  }

  .hero__lede {
    font-size: 1.125rem;
  }

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

  .card {
    padding: 2rem;
  }

  .feature {
    flex-direction: row;
    gap: 1.5rem;
  }

  .newsletter {
    flex-direction: row;
  }

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

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .rail {
    padding-inline: 2rem;
    gap: 1.5rem;
  }

  .rail__card {
    width: 380px;
  }

  .carousel__stage {
    height: 380px;
  }

  .carousel__item {
    width: 62%;
  }

  .footer__base {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .btn--block {
    width: auto;
  }
  
}

@media (min-width: 768px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .footer__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2rem;
  }

  .footer__brand {
    grid-column: span 5;
  }
  .footer__col--explore {
    grid-column: span 3;
  }
  .footer__col--gestures {
    grid-column: span 4;
  }
  .footer__col--contact {
    grid-column: span 5;
  }
}

@media (min-width: 1024px) {
  .wrap {
    padding-inline: 3rem;
  }

  .nav,
  .header__cta {
    display: flex;
  }

  .burger {
    display: none;
  }

  .hero__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }

  .split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
    align-items: center;
  }

  .split--wide {
    grid-template-columns: 7fr 5fr;
  }

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

  .rail {
    padding-inline: 3rem;
  }

  .rail__card {
    width: 400px;
  }

  .carousel__stage {
    height: 460px;
  }

  .carousel__item {
    width: 52%;
  }

  .footer__brand {
    grid-column: span 4;
  }
  .footer__col--explore {
    grid-column: 6 / span 2;
  }
  .footer__col--gestures {
    grid-column: span 3;
  }
  .footer__col--contact {
    grid-column: span 3;
  }

  .steps::before {
    left: 27px;
  }

  .step__num {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1rem;
  }

  .step {
    gap: 2rem;
  }
}

/* ==========================================================================
   Tile grid — always two-up, including on the narrowest phones.

   Used for the short-form cards (home features, tournament event details).
   At 320px each tile is ~134px wide, so type, padding and the icon all step
   down to keep the text readable rather than shredding into 3-word lines.
   ========================================================================== */

.grid--tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: stretch;
}

.grid--tiles > * {
  min-width: 0; /* let long words shrink instead of forcing overflow */
}

.grid--tiles .card {
  padding: 0.875rem;
  clip-path: polygon(
    0 0,
    calc(100% - 9px) 0,
    100% 9px,
    100% 100%,
    9px 100%,
    0 calc(100% - 9px)
  );
}

.grid--tiles .card__index {
  top: -0.75rem;
  right: -0.25rem;
  font-size: 3rem;
}

.grid--tiles .card__title {
  font-size: 0.9375rem;
  line-height: 1.2;
  hyphens: auto;
}

.grid--tiles .card__body {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.55;
  hyphens: auto;
}

.grid--tiles .feature {
  flex-direction: column;
  gap: 0.75rem;
}

.grid--tiles .icon-tile {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.625rem;
}

/* Tournament detail tiles carry a dt/dd pair rather than a .feature block. */
.grid--tiles .stat__label {
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
}

.grid--tiles dd {
  font-size: 0.8125rem !important;
  line-height: 1.3;
}

@media (min-width: 420px) {
  .grid--tiles {
    gap: 1rem;
  }

  .grid--tiles .card {
    padding: 1.125rem;
  }

  .grid--tiles .card__title {
    font-size: 1rem;
  }

  .grid--tiles .card__body {
    font-size: 0.8125rem;
  }

  .grid--tiles .icon-tile {
    width: 3.25rem;
    height: 3.25rem;
  }
}

@media (min-width: 640px) {
  .grid--tiles {
    gap: 1.5rem;
  }

  .grid--tiles .card {
    padding: 2rem;
    clip-path: polygon(
      0 0,
      calc(100% - 14px) 0,
      100% 14px,
      100% 100%,
      14px 100%,
      0 calc(100% - 14px)
    );
  }

  .grid--tiles .card__index {
    top: -1.25rem;
    right: -0.5rem;
    font-size: 5rem;
  }

  .grid--tiles .card__title {
    font-size: 1.125rem;
  }

  .grid--tiles .card__body {
    font-size: 0.875rem;
    margin-top: 0.75rem;
  }

  .grid--tiles .feature {
    flex-direction: row;
    gap: 1.5rem;
  }

  .grid--tiles .icon-tile {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
  }
}

/* Footer columns also go two-up on phones so the page stops being a
   single tall ribbon of links. */
@media (max-width: 767px) {
  .footer__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__col--contact {
    grid-column: 1 / -1;
  }

  .footer__links a {
    font-size: 0.8125rem;
  }
}

/* ==========================================================================
   Reviews grid

   Replaces the auto-scrolling marquee: every testimonial is on screen at
   once, no horizontal scroll and no waiting for a card to come round.
   Two-up on phones, four across from desktop.
   ========================================================================== */

.grid--reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: stretch;
}

.grid--reviews > * {
  min-width: 0;
}

.grid--reviews .review {
  gap: 0.875rem;
  padding: 0.875rem;
  clip-path: polygon(
    0 0,
    calc(100% - 9px) 0,
    100% 9px,
    100% 100%,
    9px 100%,
    0 calc(100% - 9px)
  );
}

/* Stack the identity block: a 56px avatar beside text has no room at 320px. */
.grid--reviews .review__head {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
}

.grid--reviews .review__avatar {
  width: 2.75rem;
  height: 2.75rem;
}

.grid--reviews .review__name {
  font-size: 0.875rem;
  line-height: 1.2;
}

.grid--reviews .review__role {
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
}

.grid--reviews .stars svg {
  width: 0.75rem;
  height: 0.75rem;
}

.grid--reviews .review__quote {
  font-size: 0.75rem;
  line-height: 1.55;
  hyphens: auto;
}

@media (min-width: 420px) {
  .grid--reviews {
    gap: 1rem;
  }

  .grid--reviews .review {
    padding: 1.125rem;
  }

  .grid--reviews .review__quote {
    font-size: 0.8125rem;
  }
}

@media (min-width: 640px) {
  .grid--reviews {
    gap: 1.5rem;
  }

  .grid--reviews .review {
    padding: 1.75rem;
    gap: 1.25rem;
    clip-path: polygon(
      0 0,
      calc(100% - 14px) 0,
      100% 14px,
      100% 100%,
      14px 100%,
      0 calc(100% - 14px)
    );
  }

  .grid--reviews .review__head {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .grid--reviews .review__avatar {
    width: 3.5rem;
    height: 3.5rem;
  }

  .grid--reviews .review__name {
    font-size: 1rem;
  }

  .grid--reviews .review__role {
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
  }

  .grid--reviews .stars svg {
    width: 0.875rem;
    height: 0.875rem;
  }

  .grid--reviews .review__quote {
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .grid--reviews {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.grid--reviews {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  grid-template-rows: repeat(2, auto) !important;
  gap: 1.5rem !important;
}

/* @media (max-width: 640px) {
  .grid--reviews {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }
} */

/* ---- "Download not available" popup: sirf mobile/small screens par dikhe ---- */
[data-download-modal] {
  display: none !important; /* default: hamesha chupa rahe, .preloader ke display:flex ko override karega */
}

@media (max-width: 767px) {
  [data-download-modal]:not([hidden]) {
    display: flex !important; /* sirf chhote screens par, jab JS "hidden" attribute hataye */
  }
}

/* ==========================================================================
   Language / Country-style Dropdown
   ========================================================================== */

.lang-dropdown {
  position: relative;
  display: inline-block;
  font-family: var(--font-body, "Inter", sans-serif);
  margin-inline-end: 0.75rem;
}

.lang-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: #fff;
  border: 1px solid var(--line, #e5e2db);
  border-radius: 0.75rem;
  cursor: pointer;
  background-color: var(--brand-500);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.lang-dropdown__trigger:hover {
  border-color: #f76c0d;
}
.lang-dropdown__trigger:focus-visible {
  outline: 2px solid #f76c0d;
  outline-offset: 2px;
}

.lang-dropdown__flag {
  font-size: 1.1rem;
  line-height: 1;
}

.lang-dropdown__chevron {
  transition: transform 0.2s ease;
  color: #fff;
}

.lang-dropdown.is-open .lang-dropdown__chevron {
  transform: rotate(180deg);
}
.lang-dropdown.is-open .lang-dropdown__trigger {
  border-color: #f76c0d;
  box-shadow: 0 0 0 3px rgba(247, 108, 13, 0.12);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 10;
  min-width: 18px;
  background: #fff;
  border: 1px solid var(--line, #e5e2db);
  border-radius: 0.875rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  padding: 0.375rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
  z-index: 60;
}

.lang-dropdown.is-open .lang-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-dropdown__option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lang-dropdown__option:hover {
  background: rgba(247, 108, 13, 0.08);
}
.lang-dropdown__option.is-active {
  background: rgba(247, 108, 13, 0.12);
  font-weight: 700;
  color: #f76c0d;
}

/* Drawer (mobile menu) variant - full width, no absolute menu */
.drawer .lang-dropdown {
  width: 100%;
  margin: 0 0 0.75rem;
}
.drawer .lang-dropdown__trigger {
  width: 100%;
  justify-content: space-between;
}
.drawer .lang-dropdown__menu {
  left: 0;
  right: 0;
  min-width: 0;
}

@media (max-width: 640px) {
  .header .lang-dropdown__label {
    display: none;
  }
  .header .lang-dropdown__trigger {
    padding: 0.5rem 0.625rem;
  }
}

html[dir="rtl"] .lang-dropdown__menu {
  right: auto;
  left: 0;
}
html[dir="rtl"] .lang-dropdown__chevron {
  transform: rotate(0deg) scaleX(-1);
}
html[dir="rtl"].is-open .lang-dropdown__chevron,
html[dir="rtl"] .lang-dropdown.is-open .lang-dropdown__chevron {
  transform: rotate(180deg) scaleX(-1);
}

.header .lang-dropdown {
  display: none;
}

@media (min-width: 1024px) {
  .lang-dropdown {
    display: flex !important;
    align-items: center;
    gap: 16px;
  }
}

body.is-locked .header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
/* Drawer ke andar layout: lang-dropdown ko flex order se neeche bhejo */
.drawer__foot {
  display: flex;
  flex-direction: column;
}

.drawer .lang-dropdown {
  order: 2;           /* download button ke baad aaye */
  /* margin-top: 0.75rem; */
}

.drawer .lang-dropdown__trigger {
  justify-content: space-between; /* flag left, GB text right */
}
@media (max-width: 1050px) {
  .drawer__meta {
    display: none !important;
  }
}
@media (max-width: 1010px) {
  .drawer__foot {
    padding-inline: 1.5rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 1010px) {
  .lang-dropdown {
    
    padding-inline: 1.5rem;
  }
}
@media (max-width: 600px) {
  .grid--members {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
/* ===================== Why-Us cards (Easier / Faster / Cost Effective) ===================== */

.grid--whyus {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
}

@media (min-width: 640px) {
  .grid--whyus {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 2rem !important;
  }
}

.grid--whyus .card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 2rem !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%) !important;
  border: 1px solid rgba(247, 108, 13, 0.15) !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 8px 24px rgba(20, 18, 26, 0.06) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
  clip-path: none !important;
  overflow: visible !important;
}

.grid--whyus .card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(247, 108, 13, 0.18) !important;
  border-color: rgba(247, 108, 13, 0.4) !important;
}

.grid--whyus .icon-tile {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 3.75rem !important;
  height: 3.75rem !important;
  border-radius: 1rem !important;
  background: rgba(247, 108, 13, 0.12) !important;
  box-shadow: inset 0 0 0 1px rgba(247, 108, 13, 0.25) !important;
  padding: 0.9rem !important;
  margin-bottom: 1.5rem !important;
  flex-shrink: 0 !important;
}

.grid--whyus .icon-tile img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.grid--whyus .card__title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-family: var(--font-display) !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: var(--fg) !important;
  line-height: 1.25 !important;
  margin-bottom: 0.75rem !important;
}

.grid--whyus .card__body {
  font-size: 0.9375rem !important;
  line-height: 1.7 !important;
  color: var(--muted) !important;
  margin-top: 0 !important;
}


    .download-dropdown{position:relative;display:inline-block}

    .download-dropdown__menu{
      position:absolute; top:calc(100% + 10px); right:0;
      min-width:230px; margin:0; padding:.5rem;
      list-style:none;
      background:#fff;
      border:1px solid #ffe0c2;
      border-radius:1rem;
      box-shadow:0 16px 40px rgba(255,122,0,.18), 0 4px 12px rgba(0,0,0,.08);
      opacity:0; visibility:hidden; transform:translateY(-8px) scale(.98);
      transition:opacity .18s ease, transform .18s ease, visibility .18s;
      z-index:9999;
    }

    .download-dropdown:hover > .download-dropdown__menu,
    .download-dropdown.is-open > .download-dropdown__menu{
      opacity:1; visibility:visible; transform:translateY(0) scale(1);
    }

    .download-dropdown__option + .download-dropdown__option{
      margin-top:.25rem;
    }

    .download-dropdown__option > a{
      display:flex; align-items:center; gap:.65rem;
      padding:.55rem .6rem; border-radius:.65rem;
      text-decoration:none; cursor:pointer;
      transition:background .15s ease, transform .15s ease;
    }

    .download-dropdown__option > a:hover{
      background:linear-gradient(135deg,#fff4ea,#ffe6d1);
      transform:translateX(2px);
    }

    .download-dropdown__icon{
      display:flex; align-items:center; justify-content:center;
      width:34px; height:34px; flex-shrink:0;
      border-radius:.6rem;
      background:linear-gradient(135deg,#ff7a00,#ff9a3d);
      color:#fff;
      box-shadow:0 4px 10px rgba(255,122,0,.35);
    }

    .download-dropdown__text{
      display:flex; flex-direction:column; line-height:1.2;
    }

    .download-dropdown__title{
      font-size:.875rem; font-weight:600; color:#1a1a1a;
    }

    .download-dropdown__sub{
      font-size:.72rem; color:#8a8a8a; margin-top:1px;
    }
    .download-dropdown--mobile{
  display:block;
  width:100%;
}
.download-dropdown--mobile .download-dropdown__menu{
  left:0;
  right:0;
  width:auto;
  min-width:0;
}