/* ==========================================================================
   Duyarım — landing sayfası
   Tasarım dili apps/mobile/lib/app/hig.dart ile birebir eşleşir:
   HigColors token'ları, SF ölçeği + negatif tracking, 0.5px hairline,
   12px inset kart / 14px buton köşesi, 56px dokunma hedefi.
   ========================================================================== */

/* --------------------------------------------------------------- token'lar */

:root {
  /* HigColors.light */
  --bg: #f2f2f7;
  --card: #ffffff;
  --separator: #c6c6c8;
  --label: #16201b;
  --label-2: #3c3c43;
  --label-3: #5c5c63;
  --chevron: #8a8a92;
  --accent: #0b6e4f;
  --on-accent: #ffffff;
  --danger: #c0342b;
  --bar: rgba(249, 249, 249, 0.72);

  /* zemin atmosferi: design/duy-design-language.html kâğıt tonu */
  --paper: #e7e5de;
  --accent-wash: rgba(11, 110, 79, 0.07);
  --accent-line: rgba(11, 110, 79, 0.22);
  --shadow-card:
    0 1px 2px rgba(22, 32, 27, 0.04), 0 8px 24px -12px rgba(22, 32, 27, 0.14);
  --shadow-lift:
    0 2px 4px rgba(22, 32, 27, 0.05), 0 24px 48px -20px rgba(22, 32, 27, 0.22);
  --grain-opacity: 0.035;

  /* HigMetrics */
  --r-card: 12px;
  --r-button: 14px;
  --r-pill: 999px;
  --hairline: 0.5px;
  --touch: 56px;
  --pad: 16px;

  /* SF ölçeği (hig.dart HigText) */
  --font-ui:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  --font-display:
    "Fraunces", "SF Pro Display", -apple-system, BlinkMacSystemFont, Georgia,
    serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  color-scheme: light;
}

:root[data-theme="dark"] {
  /* HigColors.dark */
  --bg: #000000;
  --card: #1c1c1e;
  --separator: #38383a;
  --label: #ffffff;
  --label-2: #b3b3ba;
  --label-3: #9e9ea6;
  --chevron: #7c7c84;
  --accent: #57d19f;
  --on-accent: #002e1f;
  --danger: #ff6961;
  --bar: rgba(16, 16, 18, 0.72);

  --paper: #0a0d0c;
  --accent-wash: rgba(87, 209, 159, 0.09);
  --accent-line: rgba(87, 209, 159, 0.24);
  --shadow-card:
    0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 32px -16px rgba(0, 0, 0, 0.8);
  --shadow-lift:
    0 1px 0 rgba(255, 255, 255, 0.05), 0 32px 64px -24px rgba(0, 0, 0, 0.9);
  --grain-opacity: 0.05;

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --card: #1c1c1e;
    --separator: #38383a;
    --label: #ffffff;
    --label-2: #b3b3ba;
    --label-3: #9e9ea6;
    --chevron: #7c7c84;
    --accent: #57d19f;
    --on-accent: #002e1f;
    --danger: #ff6961;
    --bar: rgba(16, 16, 18, 0.72);
    --paper: #0a0d0c;
    --accent-wash: rgba(87, 209, 159, 0.09);
    --accent-line: rgba(87, 209, 159, 0.24);
    --shadow-card:
      0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 32px -16px rgba(0, 0, 0, 0.8);
    --shadow-lift:
      0 1px 0 rgba(255, 255, 255, 0.05), 0 32px 64px -24px rgba(0, 0, 0, 0.9);
    --grain-opacity: 0.05;
    color-scheme: dark;
  }
}

/* ------------------------------------------------------------------- temel */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 22px;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
}

/* ince film grenlik — düz zemin yerine doku */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

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

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

/* ---------------------------------------------------------------- tipografi */

.large-title,
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings:
    "SOFT" 0,
    "WONK" 0,
    "opsz" 40;
  letter-spacing: -0.026em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.35rem);
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
}

h3 {
  font-family: var(--font-ui);
  font-size: 20px;
  line-height: 25px;
  font-weight: 700;
  letter-spacing: -0.0225em;
  margin: 0;
}

.headline {
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.022em;
}

.body {
  font-size: 17px;
  line-height: 26px;
  color: var(--label-2);
  letter-spacing: -0.018em;
  margin: 0;
}

.footnote {
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0;
  color: var(--label-3);
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: var(--hairline);
  background: currentColor;
  flex: none;
}

/* ------------------------------------------------------------------ düzen */

.wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

section {
  padding-block: clamp(64px, 7.5vw, 100px);
  position: relative;
}

.section-head {
  max-width: 44ch;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--card);
  color: var(--label);
  padding: 12px 18px;
  border-radius: var(--r-button);
  box-shadow: var(--shadow-lift);
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 16px;
}

