/*
 * Tanıtım sayfası — tek stil dosyası. Renkler ürünün token'larından (packages/ui/src/tokens.ts): marka turkuazı
 * #0e8a82 / #3fb3ac, koyu kabuk #0b1011. Açık tema varsayılan; koyu tema işletim sisteminden ya da kişinin seçiminden.
 * Hareketler yalnız `prefers-reduced-motion: no-preference` altında; kaydırmaya bağlı canlandırma desteklenmeyen
 * tarayıcıda öğeler zaten görünür durur (gizleyip betikle açan bir şey yoktur).
 */

/* ---------- Yazı tipi: Inter (değişken, kendi sunucumuzda; OFL) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('inter-latin-wght-normal.3100e775e8.woff2') format('woff2');
  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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('inter-latin-ext-wght-normal.34b9c504ca.woff2') format('woff2');
  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;
}
/* Yazı tipi gelene kadar aynı ölçülerde yedek: değişimde satırlar kaymaz. */
@font-face {
  font-family: 'Inter Yedek';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
  size-adjust: 107.12%;
}

/* ---------- Kaydırmaya bağlı ışık ve dönen halkalar için kayıtlı özellikler ---------- */
@property --spin {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@property --drift {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}
@property --flow {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

/* ---------- Token'lar ---------- */
:root {
  color-scheme: light;
  --bg: #f5f7f7;
  --bg-tint: #edf3f2;
  --surface: #ffffff;
  --surface-2: #f0f4f3;
  --ink: #0f1a1c;
  --ink-2: #435355;
  --ink-3: #5b6a6c;
  --line: rgba(16, 26, 28, 0.1);
  --line-strong: rgba(16, 26, 28, 0.16);
  --brand: #0e8a82;
  --brand-2: #3fb3ac;
  --brand-ink: #0b6b68;
  --accent-from: #0a5f5c;
  --accent-to: #0e8a82;
  --btn-from: #108077;
  --btn-to: #0a625f;
  --glass: rgba(255, 255, 255, 0.72);
  --shadow-win: 0 50px 100px -40px rgba(8, 50, 48, 0.38), 0 18px 40px -24px rgba(8, 50, 48, 0.22);
  --shadow-soft: 0 12px 30px -16px rgba(8, 50, 48, 0.25);
  --shot-filter: none;

  /* Koyu sahne (LabCad, Labi & Labla, güvenlik, iletişim): iki temada da koyu — filmin koyu sahneleri. */
  --stage: #061214;
  --stage-ink: #e7eded;
  --stage-ink-2: #a9b6b7;
  --stage-line: rgba(231, 237, 237, 0.1);
  --stage-card: rgba(255, 255, 255, 0.035);

  --font: 'Inter', 'Inter Yedek', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --top-h: 60px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #0b1011;
    --bg-tint: #0e1617;
    --surface: #121a1b;
    --surface-2: #172122;
    --ink: #e7eded;
    --ink-2: #a9b6b7;
    --ink-3: #8f9d9f;
    --line: rgba(231, 237, 237, 0.1);
    --line-strong: rgba(231, 237, 237, 0.18);
    --brand-ink: #5ac4bd;
    --accent-from: #8fe0d9;
    --accent-to: #3fb3ac;
    --glass: rgba(18, 26, 27, 0.7);
    --shadow-win: 0 50px 110px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
    --shadow-soft: 0 12px 30px -16px rgba(0, 0, 0, 0.7);
    --shot-filter: brightness(0.93) contrast(1.02);
    --stage: #050c0d;
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0b1011;
  --bg-tint: #0e1617;
  --surface: #121a1b;
  --surface-2: #172122;
  --ink: #e7eded;
  --ink-2: #a9b6b7;
  --ink-3: #8f9d9f;
  --line: rgba(231, 237, 237, 0.1);
  --line-strong: rgba(231, 237, 237, 0.18);
  --brand-ink: #5ac4bd;
  --accent-from: #8fe0d9;
  --accent-to: #3fb3ac;
  --glass: rgba(18, 26, 27, 0.7);
  --shadow-win: 0 50px 110px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 12px 30px -16px rgba(0, 0, 0, 0.7);
  --shot-filter: brightness(0.93) contrast(1.02);
  --stage: #050c0d;
}

/* ---------- Temel ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--top-h) + 28px);
  interpolate-size: allow-keywords;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 8px;
}
::selection {
  background: color-mix(in oklab, var(--brand-2) 34%, transparent);
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.i {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  &:focus {
    top: 16px;
  }
}
.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}
.anchor {
  height: 0;
}

/* ---------- Yazı ---------- */
h1 {
  font-size: clamp(44px, 7.4vw, 100px);
  font-weight: 720;
  line-height: 0.98;
  letter-spacing: -0.048em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(34px, 4.8vw, 62px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
h3 {
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.accent {
  background: linear-gradient(100deg, var(--accent-from), var(--accent-to) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Seçilince ve yüksek karşıtlık kipinde okunur kalsın. */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (forced-colors: active) {
  .accent {
    color: CanvasText;
    background: none;
  }
}
.kicker {
  margin-bottom: 18px;
  color: var(--brand-ink);
  font-size: 12.5px;
  font-weight: 680;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lead {
  color: var(--ink-2);
  font-size: clamp(17px, 1.45vw, 19.5px);
  line-height: 1.6;
  text-wrap: pretty;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 560;
  backdrop-filter: blur(10px);
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 0 rgba(63, 179, 172, 0.55);
}
.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand-2) 16%, transparent);
  color: var(--brand-ink);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.02em;
  vertical-align: 2px;
}

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  &:active {
    transform: translateY(1px) scale(0.99);
  }
}
.btn--sm {
  height: 40px;
  padding: 0 16px;
  font-size: 14.5px;
}
.btn--lg {
  height: 54px;
  padding: 0 26px;
  font-size: 16px;
}
.btn--primary {
  background: linear-gradient(180deg, var(--btn-from), var(--btn-to));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 24px -10px rgba(14, 138, 130, 0.65);
  &:hover {
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 16px 32px -12px rgba(14, 138, 130, 0.75);
  }
  & .i {
    transition: transform 0.25s var(--ease);
  }
  &:hover .i {
    transform: translateX(3px);
  }
}
.btn--ghost {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  &:hover {
    border-color: color-mix(in oklab, var(--brand-2) 60%, var(--line-strong));
  }
}
.btn--quiet {
  background: transparent;
  color: var(--ink);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  color: var(--brand-ink);
  font-weight: 620;
  text-decoration: none;
  & .i {
    transition: transform 0.25s var(--ease);
  }
  &:hover .i {
    transform: translateX(3px);
  }
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s var(--ease);
  &:hover {
    background: var(--surface-2);
  }
  &::-webkit-details-marker {
    display: none;
  }
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  color: var(--ink);
}
.logo svg {
  height: 100%;
  width: auto;
}
/* Logo tek tanımdır (<symbol id="logo">, <use> ile); renkler kullanıldığı yerden değişkenle gelir. */
.logo {
  --logo-mark: var(--brand);
}
:root[data-theme='dark'] .logo,
.chapter--stage .logo {
  --logo-mark: var(--brand-2);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .logo {
    --logo-mark: var(--brand-2);
  }
}
#logo .m {
  fill: var(--logo-mark);
}
#logo .w {
  fill: currentColor;
}
.logo__text {
  font-size: 22px;
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1;
}

/* ---------- Üst çubuk: yüzen cam ---------- */
.top {
  position: fixed;
  inset: 12px 12px auto;
  z-index: 50;
  view-transition-name: ust-cubuk;
}
.top__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  max-width: calc(var(--wrap) + 24px);
  height: var(--top-h);
  margin-inline: auto;
  padding: 0 8px 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  box-shadow: 0 10px 30px -18px rgba(8, 50, 48, 0.35);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  transition:
    box-shadow 0.3s var(--ease),
    border-radius 0.3s var(--ease);
}
.top[data-scrolled] .top__bar {
  box-shadow: 0 16px 40px -18px rgba(8, 50, 48, 0.45);
}
.top__brand {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  text-decoration: none;
}
.top__links {
  display: flex;
  justify-content: center;
  gap: 2px;
  & a {
    display: block;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 14.5px;
    font-weight: 560;
    text-decoration: none;
    transition:
      color 0.2s var(--ease),
      background-color 0.2s var(--ease);
    &:hover,
    &[aria-current='true'] {
      background: var(--surface-2);
      color: var(--ink);
    }
  }
}
.top__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
/* Dil değiştirici (TR / EN): küçük bölmeli denetim; etkin dil aria-current="page". Üst çubukta ve telefon menüsünde. */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 34px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in oklab, var(--surface-2) 70%, transparent);
  & a {
    display: inline-grid;
    place-items: center;
    min-width: 32px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    color: var(--ink-3);
    font-size: 12px;
    font-weight: 680;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition:
      color 0.2s var(--ease),
      background-color 0.2s var(--ease),
      box-shadow 0.2s var(--ease);
    &:hover {
      color: var(--ink);
    }
    &[aria-current='page'] {
      background: var(--surface);
      color: var(--ink);
      box-shadow:
        0 0 0 1px var(--line),
        0 1px 3px rgba(8, 50, 48, 0.12);
    }
  }
}
.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 {
  position: relative;
  display: none;
  & > summary {
    cursor: pointer;
  }
}
.menu__panel {
  position: absolute;
  top: calc(100% + 14px);
  right: -2px;
  width: min(340px, calc(100vw - 24px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-win);
  & ul a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 580;
    text-decoration: none;
    &:hover {
      background: var(--surface-2);
    }
  }
}
.menu__cta {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.menu__lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 4px 2px 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 560;
  & .lang {
    height: 40px;
    & a {
      min-width: 48px;
      height: 32px;
      font-size: 13px;
    }
  }
}
.top:has(.menu[open]) .top__bar {
  box-shadow: 0 20px 50px -20px rgba(8, 50, 48, 0.5);
}
@media (max-width: 1080px) {
  .top__links {
    display: none;
  }
  .menu {
    display: block;
  }
  .top__bar {
    grid-template-columns: auto 1fr;
  }
  .top__actions {
    justify-content: flex-end;
  }
}
/* Telefonda üst çubukta yalnız öteki dil, tek küçük düğme olarak (TR sayfasında "EN", EN sayfasında "TR"); ikisi
   birden menüde. En dar ekranda (≤ 370 px; Türkçe "Sisteme Giriş" ile sığmaz) yalnız menüde. Ölçüldü: 375–560 px iki dilde sığar. */
