:root {
  --bg: #ffffff;
  --bg-stone: #f4f6f5;
  --bg-dark: #08130f;
  --bg-dark-2: #0d1e17;
  --surface: #ffffff;
  --surface-2: #f7faf8;
  --border: rgba(12, 31, 24, .1);
  --border-strong: rgba(12, 31, 24, .18);
  --border-dark: rgba(255, 255, 255, .12);
  --text: #0c1f18;
  --muted: #4a5e55;
  --text-inv: #f2f7f4;
  --muted-inv: #a3bab0;
  --accent: #0f9d63;
  --accent-bright: #10b981;
  --mint: #34d399;
  --accent-ink: #086640;
  --accent-soft: rgba(15, 157, 99, .1);
  --danger: #b4342f;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 10px 26px -18px rgba(8, 22, 16, .35);
  --shadow: 0 24px 54px -28px rgba(8, 22, 16, .38);
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --header-h: 72px;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.12;
  margin: 0 0 .85rem;
}

h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  line-height: 1.07;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.45rem);
  text-wrap: balance;
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -.018em;
}

::selection {
  background: rgba(52, 211, 153, .28);
}

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

.wrap {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translate(-50%);
  z-index: 200;
  background: #0a7c4e;
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  transition: top .2s;
}

.skip-link:focus {
  top: 0;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

html[lang=tr] [data-lang]:not([data-lang=tr]),
html[lang=en] [data-lang]:not([data-lang=en]) {
  display: none !important;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .88rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: .94rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  transition: transform .2s ease;
}

.btn:active {
  transform: scale(.98);
}

.btn--primary {
  background: linear-gradient(135deg, #0c8c58, #086841);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(8, 104, 65, .7);
}

.btn--primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0a7c4e, #065736);
  box-shadow: 0 18px 32px -14px rgba(8, 104, 65, .75);
}

.btn--primary[disabled] {
  opacity: .65;
  transform: none;
  cursor: progress;
}

.btn--ghost {
  background: #fff;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(15, 157, 99, .5);
  color: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

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

.btn--youtube {
  background: #d11432;
  border-color: #d11432;
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(209, 20, 50, .65);
}

.btn--youtube:hover {
  transform: translateY(-2px);
  background: #b01029;
  border-color: #b01029;
}

/* ---------- Header (Obsidian Glass) ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(8, 19, 15, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
  color: var(--text-inv);
  transition: background .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 16, 12, .95);
  border-bottom-color: rgba(255, 255, 255, .14);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -.02em;
  font-size: 1.05rem;
  color: #fff;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #128b5a, #085436);
  box-shadow: inset 0 1px rgba(255, 255, 255, .28), 0 8px 18px -10px rgba(0, 0, 0, .65);
  overflow: hidden;
  animation: markIn .6s cubic-bezier(.2, .85, .25, 1) both;
}

.brand__glyph {
  width: 100%;
  height: 100%;
  fill: #eef8f3;
}

.brand__text span {
  color: var(--muted-inv);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: .92rem;
  font-weight: 500;
}

.nav a {
  color: var(--muted-inv);
  position: relative;
  padding: .3rem 0;
  transition: color .2s;
}

.nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--mint);
  transition: width .25s ease;
}

.nav a:hover,
.nav a.is-active {
  color: #fff;
}

.nav a:hover:after,
.nav a.is-active:after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  padding: 0 .65rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted-inv);
  transition: background .2s ease, color .2s ease;
}

.lang-switch a:hover {
  color: #fff;
}

.lang-switch a.is-active {
  background: var(--mint);
  color: #052015;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 11px;
  color: #fff;
  cursor: pointer;
}

.nav-toggle .icon {
  width: 21px;
  height: 21px;
}

/* ---------- Dark Studio Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(1.1rem, 2.6vh, 1.8rem)) 0 clamp(3.2rem, 6.5vh, 5rem);
  background: radial-gradient(65% 75% at 78% 36%, rgba(16, 185, 129, .16), transparent 65%),
    radial-gradient(50% 60% at 15% 18%, rgba(15, 157, 99, .14), transparent 70%),
    linear-gradient(170deg, #07120e 0%, #0b1c15 56%, #07110d 100%);
  color: var(--text-inv);
  overflow: hidden;
  isolation: isolate;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 20%, transparent 80%);
  z-index: -1;
  pointer-events: none;
}

.duyuru {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.8rem);
  padding: .42rem .5rem .42rem .95rem;
  border: 1px solid rgba(52, 211, 153, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: #dcebe4;
}

.duyuru__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .18);
}

.duyuru__text {
  flex: 1 1 12rem;
  margin: 0;
  font-size: .85rem;
  font-weight: 500;
}

.duyuru__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-inline-start: auto;
  font-size: .83rem;
  font-weight: 600;
  color: var(--mint);
  white-space: nowrap;
}

.duyuru__link:hover {
  text-decoration: underline;
}

.duyuru__link .icon {
  width: 14px;
  height: 14px;
}

.duyuru__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted-inv);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.duyuru__close:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.duyuru__close .icon {
  width: 15px;
  height: 15px;
}

@media (max-width: 720px) {
  .duyuru {
    border-radius: var(--radius-sm);
    padding-inline-start: .85rem;
  }

  .duyuru__link {
    display: none;
  }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(2rem, 4.5vw, 3.8rem);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .38rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, .28);
  background: rgba(16, 185, 129, .1);
  font-size: .8rem;
  font-weight: 600;
  color: var(--mint);
  letter-spacing: .03em;
  margin-bottom: 1.35rem;
}

.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

.hero h1 {
  color: #f6fbf8;
}

.grad {
  background: linear-gradient(100deg, #34d399 0%, #6ee7b7 58%, #a7f3d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  color: var(--muted-inv);
  max-width: 34rem;
  margin-bottom: 1.9rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.3rem;
}

.hero .btn--primary {
  background: var(--mint);
  color: #042116;
  box-shadow: 0 14px 30px -14px rgba(52, 211, 153, .65);
}

.hero .btn--primary:hover {
  background: #4ce0aa;
  box-shadow: 0 18px 34px -14px rgba(52, 211, 153, .78);
}

.hero .btn--ghost {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .18);
  color: #f2f7f4;
}

.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(52, 211, 153, .55);
  color: #fff;
  box-shadow: none;
}

.yt-logo {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  max-width: 32rem;
}

.stats dt {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.03em;
  color: #fff;
}

.stats dt.stats__free {
  font-size: 1.2rem;
  color: var(--mint);
}

.stats dd {
  margin: .14rem 0 0;
  font-size: .82rem;
  color: var(--muted-inv);
  line-height: 1.4;
}

/* ---------- Redesigned Hero Phone Showcase ---------- */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .6rem 0 1rem;
}

.showcase {
  --tone: 52, 211, 153;
  --tone-2: 16, 185, 129;
  position: relative;
  width: 100%;
  max-width: 430px;
  display: grid;
  gap: 1.05rem;
  justify-items: center;
}

.showcase[data-app=word] {
  --tone: 232, 121, 106;
  --tone-2: 190, 75, 65;
}

.showcase[data-app=dict] {
  --tone: 96, 165, 250;
  --tone-2: 59, 130, 246;
}

.showcase[data-app=belt] {
  --tone: 245, 180, 97;
  --tone-2: 217, 119, 6;
}

.showcase__glow {
  position: absolute;
  inset: 10% -20% auto;
  height: 76%;
  background: radial-gradient(circle at 50% 45%, rgba(var(--tone), .34), rgba(var(--tone-2), .1) 48%, transparent 74%);
  filter: blur(18px);
  z-index: -1;
  transition: background .5s ease;
  pointer-events: none;
}

.showcase__ring {
  position: absolute;
  top: 4%;
  left: 50%;
  width: 106%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%);
  border-radius: 50%;
  border: 1px solid rgba(var(--tone), .2);
  box-shadow: inset 0 0 60px rgba(var(--tone), .06);
  z-index: -1;
  transition: border-color .5s ease;
  pointer-events: none;
}