/* ------------------------------------------------------------------ hairline
   0.5px ayraç — HigCard davranışı. */

.hairline {
  height: var(--hairline);
  background: var(--separator);
  border: 0;
  margin: 0;
}

/* ------------------------------------------------------------- inset kart */

.card {
  background: var(--card);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.card--pad {
  padding: 22px var(--pad) 24px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px var(--pad);
}

.card-header .glyph {
  color: var(--accent);
  flex: none;
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 11px var(--pad);
}

.row__text {
  flex: 1;
  min-width: 0;
}

.row__label {
  font-size: 13px;
  line-height: 18px;
  color: var(--label-3);
}

.row__title {
  font-size: 17px;
  line-height: 23px;
  letter-spacing: -0.022em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row__sub {
  font-size: 13px;
  line-height: 18px;
  color: var(--label-3);
  font-variant-numeric: tabular-nums;
}

.chevron {
  color: var(--chevron);
  flex: none;
}

/* ---------------------------------------------------------------- butonlar */

.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--on-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--touch);
  padding: 0 26px;
  border: 0;
  border-radius: var(--r-button);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.18s ease,
    box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: var(--shadow-lift);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--accent);
  box-shadow: inset 0 0 0 var(--hairline) var(--separator);
}

.btn--ghost:hover {
  box-shadow:
    inset 0 0 0 1px var(--accent-line),
    var(--shadow-card);
  background: var(--accent-wash);
}

.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}

.btn__sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.72;
}

.btn__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.15;
}

/* Mağaza bağlantısı henüz yok: buton tıklanamaz, ama okunur kalır.
   Kontrast korunur (soluklaştırma yerine yüzey değişir). */
.btn--soon {
  --btn-bg: var(--card);
  --btn-fg: var(--label-2);
  cursor: default;
  box-shadow: inset 0 0 0 var(--hairline) var(--separator);
}

.btn--soon:hover {
  transform: none;
  filter: none;
  background: var(--btn-bg);
  box-shadow: inset 0 0 0 var(--hairline) var(--separator);
}

.btn--soon:active {
  transform: none;
}

.btn--soon .btn__sub {
  color: var(--accent);
  opacity: 1;
  font-weight: 600;
}

/* Kapanış bölümündeki durum rozeti. */
.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: var(--r-pill);
  background: var(--accent-wash);
  color: var(--accent);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.soon-badge .live-dot {
  width: 7px;
  height: 7px;
}

/* ------------------------------------------------------------------ başlık */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bar);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: var(--hairline) solid transparent;
  transition: border-color 0.3s ease;
}

.masthead[data-scrolled="true"] {
  border-bottom-color: var(--separator);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--label);
  text-decoration: none;
  margin-right: auto;
}

.wordmark:hover {
  color: var(--label);
}

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

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

.nav a:hover {
  color: var(--label);
  background: var(--accent-wash);
}

/* tema anahtarı */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: var(--hairline) solid var(--separator);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--label-2);
  cursor: pointer;
  flex: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-wash);
}

.theme-toggle svg {
  position: absolute;
  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-toggle {
  position: relative;
  overflow: hidden;
}

.theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

:root[data-theme="dark"] .theme-toggle .icon-sun,
html:not([data-theme="light"]) .theme-toggle .icon-sun {
  opacity: 1;
}

/* dark iken ay görünür */
:root[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
  }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    opacity: 1;
    transform: none;
  }
}

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

.hero {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(64px, 9vw, 112px);
  overflow: hidden;
}

/* zeminde yükseltme dalgası — ürünün ana metaforu */
.hero::after {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 18% 12%, var(--accent-wash), transparent 70%),
    radial-gradient(45% 45% at 88% 4%, var(--accent-wash), transparent 68%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero h1 .accent {
  font-style: italic;
  color: var(--accent);
  font-variation-settings:
    "SOFT" 60,
    "WONK" 1,
    "opsz" 40;
}

.hero__lede {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  color: var(--label-2);
  max-width: 40ch;
  letter-spacing: -0.016em;
  margin: 0;
}

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

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

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  line-height: 18px;
  color: var(--label-3);
}

.meta-item .glyph {
  color: var(--accent);
  flex: none;
}

.disclaimer {
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
  padding: 10px 14px 10px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--danger) 8%, transparent);
  color: var(--danger);
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0;
  font-weight: 500;
}

.disclaimer .glyph {
  flex: none;
  margin-top: 1px;
}

/* --------------------------------------------------- telefon mockup (imza) */

