/* PT Ebru Yılmaz — tanıtım sitesi ve yasal sayfalar. Derleme adımı yok; sistem yazı tipleri. */
:root {
  --ink: #0A0A0A;
  --slate: #171717;
  --slate-line: #2E2E2E;
  --accent: #E11D2E;
  --accent-soft: #FF5A66;
  --accent-ink: #B3121F;   /* açık zeminde turuncu metin (AA) */
  --accent-wash: #FFF1F2;
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --line: #E5E5E8;
  --muted: #4B4B50;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C9C9CE;
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible { outline-color: #FFFFFF; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--ink);
  font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:focus-visible { border-radius: 999px; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }

.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-soft); }

.btn-ghost { border-color: rgba(255, 255, 255, .5); color: var(--on-dark); }
.btn-ghost:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, .08); }

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

/* ---------- Üst bant ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.brand { display: inline-flex; flex: none; border-radius: 8px; }
.brand img { width: 147px; height: 32px; }
.bar-actions { display: flex; align-items: center; gap: 8px; }

@media (max-width: 419px) {
  .bar { gap: 10px; }
  .brand img { width: 129px; height: 28px; }
  .bar-actions { gap: 6px; }
  .bar-actions .btn-sm { padding: 0 11px; font-size: .875rem; }
}
@media (max-width: 359px) {
  .bar-login { display: none; }
}
@media (min-width: 720px) {
  .bar { min-height: 76px; }
  .brand img { width: 184px; height: 40px; }
  .btn-sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 88% 18%, rgba(225, 29, 46, .2), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--slate) 100%);
  color: var(--on-dark);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .07;
  -webkit-mask-image: linear-gradient(115deg, transparent 20%, #000 90%);
  mask-image: linear-gradient(115deg, transparent 20%, #000 90%);
}
.hero-inner {
  display: grid;
  gap: 40px;
  padding-block: 56px 64px;
}
.hero-copy { max-width: 640px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 12px;
  height: 14px;
  background: currentColor;
  clip-path: var(--hex);
}
.eyebrow-ink { color: var(--accent-ink); }

h1 {
  font-size: clamp(2.5rem, 7.2vw + .6rem, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.accent { color: var(--accent); }

.lead {
  max-width: 34em;
  margin-top: 22px;
  color: var(--on-dark-muted);
  font-size: clamp(1.05rem, .6vw + .95rem, 1.25rem);
}
.hero .actions { margin-top: 32px; }

.hero-art { display: flex; justify-content: center; }
.week { width: min(100%, 320px); height: auto; overflow: visible; }

.hx use { fill: var(--slate); stroke: var(--slate-line); stroke-width: 2; stroke-linejoin: round; }
.hx text {
  fill: var(--on-dark-muted);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  text-anchor: middle;
}
.hx-on use { fill: var(--accent); stroke: var(--accent); stroke-width: 4; }
.hx-on text { fill: var(--ink); font-weight: 800; }
.hx .hx-sub { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.week-note {
  fill: #9A9AA0;
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: .08em;
  text-anchor: middle;
  text-transform: uppercase;
}

@media (min-width: 920px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    gap: 48px;
    padding-block: 104px 120px;
  }
  .week { width: min(100%, 440px); }
}

/* ---------- Bölümler ---------- */
.section { padding-block: 72px; }
.section-head { max-width: 620px; margin-bottom: 40px; }
.section-head .eyebrow { margin-bottom: 14px; }
h2 { font-size: clamp(1.9rem, 2.6vw + 1.1rem, 2.75rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; }
.section-lead { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }

@media (min-width: 920px) {
  .section { padding-block: 112px; }
  .section-head { margin-bottom: 56px; }
}

/* ---------- Adımlar ---------- */
.section-steps { background: var(--card); border-bottom: 1px solid var(--line); }
.steps { display: grid; gap: 32px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  align-content: start;
}
.step-no {
  display: grid;
  place-items: center;
  width: 56px;
  height: 64px;
  background: var(--ink);
  color: var(--accent);
  clip-path: var(--hex);
  font-size: 1.35rem;
  font-weight: 800;
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 72px;
  bottom: -24px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}
.step h3 { margin-top: 8px; }
.step p { margin-top: 6px; color: var(--muted); }

@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .step:not(:last-child)::before {
    left: 72px;
    right: -24px;
    top: 31px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .step h3 { margin-top: 0; font-size: 1.35rem; }
  .step p { max-width: 22em; }
}

/* ---------- Üye paneli kartları ---------- */
.cards { display: grid; gap: 16px; }
.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(10, 10, 10, .04), 0 12px 32px -18px rgba(10, 10, 10, .18);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 60px;
  margin-bottom: 20px;
  background: var(--accent-wash);
  color: var(--accent-ink);
  clip-path: var(--hex);
}
.card p { margin-top: 8px; color: var(--muted); }

@media (min-width: 620px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1000px) {
  .panel-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: start;
  }
  .panel-grid .section-head { position: sticky; top: 124px; margin-bottom: 0; }
  .card { padding: 32px; }
}

/* ---------- Kapanış çağrısı ---------- */
.section-cta { padding-block: 0 72px; }
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 28px;
  padding: 40px 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--slate) 100%);
  color: var(--on-dark);
}
.cta-hex {
  position: absolute;
  right: -64px;
  top: -72px;
  z-index: -1;
  width: 160px;
  height: 160px;
  opacity: .7;
}
.cta-copy p { margin-top: 12px; color: var(--on-dark-muted); font-size: 1.08rem; }

