/* Bops Audio — Clipotype'ın krem zemini ve siyah yedigen düğmeleri ile
   Multiway'in lavanta-pembe gradyanı ve yarı saydam panelleri. */

@font-face {
  font-family: "Space Mono";
  src: url("fonts/SpaceMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("fonts/RobotoMono-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 700;
  font-display: swap;
}

:root {
  color-scheme: light;

  --ink: #1a1a1a;
  --ink-70: rgba(26, 26, 26, 0.7);
  --ink-55: rgba(26, 26, 26, 0.55);
  --ink-40: rgba(26, 26, 26, 0.4);
  --ink-30: rgba(26, 26, 26, 0.3);
  --ink-16: rgba(26, 26, 26, 0.16);
  --ink-08: rgba(26, 26, 26, 0.08);

  --cream: #f2ede4;       /* Clipotype nötr zemin */
  --lavender: #cdc2e0;    /* Multiway üst */
  --blush: #e1c1d3;       /* Multiway alt */
  --panel: rgba(255, 255, 255, 0.3);
  --plum: #8a3f86;        /* Multiway vurgu */
  --violet: #6f58a8;      /* Multiway spektrum */
  --pill-outline: #bbbbbb;

  --low: #c98872;         /* Clipotype bant renkleri */
  --mid: #8098ad;
  --high: #9eaf82;

  --title: "Space Mono", ui-monospace, monospace;
  --mono: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

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

html, body { margin: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--mono);
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 30%, var(--lavender) 72%, var(--blush) 100%) fixed;
  -webkit-font-smoothing: antialiased;
}

/* Eklentilerdeki gibi hafif gren. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--ink-08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--title);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand svg { width: 22px; height: 22px; flex: none; }

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-40);
  transition: color 0.15s ease;
  padding: 4px 0;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] { color: var(--ink); }

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--plum);
}

a:focus-visible,
.knob:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------- Main ---------- */

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 56px 0 72px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum);
  text-align: center;
}

.hero-title {
  margin: 0;
  font-family: var(--title);
  font-weight: 700;
  font-size: clamp(44px, 11vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
}

.lede {
  max-width: 34em;
  margin: 22px auto 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-70);
  text-align: center;
  text-wrap: pretty;
}

/* Multiway paneli */
.panel {
  margin: 48px auto 0;
  max-width: 820px;
  background: var(--panel);
  border: 1px solid var(--ink-08);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
  border-bottom: 1px solid var(--ink-08);
}

.panel-head .accent { color: var(--plum); }

.panel-body {
  padding: 32px 16px 28px;
}

.panel-empty {
  display: grid;
  place-items: center;
  min-height: 180px;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--ink-30);
}

/* ---------- Heptagon knobs (Clipotype) ---------- */

.knobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  justify-items: center;
}

.knob-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.knob {
  width: 96px;
  height: 96px;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.25));
}

.knob.dragging { cursor: grabbing; }

.knob .needle { transform-origin: 50px 50px; transition: transform 0.06s linear; }

.knob-name {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.knob-value {
  font-size: 13px;
  color: var(--ink-70);
  font-variant-numeric: tabular-nums;
}

.knob-name::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  vertical-align: 2px;
  background: var(--band, var(--plum));
}

.knob-cell[data-band="low"]  { --band: var(--low); }
.knob-cell[data-band="mid"]  { --band: var(--mid); }
.knob-cell[data-band="high"] { --band: var(--high); }

/* ---------- Pills ---------- */

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 16px;
  border: 1.5px solid var(--pill-outline);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.pill:hover,
.pill:focus-visible {
  background: var(--plum);
  border-color: var(--plum);
  color: #fff;
  box-shadow: 0 0 8px rgba(138, 63, 134, 0.6);
}

/* Clipotype sayfası: indirme butonlarının altında Gumroad butonu ve notu. Hover, .pill:hover'dan gelir. */
.gumroad-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  margin-top: 14px;
}

.pill-gumroad {
  border-color: var(--plum);
  color: var(--plum);
}

