/* Pegasus Day case page (CC11). White, airy, one idea per section (CLO feel); Inter for text,
   Unbounded only for the title, ember #ff5a3c used sparingly. App screens keep Pegasus colours.
   Phone first: 17 px body, 16 px and up for everything read, 44 px targets, no horizontal scroll.
   Grey bands only where the story peaks: the delay, the update wall and the closing. */
:root {
  --zemin: #ffffff; --yumusak: #f5f5f7; --cizgi: #e5e5ea; --metin: #1d1d1f; --ikincil: #6e6e73;
  --ember: #ff5a3c; --ember-metin: #d23a1e;
  --gz: 60px; --kenar: 20px; --olcu: 640px; --genis: 1120px;
  --kalin: "Unbounded", "Inter", system-ui, sans-serif;
  --sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, system-ui, sans-serif;
  --egri: cubic-bezier(.25, .1, .25, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--gz) + 12px); background: var(--zemin); }
body { font-family: Inter, system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: var(--metin); background: var(--zemin);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; font-feature-settings: "cv11", "ss03"; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--metin); text-decoration-color: var(--ember); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
a:hover { color: var(--ember-metin); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
.atla { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--metin); color: #fff; padding: 10px 14px; font-size: 16px; text-decoration: none; }
.atla:focus { top: 12px; }
.gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header: a quiet bar that gains a hairline once the page scrolls */
.gz { position: sticky; top: 0; z-index: 20; height: var(--gz); display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--kenar); background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--egri); }
.gz.kaydi { border-bottom-color: var(--cizgi); }
.gz a { color: var(--metin); text-decoration: none; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; }
.gz-ad { font-weight: 600; letter-spacing: -.01em; }
.gz-baglar { display: flex; gap: 22px; }
.gz-baglar a { color: var(--ikincil); }
.gz-baglar a:hover { color: var(--metin); }
@media (max-width: 420px) { .gz .gz-temas { display: none; } .gz-baglar { gap: 18px; } }

/* Layout */
.bolum { padding: 72px var(--kenar); }
.olcu { max-width: var(--olcu); margin: 0 auto; }
.genis { max-width: var(--genis); margin: 0 auto; }
.yumusak { background: var(--yumusak); }
h1, h2, h3 { font-weight: 600; letter-spacing: -.022em; line-height: 1.12; text-wrap: balance; }
h2 { font-size: 32px; margin-bottom: 20px; }
h3 { font-size: 19px; letter-spacing: -.012em; margin-bottom: 6px; }
p { text-wrap: pretty; }
p + p { margin-top: 16px; }
.ust-etiket { display: block; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ikincil); margin-bottom: 14px; }
blockquote { font-size: 20px; line-height: 1.45; letter-spacing: -.012em; padding-left: 18px; border-left: 2px solid var(--ember); margin: 24px 0; text-wrap: pretty; }
.sonra { margin-top: 40px; }

