/* ÇİZEN Viewer Max — site styles. No build step, no external requests. */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #fbfaf8;
  --bg-alt: #f4f2ee;
  --surface: #ffffff;
  --surface-2: #f7f5f1;
  --ink: #121418;
  --ink-2: #3a3f4a;
  --muted: #646a78;
  --line: #e8e4dd;
  --line-strong: #d6d0c6;
  --accent: #f27822;
  --accent-ink: #b14f0d;
  --accent-soft: #fff0e3;
  --accent-soft-line: #f8d5b6;
  --grad: linear-gradient(100deg, #d97016 0%, #e0601c 50%, #c8441c 100%);
  --grid-line: rgba(18, 20, 24, 0.055);
  --glow-a: rgba(247, 164, 64, 0.34);
  --glow-b: rgba(232, 97, 58, 0.2);
  --shadow-sm: 0 1px 2px rgba(18, 20, 24, 0.06), 0 1px 1px rgba(18, 20, 24, 0.03);
  --shadow-md: 0 10px 28px -10px rgba(18, 20, 24, 0.16), 0 2px 6px rgba(18, 20, 24, 0.05);
  --shadow-lg: 0 48px 96px -32px rgba(18, 20, 24, 0.28), 0 16px 36px -16px rgba(18, 20, 24, 0.12);
  --nav-bg: rgba(251, 250, 248, 0.8);
  --btn-bg: #121418;
  --btn-ink: #ffffff;
  --btn-bg-hover: #2a2e36;
  --ok: #1f9d63;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --gutter: 20px;
  --nav-h: 68px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0b0e;
  --bg-alt: #0e1014;
  --surface: #14161b;
  --surface-2: #1a1d23;
  --ink: #f3f4f6;
  --ink-2: #c9ccd3;
  --muted: #959baa;
  --line: #23262d;
  --line-strong: #323640;
  --accent: #f5873a;
  --accent-ink: #ffa865;
  --accent-soft: rgba(245, 135, 58, 0.12);
  --accent-soft-line: rgba(245, 135, 58, 0.3);
  --grad: linear-gradient(100deg, #ffb35c 0%, #f5873a 50%, #ff6a3d 100%);
  --grid-line: rgba(255, 255, 255, 0.045);
  --glow-a: rgba(247, 164, 64, 0.2);
  --glow-b: rgba(232, 97, 58, 0.16);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 28px -10px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 48px 96px -32px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.03);
  --nav-bg: rgba(10, 11, 14, 0.74);
  --btn-bg: #f3f4f6;
  --btn-ink: #0a0b0e;
  --btn-bg-hover: #ffffff;
  --ok: #3ecf8e;
}