.gumroad-note {
  font-size: 13px;
  color: var(--ink-55);
  text-align: center;
}

/* ---------- About ---------- */

.prose {
  max-width: 40em;
  margin: 0 auto;
  padding: 32px 32px 30px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-70);
  text-wrap: pretty;
}

.prose p { margin: 0; }
.prose p + p { margin-top: 1.1em; }
.prose p:first-child { color: var(--ink); }

/* ---------- Blog ---------- */

/* Liste: kapak görseli + başlık kartı; kartın tamamı yazıya bağlantı. */
.post-list {
  display: grid;
  gap: 24px;
  max-width: 820px;
  margin: 48px auto 0;
}

.post-card {
  display: block;
  margin: 0;
  max-width: none;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.post-card:hover,
.post-card:focus-visible {
  border-color: rgba(138, 63, 134, 0.45);
  box-shadow: 0 0 14px rgba(138, 63, 134, 0.25);
}

.post-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--ink-08);
}

.post-card-body { padding: 20px 22px 22px; }

.post-meta {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.post-card-title {
  margin: 10px 0 0;
  font-family: var(--title);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.1;
}

.post-excerpt {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-70);
  text-wrap: pretty;
}

.post-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum);
}

/* Yazı sayfası */
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

.post-title {
  margin: 0;
  font-family: var(--title);
  font-weight: 700;
  font-size: clamp(36px, 8vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
}

.post-byline {
  margin: 18px 0 0;
  text-align: center;
}

.panel.post-cover { margin: 40px auto 0; }
.post-cover + .panel { margin-top: 24px; }

.article { max-width: none; padding: 36px 40px 34px; }

.article h2 {
  margin: 2em 0 0.6em;
  font-family: var(--title);
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}

.article ul,
.article ol {
  margin: 1em 0 0;
  padding-left: 1.4em;
}

.article li + li { margin-top: 0.55em; }
.article li::marker { color: var(--plum); font-weight: 700; }
.article strong { color: var(--ink); }
.article h2 + p { margin-top: 0; }
.article ul + p,
.article ol + p { margin-top: 1.1em; }

.post-back {
  margin: 32px 0 0;
  display: flex;
  justify-content: center;
}

/* ---------- Countdown ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(6px, 2vw, 20px);
  font-family: var(--title);
  font-variant-numeric: tabular-nums;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cd-num,
.cd-sep {
  font-size: clamp(40px, 10vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.cd-sep { color: var(--ink-30); }

.cd-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.cd-done {
  display: none;
  font-size: clamp(44px, 11vw, 124px);
  line-height: 0.95;
}

.countdown.is-done .cd-unit,
.countdown.is-done .cd-sep { display: none; }
.countdown.is-done .cd-done { display: block; }

.cd-when {
  margin: 22px auto 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--ink-70);
}

.cd-when [data-countdown-local] {
  display: block;
  margin-top: 6px;
  color: var(--ink-55);
}

/* ---------- Product page ---------- */

main.product { align-items: flex-start; }

.shot {
  margin: 0;
  padding: 16px;
}

.shot img,
.shot video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.shot video {
  aspect-ratio: 16 / 9;
  background: var(--ink);
}

.panel-head a { text-decoration: none; }
.panel-head a:hover { text-decoration: underline; }

.shot figcaption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-55);
  text-align: center;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin: 24px auto 0;
  gap: 24px;
}

.panel-grid .panel { margin: 0; max-width: none; }

.list {
  margin: 0;
  padding: 16px 20px 18px 36px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-70);
}

.list li + li { margin-top: 8px; }
.list li::marker { color: var(--plum); }
.list strong { color: var(--ink); }

.specs {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 24px;
  margin: 0;
  padding: 16px 20px 18px;
  font-size: 14px;
  color: var(--ink-70);
}

.specs dt {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
  padding-top: 2px;
}

.specs dd { margin: 0; }

.pill.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- A/B demos (ab-player.js) ---------- */