/* Opening */
.acilis { padding: 40px var(--kenar) 24px; text-align: center; }
.acilis h1 { font-family: var(--kalin); font-weight: 600; font-size: 44px; letter-spacing: -.03em; line-height: 1.05; }
.acilis .alt { font-size: 21px; line-height: 1.35; color: var(--ikincil); margin-top: 12px; letter-spacing: -.012em; }
.film { position: relative; margin: 32px auto 0; max-width: 420px; border-radius: 28px; overflow: hidden; background: #3a3530; aspect-ratio: 9 / 16; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.ses { position: absolute; right: 12px; bottom: 12px; min-width: 44px; height: 44px; padding: 0 16px; border-radius: 22px; border: 0; cursor: pointer;
  background: rgba(29,29,31,.72); color: #fff; font: 500 15px/1 Inter, system-ui, sans-serif; display: inline-flex; align-items: center; gap: 8px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ses svg { width: 18px; height: 18px; }

/* Facts strip */
.kunye { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; padding: 28px 0 0; border-top: 1px solid var(--cizgi); margin-top: 32px; }
.kunye div { min-width: 0; }
.kunye dt { font-size: 14px; color: var(--ikincil); margin-bottom: 2px; }
.kunye dd { font-size: 16px; line-height: 1.45; }
.kunye .tam { grid-column: 1 / -1; }

/* Three moments: a quiet list, not cards */
.anlar { margin: 28px 0; list-style: none; border-bottom: 1px solid var(--cizgi); }
.anlar li { border-top: 1px solid var(--cizgi); padding: 18px 0; }
.anlar b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.anlar span { display: block; color: var(--ikincil); font-size: 16px; line-height: 1.5; margin-top: 4px; }

/* Screens: real screenshots, rounded like the display */
.ekran { border-radius: 40px; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 18px 40px -18px rgba(0,0,0,.25); background: #fff; }
.ekran.solgun { box-shadow: none; border-radius: 40px 40px 0 0; }
.tek { margin: 36px auto 0; max-width: 300px; }
figcaption { font-size: 16px; line-height: 1.45; color: var(--ikincil); margin-top: 14px; text-align: center; text-wrap: balance; }

/* Text beside a screen on wide screens */
.iki-ekran { margin-top: 36px; }

/* Try it: the Lock Screen card, live */
.dene { margin: 32px auto 0; max-width: 440px; }
.dene-not { font-size: 16px; color: var(--ikincil); text-align: center; margin-bottom: 14px; }
.dene-sahne { position: relative; border-radius: 28px; overflow: hidden; padding: 120px 10px 22px;
  background: #2a211b url(g/lock-wall.webp) center 92% / cover no-repeat; }
.dene-sahne::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0) 30%, rgba(0,0,0,.18)); }
.la { position: relative; border-radius: 24px; padding: 14px; overflow: hidden; color: #fff; font-family: var(--sys);
  background: rgba(14,12,12,.9); box-shadow: 0 0 0 .5px rgba(255,255,255,.12) inset; }
@media (max-width: 459px) { .dene-sahne { padding-left: 6px; padding-right: 6px; } .la { padding: 12px; } }
.la .row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.roll { position: relative; overflow: hidden; display: block; }
.roll > span { display: block; white-space: nowrap; will-change: transform, opacity; }
.roll > span.old { position: absolute; left: 0; right: 0; top: 0; }
.la .title { height: 25px; flex: 1; font-size: 20px; font-weight: 700; letter-spacing: -.2px; }
.la .flight { font-size: 12px; font-weight: 600; color: var(--acc-text, rgba(255,255,255,.6)); }
.la .detail { height: 20px; margin-top: 4px; font-size: 15px; color: rgba(255,255,255,.72); }
.jl { position: relative; height: 34px; margin-top: 6px; --future: rgba(255,255,255,.35); --lab: rgba(255,255,255,.55); --lab-now: #fff; }
.jl .track, .jl .prog { position: absolute; left: 6px; top: 5px; height: 2px; border-radius: 1px; }
.jl .track { right: 6px; background: rgba(255,255,255,.22); }
.jl .prog { background: var(--acc); }
.jl .stop { position: absolute; top: 6px; left: 0; width: 0; height: 0; }
.jl .stop i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--future); }
.jl .stop.done i { background: var(--acc); }
.jl .stop.now i { left: -6px; top: -6px; width: 12px; height: 12px; background: var(--acc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 32%, transparent); }
.jl .stop b { position: absolute; top: 13px; left: 0; font-size: 11px; line-height: 13px; font-weight: 400; white-space: nowrap; color: var(--lab); }
.jl .stop.now b { font-weight: 600; color: var(--lab-now); }
.la .act { overflow: hidden; height: 0; }
.la .act .btn { margin-top: 8px; width: 100%; height: 32px; border: 0; border-radius: 16px; background: var(--acc); color: #1c1c1e; display: flex; align-items: center; justify-content: center;
  font: 600 15px/1 var(--sys); cursor: pointer; }
