/* izbirakan.dev — site styles. Generated pages live in docs/, this file is copied by site/build.py. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------ tokens */

:root {
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 64px;

  /* light (default) */
  color-scheme: light;
  --bg: #f6f7f6;
  --bg-soft: #eef1ef;
  --surface: #ffffff;
  --surface-2: #f1f4f2;
  --border: #dfe5e1;
  --border-strong: #c8d0cb;
  --text: #0d1310;
  --text-2: #36403b;
  --muted: #5b6761;
  --brand: #00d987;
  --brand-ink: #00804f;
  --on-brand: #03190f;
  --mark-chevron: #0d1310;
  --shadow-s: 0 1px 2px rgb(16 24 20 / 0.06), 0 2px 6px rgb(16 24 20 / 0.04);
  --shadow: 0 1px 2px rgb(16 24 20 / 0.06), 0 10px 30px rgb(16 24 20 / 0.08);
  --shadow-l: 0 2px 6px rgb(16 24 20 / 0.06), 0 24px 60px rgb(16 24 20 / 0.14);
  --header-bg: rgb(246 247 246 / 0.82);
  --glow: 0.22;
  --grid-line: rgb(13 19 16 / 0.05);
  --accent: var(--brand);
  --accent-ink: var(--accent-ink-light, var(--brand-ink));
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #090b0a;
    --bg-soft: #0d100f;
    --surface: #111614;
    --surface-2: #171d1a;
    --border: rgb(255 255 255 / 0.08);
    --border-strong: rgb(255 255 255 / 0.15);
    --text: #edf2ef;
    --text-2: #c4cdc8;
    --muted: #8e9a94;
    --brand: #00f59b;
    --brand-ink: #33f5ad;
    --on-brand: #03150d;
    --mark-chevron: #ffffff;
    --shadow-s: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px rgb(0 0 0 / 0.35);
    --shadow-l: 0 2px 6px rgb(0 0 0 / 0.4), 0 28px 70px rgb(0 0 0 / 0.55);
    --header-bg: rgb(9 11 10 / 0.78);
    --glow: 0.3;
    --grid-line: rgb(255 255 255 / 0.035);
    --accent-ink: var(--accent-ink-dark, var(--brand-ink));
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #090b0a;
  --bg-soft: #0d100f;
  --surface: #111614;
  --surface-2: #171d1a;
  --border: rgb(255 255 255 / 0.08);
  --border-strong: rgb(255 255 255 / 0.15);
  --text: #edf2ef;
  --text-2: #c4cdc8;
  --muted: #8e9a94;
  --brand: #00f59b;
  --brand-ink: #33f5ad;
  --on-brand: #03150d;
  --mark-chevron: #ffffff;
  --shadow-s: 0 1px 2px rgb(0 0 0 / 0.4);
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px rgb(0 0 0 / 0.35);
  --shadow-l: 0 2px 6px rgb(0 0 0 / 0.4), 0 28px 70px rgb(0 0 0 / 0.55);
  --header-bg: rgb(9 11 10 / 0.78);
  --glow: 0.3;
  --grid-line: rgb(255 255 255 / 0.035);
  --accent-ink: var(--accent-ink-dark, var(--brand-ink));
}

/* -------------------------------------------------------------------- base */

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 750;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: color-mix(in srgb, var(--brand) 35%, transparent);
}

.i {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.i-fill {
  fill: currentColor;
  stroke: none;
}

.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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  width: 30px;
  height: 30px;
}

.brand-mark .chev {
  fill: var(--mark-chevron);
}

.brand-mark .slash {
  fill: var(--brand);
}

:root:not([data-theme="dark"]) .brand-mark .slash {
  fill: #00c77b;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-mark .slash {
    fill: var(--brand);
  }
}

.brand-dot {
  color: var(--brand-ink);
}

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

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.icon-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.icon-btn .i {
  width: 19px;
  height: 19px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.lang-switch:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.lang-switch .i {
  width: 17px;
  height: 17px;
}

.theme-toggle .i-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .i-sun {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .i-moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun {
    display: block;
  }
  :root:not([data-theme="light"]) .theme-toggle .i-moon {
    display: none;
  }
}

.menu-toggle {
  display: none;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-grid;
  }
  .nav {
    position: absolute;
    top: calc(var(--header-h) - 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px var(--gutter) 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 12px 14px;
    border-radius: var(--radius-s);
    font-size: 16px;
  }
  .lang-switch span {
    display: none;
  }
  .lang-switch {
    padding: 0 12px;
  }
}

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn .i {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--brand) 28%, transparent);
}