.ab-note {
  margin: 0;
  padding: 14px 16px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-55);
  text-wrap: pretty;
}

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

/* Oynat | ad | geçiş; kart daralınca geçiş adın altına iner (her kartta aynı genişlikte). */
.ab-card {
  container-type: inline-size;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 14px 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--ink-08);
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ab-card.is-playing {
  border-color: rgba(138, 63, 134, 0.45);
  box-shadow: 0 0 14px rgba(138, 63, 134, 0.18);
}

.ab-play {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.ab-play svg { width: 20px; height: 20px; fill: currentColor; }
.ab-play .ab-icon-pause,
.is-playing .ab-play .ab-icon-play { display: none; }
.is-playing .ab-play .ab-icon-pause { display: inline; }

.ab-play:hover,
.is-playing .ab-play {
  background: var(--plum);
  box-shadow: 0 0 8px rgba(138, 63, 134, 0.6);
}

.is-loading .ab-play { opacity: 0.6; cursor: progress; }

.ab-label {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ab-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ab-status {
  font-size: 12px;
  color: var(--ink-55);
}

.ab-status:empty { display: none; }

/* BYPASS | CLIPOTYPE: tek düğme, etkin taraf dolu. */
.ab-switch {
  display: inline-flex;
  padding: 2px;
  border: 1.5px solid var(--pill-outline);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-55);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.ab-switch > span {
  padding: 6px 11px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.ab-switch[aria-checked="false"] .ab-off { background: var(--ink); color: #fff; }
.ab-switch[aria-checked="true"] .ab-on { background: var(--plum); color: #fff; }
.ab-switch:hover { border-color: var(--plum); }

@container (max-width: 310px) {
  .ab-play { grid-row: 1 / span 2; }
  .ab-switch { grid-column: 2 / -1; justify-self: start; }
}

.ab-play:focus-visible,
.ab-switch:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
}

/* Döngü konumu */
.ab-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
}

.is-playing .ab-progress { background: var(--ink-08); }

.ab-progress > span {
  display: block;
  height: 100%;
  background: var(--plum);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--ink-08);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-55);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-footer .wrap { align-items: center; }

/* Sosyal simgeler (X, SoundCloud, GitHub): üzerine gelince vurgu renginde parlar. */
.socials {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.social {
  display: inline-flex;
  color: var(--ink-55);
  transition: color 0.15s ease;
}

.social svg { width: 17px; height: 17px; fill: currentColor; }

.social[href]:hover,
.social[href]:focus-visible { color: var(--plum); }

/* ---------- Home ---------- */

/* Başlık sabit ve yarı saydam; bölüm bağlantıları onun altına kayar (--header-h: home.js). */
html:has(body.home) { scroll-padding-top: var(--header-h, 80px); }

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

.home .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(242, 237, 228, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.nav a[aria-current="location"] { color: var(--ink); }

.home main {
  display: block;
  padding: 0;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--header-h, 80px) 16px 112px;
  text-align: center;
}

.hero-logo {
  width: clamp(88px, 16vw, 132px);
  height: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.hero-tagline {
  margin: 20px 0 0;
  font-size: clamp(16px, 2.2vw, 20px);
  letter-spacing: 0.04em;
  color: var(--ink-70);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 32px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  border: 1.5px solid var(--ink-16);
  border-radius: 50%;
  color: var(--ink-55);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.scroll-cue svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
  color: var(--plum);
  border-color: var(--plum);
}

.scroll-cue:focus-visible { border-radius: 50%; }

.home-section { padding: 96px 0; }
.home-section + .home-section { padding-top: 24px; }

.tag {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.tag.is-live { color: var(--plum); }

.tag.is-live::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  vertical-align: 1px;
  background: var(--plum);
  box-shadow: 0 0 6px rgba(138, 63, 134, 0.6);
}

.section-title {
  margin: 0;
  font-family: var(--title);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.section-lede {
  max-width: 30em;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-70);
  text-wrap: pretty;
}

.text-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--plum);
}

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

/* Clipotype: solda metin ve indirmeler, sağda ekran görüntüsü. */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: 56px;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 18px;
}

.download-row .pill { height: 40px; padding: 0 20px; }

.pill-file {
  margin-left: 6px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  opacity: 0.75;
}

.feature-shot { margin: 0; }

.feature-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
}

