/* Giriş — tek giriş kapısı (v2 "Kareli Defter"; docs/urun/TASARIM_SISTEMI.md, docs/urun/SITE_KABUGU.md).
   Katmansız: v2 katmanlarını ezer. Renkler yalnız v2 token'ları; gölge yerine düz ofset; glow/blur/gradyan yok. */

.gr-main { min-height: 70vh; padding-block: var(--v2-space-6) var(--v2-space-8); }
.gr-in { max-width: calc(880px + 2 * var(--v2-gutter)); }
.gr-app { display: grid; gap: var(--v2-space-5); }
.gr-title:focus { outline: none; }
.gr-title:focus-visible { outline: 3px solid var(--v2-focus); outline-offset: 3px; border-radius: 8px; }

/* ---- karşılama: Piksir + konuşma balonu ---- */
.gr-hero { display: flex; align-items: center; gap: var(--v2-space-4); }
.gr-spark { width: 96px; height: 96px; flex: none; }
.gr-hero__txt { display: grid; gap: var(--v2-space-2); justify-items: start; }
.gr-hero h1, .gr-head h1 { margin: 0; font-family: var(--v2-font-display); font-weight: 800; font-size: var(--v2-text-3xl); line-height: 1.05; color: var(--v2-ink); }
.gr-head h1 { font-size: var(--v2-text-2xl); }
.gr-bubble { font-size: var(--v2-text-lg); padding: 10px 16px; }
@media (min-width: 720px) { .gr-spark { width: 120px; height: 120px; } }

.gr-head { display: grid; gap: var(--v2-space-2); }
.gr-lead { margin: 0; font-size: var(--v2-text-md); color: var(--v2-ink-2); max-width: 60ch; }
.gr-back { justify-self: start; margin-left: -12px; }

/* ---- dört büyük seçenek ---- */
.gr-choices { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--v2-space-4); }
@media (min-width: 720px) { .gr-choices { grid-template-columns: 1fr 1fr; } }
.gr-choices > li { display: flex; }
.gr-choice {
  --_tint: var(--v2-yellow-tint); --_tone: var(--v2-yellow);
  flex: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--v2-space-4);
  min-height: 104px; padding: var(--v2-space-4) var(--v2-space-4) var(--v2-space-4) var(--v2-space-4);
  background: var(--v2-surface); color: var(--v2-ink);
  border: var(--v2-stroke) solid var(--v2-ink); border-radius: var(--v2-radius-lg);
  box-shadow: 0 var(--v2-offset) 0 var(--v2-shadow-color);
  font: inherit; text-align: left; text-decoration: none; cursor: pointer;
  transition: transform var(--v2-dur-fast) var(--v2-ease), box-shadow var(--v2-dur-fast) var(--v2-ease), background-color var(--v2-dur) var(--v2-ease);
  touch-action: manipulation;
}
.gr-choice:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 calc(var(--v2-offset) + 2px) 0 var(--v2-shadow-color); background: var(--_tint); }
.gr-choice:active { transform: translateY(var(--v2-offset)); box-shadow: 0 0 0 var(--v2-shadow-color); }
.gr-choice:focus-visible { outline: 3px solid var(--v2-focus); outline-offset: 3px; }
.gr-choice--green { --_tint: var(--v2-green-tint); --_tone: var(--v2-green); }
.gr-choice--blue { --_tint: var(--v2-blue-tint); --_tone: var(--v2-blue); }
.gr-choice--tomato { --_tint: var(--v2-tomato-tint); --_tone: var(--v2-tomato); }
.gr-choice__ic {
  width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 16px; border: var(--v2-stroke-soft) solid var(--v2-ink); background: var(--_tint);
}
.gr-choice__ic .v2-icon { width: 36px; height: 36px; --v2-icon-fill: var(--_tone); }
.gr-choice__txt { display: grid; gap: 4px; min-width: 0; }
.gr-choice__txt b { font-family: var(--v2-font-display); font-weight: 800; font-size: var(--v2-text-xl); line-height: 1.15; }
.gr-choice__txt small { font-size: var(--v2-text-md); color: var(--v2-ink-2); line-height: 1.35; }
.gr-choice__go { color: var(--v2-ink-2); transition: transform var(--v2-dur) var(--v2-ease); }
.gr-choice:hover .gr-choice__go { transform: translateX(3px); color: var(--v2-ink); }

