/* nokay.app — NK-F1.12. Renkler uygulamanın token'larıyla aynı (TASARIM §6; ekip dokümanı §2).
   Harici font, harici kaynak ve satır içi stil yok: CSP `style-src 'self'`. */
:root {
  --bg: #151515;
  --surface: #1f1f1f;
  --surface-raised: #2a2a2a;
  --text: #ffffff;
  --text-muted: #a0a0a8;
  --ok: #16c647;
  --nok: #f5222d;
  --on-ok: #0b0b0b;
  --radius: 22px;
  --max: 1080px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
:focus-visible {
  outline: 3px solid var(--ok);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

/* Üst şerit */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.top__brand img {
  width: 132px;
}
.top__nav {
  display: flex;
  gap: 18px;
  font-size: 15px;
  color: var(--text-muted);
}
.top__nav a {
  text-decoration: none;
}
.top__nav a:hover {
  color: var(--text);
}

/* Kahraman */
.hero {
  position: relative;
  padding: 40px 0 72px;
  text-align: center;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  z-index: -1;
}
.hero::before {
  background: var(--nok);
  left: -180px;
  top: -120px;
}
.hero::after {
  background: var(--ok);
  right: -180px;
  bottom: -160px;
}
.hero__logo {
  width: min(620px, 92%);
  margin: 0 auto 26px;
}
.hero h1 {
  font-size: clamp(30px, 5.4vw, 54px);
  line-height: 1.08;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  font-weight: 900;
}
.hero p {
  color: var(--text-muted);
  font-size: clamp(17px, 2.2vw, 20px);
  max-width: 620px;
  margin: 0 auto 30px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  border: 1.5px solid #3a3a3a;
  background: #000;
  text-decoration: none;
  font-weight: 700;
}
.badge small {
  display: block;
  font-weight: 500;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1;
}
.badge__apple {
  width: 22px;
  height: 22px;
}
.badge--soon {
  cursor: default;
}

/* OK / NOK düğmeleri — kart gösterimi */
.card-demo {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 46px auto 0;
  flex-wrap: wrap;
}
.statement {
  background: var(--surface);
  border: 1px solid #2f2f2f;
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  max-width: 440px;
  text-align: left;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(-1.5deg);
}
.statement__tag {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.statement__text {
  font-size: 23px;
  font-weight: 800;
  margin: 8px 0 20px;
  line-height: 1.25;
}
.choices {
  display: flex;
  gap: 12px;
}
.choice {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  padding: 14px 10px;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.choice--nok {
  background: var(--nok);
  color: #fff;
}
.choice--ok {
  background: var(--ok);
  color: var(--on-ok);
}
.choice svg {
  width: 20px;
  height: 20px;
}

/* Bölümler */
section {
  padding: 64px 0;
}
.section-title {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 900;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.section-lead {
  color: var(--text-muted);
  margin: 0 0 30px;
  max-width: 640px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: s;
}
.step {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.step::before {
  counter-increment: s;
  content: counter(s);
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-raised);
  font-weight: 900;
  margin-bottom: 12px;
}
.step h3 {
  margin: 0 0 6px;
  font-size: 20px;
}
.step p {
  margin: 0;
  color: var(--text-muted);
}

.modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mode {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid #262626;
}
.mode__icon {
  font-size: 30px;
  line-height: 1;
}
.mode h3 {
  margin: 12px 0 4px;
  font-size: 19px;
}
.mode p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}
.mode--kaos {
  background: linear-gradient(135deg, #2a0c0e, #0d2414);
  border-color: #3a3a3a;
}

.kaos {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
  align-items: center;
}
.room {
  background: #0d0d0d;
  border-radius: 26px;
  padding: 26px;
  border: 1px solid #2f2f2f;
}
.room__label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--text-muted);
}
.room__name {
  font-size: 22px;
  font-weight: 800;
  margin: 16px 0 12px;
}
.room__people {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
}
.a1 {
  background: #7c3aed;
}
.a2 {
  background: #db2777;
}
.a3 {
  background: #ea580c;
}
.a4 {
  background: #0e7490;
}
.avatar--add {
  background: transparent;
  border: 2px dashed #555;
  color: var(--text-muted);
}
.room__meta {
  color: var(--text-muted);
  font-size: 14px;
}
.titles {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.titles li {
  background: var(--surface);
  padding: 12px 16px;
  border-radius: 14px;
}
.titles b {
  font-weight: 800;
}

.slogan {
  text-align: center;
  padding: 70px 0 80px;
}
.slogan p {
  font-size: clamp(28px, 4.6vw, 48px);
  font-weight: 900;
  margin: 0 0 26px;
  letter-spacing: -0.02em;
}
.slogan .ok {
  color: var(--ok);
}
.slogan .nok {
  color: var(--nok);
}

/* Metin sayfaları (gizlilik, koşullar, destek) */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 22px 80px;
}
.doc h1 {
  font-size: 36px;
  margin: 10px 0 6px;
}
.doc h2 {
  font-size: 22px;
  margin: 34px 0 8px;
}
.doc p,
.doc li {
  color: #d6d6dc;
}
.doc .note {
  background: var(--surface);
  border-left: 4px solid var(--nok);
  padding: 14px 18px;
  border-radius: 10px;
  color: var(--text);
}

/* Davet sayfası */
.invite {
  text-align: center;
  padding: 30px 0 80px;
}
.invite__logo {
  width: min(420px, 86%);
  margin: 10px auto 22px;
}
.invite h1 {
  font-size: clamp(26px, 5vw, 40px);
  margin: 0 0 10px;
}
.invite p {
  color: var(--text-muted);
  margin: 0 auto 18px;
  max-width: 520px;
}
.code {
  display: inline-flex;
  gap: 8px;
  margin: 10px 0 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 800;
  letter-spacing: 0.12em;
}
.code span {
  background: var(--surface);
  border: 1px solid #333;
  border-radius: 12px;
  padding: 6px 12px;
}
.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  border-radius: 16px;
  padding: 15px 26px;
  min-width: 260px;
  text-decoration: none;
  display: inline-block;
}
.btn--ok {
  background: var(--ok);
  color: var(--on-ok);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid #3a3a3a;
}
.invite p.invite__meta {
  color: var(--text);
  font-weight: 700;
}
.invite__hint {
  font-size: 14px;
}
[hidden] {
  display: none !important;
}

footer {
  border-top: 1px solid #262626;
  padding: 28px 0 46px;
  color: var(--text-muted);
  font-size: 14px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.foot nav {
  display: flex;
  gap: 18px;
}
.foot a {
  text-decoration: none;
}
.foot a:hover {
  color: var(--text);
}

@media (max-width: 820px) {
  .steps,
  .modes {
    grid-template-columns: 1fr 1fr;
  }
  .kaos {
    grid-template-columns: 1fr;
  }
  .top__nav {
    display: none;
  }
}
@media (max-width: 520px) {
  .steps,
  .modes {
    grid-template-columns: 1fr;
  }
  .statement {
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .statement {
    transition: transform 0.25s ease;
  }
  .statement:hover {
    transform: rotate(0deg) scale(1.02);
  }
}