/* Multiway: ortalı tek kart. */
.teaser {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 32px;
  text-align: center;
}

.teaser .section-lede { margin-left: auto; margin-right: auto; }

.home .site-footer { margin-top: 32px; }

.home .social { gap: 7px; align-items: center; text-decoration: none; }

/* Belirme: yalnızca JS varken ve hareket azaltılmamışken. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

  .scroll-cue svg { animation: cue-bob 2.2s ease-in-out infinite; }
}

@keyframes cue-bob {
  0%, 100% { transform: translateY(-2px); }
  50%      { transform: translateY(3px); }
}

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

/* ---------- Small screens ---------- */

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .site-header .wrap { padding-top: 16px; padding-bottom: 16px; }
  .nav { gap: 20px; }
  .nav a { font-size: 13px; }
  main { padding: 40px 0 56px; }
  .panel { margin-top: 36px; }
  .panel-body { padding: 24px 8px 20px; }
  .knob { width: 72px; height: 72px; }
  .knob-name { font-size: 13px; }
  .knob-value { font-size: 12px; }
  .cd-label { font-size: 10px; letter-spacing: 0.1em; }
  .panel-grid { grid-template-columns: 1fr; gap: 16px; }
  .shot { padding: 8px; }
  .specs { grid-template-columns: 1fr; gap: 2px 0; }
  .ab-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px; }
  .ab-note { padding: 12px 12px 0; }
  .specs dd + dt { margin-top: 10px; }
  .prose { padding: 22px 18px 20px; font-size: 14px; }
  .post-list { margin-top: 36px; gap: 16px; }
  .post-card-body { padding: 16px 16px 18px; }
  .panel.post-cover { margin-top: 28px; }
  .post-cover + .panel { margin-top: 16px; }
  .article { padding: 22px 18px 20px; }
  .article h2 { font-size: 19px; }
  .home-section { padding: 64px 0; }
  .teaser { padding: 36px 18px; }
  .download-row .pill { flex: 1 1 auto; justify-content: center; }
  .home .socials { flex-wrap: wrap; gap: 10px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- Docs ---------- */

/* Kılavuz: başta "Bu sayfada" listesi, sonra .article düzyazısı. Başlıklara bağlantıyla gelince
   başlık ekranın tepesine yapışmasın. */
.article h2[id],
.article h3[id] { scroll-margin-top: 24px; }

.article h3 {
  margin: 1.6em 0 0.5em;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.article h3 + p { margin-top: 0; }
.article > h2:first-child { margin-top: 0; }
.article p + p { margin-top: 1.1em; }
.article ol + ul,
.article ul + h3,
.article .param-table + p { margin-top: 1.1em; }

.article code,
.article kbd {
  font-family: var(--mono);
  font-size: 0.92em;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--ink-08);
  color: var(--ink);
  overflow-wrap: anywhere;
}

.toc {
  margin: 0;
  padding: 16px 20px 18px 40px;
  font-size: 14px;
  line-height: 1.6;
  columns: 2;
  column-gap: 32px;
}

.toc li { break-inside: avoid; }
.toc li + li { margin-top: 6px; }
.toc li::marker { color: var(--plum); font-weight: 700; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--plum); text-decoration: underline; }

/* Parametre tablosu; dar ekranda her satır bir kart olur (aşağıdaki @media). */
.param-table {
  width: 100%;
  margin: 1.2em 0 0;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.55;
}

.param-table th {
  padding: 0 12px 8px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: var(--ink-55);
  border-bottom: 1px solid var(--ink-16);
}

.param-table td {
  padding: 10px 12px 10px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--ink-08);
}

