/* Fi Side Malikleri — aydınger teması */
:root {
  --blue: #0d2b4e;
  --deep: #071a33;
  --panel: #10345f;
  --ink: #e8f0f7;
  --mist: #9fb2c6;
  --lamp: #ffb938;
  --stamp: #c8372d;
  --line: rgba(232, 240, 247, 0.22);
  --display: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: "Newsreader", "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding-bottom: 76px;
  background-color: var(--blue);
  background-image:
    linear-gradient(rgba(232, 240, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 240, 247, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(232, 240, 247, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 240, 247, 0.025) 1px, transparent 1px);
  background-size: 240px 240px, 240px 240px, 48px 48px, 48px 48px;
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.15rem;
  line-height: 1.65;
}

a { color: var(--lamp); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lamp); color: var(--deep); padding: 10px 16px;
  font-family: var(--display); font-weight: 700; font-size: 1.1rem; text-decoration: none;
}
.skip:focus { top: 12px; }

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

/* Üst çubuk */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 26, 51, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: 0.01em; line-height: 1; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  color: var(--ink); text-decoration: none; white-space: nowrap;
  font-family: var(--display); font-weight: 600; font-size: 1.12rem;
  padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center;
  border-bottom: 3px solid transparent;
}
.nav a:hover { border-bottom-color: var(--mist); }
.nav a[aria-current="page"] { border-bottom-color: var(--lamp); }

/* Başlıklar */
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -0.01em; max-width: 16ch; }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 700; margin-bottom: 18px; }
h3 { font-size: 1.55rem; font-weight: 700; margin-bottom: 6px; }
p { margin: 0 0 1em; max-width: 64ch; }
.lead { font-size: 1.32rem; color: var(--ink); max-width: 56ch; }
.muted { color: var(--mist); }
.small { font-size: 0.95rem; }

section { padding: 64px 0; }
.band { background: rgba(7, 26, 51, 0.55); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Hero */
.hero { padding: 48px 0 0; }
.hero .grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: end; }
.hero h1 { margin-bottom: 22px; }
.hero svg.skyline { width: 100%; height: auto; display: block; margin-top: 36px; border-bottom: 2px solid var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 10px 22px;
  background: var(--lamp); color: var(--deep); text-decoration: none; border: 2px solid var(--lamp);
  font-family: var(--display); font-weight: 700; font-size: 1.2rem; border-radius: 2px;
}
.btn:hover { background: #ffc965; border-color: #ffc965; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: rgba(232, 240, 247, 0.1); }

/* Geri sayım */
.deadline { background: var(--stamp); color: #fff; padding: 22px 22px 20px; border: 3px double rgba(255, 255, 255, 0.85); }
.deadline h2 { font-size: 1.7rem; margin-bottom: 10px; color: #fff; font-weight: 700; }
.deadline p { color: #fff; font-size: 1rem; line-height: 1.5; margin-bottom: 10px; }
.deadline a { color: #fff; font-weight: 600; }
.clock { display: flex; gap: 10px; margin: 12px 0 14px; }
.clock div { min-width: 64px; padding: 6px 10px 4px; border: 1px solid rgba(255, 255, 255, 0.7); text-align: left; }
.clock b { display: block; font-family: var(--display); font-weight: 800; font-size: 2.7rem; line-height: 1; font-variant-numeric: tabular-nums; }
.clock span { font-family: var(--display); font-size: 0.95rem; }

/* Antet / çizelge tabloları */
table { border-collapse: collapse; width: 100%; }
.antet { border: 1.5px solid var(--ink); background: rgba(7, 26, 51, 0.5); }
.antet caption { text-align: left; padding: 12px 16px; font-family: var(--display); font-weight: 700; font-size: 1.35rem; border: 1.5px solid var(--ink); border-bottom: 0; background: rgba(7, 26, 51, 0.5); }
.antet th, .antet td { text-align: left; vertical-align: top; padding: 11px 16px; border-top: 1px solid var(--line); }
.antet th { width: 34%; font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--mist); border-right: 1px solid var(--line); }
.antet td { font-size: 1.08rem; }

.rev th, .rev td { text-align: left; vertical-align: top; padding: 16px 14px 16px 0; border-top: 1px dashed var(--line); }
.rev thead th { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--mist); border-top: 0; border-bottom: 1.5px solid var(--ink); padding-top: 0; }
.rev .d { width: 150px; font-family: var(--display); font-weight: 700; font-size: 1.22rem; white-space: nowrap; color: var(--lamp); }
.rev .t strong { font-family: var(--display); font-size: 1.4rem; font-weight: 700; display: block; line-height: 1.12; margin-bottom: 4px; }
.rev .t span { color: var(--mist); font-size: 1.02rem; display: block; max-width: 60ch; }
.rev .s { width: 130px; font-size: 1rem; }

/* İş kolları */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1.5px solid var(--ink); }
.work > div { padding: 24px 26px; border-bottom: 1px solid var(--line); }
.work > div:nth-child(odd) { border-right: 1px solid var(--line); }
.work > div:nth-last-child(-n+2) { border-bottom: 0; }
.work p { color: var(--ink); margin-bottom: 0; font-size: 1.08rem; }

/* İtiraz paneli */
.itiraz { border: 3px double var(--stamp); background: rgba(200, 55, 45, 0.12); padding: 26px 28px; }
.itiraz h2 { color: #ffb4ad; }
.itiraz p { max-width: 70ch; }

/* Zaman çizelgesi */
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--ink); }
.timeline li { position: relative; padding: 0 0 30px 22px; }
.timeline li::before { content: ""; position: absolute; left: -35px; top: 6px; width: 14px; height: 14px; background: var(--blue); border: 3px solid var(--lamp); border-radius: 50%; }
.timeline time { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--lamp); display: block; }
.timeline p { margin: 2px 0 0; }