.btn-primary:hover {
  box-shadow: 0 10px 30px color-mix(in srgb, var(--brand) 40%, transparent);
}

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

.btn-ghost:hover {
  border-color: var(--text-2);
}

.btn-accent {
  background: var(--accent);
  color: var(--on-accent, #000);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 30%, transparent);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 176px;
  height: 58px;
  padding: 0 20px 0 16px;
  border-radius: 14px;
  background: #0b0f0d;
  border: 1px solid rgb(255 255 255 / 0.14);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgb(255 255 255 / 0.28);
}

.store-btn .i {
  width: 26px;
  height: 26px;
}

.store-btn small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.78;
  line-height: 1.2;
  text-transform: uppercase;
}

.store-btn strong {
  display: block;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.store-btn.is-soon {
  background: transparent;
  border: 1px dashed var(--border-strong);
  color: var(--muted);
  cursor: default;
}

.store-btn.is-soon:hover {
  transform: none;
  box-shadow: none;
}

.store-btn.is-web {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

:root[data-theme="dark"] .store-btn:not(.is-soon):not(.is-web) {
  background: #fff;
  color: #0b0f0d;
  border-color: #fff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .store-btn:not(.is-soon):not(.is-web) {
    background: #fff;
    color: #0b0f0d;
    border-color: #fff;
  }
}

/* ---------------------------------------------------------------- sections */

.section {
  padding-block: clamp(64px, 9vw, 112px);
}

.section + .section {
  padding-top: 0;
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-head.is-row {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px 32px;
}

.section-head.is-row > div:first-child {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-title {
  font-size: clamp(30px, 4.2vw, 46px);
}

.section-lead {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18px);
}

@media (max-width: 720px) {
  .section-head.is-row {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 104px);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 30%, transparent 75%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 720px;
  height: 720px;
  right: -160px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) calc(var(--glow) * 100%), transparent) 0%, transparent 65%);
  filter: blur(20px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.hero-copy {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 550;
  box-shadow: var(--shadow-s);
}

.hero-badge .pulse {
  position: relative;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.hero-badge .pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-badge .pulse::after {
    animation: pulse 2.4s var(--ease) infinite;
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.hero-title {
  font-size: clamp(40px, 6.2vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero-title em {
  font-style: normal;
  color: var(--brand-ink);
}

.hero-lead {
  max-width: 560px;
  color: var(--text-2);
  font-size: clamp(17px, 1.7vw, 19.5px);
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin-top: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: 560px;
}

.hero-stats div {
  display: grid;
}

.hero-stats strong {
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-stats span {
  color: var(--muted);
  font-size: 14px;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 20px);
  transform: rotate(-7deg);
  padding: 28px 8px;
}

.mosaic a {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 23%;
  box-shadow: var(--shadow-l);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.mosaic a:nth-child(4n + 2),
.mosaic a:nth-child(4n + 4) {
  transform: translateY(34px);
}

.mosaic a:hover {
  transform: translateY(-6px) scale(1.04);
  z-index: 2;
}

.mosaic a:nth-child(4n + 2):hover,
.mosaic a:nth-child(4n + 4):hover {
  transform: translateY(28px) scale(1.04);
}

.mosaic img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.mosaic .tile-brand {
  display: grid;
  place-items: center;
  background: #0b0e0d;
  border: 1px solid rgb(255 255 255 / 0.08);
}

.mosaic .tile-brand svg {
  width: 56%;
  height: 56%;
}

.mosaic .tile-brand .chev {
  fill: #fff;
}

.mosaic .tile-brand .slash {
  fill: #00f59b;
}

.mosaic a .tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) rotate(7deg);
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.mosaic a:hover .tip,
.mosaic a:focus-visible .tip {
  opacity: 1;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .mosaic {
    gap: 10px;
    transform: rotate(-5deg);
  }
  .mosaic a:nth-child(4n + 2),
  .mosaic a:nth-child(4n + 4) {
    transform: translateY(20px);
  }
  .hero-stats {
    gap: 12px 24px;
  }
  .hero-stats strong {
    font-size: 26px;
  }
}

/* ----------------------------------------------------------------- filters */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 550;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.chip:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.chip[aria-pressed="true"] {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.chip .count {
  color: inherit;
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------- cards */

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.grid-apps {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}

.grid-web {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-l);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

.card[hidden] {
  display: none;
}

.card-media {
  position: relative;
  aspect-ratio: 1024 / 500;
  overflow: hidden;
  background: color-mix(in srgb, var(--accent) 18%, #0b0e0d);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card-media img {
  transform: scale(1.035);
}

.card-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 0 24px 24px;
}

.card-icon {
  width: 68px;
  height: 68px;
  margin-top: -34px;
  border-radius: 23%;
  border: 3px solid var(--surface);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.card-category {
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.card-title {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.card-title a {
  text-decoration: none;
}

.card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.card-title a:focus-visible {
  outline: none;
}

.card:has(.card-title a:focus-visible) {
  outline: 2px solid var(--brand-ink);
  outline-offset: 3px;
}

.card-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.platforms li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
}

.platforms li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1fbf75;
}

.platforms li.is-soon {
  background: transparent;
  border: 1px dashed var(--border-strong);
  color: var(--muted);
}

.platforms li.is-soon::before {
  background: var(--muted);
  opacity: 0.6;
}

.card-arrow {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}

.card-arrow .i {
  width: 18px;
  height: 18px;
}

.card:hover .card-arrow {
  background: var(--accent);
  color: var(--on-accent, #000);
  transform: translateX(2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Browser frame (web projects) */

.browser {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.browser-bar i:nth-child(1) {
  background: #ff5f57;
}

.browser-bar i:nth-child(2) {
  background: #febc2e;
}

.browser-bar i:nth-child(3) {
  background: #28c840;
}

.browser-url {
  flex: 1;
  max-width: 320px;
  margin-inline: auto;
  padding: 3px 12px;
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.web-card .card-media {
  aspect-ratio: auto;
  padding: 22px 22px 0;
  background: radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%), var(--surface-2);
}

.web-card .browser {
  border-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 -4px 30px rgb(0 0 0 / 0.18);
}

.web-card .card-body {
  padding-top: 22px;
}

.web-card .card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.web-card .card-head img {
  width: 48px;
  height: 48px;
  border-radius: 23%;
  box-shadow: var(--shadow-s);
}

.web-card .domain {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}

/* --------------------------------------------------------------- principles */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 18px;
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.about-copy p {
  color: var(--text-2);
  font-size: 17px;
}

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

.principle {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--surface);
}

.principle .i-wrap,
.feature .i-wrap {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface-2));
  color: var(--accent-ink);
}

.principle .i-wrap .i,
.feature .i-wrap .i {
  width: 22px;
  height: 22px;
}

.principle h3,
.feature h3 {
  font-size: 18px;
  letter-spacing: -0.015em;
}

.principle p,
.feature p {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-copy {
    position: static;
  }
}

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

/* ------------------------------------------------------------------ contact */

.contact {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 32px;
  background: #0b0e0d;
  color: #edf2ef;
  isolation: isolate;
}

.contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(0 245 155 / 0.32), transparent 65%);
}

.contact h2 {
  font-size: clamp(28px, 3.8vw, 42px);
}

.contact p {
  color: #b5c0ba;
  font-size: 17px;
}

.contact .eyebrow {
  color: #33f5ad;
}

.contact-copy {
  display: grid;
  gap: 16px;
}

.contact-actions {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.contact .btn-primary {
  background: #00f59b;
  color: #03150d;
}

.contact .btn-ghost {
  background: transparent;
  border-color: rgb(255 255 255 / 0.22);
  color: #fff;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.socials a {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.14);
  color: #dfe7e3;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.socials a:hover {
  background: #fff;
  color: #0b0e0d;
  transform: translateY(-2px);
}

.socials .i {
  width: 20px;
  height: 20px;
}

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

/* ------------------------------------------------------------------- footer */

.site-footer {
  margin-top: clamp(64px, 9vw, 112px);
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-2);
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-block: 56px 40px;
}

.footer-brand {
  display: grid;
  gap: 14px;
  align-content: start;
  max-width: 320px;
}

.footer-brand p {
  color: var(--muted);
}

.footer-col h3 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
}

.footer-col ul {
  display: grid;
  gap: 9px;
  list-style: none;
}

.footer-col a {
  color: var(--muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 22px 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13.5px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

/* ------------------------------------------------------------ project page */

.project-page {
  --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
}

.p-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(28px, 4vw, 44px) clamp(56px, 8vw, 96px);
  isolation: isolate;
}

.p-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 900px;
  height: 900px;
  right: -260px;
  top: -380px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) calc(var(--glow) * 130%), transparent) 0%, transparent 62%);
}

.p-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 30%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 75% 30%, #000 20%, transparent 70%);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: clamp(28px, 4vw, 48px);
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li + li::before {
  content: "/";
  opacity: 0.5;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--text);
  text-decoration: underline;
}

.breadcrumbs [aria-current] {
  color: var(--text);
  font-weight: 550;
}

.p-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.p-hero-copy {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.p-id {
  display: flex;
  align-items: center;
  gap: 18px;
}

.p-icon {
  width: clamp(84px, 9vw, 112px);
  height: clamp(84px, 9vw, 112px);
  border-radius: 23%;
  box-shadow: var(--shadow-l), 0 0 0 1px var(--border);
}

.p-id .eyebrow {
  margin-bottom: 6px;
}

.p-title {
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.p-tagline {
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
}

.p-intro {
  max-width: 600px;
  color: var(--text-2);
  font-size: 17px;
}

.p-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.p-pricing .i {
  width: 17px;
  height: 17px;
  color: var(--accent-ink);
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 650;
}

/* hero visual: phones / landscape / browser */

.p-visual {
  position: relative;
  min-height: 320px;
}

.phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: clamp(420px, 52vw, 620px);
}

.phones img {
  position: absolute;
  width: auto;
  height: 82%;
  border-radius: 26px;
  box-shadow: var(--shadow-l);
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.phones img:nth-child(1) {
  z-index: 3;
  height: 92%;
}

.phones img:nth-child(2) {
  z-index: 2;
  transform: translateX(-58%) rotate(-8deg);
  opacity: 0.94;
}

.phones img:nth-child(3) {
  z-index: 1;
  transform: translateX(58%) rotate(8deg);
  opacity: 0.94;
}

.phones.count-2 img:nth-child(2) {
  transform: translateX(-40%) rotate(-7deg);
}

.phones.count-1 img:nth-child(1) {
  height: 94%;
}

.landscape-stack {
  position: relative;
  padding: 4% 0 14% 6%;
}

.landscape-stack img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow-l);
  border: 1px solid var(--border);
}

.landscape-stack img + img {
  position: absolute;
  width: 62%;
  left: -2%;
  bottom: 0;
  transform: rotate(-4deg);
}

.p-visual .browser {
  box-shadow: var(--shadow-l);
}

.p-visual .browser + .browser {
  position: absolute;
  width: 56%;
  right: -6%;
  bottom: -14%;
  transform: rotate(3deg);
}

@media (max-width: 960px) {
  .p-hero-grid {
    grid-template-columns: 1fr;
  }
  .p-visual {
    max-width: 640px;
    width: 100%;
    margin-inline: auto;
  }
  .phones {
    height: clamp(380px, 100vw, 560px);
  }
}

@media (max-width: 520px) {
  .phones img {
    border-radius: 18px;
  }
  .phones img:nth-child(2) {
    transform: translateX(-46%) rotate(-8deg);
  }
  .phones img:nth-child(3) {
    transform: translateX(46%) rotate(8deg);
  }
  .p-visual .browser + .browser {
    right: -2%;
  }
}

/* facts strip */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
  list-style: none;
}

.facts li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.35;
}