/* Same dark tokens when JavaScript is off and the system is dark. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #0a0b0e;
    --bg-alt: #0e1014;
    --surface: #14161b;
    --surface-2: #1a1d23;
    --ink: #f3f4f6;
    --ink-2: #c9ccd3;
    --muted: #959baa;
    --line: #23262d;
    --line-strong: #323640;
    --accent: #f5873a;
    --accent-ink: #ffa865;
    --accent-soft: rgba(245, 135, 58, 0.12);
    --accent-soft-line: rgba(245, 135, 58, 0.3);
    --grad: linear-gradient(100deg, #ffb35c 0%, #f5873a 50%, #ff6a3d 100%);
    --grid-line: rgba(255, 255, 255, 0.045);
    --glow-a: rgba(247, 164, 64, 0.2);
    --glow-b: rgba(232, 97, 58, 0.16);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 28px -10px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 48px 96px -32px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.03);
    --nav-bg: rgba(10, 11, 14, 0.74);
    --btn-bg: #f3f4f6;
    --btn-ink: #0a0b0e;
    --btn-bg-hover: #ffffff;
    --ok: #3ecf8e;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

.theme-switching,
.theme-switching * {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease !important;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: rgba(242, 120, 34, 0.26);
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

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

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

svg.i {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Header ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.nav.is-scrolled,
.nav.is-open {
  border-bottom-color: var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font: 800 18px/1 var(--font-display);
  letter-spacing: -0.01em;
}

.brand-name span {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 2px;
  margin-left: 12px;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 650;
}

.lang a,
.lang span {
  padding: 5px 10px;
  border-radius: 999px;
  line-height: 1.2;
  text-decoration: none;
}

.lang a {
  color: var(--muted);
}

.lang a:hover {
  color: var(--ink);
}

.lang span {
  background: var(--btn-bg);
  color: var(--btn-ink);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

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

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

html:not(.js) .theme-toggle {
  display: none;
}

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

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

.menu-toggle {
  display: none;
}

.menu-toggle .i-close,
.nav.is-open .menu-toggle .i-menu {
  display: none;
}

.nav.is-open .menu-toggle .i-close {
  display: block;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-grid;
  }

  .nav-actions .nav-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 10px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 17px;
  }
}

@media (max-width: 440px) {
  :root {
    --gutter: 16px;
  }

  .brand-name span {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 15px/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

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

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-ink);
  box-shadow: var(--shadow-md);
}

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

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

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

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

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 184px;
  height: 58px;
  padding: 0 22px 0 18px;
  border-radius: 16px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.store svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: currentColor;
}

.store-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.05;
  text-align: left;
}

.store-text small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
}

.store-text strong {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.store .s-live,
.store.is-live .s-soon {
  display: none;
}

.store.is-live .s-live {
  display: inline;
}

.store.is-live:hover {
  transform: translateY(-1px);
  background: var(--btn-bg-hover);
}

.store:not(.is-live) {
  cursor: default;
}

/* ---------- Badges ---------- */
.eyebrow,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 6px;
  border: 1px solid var(--accent-soft-line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 13.5px;
  font-weight: 600;
}

.badge {
  padding: 6px 14px;
}

.eyebrow b {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px);
}

.hero-bg,
.hero-bg > * {
  position: absolute;
  pointer-events: none;
}

.hero-bg {
  inset: 0;
  z-index: -1;
}

.grid-bg {
  inset: 0;
  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 75% 60% at 50% 30%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 25%, transparent 75%);
}

.glow {
  border-radius: 50%;
  filter: blur(90px);
}

.glow.g1 {
  width: 620px;
  height: 520px;
  top: -200px;
  left: 50%;
  transform: translateX(-95%);
  background: var(--glow-a);
}

.glow.g2 {
  width: 560px;
  height: 480px;
  top: 80px;
  left: 50%;
  transform: translateX(5%);
  background: var(--glow-b);
}

.hero-copy {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin: 24px 0 22px;
  font: 800 clamp(2.3rem, 1.1rem + 5.4vw, 5.25rem) / 1.02 var(--font-display);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.lead {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.25rem);
  text-wrap: pretty;
}

.hero .store-row {
  justify-content: center;
  margin-top: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points svg.i {
  width: 16px;
  height: 16px;
  color: var(--accent);
  stroke-width: 2.4;
}

.hero-visual {
  position: relative;
  max-width: 1080px;
  margin: clamp(48px, 7vw, 84px) auto 0;
}

.shot-frame {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-lg);
}

.shot-frame img {
  width: 100%;
  aspect-ratio: 1600 / 808;
  border-radius: 13px;
  background: var(--surface-2);
  object-fit: cover;
}

.shot-dark,
:root[data-theme="dark"] .shot-light {
  display: none;
}

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

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .shot-light {
    display: none;
  }

  :root:not([data-theme]) .shot-dark {
    display: block;
  }
}

.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  animation: float 7s ease-in-out infinite;
}

.float .ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.float strong {
  display: block;
  font-size: 14.5px;
  line-height: 1.3;
}

.float small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}

.float.f1 {
  left: -36px;
  top: 30%;
}

.float.f2 {
  right: -32px;
  top: -44px;
  animation-delay: -2.4s;
}

.float.f3 {
  right: 8%;
  bottom: -46px;
  animation-delay: -4.6s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1180px) {
  .float.f1 {
    left: -12px;
  }

  .float.f2 {
    right: -12px;
  }
}