.device-stage {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

/* arkada eşmerkezli yayılım halkaları */
.device-stage::before {
  content: "";
  position: absolute;
  width: 118%;
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: -1;
  background:
    radial-gradient(
      circle,
      transparent 38%,
      var(--accent-line) 38.4%,
      transparent 39.4%
    ),
    radial-gradient(
      circle,
      transparent 52%,
      var(--accent-line) 52.4%,
      transparent 53.4%
    ),
    radial-gradient(
      circle,
      transparent 66%,
      var(--accent-line) 66.3%,
      transparent 67.2%
    );
  opacity: 0.55;
  animation: breathe 7s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.045);
    opacity: 0.72;
  }
}

.device {
  width: min(340px, 88%);
  padding: 11px;
  border-radius: 54px;
  background:
    linear-gradient(160deg, #3a3a3d, #14141600 42%, #000 100%), #1a1a1c;
  box-shadow:
    var(--shadow-lift),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.device__screen {
  position: relative;
  border-radius: 44px;
  background: var(--bg);
  overflow: hidden;
  padding: 12px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  aspect-ratio: 340 / 700;
}

.device__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 24px;
  border-radius: var(--r-pill);
  background: #000;
  z-index: 5;
}

.screen__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--label);
  font-variant-numeric: tabular-nums;
}

.screen__title {
  font-family: var(--font-ui);
  font-size: 26px;
  line-height: 31px;
  font-weight: 700;
  letter-spacing: -0.026em;
  padding: 6px 4px 0;
}

/* canlı durum satırı */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-inline: 4px;
  padding: 6px 12px 6px 10px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  color: var(--danger);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.78);
  }
}

/* dalga formu */
.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 84px;
  padding-inline: 14px;
}

.waveform span {
  flex: 1;
  min-width: 2px;
  max-width: 5px;
  border-radius: var(--r-pill);
  background: var(--accent);
  transform-origin: center;
  animation: wave 1.25s ease-in-out infinite;
  height: 100%;
  scale: 1 var(--h, 0.3);
}

@keyframes wave {
  0%,
  100% {
    scale: 1 var(--h);
  }
  50% {
    scale: 1 calc(var(--h) * var(--boost, 2.1));
  }
}

/* gain kartı */
.gain-card {
  margin-inline: 4px;
  padding: 14px var(--pad) 16px;
}

.gain-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.gain-card__label {
  font-size: 13px;
  color: var(--label-3);
}

.gain-value {
  font-family: var(--font-ui);
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--label);
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--accent-wash);
  color: var(--accent);
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.tier-badge[data-tier="high"] {
  background: color-mix(in srgb, #b8860b 14%, transparent);
  color: color-mix(in srgb, #8a6508 88%, var(--label));
}

:root[data-theme="dark"] .tier-badge[data-tier="high"] {
  background: rgba(240, 190, 90, 0.16);
  color: #f0be5a;
}

.tier-badge[data-tier="max"] {
  background: color-mix(in srgb, var(--danger) 13%, transparent);
  color: var(--danger);
}

/* slider — 12px track, 32px thumb (SliderThemeData) */
.gain-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 32px;
  background: transparent;
  cursor: grab;
  margin: 0;
  display: block;
}

.gain-slider::-webkit-slider-runnable-track {
  height: 12px;
  border-radius: var(--r-pill);
  background: linear-gradient(
    to right,
    var(--accent) var(--fill, 0%),
    var(--separator) var(--fill, 0%)
  );
}

.gain-slider::-moz-range-track {
  height: 12px;
  border-radius: var(--r-pill);
  background: var(--separator);
}

.gain-slider::-moz-range-progress {
  height: 12px;
  border-radius: var(--r-pill);
  background: var(--accent);
}

.gain-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 32px;
  height: 32px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--card);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.2),
    0 0 0 var(--hairline) var(--separator);
  border: 0;
}

.gain-slider::-moz-range-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card);
  border: var(--hairline) solid var(--separator);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.gain-slider:active {
  cursor: grabbing;
}

.gain-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--label-3);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}

/* rota satırı */
.route-card {
  margin-inline: 4px;
}

/* durdur butonu + sekme çubuğu */
.screen__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stop-btn {
  margin-inline: 4px;
  min-height: 50px;
  border-radius: var(--r-button);
  background: var(--danger);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.022em;
}

.tabbar {
  display: flex;
  border-top: var(--hairline) solid var(--separator);
  background: var(--bar);
  backdrop-filter: blur(20px);
  margin-inline: -12px;
  padding: 7px 0 12px;
}

.tabbar div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  line-height: 13px;
  font-weight: 500;
  color: var(--chevron);
}

.tabbar div[aria-current] {
  color: var(--accent);
}

.device-caption {
  margin-top: 20px;
  text-align: center;
  max-width: 34ch;
  margin-inline: auto;
}

/* ------------------------------------------------------------- değer üçlüsü */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 20px;
}

.value-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 22px 28px;
  position: relative;
}

.value-card__no {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.value-card .glyph-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-wash);
  color: var(--accent);
  margin-bottom: 2px;
}