.param-table td:first-child {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.param-table td:nth-child(2),
.param-table td:nth-child(3),
.param-table td:nth-child(4) { white-space: nowrap; font-variant-numeric: tabular-nums; }

.note {
  margin: 1.2em 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--plum);
  border-radius: 0 6px 6px 0;
  background: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.doc-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 820px;
  margin: 48px auto 0;
}

.doc-cards .panel { margin: 0; max-width: none; }

.doc-card { padding: 22px 22px 24px; }
.doc-card .post-card-title { margin-top: 0; }

.doc-card.is-soon { color: var(--ink-55); }

.help-strip {
  max-width: 820px;
  margin: 24px auto 0;
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-70);
}

.help-strip p { margin: 0; }

.help-pills { margin-top: 0; justify-content: flex-start; }

/* ---------- Feedback form ---------- */

.form {
  display: grid;
  gap: 22px;
  padding: 24px 24px 26px;
}

/* .form ve .form-done display verdiği için hidden özniteliğini ezer; feedback.js ikisini de gizler. */
.form[hidden],
.form-done[hidden] { display: none; }

.field { display: grid; gap: 8px; min-width: 0; border: 0; margin: 0; padding: 0; }

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

.field-label,
.field legend {
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.field-label .optional {
  margin-left: 6px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-40);
}

.field legend { margin-bottom: 8px; }

.input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid var(--ink-16);
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input::placeholder { color: var(--ink-40); }

.input:hover { border-color: var(--ink-30); }

.input:focus {
  outline: none;
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(138, 63, 134, 0.18);
}

textarea.input { min-height: 180px; resize: vertical; line-height: 1.6; }

select.input {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-opacity='.55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
}

.field-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-55);
}

/* Tür seçimi: radyo düğmeleri hap görünümünde, seçili olan dolu. */
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }

.choice { position: relative; }

.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.choice span {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border: 1.5px solid var(--pill-outline);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.choice input:hover + span { border-color: var(--plum); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--plum); outline-offset: 3px; }

/* Bal küpü alanı: ekran okuyucudan ve klavyeden de gizli (tabindex=-1, aria-hidden). */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

button.pill {
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: inherit;
}

.form-actions .pill { height: 42px; padding: 0 24px; }

button.pill:disabled { opacity: 0.6; cursor: progress; }

.form-status {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-70);
}

.form-status.is-error { color: #a3352b; }
.form-status:empty { display: none; }

.form-privacy {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-55);
}

.form-done {
  padding: 40px 24px 42px;
  text-align: center;
}

.form-done h2 {
  margin: 0;
  font-family: var(--title);
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.1;
}

.form-done p {
  max-width: 30em;
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-70);
}

.form-done .pills { margin-top: 24px; }

@media (max-width: 720px) {
  .doc-cards { grid-template-columns: 1fr; gap: 16px; }
  .toc { columns: 1; }
}

@media (max-width: 560px) {
  /* Altı menü öğesi telefona tek satırda sığmaz; ikinci satıra iner. */
  .nav { flex-wrap: wrap; gap: 14px 20px; }
  .nav a[aria-current="page"]::after { bottom: -6px; }

  .form { padding: 18px 16px 20px; gap: 18px; }
  .field-row { grid-template-columns: 1fr; gap: 18px; }
  .form-actions .pill { flex: 1 1 auto; justify-content: center; }
  .help-strip { padding: 16px; }
  .doc-cards { margin-top: 36px; }
  .doc-card { padding: 18px 16px 20px; }
  .toc { padding: 14px 16px 16px 34px; }

  .param-table,
  .param-table tbody,
  .param-table tr,
  .param-table td { display: block; }
  .param-table thead { display: none; }
  .param-table tr { padding: 12px 0; border-bottom: 1px solid var(--ink-08); }
  .param-table td { padding: 0; border: 0; white-space: normal !important; }
  .param-table td + td { margin-top: 3px; }
  .param-table td[data-label]::before {
    content: attr(data-label) ": ";
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-55);
  }
}