@media (max-width: 760px) {
  .float {
    display: none;
  }

  .shot-frame {
    padding: 6px;
    border-radius: 16px;
  }

  .shot-frame img {
    border-radius: 11px;
  }
}

/* ---------- Formats marquee ---------- */
.formats {
  padding: clamp(28px, 4vw, 44px) 0 clamp(8px, 2vw, 16px);
}

.formats-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  animation: marquee 48s linear infinite;
}

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

/* With JavaScript the strip scrolls itself (site.js) and can be dragged with the mouse or
   swiped with a finger; the CSS animation above is only the no-JavaScript fallback. */
.js .marquee {
  overflow-x: auto;
  cursor: grab;
  scrollbar-width: none;
}

.js .marquee::-webkit-scrollbar {
  display: none;
}

.js .marquee.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.js .marquee-track {
  animation: none;
}

.fmt {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  white-space: nowrap;
}

.fmt b {
  font-size: 15px;
  font-weight: 700;
}

.fmt code {
  color: var(--muted);
  font: 500 12.5px var(--mono);
}

@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 6px));
  }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: clamp(80px, 10vw, 136px) 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 780px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.18rem);
  text-wrap: pretty;
}

.section h2,
.cta h2 {
  margin: 0 0 18px;
  font: 800 clamp(2rem, 1.1rem + 3.2vw, 3.4rem) / 1.06 var(--font-display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* ---------- Bento cards ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin: 18px 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

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

.ic-tile {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--accent-soft-line);
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.ic-tile svg.i {
  width: 22px;
  height: 22px;
}

.span-2 {
  grid-column: span 2;
}

.span-3 {
  grid-column: span 3;
}

.readout {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.readout div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 14px;
}

.readout span {
  color: var(--muted);
}

.readout b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.mini {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 14px;
}

.mini-row {
  display: grid;
  grid-template-columns: 1.1fr 0.6fr 1.4fr;
  gap: 8px;
  align-items: center;
  padding: 9px 14px;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.mini-row:first-child {
  border-top: 0;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-row span:not(:first-child) {
  text-align: right;
}

@media (max-width: 400px) {
  .mini {
    font-size: 12.5px;
  }

  .mini-row {
    grid-template-columns: 1.05fr 0.5fr 1.55fr;
    gap: 6px;
    padding: 9px 10px;
    white-space: nowrap;
  }

  .mini-row:first-child {
    font-size: 10.5px;
  }
}

.sw {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 3px;
  vertical-align: -1px;
}

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

  .span-2,
  .span-3 {
    grid-column: span 1;
  }

  .span-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .card {
    padding: 24px;
  }
}

/* ---------- Showcase tabs ---------- */
.tablist {
  position: relative;
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 32px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  scrollbar-width: none;
}

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

.tablist button {
  flex-shrink: 0;
  padding: 10px 17px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.tablist button:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.tablist button[aria-selected="true"] {
  background: var(--btn-bg);
  color: var(--btn-ink);
}

.tabpanel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.tabpanel + .tabpanel {
  margin-top: 56px;
}

.js .tabpanel + .tabpanel {
  margin-top: 0;
}

.tabpanel[hidden] {
  display: none;
}

.js .tabpanel:not([hidden]) {
  animation: fade-up 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tp-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.tp-copy p {
  margin: 0 0 20px;
  color: var(--muted);
}

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

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-2);
  font-size: 15px;
}

.checks li::before {
  content: "";
  flex: 0 0 20px;
  height: 20px;
  margin-top: 2px;
  border: 1px solid var(--accent-soft-line);
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0661a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

.extras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}

.extra {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.extra h3 {
  margin: 2px 0 4px;
  font-size: 17px;
}

.extra p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 900px) {
  .tabpanel {
    grid-template-columns: minmax(0, 1fr);
  }

  .tablist {
    margin-inline: 0;
  }

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

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Voice ---------- */
.voice {
  --ink: #f3f4f6;
  --ink-2: #c9ccd3;
  --muted: #a0a6b3;
  --line: #262a32;
  --line-strong: #353a45;
  --surface: #171a20;
  --surface-2: #1e2128;
  --accent-ink: #ffa865;
  --accent-soft: rgba(245, 135, 58, 0.14);
  --accent-soft-line: rgba(245, 135, 58, 0.32);
  --grad: linear-gradient(100deg, #ffb35c 0%, #f5873a 50%, #ff6a3d 100%);
  --ok: #3ecf8e;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid #23262d;
  border-radius: 32px;
  background: #0f1115;
  color: var(--ink);
}

.voice::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -10%;
  bottom: -45%;
  width: 70%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(242, 120, 34, 0.3), transparent);
  filter: blur(10px);
}

.voice::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 50%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 80% at 80% 50%, #000, transparent 70%);
}

.voice-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.15rem);
}