/* Basın / SSS / listeler */
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: 12px 0; border-top: 1px dashed var(--line); max-width: 74ch; }
.plain li:last-child { border-bottom: 1px dashed var(--line); }
.plain .src { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--mist); margin-right: 8px; }

details { border-top: 1px solid var(--line); max-width: 74ch; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 16px 40px 16px 0; font-family: var(--display); font-weight: 700; font-size: 1.4rem; list-style: none; position: relative; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; top: 10px; font-size: 1.9rem; color: var(--lamp); }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 8px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.mono-mark {
  font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 12vw, 8rem); line-height: 0.9;
  border: 3px solid var(--lamp); color: var(--lamp); padding: 14px 22px 8px; display: inline-block;
}
.quote { border-left: 4px solid var(--lamp); padding: 4px 0 4px 20px; margin: 22px 0; font-size: 1.3rem; max-width: 52ch; }
.quote cite { display: block; font-style: normal; font-family: var(--display); font-size: 1.05rem; color: var(--mist); margin-top: 6px; }
.crumbs { font-family: var(--display); font-size: 1.05rem; color: var(--mist); padding-top: 28px; }
.crumbs a { color: var(--mist); }

/* Alt çubuk: kaydırdıkça yanan pencereler */
.progress { position: fixed; left: 0; right: 0; bottom: 0; height: 60px; z-index: 40; background: var(--deep); border-top: 1px solid var(--line); pointer-events: none; }
.progress svg { width: 100%; height: 100%; display: block; }

/* Altbilgi */
footer { background: var(--deep); border-top: 1px solid var(--line); padding: 44px 0 28px; font-size: 1rem; }
footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
footer h2 { font-size: 1.35rem; margin-bottom: 10px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { padding: 4px 0; }
footer p { font-size: 0.98rem; }

@media (max-width: 860px) {
  .hero .grid, .two, footer .cols { grid-template-columns: 1fr; gap: 28px; }
  .work { grid-template-columns: 1fr; }
  .work > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .work > div:last-child { border-bottom: 0 !important; }
  section { padding: 48px 0; }
}
@media (max-width: 640px) {
  body { font-size: 1.08rem; }
  .top .wrap { flex-wrap: wrap; gap: 0; padding-bottom: 4px; }
  .nav { width: 100%; }
  .rev thead { display: none; }
  .rev, .rev tbody, .rev tr, .rev td { display: block; width: 100%; }
  .rev tr { padding: 14px 0; border-top: 1px dashed var(--line); }
  .rev td { border: 0 !important; padding: 2px 0 !important; width: 100% !important; }
  .antet th, .antet td { display: block; width: 100%; border-right: 0; }
  .antet th { padding-bottom: 0; }
  .antet td { border-top: 0; padding-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}