.appchips {
  position: relative;
  z-index: 3;
  display: flex;
  gap: .25rem;
  padding: .32rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(15, 28, 23, .82);
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .75), inset 0 1px rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.appchip {
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  padding: .3rem .62rem .3rem .3rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted-inv);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}

.appchip:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.appchip.is-active {
  background: #ffffff;
  color: #08130f;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6);
  animation: chipPop .28s cubic-bezier(.2, .85, .25, 1);
}

.appchip__icon {
  width: 21px;
  height: 21px;
  border-radius: 6px;
  object-fit: cover;
  flex: none;
  background: #fff;
}

/* Titanium hardware phone chassis */
.phone {
  position: relative;
  width: min(316px, 100%);
  padding: 10px;
  border-radius: 48px;
  background: linear-gradient(145deg, #747e82 0%, #303639 18%, #15181a 50%, #3d4347 82%, #1d2123 100%);
  box-shadow: 0 44px 80px -24px rgba(0, 0, 0, .82),
    0 0 0 1px rgba(255, 255, 255, .14),
    inset 0 1px 2px rgba(255, 255, 255, .36),
    inset 0 -1px 2px rgba(0, 0, 0, .65);
}

.phone__hw {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #5d666a, #2c3134);
  pointer-events: none;
}

.phone__hw--vol1 {
  left: -3px;
  top: 108px;
  height: 36px;
}

.phone__hw--vol2 {
  left: -3px;
  top: 154px;
  height: 36px;
}

.phone__hw--pwr {
  right: -3px;
  top: 128px;
  height: 54px;
}

.phone__screen {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  aspect-ratio: 9 / 19.2;
  background: #141923;
  box-shadow: inset 0 0 0 2px #050708, inset 0 0 0 3px rgba(255, 255, 255, .07);
}

.phone__status {
  position: absolute;
  inset: 0 0 auto;
  height: 30px;
  padding: 5px 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(16, 20, 29, .85), rgba(16, 20, 29, 0));
  color: #f3f7f5;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .01em;
}