@media (max-width: 560px) {
  .top__actions > .lang {
    height: auto;
    padding: 0;
    border: 0;
    background: none;
    & a[aria-current] {
      display: none;
    }
    & a {
      min-width: 30px;
      height: 36px;
      padding: 0;
      color: var(--ink-2);
      font-size: 12.5px;
    }
  }
}
@media (max-width: 370px) {
  .top__actions > .lang {
    display: none;
  }
}
@media (max-width: 420px) {
  .top {
    inset: 8px 8px auto;
  }
  .top__bar {
    padding-left: 16px;
    gap: 8px;
  }
  .top__actions {
    gap: 2px;
  }
  .top .btn--sm {
    padding: 0 13px;
    font-size: 14px;
  }
  .logo {
    height: 22px;
  }
  .logo__text {
    font-size: 19px;
  }
}

/* ---------- Giriş ---------- */
.hero {
  position: relative;
  padding-top: clamp(124px, 15vw, 176px);
  overflow: clip;
  isolation: isolate;
}
.hero__light {
  position: absolute;
  inset: 0 0 30% 0;
  z-index: -1;
  background:
    radial-gradient(60% 60% at calc(78% + var(--drift)) 18%, rgba(63, 179, 172, 0.3), transparent 70%),
    radial-gradient(40% 50% at calc(8% - var(--drift)) 8%, rgba(14, 138, 130, 0.16), transparent 70%),
    radial-gradient(50% 40% at 50% 100%, rgba(63, 179, 172, 0.12), transparent 70%);
  &::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(var(--line) 1px, transparent 1px),
      linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(70% 70% at 50% 30%, #000 10%, transparent 75%);
    -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 10%, transparent 75%);
    opacity: 0.5;
  }
}
.hero__copy {
  max-width: min(100% - 2 * var(--gutter), var(--wrap));
}
.hero h1 {
  max-width: 11.5em;
}
.hero__lead {
  max-width: 40em;
  margin-top: 28px;
  color: var(--ink-2);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
  text-wrap: pretty;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 36px;
}
.hero__stage {
  --hero-pw: clamp(132px, 21vw, 262px);
  position: relative;
  margin-top: clamp(48px, 5vw, 72px);
  padding-bottom: clamp(72px, 9vw, 120px);
  perspective: 2000px;
}
.stage-tilt {
  position: relative;
  transform-origin: 50% 0;
}
.win--hero {
  margin-right: clamp(0px, 6vw, 90px);
}
.phone.phone--hero {
  position: absolute;
  right: 0;
  bottom: -6%;
  --pw: var(--hero-pw);
}
/* Ekran görüntüleri Türkçe arayüzü gösterir; yalnız öteki dillerde kısa not (i18n hero.note). Telefonun altına girmez. */
.hero__note {
  margin-top: 22px;
  padding-right: calc(var(--hero-pw) + 20px);
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.5;
  text-wrap: pretty;
}