.voice-copy > .note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-2);
  font-size: 14.5px;
}

.note svg.i {
  margin-top: 2px;
  color: var(--accent-ink);
}

.cmd {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.cmd-label {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cmd-input {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface-2);
  font-size: clamp(15px, 1.3vw, 18px);
}

.cmd-text {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.caret {
  flex-shrink: 0;
  width: 2px;
  height: 22px;
  margin-left: -8px;
  background: var(--accent);
  animation: blink 1.05s steps(1) infinite;
}

.cmd-mic {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  height: 46px;
  margin-left: auto;
  padding: 0 16px;
  border-radius: 11px;
  background: linear-gradient(135deg, #f7a440, #e8613a);
  color: #1c0e04;
  font-size: 14px;
  font-weight: 700;
}

.cmd-mic::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(245, 135, 58, 0.5);
  border-radius: 14px;
  animation: pulse 2.2s ease-out infinite;
}

.cmd-mic svg.i {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.cmd-result {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 14px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cmd-result.is-on {
  opacity: 1;
  transform: none;
}

.cmd-result svg.i {
  width: 18px;
  height: 18px;
  color: var(--ok);
  stroke-width: 2.4;
}

.phrase-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.phrase-groups > div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.phrase-groups h3 {
  margin: 0 0 6px;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phrase-groups p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.96);
  }

  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

@media (max-width: 900px) {
  .voice {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 24px;
  }
}

@media (max-width: 520px) {
  .phrase-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .cmd-mic span {
    display: none;
  }
}

/* ---------- Privacy ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.split .section-head {
  margin: 0;
  text-align: left;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--accent-ink);
  font-weight: 650;
  text-decoration: none;
}

.text-link svg.i {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.text-link:hover svg.i {
  transform: translateX(3px);
}

@media (min-width: 981px) {
  .split .section-head {
    position: sticky;
    top: calc(var(--nav-h) + 40px);
  }
}

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

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.pricing-main,
.pricing-side {
  padding: clamp(28px, 5vw, 56px);
}

.pricing-main h3 {
  margin: 20px 0 10px;
  font: 800 clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem) / 1.1 var(--font-display);
  letter-spacing: -0.03em;
}

.pricing-main > p {
  margin: 0;
  color: var(--muted);
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.plan {
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface-2);
}

.plan b {
  display: block;
  font-size: 17px;
}

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

.pricing-side {
  border-left: 1px solid var(--line);
  background: var(--surface-2);
}

.pricing-side h4 {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-main > .fine {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}

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

@media (max-width: 860px) {
  .pricing {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 24px;
  }

  .pricing-side {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 440px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 840px;
  margin: 0 auto;
}

.faq details {
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: "";
  flex: 0 0 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.faq .answer {
  padding: 0 0 22px;
  color: var(--muted);
}

.faq .answer p {
  margin: 0;
}

.faq .answer p + p {
  margin-top: 10px;
}

.faq .answer a {
  color: var(--accent-ink);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--surface);
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(60% 80% at 50% 0%, var(--glow-a), transparent 70%),
    radial-gradient(40% 60% at 85% 100%, var(--glow-b), transparent 70%);
}

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

.app-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 28px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.cta > p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.18rem);
}

.cta .store-row {
  justify-content: center;
  margin-top: 34px;
}

@media (max-width: 640px) {
  .cta {
    border-radius: 24px;
  }
}

/* ---------- Footer ---------- */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

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

.footer-about p {
  max-width: 340px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

.footer h2 {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.footer a {
  color: var(--ink-2);
  font-size: 15px;
  text-decoration: none;
}

.footer a:hover {
  color: var(--ink);
}

.footer li span {
  color: var(--muted);
  font-size: 15px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
  max-width: 640px;
}

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

  .footer-about {
    grid-column: 1 / -1;
  }
}

/* ---------- Legal pages ---------- */
.doc-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.doc-hero h1 {
  margin: 18px 0 12px;
  font: 800 clamp(2.2rem, 1.4rem + 3vw, 3.6rem) / 1.05 var(--font-display);
  letter-spacing: -0.035em;
}

.doc-meta {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.doc-switch {
  display: inline-flex;
  gap: 4px;
  margin-top: 28px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.doc-switch a {
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}

.doc-switch a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.doc-switch a[aria-current="page"] {
  background: var(--btn-bg);
  color: var(--btn-ink);
}

.doc-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  padding-block: 56px 104px;
}

.toc {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  max-height: calc(100vh - var(--nav-h) - 56px);
  overflow: auto;
}

.toc summary {
  display: none;
}

.toc-title {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line);
}

.toc a {
  display: flex;
  gap: 8px;
  margin-left: -1px;
  padding: 6px 0 6px 16px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.toc a span {
  min-width: 1.6em;
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}

.toc a:hover {
  color: var(--ink);
}

.toc a.is-active {
  border-left-color: var(--accent);
  color: var(--ink);
  font-weight: 600;
}

.prose {
  max-width: 760px;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.75;
}

.prose h2 {
  margin: 56px 0 14px;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 30px 0 8px;
  color: var(--ink);
  font-size: 1.12rem;
}

.prose p,
.prose ul {
  margin: 0 0 14px;
}

.prose ul {
  padding-left: 22px;
}

.prose li {
  margin: 6px 0;
}

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

.prose strong {
  color: var(--ink);
  font-weight: 650;
}

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

.prose address {
  margin: 0 0 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  font-style: normal;
}

.summary {
  margin: 0 0 8px;
  padding: 24px 26px;
  border: 1px solid var(--accent-soft-line);
  border-radius: 20px;
  background: var(--accent-soft);
}

.summary-title {
  margin: 0 0 12px !important;
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.summary li {
  position: relative;
  margin: 0;
  padding-left: 32px;
  color: var(--ink);
}

.summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0661a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

@media (max-width: 960px) {
  .doc-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 28px;
  }

  .toc {
    position: static;
    max-height: none;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
  }

  .toc summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-weight: 650;
    list-style: none;
    cursor: pointer;
  }

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

  .toc summary::after {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: translateY(-3px) rotate(45deg);
  }

  .toc[open] summary::after {
    transform: translateY(2px) rotate(225deg);
  }

  .toc-title {
    display: none;
  }

  .toc ol {
    margin: 0 20px 16px;
  }

  .prose h2 {
    margin-top: 44px;
  }
}

/* ---------- 404 ---------- */
.notfound {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--nav-h) - 200px);
  padding: 80px 0;
  text-align: center;
}

.notfound .code {
  margin: 0;
  font: 800 clamp(5rem, 3rem + 10vw, 9rem) / 1 var(--font-display);
  letter-spacing: -0.06em;
}

.notfound h1 {
  margin: 12px 0 8px;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  letter-spacing: -0.02em;
}

.notfound p {
  margin: 0 0 4px;
  color: var(--muted);
}

.notfound .store-row {
  justify-content: center;
  margin-top: 28px;
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}

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

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

  .float,
  .caret,
  .cmd-mic::after {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js .tabpanel:not([hidden]) {
    animation: none;
  }

  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee-track {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    animation: none;
  }

  .marquee-track [aria-hidden="true"] {
    display: none;
  }
}