.phone__island {
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  width: 76px;
  height: 19px;
  border-radius: 999px;
  background: #040605;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 2px 8px rgba(0, 0, 0, .55);
}

.phone__island:after {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3c6ea3, #0b1118 70%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}

.phone__sys {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.phone__sys svg {
  width: 34px;
  height: 11px;
  fill: currentColor;
}

.phone__home {
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  z-index: 4;
  pointer-events: none;
}

.screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
  transition: opacity .4s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
}

.screen.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* ---------- Screenshot-Matched Türkçe Satranç UI ---------- */
.screen--demo {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 32px 0 64px;
  background: linear-gradient(180deg, #171c26 0%, #1c222e 55%, #161b24 100%);
  color: #f1f5f9;
  cursor: default;
}

.screen--demo > *:not(.demo__fallback) {
  position: relative;
  z-index: 1;
}

.screen--demo .demo__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity .3s ease;
}

.screen--demo:not(.is-live) > *:not(.demo__fallback) {
  display: none;
}

.screen--demo.is-live .demo__fallback {
  opacity: 0;
  visibility: hidden;
}

.demo__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 8px;
  padding: 5px 7px;
  border-radius: 12px;
  background: #222938;
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .28);
}

.demo__avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex: none;
  background: #141923;
  border: 1.5px solid rgba(255, 255, 255, .28);
  color: #e2e8f0;
}

.demo__avatar svg {
  width: 13px;
  height: 13px;
}

.demo__avatar--you {
  background: radial-gradient(circle at 35% 30%, #14532d, #0b1310);
  border: 2px solid #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, .45);
  color: #ecfdf5;
}

.demo__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.demo__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}