@media (min-width: 820px) {
  .section-cta { padding-block: 0 112px; }
  .cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
    padding: 64px 240px 64px 64px;
  }
  .cta-hex { right: -20px; top: 50%; width: 260px; height: 260px; margin-top: -130px; opacity: .9; }
}

/* ---------- KVKK / İletişim ---------- */
.section-info { padding-block: 0 72px; }
.info-grid { display: grid; gap: 16px; }
.info {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  scroll-margin-top: 96px;
}
.info:target { border-color: var(--accent-ink); }
.info h2 { font-size: 1.25rem; letter-spacing: -0.015em; }
.info p { margin-top: 10px; color: var(--muted); }
.info a { color: var(--accent-ink); font-weight: 600; text-underline-offset: 3px; }
.info a:hover { color: var(--ink); }
.info-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 14px; }
.info-links a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 720px) {
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 820px) {
  .section-info { padding-block: 0 112px; }
}

/* ---------- Kimlik bloğu (veri sorumlusu / iletişim) ---------- */
.idcard {
  padding: 6px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.idcard > div { display: grid; gap: 2px; padding-block: 12px; }
.idcard > div + div { border-top: 1px solid var(--line); }
.idcard dt {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.idcard dd { font-weight: 600; overflow-wrap: anywhere; }
.info .idcard { margin-top: 14px; padding: 0; border: 0; }

@media (min-width: 620px) {
  .legal .idcard > div {
    grid-template-columns: 11em minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
  }
}

/* ---------- Yasal sayfalar ---------- */
.legal-head {
  padding-block: 44px 40px;
  background: linear-gradient(180deg, var(--ink) 0%, var(--slate) 100%);
  color: var(--on-dark);
}
.legal-head .eyebrow { margin-bottom: 14px; }
.legal-head h1 { max-width: 18em; font-size: clamp(2rem, 4vw + 1rem, 3.1rem); line-height: 1.08; }
.legal-updated { margin-top: 16px; color: var(--on-dark-muted); font-size: .95rem; font-weight: 600; }

.legal-body { display: grid; gap: 48px; padding-block: 40px 72px; }
.legal { min-width: 0; max-width: 70ch; overflow-wrap: break-word; }
.legal > * + * { margin-top: 16px; }
.legal h2 {
  margin-top: 44px;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  scroll-margin-top: 96px;
}
.legal h3 { margin-top: 28px; font-size: 1.08rem; line-height: 1.3; }
.legal ul { padding-left: 1.3em; list-style: disc; }
.legal li + li { margin-top: 8px; }
.legal li::marker { color: var(--accent-ink); }
.legal a { color: var(--accent-ink); font-weight: 600; text-underline-offset: 3px; }
.legal a:hover { color: var(--ink); }
.legal-intro { color: var(--muted); font-size: 1.08rem; }

.legal-aside { align-self: start; }
.legal-aside h2 {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.legal-aside ul { display: grid; gap: 8px; margin-top: 14px; }
.legal-aside a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
}
.legal-aside a:hover { border-color: var(--ink); }
.legal-aside a[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: var(--on-dark); }

@media (min-width: 1000px) {
  .legal-head { padding-block: 72px 64px; }
  .legal-body {
    grid-template-columns: minmax(0, 70ch) minmax(220px, 280px);
    justify-content: space-between;
    gap: 64px;
    padding-block: 64px 112px;
  }
  .legal-aside { position: sticky; top: 108px; }
}

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: .95rem; }
.footer-inner { display: grid; gap: 28px; padding-block: 40px; }
.footer-brand p { margin-top: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-dark);
  text-decoration: none;
  text-underline-offset: 4px;
}
.footer-links a:hover { text-decoration: underline; text-decoration-color: var(--accent); }

@media (min-width: 820px) {
  .footer-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    padding-block: 48px;
  }
}

/* ---------- 404 ---------- */
.notfound {
  display: grid;
  align-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 64px;
  background: linear-gradient(180deg, var(--ink) 0%, var(--slate) 100%);
  color: var(--on-dark);
}
.notfound-inner { display: grid; justify-items: start; gap: 24px; }
.notfound .brand img { width: 184px; height: 40px; }
.notfound h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.notfound p { max-width: 30em; color: var(--on-dark-muted); }
.notfound .footer-links { margin-top: 8px; font-size: .95rem; }

/* ---------- Hareket ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn-primary:hover { transform: translateY(-1px); }
  .hx { animation: hx-in .6s cubic-bezier(.2, .7, .2, 1) both; }
  .hx:nth-of-type(2) { animation-delay: .06s; }
  .hx:nth-of-type(3) { animation-delay: .12s; }
  .hx:nth-of-type(4) { animation-delay: .18s; }
  .hx:nth-of-type(5) { animation-delay: .24s; }
  .hx:nth-of-type(6) { animation-delay: .30s; }
  .hx:nth-of-type(7) { animation-delay: .36s; }
  @keyframes hx-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .site-header { position: static; }
  .hero-grid, .cta-hex, .legal-aside, .bar-actions { display: none; }
  .legal { max-width: none; }
}