.facts li + li {
  border-left: 1px solid var(--border);
}

.facts .i-wrap {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.facts .i {
  width: 21px;
  height: 21px;
}

@media (max-width: 900px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .facts li:nth-child(3) {
    border-left: 0;
  }
  .facts li:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 480px) {
  .facts {
    grid-template-columns: 1fr;
  }
  .facts li + li {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}

/* gallery */

.gallery {
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 6px var(--gutter) 22px;
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.gallery-track:focus-visible {
  outline-offset: -2px;
}

.shot {
  flex: none;
  scroll-snap-align: start;
  display: grid;
  gap: 12px;
}

.shot button {
  display: block;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface-2);
  cursor: zoom-in;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.shot button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-l);
}

.shot img {
  width: clamp(200px, 60vw, 280px);
}

.gallery.is-landscape .shot img {
  width: clamp(270px, 82vw, 600px);
}

.gallery.is-desktop .shot img {
  width: clamp(280px, 84vw, 720px);
}

.gallery.is-desktop .shot button {
  border-radius: 14px;
}

.shot figcaption {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding-inline: 4px;
}

.gallery-nav {
  display: flex;
  gap: 8px;
}

.gallery-nav button[disabled] {
  opacity: 0.4;
  cursor: default;
}

/* features */

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

.feature {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--surface);
  transition: border-color 0.3s;
}