.demo__who {
  font-size: 8.6px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo__lvl {
  font: inherit;
  font-size: 8.4px;
  font-weight: 700;
  color: #e2e8f0;
  background: transparent;
  border: 0;
  padding: 0 2px;
  border-radius: 4px;
  cursor: pointer;
  transition: color .18s, background .18s;
}

.demo__lvl:hover {
  color: #fbbf24;
  background: rgba(255, 255, 255, .08);
}

.demo__elo {
  flex: none;
  font-size: 7.4px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #f59e0b;
  white-space: nowrap;
}

.demo__meter {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: #333e50;
  overflow: hidden;
}

.demo__meter i {
  display: block;
  height: 100%;
  width: 48%;
  border-radius: inherit;
  background: #475569;
}

.demo__meter--you i {
  width: 34%;
  background: #475569;
}

.demo__clock {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 21px;
  padding: 0 7px;
  border-radius: 999px;
  background: #101622;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .55);
  color: #cbd5e1;
  font-size: 9px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}

.demo__clock--you {
  background: linear-gradient(180deg, #22c55e 0%, #15803d 100%);
  border-color: rgba(134, 239, 172, .45);
  box-shadow: 0 2px 8px rgba(34, 197, 94, .35), inset 0 1px rgba(255, 255, 255, .28);
  color: #ffffff;
}

.demo__boardwrap {
  direction: ltr;
  display: grid;
  grid-template-columns: 11px 1fr;
  grid-template-rows: 1fr 12px;
  gap: 2px;
  width: 100%;
  padding: 5px 10px 3px 3px;
  background: #422c1b;
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(0, 0, 0, .4);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .42);
}

.demo__ranks,
.demo__files {
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 7.4px;
  font-weight: 800;
  line-height: 1;
  color: #f8fafc;
  pointer-events: none;
}

.demo__ranks {
  grid-area: 1 / 1;
  flex-direction: column;
}

.demo__files {
  grid-area: 2 / 2;
  flex-direction: row;
}

.demo__board {
  position: relative;
  grid-area: 1 / 2;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #b58863;
  box-shadow: 0 0 0 1px #c49a6c;
  container-type: inline-size;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.demo__sq {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
}

.demo__sq:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: -2px;
  z-index: 2;
}

.demo__sq.is-light {
  background: #f0d9b5;
}

.demo__sq.is-dark {
  background: #b58863;
}

.demo__sq.is-last {
  box-shadow: inset 0 0 0 100px rgba(235, 212, 85, .58);
}

.demo__sq.is-sel {
  box-shadow: inset 0 0 0 100px rgba(105, 196, 106, .74);
}

.demo__sq.is-hint {
  box-shadow: inset 0 0 0 2px #f59e0b, inset 0 0 0 100px rgba(245, 158, 11, .28);
}

.demo__sq.is-check {
  box-shadow: inset 0 0 0 100px rgba(220, 38, 38, .62);
}

.demo__piece {
  width: 88%;
  height: 88%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.demo__piece--w {
  filter: drop-shadow(0 1px 1.2px rgba(0, 0, 0, .35));
}

.demo__piece--b {
  filter: drop-shadow(0 0 .6px rgba(255, 255, 255, .9)) drop-shadow(0 1px 1.2px rgba(0, 0, 0, .45));
}

.demo__dot {
  position: absolute;
  width: 26%;
  height: 26%;
  border-radius: 50%;
  background: rgba(20, 45, 25, .26);
  pointer-events: none;
}

.demo__ring {
  position: absolute;
  width: 88%;
  height: 88%;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(20, 45, 25, .28);
  pointer-events: none;
}

.demo__pgn {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 72px;
  margin: 0 8px;
  padding: 6px 8px;
  border-radius: 10px;
  background: #1c2332;
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .32);
}

.demo__pgn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.demo__opening {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  font-size: 7.4px;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo__eco {
  flex: none;
  color: #f59e0b;
  font-weight: 800;
}

.demo__copy {
  flex: none;
  font: inherit;
  font-size: 6.6px;
  font-weight: 700;
  color: #e2e8f0;
  background: #2b3549;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  padding: 2px 7px;
  cursor: pointer;
  transition: background .18s, color .18s;
}

.demo__copy:hover {
  background: #3a4762;
  color: #fff;
}

.demo__moves-line {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 6px;
  min-height: 14px;
  font-size: 7.8px;
  font-weight: 700;
  line-height: 1.3;
  color: #cbd5e1;
  overflow: hidden;
}

.demo__mv {
  display: inline-flex;
  gap: 3px;
  white-space: nowrap;
}

.demo__mv-num {
  color: #8e9aaf;
}

.demo__mv-w {
  color: #f8fafc;
}

.demo__mv-b {
  color: #6bb3ff;
}

.demo__status {
  font-size: 7.2px;
  font-weight: 600;
  color: #9fb0c7;
  margin: auto 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo__tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: auto 8px 0;
}

.demo__tool {
  font: inherit;
  font-size: 7.6px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  border: 0;
  border-radius: 9px;
  padding: 6px 4px;
  cursor: pointer;
  transition: transform .12s ease, filter .18s ease;
}

.demo__tool:active {
  transform: translateY(1.5px);
}

.demo__tool:hover {
  filter: brightness(1.08);
}

.demo__tool--resign {
  background: #d4353d;
  box-shadow: 0 3px 0 #8a1d22;
}

.demo__tool--undo {
  background: #2d7df6;
  box-shadow: 0 3px 0 #1b50a8;
}

.demo__tool--hint {
  background: #ea9518;
  box-shadow: 0 3px 0 #a36207;
}

.demo__tool:disabled {
  opacity: .68;
  color: #fff;
  cursor: default;
}

.demo__tool:disabled:hover,
.demo__tool:disabled:active {
  filter: none;
  transform: none;
}

.phone__cta {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .62rem .9rem;
  border-radius: 999px;
  background: var(--mint);
  color: #042116;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, .82), 0 0 0 1px rgba(52, 211, 153, .35);
  transition: transform .2s ease, background .2s ease;
}

.phone__cta:hover {
  transform: translateY(-2px);
  background: #4ce0aa;
}

.phone__cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.phone__cta svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* ---------- Sections & Editorial Surfaces ---------- */
.section {
  padding: clamp(3.8rem, 8.5vh, 6.2rem) 0;
  background: var(--bg);
}

.section--stone {
  background: var(--bg-stone);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--dark {
  background: radial-gradient(60% 80% at 85% 20%, rgba(209, 20, 50, .1), transparent 65%),
    radial-gradient(50% 60% at 15% 80%, rgba(16, 185, 129, .1), transparent 65%),
    linear-gradient(180deg, #091612, #07100d);
  color: var(--text-inv);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.section--dark h2,
.section--dark h3 {
  color: #f4f8f6;
}

.section--dark .section__sub {
  color: var(--muted-inv);
}

.section__head {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 3.8vw, 3rem);
}

.section__head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
}

.section__head--split h2 {
  margin-bottom: 0;
  max-width: 18ch;
}

.section__head--split .section__sub {
  max-width: 34ch;
}

.section__sub {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
}

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

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

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

/* Service cards */
.card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.55rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 157, 99, .35);
  box-shadow: var(--shadow);
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.card__tag {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent-ink);
  padding: .25rem .65rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.card p {
  color: var(--muted);
  font-size: .94rem;
  margin: 0;
}

.card h3 {
  margin-bottom: .55rem;
}

/* App Showcase Cards */
.app {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.45rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  overflow: hidden;
}

.app:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 157, 99, .35);
  box-shadow: var(--shadow);
}

.app__head {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
}

.app__head h3 {
  margin: 0;
}