/* ---- kartlar, formlar ---- */
.gr-card { display: grid; gap: var(--v2-space-4); }
.gr-narrow { max-width: 440px; width: 100%; }
.gr-h2 { margin: 0; font-family: var(--v2-font-display); font-weight: 800; font-size: var(--v2-text-xl); }
.gr-form { display: grid; gap: var(--v2-space-4); }
.gr-fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.gr-fieldset legend { padding: 0; margin-bottom: 8px; }
.gr-pin { font-family: var(--v2-font-mono); font-size: var(--v2-text-xl); letter-spacing: .4em; text-align: center; max-width: 220px; }
.gr-skip { justify-self: stretch; }

.gr-avatars { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; }
.gr-av {
  aspect-ratio: 1; min-height: 64px; display: grid; place-items: center; padding: 6px;
  background: var(--v2-surface); border: var(--v2-stroke-soft) solid var(--v2-ink); border-radius: 16px;
  cursor: pointer; transition: transform var(--v2-dur-fast) var(--v2-ease), background-color var(--v2-dur) var(--v2-ease);
}
.gr-av img { width: 48px; height: 48px; object-fit: contain; }
.gr-av:hover { background: var(--v2-sunken); }
.gr-av[aria-pressed="true"] { background: var(--v2-yellow-tint); border-width: var(--v2-stroke); box-shadow: inset 0 0 0 3px var(--v2-yellow); }
.gr-av:focus-visible { outline: 3px solid var(--v2-focus); outline-offset: 2px; }

.gr-profiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.gr-prof {
  display: grid; justify-items: center; gap: 4px; min-height: 120px; padding: 12px 10px;
  background: var(--v2-surface); color: var(--v2-ink); font: inherit;
  border: var(--v2-stroke) solid var(--v2-ink); border-radius: var(--v2-radius);
  box-shadow: 0 var(--v2-offset) 0 var(--v2-shadow-color); cursor: pointer;
  transition: transform var(--v2-dur-fast) var(--v2-ease), box-shadow var(--v2-dur-fast) var(--v2-ease);
}
.gr-prof img { width: 56px; height: 56px; object-fit: contain; }
.gr-prof b { font-weight: var(--v2-weight-heavy); font-size: var(--v2-text-md); overflow-wrap: anywhere; }
.gr-prof small { font-size: var(--v2-text-sm); color: var(--v2-ink-2); }
.gr-prof:hover { background: var(--v2-yellow-tint); }
.gr-prof:active { transform: translateY(var(--v2-offset)); box-shadow: 0 0 0 var(--v2-shadow-color); }

.gr-notice p { margin: 0; }
.gr-more { display: grid; }
.gr-linkbtn { width: 100%; background: transparent; border: 0; border-bottom: var(--v2-stroke-soft) dashed var(--v2-line); font: inherit; text-align: left; cursor: pointer; }
.gr-card .v2-linkrow:last-child { border-bottom: 0; }

.gr-note { margin: 0; font-size: var(--v2-text-sm); color: var(--v2-ink-2); }
.gr-note a { color: var(--v2-link); font-weight: var(--v2-weight-strong); }

@media (max-width: 420px) {
  .gr-choice { grid-template-columns: auto 1fr; min-height: 96px; gap: var(--v2-space-3); }
  .gr-choice__go { display: none; }
  .gr-choice__ic { width: 56px; height: 56px; }
  .gr-choice__txt b { font-size: var(--v2-text-lg); }
  .gr-spark { width: 80px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .gr-choice, .gr-choice__go, .gr-av, .gr-prof { transition: none; }
  .gr-choice:hover { transform: none; }
}
@media (min-width: 720px) { .gr-choice__txt b { font-size: var(--v2-text-lg); } }