.feature:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}

@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* details */

.details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.details {
  display: grid;
  grid-template-columns: minmax(130px, 0.5fr) minmax(0, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--surface);
  overflow: hidden;
}

.details dt,
.details dd {
  padding: 16px 22px;
  border-top: 1px solid var(--border);
}

.details dt:first-of-type,
.details dt:first-of-type + dd {
  border-top: 0;
}

.details dt {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
}

.details dd {
  color: var(--text);
  font-size: 15px;
  font-weight: 550;
}

.details dd a {
  color: var(--accent-ink);
}

.details code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.stack li {
  padding: 3px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 13.5px;
  font-weight: 550;
}

.note {
  display: flex;
  gap: 14px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--surface);
  color: var(--text-2);
  font-size: 15px;
}

.note .i {
  width: 22px;
  height: 22px;
  color: var(--accent-ink);
  margin-top: 1px;
}

.side-stack {
  display: grid;
  gap: 16px;
}

.links-card {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--surface);
  list-style: none;
}

.links-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 12px;
  font-weight: 550;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s;
}

.links-card a:hover {
  background: var(--surface-2);
}

.links-card a span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.links-card .i {
  width: 19px;
  height: 19px;
  color: var(--muted);
}

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

@media (max-width: 480px) {
  .details {
    grid-template-columns: 1fr;
  }
  .details dt {
    padding-bottom: 2px;
  }
  .details dd {
    border-top: 0;
    padding-top: 0;
  }
}