.app__icon {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 8px 18px -12px #0d2019b3, 0 0 0 1px #0d20190f;
}

.app__meta {
  margin: .15rem 0 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.app__desc {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 1.1rem;
}

@media (min-width: 1081px) {
  .app__desc {
    min-height: 5.8em;
  }
}

.app__shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  margin: 0 0 1.05rem;
}

.shot {
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.shot:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 157, 99, .38);
  box-shadow: var(--shadow-sm);
}

.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  transition: transform .35s ease;
}

.shot:hover img {
  transform: scale(1.03);
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: grid;
  gap: .5rem;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .88rem;
  color: var(--text);
}

.ticks .icon {
  width: 17px;
  height: 17px;
  margin-top: .16rem;
  padding: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  stroke-width: 2.8;
}

.app__btn {
  margin-top: auto;
  width: 100%;
}

.app__actions {
  display: grid;
  gap: .5rem;
  margin-top: auto;
}

.app__actions .btn {
  width: 100%;
  padding-inline: .9rem;
  font-size: .9rem;
}

.app__qr {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: .75rem;
  padding: .6rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.app__qr img {
  flex: none;
  width: 92px;
  height: 92px;
  border-radius: 8px;
  background: #fff;
}

.app__qr p {
  margin: 0;
  max-width: 15ch;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .app__qr {
    display: none;
  }
}

.apps__all {
  margin: 1.85rem 0 0;
  text-align: center;
}

.apps__all a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--accent-ink);
  padding: .64rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.apps__all a:hover {
  border-color: rgba(15, 157, 99, .45);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.apps__all .icon {
  width: 15px;
  height: 15px;
}

/* Sites */
.sites__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.site-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.05rem;
  min-height: 98px;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.site-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 157, 99, .38);
  box-shadow: var(--shadow);
}

.site-card__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.site-card__icon img {
  max-width: 78%;
  max-height: 78%;
  object-fit: contain;
}

.site-card__body {
  display: grid;
  gap: .22rem;
  min-width: 0;
}

.site-card__body strong {
  font-family: var(--font-head);
  font-size: 1.02rem;
}

.site-card__body > span {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

.site-card__host {
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-ink);
}

.site-card__arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 1.1rem;
}

/* YouTube Dark Cinema Section */
.yt-band {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-top: 1.4rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
}

.yt-band__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
}

.yt-band__icon .yt-logo {
  width: 50px;
  height: 50px;
}

.yt-band__text {
  display: grid;
  gap: .2rem;
  flex: 1;
  min-width: 0;
}

.yt-band__text strong {
  font-family: var(--font-head);
  font-size: 1rem;
  color: #fff;
}

.yt-band__text span {
  font-size: .88rem;
  color: var(--muted-inv);
}

.yt-band__desc {
  line-height: 1.62;
  max-width: 68ch;
}

.yt-band .btn {
  flex: none;
}

@media (max-width: 640px) {
  .yt-band {
    flex-wrap: wrap;
  }

  .yt-band .btn {
    width: 100%;
  }
}

.yt-videos {
  margin-top: 1.8rem;
}

.yt-videos__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.yt-videos__nav {
  display: flex;
  flex: none;
  gap: .45rem;
  margin-left: auto;
}

.yt-videos__nav[hidden] {
  display: none;
}

.railbtn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.railbtn:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 211, 153, .5);
  background: rgba(255, 255, 255, .14);
}

.railbtn:disabled {
  opacity: .35;
  cursor: default;
}

.railbtn:disabled:hover {
  transform: none;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .18);
}

.railbtn .icon {
  width: 17px;
  height: 17px;
}

.yt-videos__rail {
  display: flex;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.yt-videos__rail::-webkit-scrollbar {
  display: none;
}

.yt-videos__rail .video {
  flex: 0 0 310px;
  max-width: 85%;
  scroll-snap-align: start;
}

.video__media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #040a08;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 20px 36px -22px rgba(0, 0, 0, .85);
}

.video__btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
}

.video__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease, filter .3s ease;
}

.video__btn:hover img {
  transform: scale(1.03);
  filter: brightness(.9);
}

.video__btn:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: -3px;
}

.video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #07120e;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .55);
  transition: transform .2s ease;
}