.la .act .btn .roll { height: 20px; line-height: 20px; }
.dene-dugmeler { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.dugme { min-height: 44px; padding: 0 20px; border-radius: 22px; border: 1px solid #d1d1d6; background: var(--zemin); color: var(--metin);
  font: 500 16px/1 Inter, system-ui, sans-serif; cursor: pointer; transition: background .2s var(--egri), border-color .2s var(--egri); }
.dugme:hover { border-color: #aeaeb2; }
.dugme[aria-pressed="true"] { background: var(--metin); border-color: var(--metin); color: #fff; }

/* Update walls: one at a time on a phone (chooser), all four on wide screens */
.duvar-secici { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: var(--olcu); margin: 28px auto 0; }
.duvar-secici .dugme { min-height: 52px; padding: 8px 12px; line-height: 1.25; font-size: 15px; }
.duvarlar { margin: 28px auto 0; max-width: 300px; }
.duvarlar figure { display: none; }
.duvarlar figure.aktif { display: block; }
.js .duvarlar figure:not(.aktif) { display: none; }
html:not(.js) .duvarlar figure { display: block; margin-bottom: 28px; }
html:not(.js) .duvar-secici { display: none; }

/* Details: compact cards on white */
.detay-ust { max-width: var(--genis); margin: 0 auto; }
.detay-ust > * { max-width: var(--olcu); }
.detaylar { display: grid; gap: 14px; margin-top: 32px; align-items: start; }
.detay { background: var(--yumusak); border-radius: 24px; padding: 24px 22px; overflow: hidden; }
.detay p { font-size: 16px; line-height: 1.5; color: var(--ikincil); }
/* every detail image is the same window: the top of the screen, fading out, so the cards line up */
.detay .gorsel { display: block; margin: 20px auto 0; width: 200px; height: 300px; object-fit: cover; object-position: top; border-radius: 28px 28px 0 0;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); box-shadow: none; }
.detay .gorsel.ikon { width: 100%; height: auto; max-width: 100%; border-radius: 22px; -webkit-mask-image: none; mask-image: none; }
.detay .ses-cumle { font-family: var(--sys); font-size: 17px; line-height: 1.4; color: var(--metin); background: var(--zemin); border-radius: 14px; padding: 14px 16px; margin-top: 14px; }

/* Numbers: type, not tiles */
.sayilar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 32px 0; list-style: none; }
.sayilar li { border-top: 1px solid var(--cizgi); padding: 16px 0 20px; }
.sayilar b { display: block; white-space: nowrap; font-size: 44px; font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.sayilar span { display: block; font-size: 16px; line-height: 1.4; color: var(--ikincil); margin-top: 8px; }

/* Closing */
.kapanis { text-align: center; padding-bottom: 88px; }
.kapanis .baglar { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; margin-top: 18px; }
.kapanis .baglar a { min-height: 44px; display: inline-flex; align-items: center; font-size: 18px; font-weight: 500; }
.dipnot { font-size: 14px; color: var(--ikincil); text-align: center; padding: 32px var(--kenar) 40px; }

/* Reveal on scroll: only when motion is allowed and JS runs */
.hareket .giris { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--egri), transform .8s var(--egri); }
.hareket .giris.gorundu { opacity: 1; transform: none; }

@media (min-width: 760px) {
  :root { --kenar: 40px; }
  .bolum { padding: 128px var(--kenar); }
  h2 { font-size: 48px; margin-bottom: 24px; }
  .acilis { padding-top: 72px; }
  .acilis h1 { font-size: 72px; }
  .acilis .alt { font-size: 26px; }
  .film { max-width: var(--genis); aspect-ratio: 16 / 9; border-radius: 32px; margin-top: 48px; }
  .kunye { grid-template-columns: repeat(4, 1fr); }
  .sayilar { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .sayilar li { border-top: 0; border-left: 1px solid var(--cizgi); padding: 4px 24px; }
  .sayilar li:first-child { border-left: 0; padding-left: 0; }
  .sayilar b { font-size: 52px; }
  .detaylar { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .detay { padding: 32px; }
  .detay.genis-hucre { grid-column: 1 / -1; }
  .dene { max-width: 520px; }
}
@media (min-width: 1000px) {
  /* one left edge for all text on wide screens: the 1120 px grid, text kept at reading width */
  .olcu { max-width: var(--genis); }
  .olcu > * { max-width: var(--olcu); }
  .duvar-secici { max-width: var(--genis); }
  .iki { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 96px; align-items: center; max-width: var(--genis); margin: 0 auto; }
  .iki .olcu { margin: 0; }
  .iki .iki-ekran { margin: 0; max-width: none; }
  .iki-sonra { max-width: var(--genis); margin: 0 auto; }
  .iki-sonra .olcu { margin: 0; }
  .duvar-secici { display: none; }
  .duvarlar { max-width: var(--genis); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
  .js .duvarlar figure:not(.aktif), .duvarlar figure { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .hareket .giris { opacity: 1; transform: none; transition: none; }
}