.value-card__note {
  margin-top: auto;
  padding-top: 14px;
  border-top: var(--hairline) solid var(--separator);
}

/* --------------------------------------------------------- nasıl çalışır */

.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  align-items: start;
  border-top: var(--hairline) solid var(--separator);
}

.step:last-child {
  border-bottom: var(--hairline) solid var(--separator);
}

.step__no {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.9;
  font-weight: 600;
  color: var(--accent);
  font-variation-settings:
    "SOFT" 40,
    "WONK" 1;
  font-variant-numeric: tabular-nums;
}

.step__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 62ch;
}

/* ------------------------------------------------------------- kademe tablosu */

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 16px;
}

.tier {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 3px solid var(--tier-color, var(--accent));
}

.tier__range {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--label);
  font-variant-numeric: tabular-nums;
}

.tier__name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--tier-color, var(--accent));
}

/* -------------------------------------------------------------- gizlilik */

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bullet-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-bottom: var(--hairline) solid var(--separator);
  font-size: 16px;
  line-height: 24px;
  color: var(--label-2);
  letter-spacing: -0.016em;
}

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

.bullet-list .glyph {
  color: var(--accent);
  margin-top: 3px;
}

.lock-panel {
  padding: 34px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--card);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.lock-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 90% at 100% 0%,
    var(--accent-wash),
    transparent 60%
  );
  pointer-events: none;
}

.lock-panel .glyph-tile {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent);
}

/* ------------------------------------------------------------ kayıt listesi */

.recordings {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.sample-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--accent-wash);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.play-tile {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-wash);
  color: var(--accent);
  flex: none;
}

/* -------------------------------------------------------------------- SSS */

.faq {
  max-width: 78ch;
}

.qa {
  border-bottom: var(--hairline) solid var(--separator);
}

.qa:first-of-type {
  border-top: var(--hairline) solid var(--separator);
}

.qa summary {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 18px 4px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.022em;
  list-style: none;
  color: var(--label);
  transition: color 0.16s ease;
}

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

.qa summary:hover {
  color: var(--accent);
}

.qa summary::after {
  content: "";
  margin-left: auto;
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 1.8px solid var(--chevron);
  border-bottom: 1.8px solid var(--chevron);
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.qa[open] summary::after {
  transform: rotate(-135deg);
}

.qa__body {
  padding: 0 4px 22px;
  max-width: 66ch;
}

/* ---------------------------------------------------------------- kapanış */

.closing {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: clamp(56px, 8vw, 92px) clamp(24px, 5vw, 64px);
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 100%;
  background: radial-gradient(
    50% 60% at 50% 100%,
    var(--accent-wash),
    transparent 70%
  );
  pointer-events: none;
}

.closing h2 {
  max-width: 24ch;
}

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

.footer {
  border-top: var(--hairline) solid var(--separator);
  padding-block: 44px 56px;
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  align-items: flex-start;
  justify-content: space-between;
}

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

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

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

.footer__legal {
  max-width: 52ch;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --------------------------------------------------------------- animasyon */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
}

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

/* hero açılış — sahnelenmiş giriş */
.hero .reveal {
  transform: translateY(16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .hero__grid,
  .privacy,
  .recordings {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__grid {
    gap: 56px;
  }
  .recordings > *:first-child {
    order: 1;
  }
  .device-stage {
    order: 2;
  }
}

/* ------------------------------------------------ yasal ve destek sayfaları
   index.html'in bileşenlerini yeniden kullanır; yalnızca uzun metin ritmi
   ve içindekiler şeridi için ek kural tanımlar. */

.page-hero {
  padding-block: clamp(44px, 6vw, 84px) clamp(20px, 3vw, 32px);
}

.page-hero .wrap {
  max-width: 64ch;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  margin-block: 18px 20px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  padding: 16px var(--pad);
  margin-top: 28px;
}

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

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

.legal-prose {
  padding-block: 0 clamp(64px, 9vw, 116px);
}

.legal-prose .wrap {
  max-width: 72ch;
}

.legal-section {
  padding-block: 0;
  margin-top: clamp(40px, 5vw, 56px);
  scroll-margin-top: 96px;
}

.legal-section h2 {
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  margin-bottom: 16px;
}

.legal-section h3 {
  margin-top: 26px;
  margin-bottom: 8px;
}

.legal-section .body + .body,
.legal-section .body + .footnote,
.legal-section .footnote + .body,
.legal-section .bullet-list + .body,
.legal-section .body + .bullet-list,
.legal-section .card + .body {
  margin-top: 14px;
}

.legal-section .card {
  margin-top: 18px;
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }
  .step {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .btn {
    width: 100%;
  }
  .hero__cta {
    width: 100%;
  }
  .closing .btn {
    width: auto;
  }
}