.video__play .icon {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.video__btn:hover .video__play {
  transform: translate(-50%, -50%) scale(1.06);
}

.video__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video__badge {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  z-index: 2;
  padding: .28rem .55rem;
  border-radius: 6px;
  background: var(--mint);
  color: #042116;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  pointer-events: none;
}

.video__title {
  margin: .75rem 0 0;
  font-family: var(--font-body);
  font-size: .92rem;
  line-height: 1.44;
  font-weight: 600;
  letter-spacing: normal;
  color: #eef5f1;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(2rem, 4.5vw, 3.6rem);
  align-items: start;
}

.about__text p {
  color: var(--muted);
  max-width: 34rem;
}

.about__panel {
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1.25rem;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}

.info-row__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.info-row__icon .icon {
  width: 17px;
  height: 17px;
}

.info-row__icon .info-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.info-row__icon .icon--play {
  width: 18px;
  height: 20px;
}

.info-row__label {
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-row__value {
  margin: .1rem 0 0;
  font-size: .94rem;
  line-height: 1.5;
}

.info-row__value a {
  color: var(--text);
  border-bottom: 1px solid rgba(15, 157, 99, .35);
}

.info-row__value a:hover {
  color: var(--accent-ink);
  border-color: var(--accent);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.15rem;
  align-items: start;
}

.contact__form {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
}

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

.field {
  display: grid;
  gap: .4rem;
  margin-bottom: 1rem;
}

.field label {
  font-size: .84rem;
  font-weight: 500;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: .82rem .95rem;
  font-family: inherit;
  font-size: .93rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #63766d;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(15, 157, 99, .55);
  box-shadow: 0 0 0 3px #0f9d631f;
}

.field__err {
  display: none;
  margin: 0;
  font-size: .8rem;
  line-height: 1.4;
  color: var(--danger);
}

.has-error .field__err {
  display: block;
}

.has-error input,
.has-error textarea {
  border-color: #b4342f8c;
  background: #b4342f0a;
}

.has-error input:focus,
.has-error textarea:focus {
  border-color: #b4342fb3;
  box-shadow: 0 0 0 3px #b4342f1f;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.consent-wrap {
  margin: .2rem 0 1.1rem;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}

.consent input {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: .17rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.consent-wrap.has-error .consent {
  color: var(--danger);
}

.consent__link {
  display: inline-block;
  margin: .4rem 0 0 1.55rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-hint {
  margin: .75rem 0 0;
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
}

.recaptcha {
  margin-bottom: 1rem;
}

.recaptcha__label {
  display: block;
  margin-bottom: .4rem;
  font-size: .84rem;
  font-weight: 500;
  color: var(--muted);
}

.recaptcha-box {
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
}

.recaptcha[hidden] {
  display: none;
}

.form-note {
  padding: .8rem 1rem;
  margin-bottom: 1.2rem;
  border-radius: var(--radius-sm);
  font-size: .87rem;
  line-height: 1.5;
  border: 1px solid;
}

.form-note--ok {
  border-color: #0f9d6359;
  background: #0f9d6317;
  color: #086640;
}

.form-note--err {
  border-color: #b4342f4d;
  background: #b4342f0f;
  color: #9b2c2c;
}

.contact__aside {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: var(--shadow-sm);
}

.contact__aside h3 {
  margin-bottom: 1rem;
}

.store-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color .2s, transform .2s;
}

.store-link + .store-link {
  margin-top: .55rem;
}

.store-link:hover {
  border-color: rgba(15, 157, 99, .42);
  transform: translateY(-2px);
}

.store-link__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 4px 10px -8px #0d2019a6;
}

.store-link strong {
  display: block;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.store-link small {
  display: block;
  font-size: .78rem;
  color: var(--muted);
}

.store-link > .icon {
  width: 16px;
  height: 16px;
  color: var(--accent-ink);
}

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(2.8rem, 5.5vh, 3.8rem);
  border-top: 1px solid var(--border-dark);
  background: #07100d;
  color: var(--text-inv);
}

.site-footer .brand__text {
  color: #fff;
}

.site-footer .brand__text span {
  color: var(--muted-inv);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.4rem;
}

.site-footer__brand p {
  margin: 1rem 0 0;
  font-size: .88rem;
  color: var(--muted-inv);
  max-width: 19rem;
}

.site-footer__col {
  display: grid;
  gap: .5rem;
  align-content: start;
}

.site-footer__col a {
  font-size: .88rem;
  color: var(--muted-inv);
  transition: color .2s ease;
}

.site-footer__col a:hover {
  color: var(--mint);
}

.site-footer__title {
  margin: 0 0 .3rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--border-dark);
  font-size: .82rem;
  color: var(--muted-inv);
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__end {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .34rem .78rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #e2eee8;
  font-family: inherit;
  font-size: .8rem;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.share-btn .icon {
  width: 15px;
  height: 15px;
}

.share-btn:hover {
  color: #fff;
  border-color: rgba(52, 211, 153, .55);
  background: rgba(255, 255, 255, .14);
}

.share-btn__done {
  display: none;
  color: var(--mint);
}

.share-btn.is-copied {
  border-color: rgba(52, 211, 153, .6);
}

.share-btn.is-copied .share-btn__label {
  display: none;
}

.share-btn.is-copied .share-btn__done {
  display: inline;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .6rem;
  padding: 1.2rem;
  background: rgba(4, 12, 9, .86);
  backdrop-filter: blur(10px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: min(420px, 100%);
  max-height: 78vh;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .75);
}

.lightbox__cap {
  margin: 0;
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
}

.lightbox__close {
  position: fixed;
  inset-block-start: 1rem;
  inset-inline-end: 1rem;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: #ffffff1f;
  color: #fff;
  cursor: pointer;
}

.lightbox__close:hover {
  background: #ffffff3d;
}

.lightbox__close .icon {
  width: 20px;
  height: 20px;
}

.lightbox__nav {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.lightbox__arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: #ffffff1f;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}

.lightbox__arrow:hover {
  background: #ffffff3d;
}

.lightbox__arrow .icon {
  width: 20px;
  height: 20px;
}

.lightbox__count {
  min-width: 3rem;
  text-align: center;
  color: #ffffffd1;
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}

body.is-locked {
  overflow: hidden;
}

/* ---------- Motion & Progress ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s cubic-bezier(.16, 1, .3, 1), transform .65s cubic-bezier(.16, 1, .3, 1);
}

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

@keyframes markIn {
  0% {
    opacity: 0;
    transform: scale(.88) rotate(-5deg);
  }
}

.js-reveal .grid--3 .app:nth-child(2),
.js-reveal .grid--2 .app:nth-child(2) {
  transition-delay: .08s;
}

.js-reveal .grid--3 .app:nth-child(3),
.js-reveal .grid--2 .app:nth-child(3) {
  transition-delay: .12s;
}

.js-reveal .grid--2 .app:nth-child(4) {
  transition-delay: .16s;
}

.appchip:active,
.shot:active {
  transform: scale(.97);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 130;
  background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
  transform: scaleX(var(--sp, 0));
  transform-origin: 0 50%;
  pointer-events: none;
  will-change: transform;
}

@keyframes statPop {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(.92);
  }
}

.js-reveal .stats[data-reveal].is-in dt {
  animation: statPop .5s cubic-bezier(.2, .85, .25, 1) both;
}

.js-reveal .stats[data-reveal].is-in dt:nth-of-type(2) {
  animation-delay: .08s;
}

.js-reveal .stats[data-reveal].is-in dt:nth-of-type(3) {
  animation-delay: .16s;
}

@keyframes chipPop {
  0% {
    transform: scale(.92);
  }
}

@keyframes lbIn {
  0% {
    opacity: 0;
    transform: scale(.94);
  }
}

.lightbox:not([hidden]) img {
  animation: lbIn .28s cubic-bezier(.2, .85, .25, 1);
}

@media (hover: hover) and (pointer: fine) {
  .app__qr:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 157, 99, .4);
    box-shadow: var(--shadow-sm);
  }

  .app__qr.is-qr-hint {
    transform: translateY(-2px);
    border-color: rgba(15, 157, 99, .6);
    box-shadow: 0 0 0 3px #0f9d631f, var(--shadow-sm);
  }

  .btn:hover .icon {
    transform: translate(3px);
  }
}

/* ---------- Legal & 404 ---------- */
.legal-page {
  padding: calc(var(--header-h) + 3.4rem) 0 4.5rem;
}

.legal {
  max-width: 800px;
}

.legal__eyebrow {
  margin: 0 0 .9rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: .65rem;
}

.legal__updated {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 1.3rem;
}

.legal__lead {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 62ch;
}

.legal__toc {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1.7rem 0 .6rem;
  padding: 0;
  list-style: none;
}

.legal__toc a {
  display: inline-block;
  padding: .38rem .78rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s, border-color .2s, background .2s;
}

.legal__toc a:hover {
  color: var(--accent-ink);
  border-color: rgba(15, 157, 99, .45);
  background: var(--accent-soft);
}

.legal section {
  padding-top: 1.7rem;
  margin-top: 1.9rem;
  border-top: 1px solid var(--border);
}

.legal h2 {
  font-size: 1.2rem;
  margin-bottom: .7rem;
}

.legal h3 {
  font-size: 1rem;
  margin: 1.2rem 0 .5rem;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: .94rem;
}

.legal ul {
  margin: .2rem 0 1rem;
  padding-left: 1.25rem;
  display: grid;
  gap: .45rem;
}

.legal li::marker {
  color: var(--accent);
}

.legal strong {
  color: var(--text);
}

.legal a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal .legal__toc a,
.legal .legal__apps a,
.legal .legal__back {
  text-decoration: none;
}

.legal .legal__toc a:hover,
.legal .legal__apps a:hover,
.legal .legal__back:hover {
  text-decoration: underline;
}

.legal__apps {
  display: grid;
  gap: .55rem;
  margin: .3rem 0 1.1rem;
  padding: 0;
  list-style: none;
}

.legal__apps a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}

.legal__apps a:hover {
  border-color: rgba(15, 157, 99, .45);
  background: var(--accent-soft);
}

.legal__apps small {
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.legal__note {
  margin: 1.2rem 0 0;
  padding: .95rem 1.1rem;
  border: 1px solid rgba(15, 157, 99, .22);
  border-radius: 14px;
  background: var(--accent-soft);
  color: #164834;
  font-size: .88rem;
}

.legal__note p {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 2.6rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--accent-ink);
}

.legal__back .icon {
  width: 17px;
  height: 17px;
}

.legal__switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}

.legal__switch button {
  min-width: 40px;
  min-height: 30px;
  padding: .28rem .65rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted-inv);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.legal__switch button[aria-pressed=true] {
  background: var(--mint);
  color: #052015;
}

.legal__back-site {
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted-inv);
}

.legal__back-site:hover {
  color: var(--mint);
}

.site-footer--legal {
  padding-top: 0;
}

.site-footer--legal .site-footer__bottom {
  border-top: 0;
  padding-block: 1.25rem;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.page-404 {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 2rem) 0 3rem;
  background: radial-gradient(900px 420px at 50% 0%, var(--accent-soft), transparent 70%);
}

.page-404__card {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.page-404__code {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(4.6rem, 18vw, 7.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--accent);
  opacity: .18;
}

.page-404__title {
  margin: .4rem 0 0;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  letter-spacing: -.02em;
}

.page-404__text {
  max-width: 46ch;
  margin: .8rem auto 0;
  color: var(--muted);
  line-height: 1.65;
}

.page-404__text--en {
  font-size: .92rem;
  margin-top: .5rem;
}

.page-404__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  margin-top: 1.7rem;
}

/* ---------- Mobile CTA & Back to Top ---------- */
.mobile-cta {
  display: none;
}

@keyframes ctaIn {
  0% {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(15, 157, 99, .35);
  border-radius: 50%;
  background: rgba(8, 19, 15, .92);
  color: var(--mint);
  box-shadow: var(--shadow);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform .2s ease, border-color .2s ease;
}

.to-top[hidden] {
  display: none;
}

.to-top .icon {
  width: 20px;
  height: 20px;
}

.to-top:hover {
  transform: translateY(-2px);
  border-color: var(--mint);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 38rem;
  }

  .hero__visual {
    margin-top: 1.2rem;
  }

  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 66px;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.5rem 1.3rem;
    background: rgba(8, 19, 15, .97);
    border-bottom: 1px solid var(--border-dark);
    backdrop-filter: blur(18px);
    transform: translateY(-130%);
    transition: transform .32s cubic-bezier(.16, 1, .3, 1);
    font-size: 1rem;
  }

  .nav.is-open {
    transform: translateY(0);
  }

  .nav a {
    padding: .9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .nav a:after {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .grid--2,
  .grid--3,
  .sites__grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    gap: .9rem;
  }

  .stats dt {
    font-size: 1.25rem;
  }

  .stats dd {
    font-size: .78rem;
  }

  .contact__form,
  .contact__aside,
  .about__panel {
    padding: 1.35rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .mobile-cta:not([hidden]) {
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .5rem .65rem calc(.5rem + env(safe-area-inset-bottom));
    background: rgba(8, 19, 15, .96);
    border-top: 1px solid var(--border-dark);
    box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .6);
    backdrop-filter: blur(14px);
    animation: ctaIn .28s ease both;
  }

  .mobile-cta__link {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex: 1 1 auto;
    min-width: 0;
    padding: .55rem .75rem;
    border-radius: 12px;
    background: var(--mint);
    color: #042116;
    font-size: .86rem;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-cta__icon {
    flex: none;
    width: 26px;
    height: 26px;
    padding: 3px;
    border-radius: 7px;
    background: #fff;
  }

  .mobile-cta__arrow {
    flex: none;
    width: 16px;
    height: 16px;
    margin-inline-start: auto;
  }

  .mobile-cta__close {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .1);
    color: var(--muted-inv);
    cursor: pointer;
  }

  .mobile-cta__close .icon {
    width: 16px;
    height: 16px;
  }

  .to-top {
    right: .8rem;
    bottom: calc(.8rem + env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }

  body.has-mobile-cta .to-top {
    bottom: calc(78px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .yt-videos__head {
    align-items: flex-start;
  }

  .legal-page {
    padding-top: calc(var(--header-h) + 2.2rem);
  }

  .legal__back-site {
    display: none;
  }

  .legal__apps a {
    flex-direction: column;
    align-items: flex-start;
    gap: .2rem;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(1160px, 100% - 2rem);
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .phone {
    width: min(312px, 100%);
  }

  .appchips {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 22px;
  }

  .appchip {
    font-size: .72rem;
    padding-right: .55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

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

  .scroll-progress,
  .mobile-cta {
    animation: none;
  }

  .scroll-progress {
    display: none;
  }
}

@media print {
  .site-header,
  .legal__back,
  .legal__toc,
  .to-top,
  .mobile-cta {
    display: none !important;
  }

  .legal-page {
    padding: 0;
  }

  .legal p,
  .legal li,
  .legal a {
    color: #000;
  }
}