/* CTA band */

.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 32px;
  background: #0b0e0d;
  color: #edf2ef;
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40% -10% auto auto;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 65%);
}

.cta-band img {
  width: 88px;
  height: 88px;
  border-radius: 23%;
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.5);
}

.cta-band h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.cta-band p {
  color: #b5c0ba;
  margin-top: 6px;
}

.cta-band .store-btn:not(.is-soon):not(.is-web) {
  background: #fff;
  color: #0b0f0d;
  border-color: #fff;
}

.cta-band .store-btn.is-web {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 0.25);
}

.cta-band .store-btn.is-soon {
  color: #9aa69f;
  border-color: rgb(255 255 255 / 0.22);
}

.cta-band .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 0.25);
}

@media (max-width: 900px) {
  .cta-band {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

/* more projects */

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

.mini-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.mini-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

.mini-card img {
  width: 60px;
  height: 60px;
  flex: none;
  border-radius: 23%;
  box-shadow: var(--shadow-s);
}

.mini-card strong {
  display: block;
  font-size: 16.5px;
  letter-spacing: -0.01em;
}

.mini-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

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

/* ---------------------------------------------------------------- lightbox */

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(5 7 6 / 0.94);
  color: #fff;
}

.lightbox::backdrop {
  background: rgb(5 7 6 / 0.7);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
}

.lb-count {
  color: #aab5af;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.lb-stage {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 64px;
}

.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.6);
  object-fit: contain;
}

.lb-caption {
  padding: 16px 18px 22px;
  text-align: center;
  color: #d6ded9;
  font-size: 15px;
}

.lightbox .icon-btn {
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.16);
  color: #fff;
}

.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}

.lb-prev {
  left: 12px;
}

.lb-next {
  right: 12px;
}

@media (max-width: 600px) {
  .lb-stage {
    padding: 0 12px;
  }
  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 14px;
    transform: none;
  }
}

/* --------------------------------------------------------------- lang hint */

.lang-hint {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 10px 10px 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-l);
  font-size: 14.5px;
}

.lang-hint a {
  font-weight: 650;
  color: var(--brand-ink);
  white-space: nowrap;
}

.lang-hint button {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  cursor: pointer;
}

.lang-hint .i {
  width: 16px;
  height: 16px;
}

/* ------------------------------------------------------------------ reveal */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------- 404 */

.not-found {
  display: grid;
  place-items: center;
  min-height: 60vh;
  text-align: center;
}

.not-found .code {
  font-size: clamp(80px, 16vw, 160px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--brand-ink);
}

.not-found .wrap {
  display: grid;
  gap: 18px;
  justify-items: center;
}

/* ---------------------------------------------------------------- fixes */

.cta-band .eyebrow {
  color: var(--accent-ink-dark, #33f5ad);
}

@media (max-width: 600px) {
  .lang-hint {
    left: 12px;
    right: 12px;
    transform: none;
    max-width: none;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 12px 12px 12px 16px;
    border-radius: 18px;
  }
  .lang-hint span {
    flex: 1 1 100%;
  }
  .lang-hint button {
    margin-left: auto;
  }
}