/* ---------- Pencere ve telefon çerçeveleri ---------- */
.win {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-win);
  & img {
    width: 100%;
    filter: var(--shot-filter);
  }
}
.win__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  & i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line-strong);
  }
}
.win__url {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  max-width: 60%;
  overflow: hidden;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 560;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.phone {
  --pw: 260px;
  position: relative;
  width: var(--pw);
  padding: calc(var(--pw) * 0.032);
  border-radius: calc(var(--pw) * 0.17);
  background: linear-gradient(150deg, #39443f 0%, #11181a 38%, #0b1012 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 40px 80px -30px rgba(4, 30, 30, 0.55);
}
.phone__screen {
  overflow: hidden;
  border-radius: calc(var(--pw) * 0.14);
  background: #f1f5f4;
  & img {
    width: 100%;
  }
}

/* ---------- Kimler için ---------- */
.roles {
  container-type: inline-size;
  padding-block: clamp(24px, 4vw, 48px) clamp(72px, 9vw, 120px);
}
.roles__title {
  max-width: 16em;
  font-size: clamp(28px, 3.4vw, 44px);
}
.roles__list {
  display: grid;
  gap: 28px 32px;
  margin-top: clamp(32px, 4vw, 52px);
  counter-reset: rol;
  & li {
    display: grid;
    gap: 6px;
    align-content: start;
    padding-top: 18px;
    border-top: 1px solid var(--line-strong);
    counter-increment: rol;
    &::before {
      content: counter(rol, decimal-leading-zero);
      color: var(--brand-ink);
      font-size: 12.5px;
      font-weight: 680;
      letter-spacing: 0.08em;
      font-variant-numeric: tabular-nums;
    }
  }
  & strong {
    font-size: 18px;
    font-weight: 680;
    letter-spacing: -0.015em;
  }
  & span {
    color: var(--ink-2);
    font-size: 15px;
  }
}
@container (min-width: 560px) {
  .roles__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@container (min-width: 1000px) {
  .roles__list {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ---------- Bölümler ---------- */
.chapter {
  position: relative;
  padding-block: clamp(84px, 11vw, 150px);
  isolation: isolate;
  /* Taşan pencere ve telefonlar bölümün yan kenarında kesilir; sayfa yana kaymaz. */
  overflow-x: clip;
}
.chapter--tint {
  background: var(--bg-tint);
}
.chapter--stage {
  --line: var(--stage-line);
  --line-strong: rgba(231, 237, 237, 0.16);
  --ink: var(--stage-ink);
  --ink-2: var(--stage-ink-2);
  --ink-3: #93a1a3;
  --brand-ink: #6fd0c9;
  --accent-from: #a5ece6;
  --accent-to: #3fb3ac;
  --surface: #0f1a1b;
  --surface-2: #162324;
  --shot-filter: none;
  overflow: clip;
  background: var(--stage);
  color: var(--ink);
  color-scheme: dark;
}
.stage-light {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(50% 45% at calc(80% + var(--drift)) 0%, rgba(63, 179, 172, 0.28), transparent 70%),
    radial-gradient(40% 40% at calc(10% - var(--drift)) 60%, rgba(14, 138, 130, 0.16), transparent 70%);
  &::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.5) 0.6px, transparent 0.8px);
    background-size: 26px 26px;
    mask-image: radial-gradient(60% 60% at 70% 20%, #000, transparent 80%);
    -webkit-mask-image: radial-gradient(60% 60% at 70% 20%, #000, transparent 80%);
    opacity: 0.35;
  }
}
.stage-light--ai {
  background:
    radial-gradient(45% 50% at calc(78% + var(--drift)) 35%, rgba(62, 112, 255, 0.3), transparent 70%),
    radial-gradient(40% 45% at calc(92% - var(--drift)) 85%, rgba(255, 79, 163, 0.22), transparent 70%),
    radial-gradient(40% 40% at 0% 0%, rgba(63, 179, 172, 0.14), transparent 70%);
}
.stage-light--low {
  background:
    radial-gradient(50% 50% at 15% 0%, rgba(63, 179, 172, 0.2), transparent 70%),
    radial-gradient(40% 40% at 95% 100%, rgba(14, 138, 130, 0.16), transparent 70%);
}
.chapter__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.chapter__grid--wide {
  grid-template-columns: minmax(0, 4.4fr) minmax(0, 7fr);
}
.chapter__grid--flip {
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  & > .chapter__visual {
    order: -1;
  }
}
.chapter__text {
  container-type: inline-size;
  & h2 {
    margin-bottom: 22px;
  }
}
.chapter__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
  & .lead {
    max-width: 34em;
  }
}
.chapter__visual {
  position: relative;
  min-width: 0;
}
@media (max-width: 960px) {
  .chapter__grid,
  .chapter__grid--wide,
  .chapter__head {
    grid-template-columns: minmax(0, 1fr);
  }
  .chapter__grid--flip > .chapter__visual {
    order: 0;
  }
}

/* Yetenek listesi: ince çizgili, iki sütun (yer varsa). */
.points {
  display: grid;
  gap: 18px 28px;
  margin-top: 32px;
  & li {
    display: grid;
    gap: 3px;
    align-content: start;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  & b {
    font-size: 15.5px;
    font-weight: 650;
    letter-spacing: -0.01em;
  }
  & span {
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.5;
  }
}
@container (min-width: 440px) {
  .points {
    grid-template-columns: 1fr 1fr;
  }
}
.points--grid {
  container-type: normal;
  margin-top: clamp(48px, 6vw, 72px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}

/* Görsel düzenleri */
.duo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-block: 12px 40px;
  & .phone--back {
    --pw: min(250px, 42%);
    z-index: 1;
    margin-top: 0;
    rotate: -3deg;
  }
  & .phone--front {
    --pw: min(272px, 46%);
    z-index: 2;
    margin-left: -9%;
    margin-top: 56px;
    rotate: 2deg;
  }
}
.layered {
  position: relative;
  padding-bottom: 8%;
  & .phone--float {
    --pw: clamp(120px, 30%, 236px);
    position: absolute;
    left: -7%;
    bottom: -4%;
  }
}
.layered--left {
  padding-bottom: 0;
  margin-left: clamp(0px, 7vw, 96px);
  & .phone--float {
    --pw: clamp(110px, 21%, 240px);
    left: calc(-1 * clamp(0px, 7vw, 96px));
    bottom: -12%;
  }
}
.layered--wide {
  padding-bottom: 0;
  margin-right: clamp(0px, 6vw, 80px);
}
.card-shot {
  position: absolute;
  right: calc(-1 * clamp(0px, 6vw, 80px));
  bottom: -9%;
  width: clamp(130px, 25%, 270px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-win);
  & img {
    filter: var(--shot-filter);
  }
}
.win--wide {
  width: 100%;
}
/* Yan yana düzende pencere sayfa kenarına taşar (kesik kenar bilinçlidir; yatay kaydırma yok: body overflow-x clip). */
@media (min-width: 961px) {
  .bleed-left,
  .bleed-right {
    width: calc(100% + min(14vw, 220px));
  }
  .bleed-left {
    margin-left: calc(-1 * min(14vw, 220px));
  }
}
.solo {
  display: flex;
  justify-content: center;
}

/* Tarayıcı akışı */
.flow {
  display: grid;
  justify-items: center;
  max-width: 440px;
  margin-inline: auto;
}
.flow__node {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  align-items: center;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  & b {
    font-size: 16px;
    font-weight: 660;
  }
  & > span:last-child {
    grid-column: 2;
    color: var(--ink-2);
    font-size: 14px;
  }
}
.flow__step {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 700;
}
.flow__node--hub {
  border-color: color-mix(in oklab, var(--brand-2) 55%, transparent);
  box-shadow:
    0 0 0 6px color-mix(in oklab, var(--brand-2) 12%, transparent),
    var(--shadow-soft);
}
.flow__node--done .flow__step {
  background: linear-gradient(180deg, var(--btn-from), var(--btn-to));
  color: #fff;
}
.flow__line {
  position: relative;
  width: 2px;
  height: 44px;
  background: linear-gradient(var(--line-strong), var(--line-strong)) center / 2px 100% no-repeat;
  & i {
    position: absolute;
    left: -3px;
    top: var(--flow);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-2);
    box-shadow: 0 0 12px var(--brand-2);
  }
}

/* Labi & Labla küreleri: ışık şeritli halka (uygulamadaki sesli kipin dili) */
.agents {
  display: flex;
  gap: 18px;
  margin-top: 28px;
}
.orb {
  --c1: #4f86ff;
  --c2: #8fd3ff;
  --c3: #7c5cff;
  position: relative;
  display: block;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, color-mix(in oklab, var(--c1) 40%, #050c1a) 0%, #050a14 70%);
  box-shadow:
    0 0 40px -6px var(--c1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  & i,
  &::before,
  &::after {
    content: '';
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: conic-gradient(from var(--spin), transparent 0 12%, var(--c2), var(--c1), transparent 45% 60%, var(--c3), transparent 85%);
    mask: radial-gradient(closest-side, transparent 78%, #000 80% 90%, transparent 92%);
    -webkit-mask: radial-gradient(closest-side, transparent 78%, #000 80% 90%, transparent 92%);
  }
  &::before {
    inset: 18%;
    rotate: 60deg;
    scale: 1 0.82;
  }
  &::after {
    inset: 8%;
    rotate: -40deg;
    scale: 0.86 1;
    opacity: 0.7;
  }
}
.orb--labla {
  --c1: #ff4fa3;
  --c2: #ffb3d6;
  --c3: #ff7a59;
}

/* Mobil uygulamalar */
.apps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 20px;
}
.app {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  & h3 {
    margin-bottom: 8px;
  }
  & p {
    color: var(--ink-2);
    font-size: 15px;
  }
}
/* Telefonlar kartın üst bölmesinde durur, alt kenarda temiz bir çizgiyle kesilir. */
.app__stage {
  display: flex;
  gap: 18px;
  justify-content: center;
  height: clamp(320px, 36vw, 440px);
  padding: 40px 20px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(70% 80% at 50% 100%, color-mix(in oklab, var(--brand-2) 22%, transparent), transparent 70%),
    var(--bg-tint);
  & .phone {
    --pw: min(250px, 62%);
    flex: none;
  }
}
.app--courier .app__stage .phone {
  --pw: min(230px, 42%);
  &:nth-child(2) {
    margin-top: 36px;
  }
}
.app__text {
  padding: 26px 30px 30px;
}
@media (max-width: 860px) {
  .apps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Güvenlik */
.safe {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 14px;
  & li {
    display: grid;
    gap: 6px;
    align-content: start;
    padding: 24px 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--stage-card);
    transition:
      border-color 0.3s var(--ease),
      background-color 0.3s var(--ease);
    &:hover {
      border-color: rgba(63, 179, 172, 0.4);
      background: rgba(63, 179, 172, 0.05);
    }
  }
  & .i {
    width: 22px;
    height: 22px;
    margin-bottom: 10px;
    color: #6fd0c9;
    filter: drop-shadow(0 0 10px rgba(63, 179, 172, 0.6));
  }
  & b {
    font-size: 16.5px;
    font-weight: 650;
  }
  & span {
    color: var(--ink-2);
    font-size: 14.5px;
  }
}

/* Kurulum */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px 32px;
  & li {
    display: grid;
    gap: 6px;
    padding-top: 22px;
    border-top: 1px solid var(--line-strong);
  }
  & b {
    font-size: 19px;
    font-weight: 680;
    letter-spacing: -0.015em;
  }
  & span:last-child {
    color: var(--ink-2);
  }
}
.steps__n {
  margin-bottom: 8px;
  background: linear-gradient(120deg, var(--accent-from), var(--accent-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 44px;
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.more {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px 22px;
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.more__title {
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 600;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  & li {
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: 14px;
    font-weight: 540;
  }
}

/* SSS */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 40px clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq__head {
  position: sticky;
  top: calc(var(--top-h) + 48px);
}
.faq__list details {
  border-bottom: 1px solid var(--line-strong);
  &:first-child {
    border-top: 1px solid var(--line-strong);
  }
  &::details-content {
    block-size: 0;
    overflow: clip;
    transition:
      block-size 0.35s var(--ease),
      content-visibility 0.35s allow-discrete;
  }
  &[open]::details-content {
    block-size: auto;
  }
}
.faq__list summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-size: clamp(16.5px, 1.4vw, 18.5px);
  font-weight: 620;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  &::-webkit-details-marker {
    display: none;
  }
  &::before,
  &::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    width: 14px;
    height: 1.8px;
    border-radius: 2px;
    background: var(--brand-ink);
    transition: rotate 0.3s var(--ease);
  }
  &::after {
    rotate: 90deg;
  }
}
.faq__list details[open] summary::after {
  rotate: 0deg;
}
.faq__list p {
  max-width: 62ch;
  padding-bottom: 24px;
  color: var(--ink-2);
}
@media (max-width: 960px) {
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq__head {
    position: static;
  }
}

/* İletişim */
.contact {
  --line: var(--stage-line);
  --line-strong: rgba(231, 237, 237, 0.2);
  --ink: var(--stage-ink);
  --ink-2: var(--stage-ink-2);
  --brand-ink: #6fd0c9;
  --accent-from: #a5ece6;
  --accent-to: #3fb3ac;
  --surface: #0f1a1b;
  --surface-2: #162324;
  position: relative;
  overflow: clip;
  padding-block: clamp(96px, 13vw, 170px);
  background: var(--stage);
  color: var(--ink);
  color-scheme: dark;
  isolation: isolate;
  text-align: center;
}
.stage-light--contact {
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(63, 179, 172, 0.3), transparent 70%),
    radial-gradient(30% 40% at calc(15% + var(--drift)) 100%, rgba(14, 138, 130, 0.18), transparent 70%);
}
.contact__inner {
  display: grid;
  justify-items: center;
  & h2 {
    max-width: 14em;
  }
  & .lead {
    max-width: 36em;
    margin-top: 22px;
  }
}
.mailbox {
  display: grid;
  justify-items: center;
  gap: 22px;
  margin-top: 44px;
}
.mailbox__address {
  font-size: clamp(24px, 4.4vw, 50px);
  font-weight: 650;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  user-select: all;
  -webkit-user-select: all;
}
.mailbox__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.mailbox__status {
  min-height: 1.5em;
  color: var(--brand-ink);
  font-size: 14px;
}

/* Alt bilgi */
.foot {
  padding-block: 56px 40px;
  border-top: 1px solid var(--line);
}
.foot__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 48px;
}
.foot__brand p {
  max-width: 28em;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 15px;
}
.foot__nav {
  display: flex;
  gap: 56px;
  & ul {
    display: grid;
    gap: 10px;
    align-content: start;
  }
  & a {
    color: var(--ink-2);
    font-size: 14.5px;
    text-decoration: none;
    &:hover {
      color: var(--ink);
      text-decoration: underline;
      text-underline-offset: 3px;
    }
  }
}
.foot__legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13.5px;
}
@media (max-width: 720px) {
  .foot__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .foot__nav {
    gap: 32px;
  }
}

/* ---------- Dar ekran ---------- */
@media (max-width: 720px) {
  .hero__cta .btn--lg {
    flex: 1 1 auto;
  }
  .hero__cta .link-arrow {
    width: 100%;
    justify-content: center;
  }
  .win--hero {
    margin-right: 14%;
  }
  .phone.phone--hero {
    bottom: -2%;
  }
  .win__bar {
    height: 30px;
    padding: 0 12px;
    & i {
      width: 8px;
      height: 8px;
    }
  }
  .win__url {
    font-size: 11px;
  }
  .win {
    border-radius: 14px;
  }
  .layered .phone--float {
    left: auto;
    right: -4%;
    bottom: -8%;
  }
  .layered {
    padding-bottom: 16%;
  }
  .layered--left {
  padding-bottom: 0;
  margin-left: clamp(0px, 7vw, 96px);
  & .phone--float {
    --pw: clamp(110px, 21%, 240px);
    left: calc(-1 * clamp(0px, 7vw, 96px));
    bottom: -12%;
  }
}
.layered--wide {
    margin-right: 10%;
    padding-bottom: 0;
  }
  .card-shot {
    right: -12%;
    border-radius: 12px;
    width: 34%;
  }
  .app__text {
    padding-inline: 22px;
  }
  .layered--left {
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 14%;
    & .phone--float {
      left: auto;
      right: -2%;
      bottom: -4%;
      --pw: 30%;
    }
  }
}

/* ---------- Hareket (yalnız isteyene) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .pulse {
    animation: nabiz 2.4s ease-out infinite;
  }
  .hero__light,
  .stage-light {
    animation: suzul 22s ease-in-out infinite alternate;
  }
  .orb i,
  .orb::before,
  .orb::after {
    animation: don 7s linear infinite;
  }
  .orb::before {
    animation-duration: 9s;
    animation-direction: reverse;
  }
  .orb::after {
    animation-duration: 12s;
  }
  .flow__line i {
    animation: akis 2.6s var(--ease) infinite;
  }
  .flow__line:nth-of-type(4) i {
    animation-delay: 1.3s;
  }
  .hero__copy > * {
    animation: yuksel 0.9s var(--ease) both;
  }
  .hero__copy > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero__copy > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .hero__copy > :nth-child(4) {
    animation-delay: 0.24s;
  }
  .hero__stage {
    animation: yuksel 1.1s 0.25s var(--ease) both;
  }
  @supports (animation-timeline: view()) {
    /* Giriş görseli: hafif eğik başlar, kaydırdıkça düzleşir. */
    .stage-tilt {
      animation: duzles linear both;
      animation-timeline: scroll(root);
      animation-range: 0 70vh;
    }
    .phone--hero {
      animation: telefon-kalk linear both;
      animation-timeline: scroll(root);
      animation-range: 0 80vh;
    }
    .reveal {
      animation: belir linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    .roles__list li {
      animation: belir linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }
}
@keyframes nabiz {
  0% {
    box-shadow: 0 0 0 0 rgba(63, 179, 172, 0.55);
  }
  70%,
  100% {
    box-shadow: 0 0 0 10px rgba(63, 179, 172, 0);
  }
}
@keyframes suzul {
  to {
    --drift: 8%;
  }
}
@keyframes don {
  to {
    --spin: 360deg;
  }
}
@keyframes akis {
  from {
    --flow: -8%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  to {
    --flow: 92%;
    opacity: 0;
  }
}
@keyframes yuksel {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@keyframes duzles {
  from {
    transform: rotateX(14deg) scale(0.94);
  }
  to {
    transform: none;
  }
}
@keyframes telefon-kalk {
  from {
    translate: 0 8%;
  }
  to {
    translate: 0 -10%;
  }
}
@keyframes belir {
  from {
    opacity: 0;
    translate: 0 48px;
  }
}

/* Bölüm içi bağlantıda sayfa geçişi (View Transitions; destekleyen tarayıcıda, betikle). */
::view-transition-old(root) {
  animation: 0.22s var(--ease) both vt-cik;
}
::view-transition-new(root) {
  animation: 0.42s var(--ease) both vt-gir;
}
@keyframes vt-cik {
  to {
    opacity: 0;
  }
}
@keyframes vt-gir {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* OG görseli (tools/preview.mjs og): giriş bölümü; çubukta yalnız logo, düğmeler yok. */
.og .top__links,
.og .top__actions,
.og .hero__cta,
.og .hero__note,
.og .eyebrow {
  display: none;
}
.og .top {
  inset: 28px 40px auto;
}
.og .top__bar {
  display: inline-flex;
  height: 52px;
  margin: 0;
  padding: 0 22px;
}
.og .hero {
  padding-top: 120px;
}
.og .hero__lead {
  max-width: 34em;
}
.og .stage-tilt,
.og .phone--hero {
  animation: none;
  transform: none;
  translate: none;
}
