/* Piyasa · piyasaapp.com landing
   Flat and crisp: solid fills, hard offset shadows (0 blur), no blur, no
   backdrop-filter, no soft glow. Motion = transform/opacity only, plays
   once; the slogan band is the only loop and it has a pause button.
   Rubik (SIL OFL 1.1) is self-hosted; nothing loads from the network. */

@font-face {
  font-family: "Rubik";
  src: url("../fonts/Rubik-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("../fonts/Rubik-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #081B39;
  --navy-2: #0D2347;
  --navy-3: #12305F;
  --deep: #051229;
  --lime: #A0F971;
  --paper: #F2F4EC;
  --paper-2: #E4E9D8;
  --white: #FFFFFF;
  --ink: #081B39;
  --ink-2: #3E4656;
  --muted: #B4C2DA;
  --soft: #DDE5F2;
  --line-dark: #21406F;
  --link: #1F4E9B;
  --off: #8A93A6;
  --focus: var(--lime);
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 32px);
  --top-h: 64px;
  --ease: cubic-bezier(.2, .75, .2, 1);
}
@media (min-width: 1000px) { :root { --top-h: 72px; } }
@media (min-width: 1200px) { :root { --gut: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px);
  background: var(--deep);
}
body {
  margin: 0;
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--navy);
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
b, strong { font-weight: 700; }
h1, h2, h3 { font-weight: 700; margin: 0; text-wrap: balance; }
p { margin: 0; }
p, li { text-wrap: pretty; }   /* no lone last word ("değil.") */
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sr {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--lime); color: var(--navy); font-weight: 700;
  padding: 12px 18px; border-radius: 12px; text-decoration: none;
}
.skip:focus { top: 12px; }
.skip:focus-visible { outline-color: var(--white); }

/* ====================================================================
   Price tag: the app's own label shape (em-based, scales with text)
   ==================================================================== */
.ptag {
  --th: 1.12em;            /* tag height */
  --tb: var(--lime);       /* tag colour */
  --tc: var(--navy);       /* text colour */
  --hole: var(--navy);     /* punched hole = ground colour */
  position: relative;
  z-index: 0;
  display: inline-block;
  height: var(--th);
  line-height: var(--th);
  padding: 0 .2em 0 .12em;
  margin-left: calc(var(--th) * .5 + .04em);
  background: var(--tb);
  color: var(--tc);
  border-radius: 0 .14em .14em 0;
  white-space: nowrap;
}
.ptag::before {
  content: "";
  position: absolute; z-index: -1;
  top: 50%; left: 0;
  width: calc(var(--th) * .7071); height: calc(var(--th) * .7071);
  background: var(--tb);
  border-bottom-left-radius: .09em;
  transform: translate(-50%, -50%) rotate(45deg);
}
.ptag::after {
  content: "";
  position: absolute;
  top: 50%; left: calc(var(--th) * -.2);
  width: calc(var(--th) * .14); height: calc(var(--th) * .14);
  border-radius: 50%;
  background: var(--hole);
  transform: translate(-50%, -50%);
}
.ptag--lime { --tb: var(--lime); --tc: var(--navy); --hole: var(--navy); }
.ptag--navy { --tb: var(--navy); --tc: var(--lime); --hole: var(--lime); }
.ptag--white { --tb: var(--white); --tc: var(--navy); --hole: var(--navy); }

/* small tag: section kickers and step names */
.kicker, .ptag--sm {
  --th: 2.15em;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .01em;
  padding: 0 .95em 0 .55em;
  border-radius: 0 .5em .5em 0;
}
.ptag--sm::before { border-bottom-left-radius: .3em; }
.ptag--sm::after { left: calc(var(--th) * -.16); width: .42em; height: .42em; }
.kicker {
  position: relative; z-index: 0;
  display: inline-block;
  height: var(--th); line-height: var(--th);
  margin-left: calc(var(--th) * .5);
  background: var(--tb, var(--navy));
  color: var(--tc, var(--lime));
}
.kicker::before, .kicker::after { content: ""; position: absolute; top: 50%; }
.kicker::before {
  z-index: -1; left: 0;
  width: calc(var(--th) * .7071); height: calc(var(--th) * .7071);
  background: var(--tb, var(--navy));
  border-bottom-left-radius: .3em;
  transform: translate(-50%, -50%) rotate(45deg);
}
.kicker::after {
  left: calc(var(--th) * -.16);
  width: .42em; height: .42em; border-radius: 50%;
  background: var(--hole, var(--paper));
  transform: translate(-50%, -50%);
}
.kicker--lime { --tb: var(--lime); --tc: var(--navy); --hole: var(--navy); }
.kicker--navy { --tb: var(--navy); --tc: var(--lime); --hole: var(--lime); }

/* ====================================================================
   Phone frame: flat, unbranded slab (no notch, no buttons, no blur)
   Screens are 720 px wide captures: keep --pf-w <= 380px (2x sharp).
   ==================================================================== */
.pf {
  --pf-w: 300px;
  --pf-body: #0b0f17;
  --pf-edge: #2a3346;
  --pf-screen: #0f1218;
  --pf-pop: var(--lime);
  --pf-bezel: calc(var(--pf-w) * 0.036);
  /* screen corner stays inside the app's status-bar safe area ("14:32"
     must not be clipped) */
  --pf-radius: calc(var(--pf-w) * 0.11);
  position: relative;
  display: block;
  width: var(--pf-w);
  max-width: 100%;
  margin: 0;
  padding: var(--pf-bezel);
  border-radius: var(--pf-radius);
  background: var(--pf-body);
  box-shadow: 0 0 0 1px var(--pf-edge);
}
.pf__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 20;
  border-radius: calc(var(--pf-radius) - var(--pf-bezel));
  background: var(--pf-screen);
  isolation: isolate;
}
.pf__screen picture, .pf__screen img { display: block; width: 100%; height: auto; }
.pf--light { --pf-body: #14171f; --pf-edge: #14171f; --pf-screen: #0f1218; }
.pf--pop { box-shadow: 0 0 0 1px var(--pf-edge), 12px 12px 0 0 var(--pf-pop); }
.pf--hard { box-shadow: 0 0 0 1px var(--pf-edge), 14px 14px 0 0 var(--navy); }
.pf--navyhard { box-shadow: 0 0 0 1px var(--pf-edge), 12px 12px 0 0 var(--navy); }

/* Tall capture: rests on the mixed-site grid. With JS it starts at the top
   and scrolls there ONCE (integer px shift set by site.js), then holds. */
.pf--once { --pf-shift: -40%; }
.pf--once .pf__screen img { transform: translateY(var(--pf-shift)); }
html.js .pf--once .pf__screen img { transform: none; }
html.js .is-in .pf--once .pf__screen img { animation: pf-once 2.4s var(--ease) .7s both; }
@keyframes pf-once {
  from { transform: none; }
  to { transform: translateY(var(--pf-shift)); }
}

/* ====================================================================
   Header
   ==================================================================== */
.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.is-scrolled { border-bottom-color: var(--line-dark); }
.top__in { display: flex; align-items: center; gap: 16px; height: var(--top-h); }
/* the app icon and the wordmark share one spot: once the hero wordmark has
   scrolled away, the wordmark (with the AI-P) takes the icon's place, so the
   header never reads "P Piyasa" */
.top__brand {
  display: grid; align-items: center; justify-items: start; flex: none;
  min-height: 44px; border-radius: 12px; text-decoration: none;
}
.top__icon, .top__wm { grid-area: 1 / 1; }
.top__icon {
  width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 2px var(--lime);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.top__wm {
  width: 96px;
  opacity: 0; visibility: hidden; transform: translateX(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.top__wm img { width: 96px; }
.top--wm .top__wm { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s; }
.top--wm .top__icon { opacity: 0; transform: scale(.6); }
.top__nav { display: none; gap: 2px; margin-left: auto; }
.top__nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--soft); text-decoration: none; font-size: 1rem;
  padding: 0 14px; border-radius: 999px;
  transition: background .15s, color .15s;
}
.top__nav a:hover { background: var(--navy-3); color: var(--white); }
/* "Google Play'den indir": the page's one action, always in reach. Solid
   lime on the navy bar (the nav links are plain text), own arrow glyph:
   no store badge, no store logo, no store colours. */
.top__get {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px;
  background: var(--lime); color: var(--navy);
  font-weight: 700; font-size: .92rem; text-decoration: none;
  padding: 0 16px 0 12px; border-radius: 999px;
  white-space: nowrap;
  transition: background .15s, transform .15s var(--ease);
}
.top__get svg { width: 18px; height: 18px; flex: none; }
.top__get:hover { background: var(--white); }
.top__get:active { transform: translateY(1px); }
.top__get:focus-visible { outline-color: var(--white); }
/* very narrow phones: the text alone, so the scrolled-in wordmark fits */
@media (max-width: 359px) {
  .top__get { padding: 0 13px; font-size: .84rem; }
  .top__get svg { display: none; }
}
@media (min-width: 1000px) {
  .top__nav { display: flex; }
  .top__nav + .top__get { margin-left: 10px; }
}

/* ====================================================================
   1 · Hero
   ==================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: 14px 0 60px;
}
.hero__grid { position: relative; display: flex; flex-direction: column; }
.hero__copy { display: contents; }
.hero__logo { order: 1; }
.hero__title { order: 2; }
.hero__tag { order: 3; }
.hero__stage { order: 4; }
.hero__lead { order: 5; }
.hero__meta { order: 6; }
.hero__logo img { width: 200px; }
.hero__title {
  margin: 12px 0 10px;
  font-size: clamp(3.25rem, 14.5vw, 4.5rem);
  line-height: .95;
  letter-spacing: -.035em;
  color: var(--white);
}
.hero__title .ln { display: block; }
.hero__title .ptag { padding-right: .16em; margin-top: .08em; }
/* mobile only: says in words what Piyasa is before the phone */
.hero__tag { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.4; color: var(--soft); }
.hero__tag b { color: var(--lime); }
.hero__lead { margin-top: 34px; font-size: 1.15rem; line-height: 1.5; color: var(--soft); max-width: 36ch; }
.hero__lead strong { display: block; margin-top: 8px; color: var(--lime); }

/* the store listing: app icon + its store name, then the download button
   and, quieter, where it is not out yet */
.store { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.store__icon { width: 60px; height: 60px; flex: none; border-radius: 17px; box-shadow: 0 0 0 2px var(--lime); }
.store__name { font-weight: 700; font-size: 1.12rem; line-height: 1.3; color: var(--white); }
.store__where { color: var(--muted); font-size: .98rem; }
.store__live { display: flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 700; font-size: .98rem; }
/* "on air": a plain lime dot (no ring, so it never reads as a radio button) */
.store__live::before {
  content: ""; flex: none; width: 8px; height: 8px; margin: 0 2px;
  border-radius: 50%; background: var(--lime);
}
.store__ios { display: flex; align-items: center; flex-wrap: wrap; gap: 0 .3em; margin-top: 18px; font-size: .95rem; color: var(--muted); }
.store__ios .nw { color: var(--soft); font-weight: 700; }
.nw { white-space: nowrap; }

/* Download button: the site's own hard-edged lime button (as the 404's
   "Ana sayfaya dön"), with a navy arrow tile. Presses in on tap. */
.getbtn {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 60px; margin-top: 22px;
  padding: 8px 24px 8px 9px; border-radius: 18px;
  background: var(--lime); color: var(--navy);
  font-weight: 700; font-size: 1.16rem; line-height: 1.2; text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 2px var(--navy), 6px 6px 0 0 var(--white);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.getbtn__ico {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--navy); color: var(--lime);
}
.getbtn__ico svg { width: 22px; height: 22px; }
.getbtn:hover { transform: translate(-2px, -2px); box-shadow: 0 0 0 2px var(--navy), 8px 8px 0 0 var(--white); }
.getbtn:hover .getbtn__ico svg { transform: translateY(2px); }
.getbtn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 2px var(--navy), 2px 2px 0 0 var(--white); }
.getbtn:focus-visible { outline: 3px solid var(--white); outline-offset: 5px; }
.getbtn__ico svg { transition: transform .15s var(--ease); }
/* once, after the hero search has played: the arrow nods twice */
@media (prefers-reduced-motion: no-preference) {
  .hero .getbtn__ico svg { animation: nod 1s var(--ease) 2.8s; }
}
@keyframes nod {
  0%, 50%, 100% { transform: none; }
  25%, 75% { transform: translateY(4px); }
}

/* plain facts, not buttons: a lime tick and the text, no pill border */
.chips { list-style: none; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.chips li {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .95rem; font-weight: 700; color: var(--soft);
  padding: 4px 0;
}
.chips li::before {
  content: ""; flex: none;
  width: 11px; height: 6px; margin-top: -3px;
  border-left: 3px solid var(--lime); border-bottom: 3px solid var(--lime);
  transform: rotate(-45deg);
}

.hero__stage { position: relative; }
.hero__device { position: relative; width: var(--pf-w); margin: 0 auto; --pf-w: min(300px, 82vw); }
.hero__device .pf { --pf-w: 100%; width: 100%; }

.qbar {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  width: min(440px, calc(100vw - 2 * var(--gut)));
  left: 50%; transform: translateX(-50%);
  height: 56px; margin: 0 0 20px; padding: 0 7px 0 16px;
  background: var(--white); color: var(--navy);
  border-radius: 18px;
  box-shadow: 0 0 0 2px var(--navy), 6px 6px 0 0 var(--lime);
  font-size: 1.15rem; font-weight: 700;
  cursor: default;
}
.qbar__icon { width: 22px; height: 22px; flex: none; color: var(--navy); }
.qbar__q { white-space: nowrap; }
.qbar__caret { display: none; width: 2px; height: 1.2em; background: var(--navy); margin-left: -7px; }
html.js .hero__stage.is-typing .qbar__caret { display: block; animation: caret .5s steps(1) 4; }
@keyframes caret { 50% { opacity: 0; } }
.qbar__btn {
  margin-left: auto;
  background: var(--navy); color: var(--lime);
  border-radius: 12px; padding: 0 18px; height: 42px; line-height: 42px;
  transition: transform .12s var(--ease);
}
.qbar__btn.is-pressed { transform: translateY(2px) scale(.95); }

.hero__phone { --pf-pop: var(--lime); }
.sticker {
  position: absolute; z-index: 4;
  top: 40.6%; left: 42%;
  margin: 0;
  transform: translateY(-50%) rotate(-4deg);
  transform-origin: 0 50%;
  transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .2s;
  /* hard 0-blur outline + offset, no soft shadow */
  filter: drop-shadow(2.5px 0 0 var(--navy)) drop-shadow(-2.5px 0 0 var(--navy)) drop-shadow(0 2.5px 0 var(--navy)) drop-shadow(0 -2.5px 0 var(--navy)) drop-shadow(5px 5px 0 var(--navy));
}
.ptag--sticker {
  --th: 2.5em;
  font-size: .95rem; font-weight: 700;
  padding: 0 .9em 0 .35em;
  border-radius: 0 .55em .55em 0;
}
.ptag--sticker::before { border-bottom-left-radius: .35em; }
.ptag--sticker em { font-style: normal; font-weight: 400; }
html.js .hero__stage:not(.is-done) .sticker { opacity: 0; transform: translateY(-50%) rotate(-14deg) scale(.5); }
.hero__note { margin-top: 26px; text-align: center; font-size: .85rem; color: var(--muted); }

/* While the query is typed (JS only, once) the phone shows the app's navy
   start screen with the AI-P; the real result screen fades in only after
   "Ara" is pressed. Without JS or with reduced motion the results show at
   once (site.js never adds .is-pre then). */
.hero__phone .pf__screen::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy) url("../img/brand/p-ai-lime.webp") center 44% / 30% auto no-repeat;
}
.hero__phone .pf__screen picture { transition: opacity .3s var(--ease), transform .3s var(--ease); }
html.js .hero__stage.is-pre .hero__phone .pf__screen picture { opacity: 0; transform: translateY(14px); }

/* the lime "results are loading" line after Ara (JS only, plays once) */
.hero__phone .pf__screen::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--lime); opacity: 0; transform: translateY(-4px);
}
.hero__stage.is-loading .pf__screen::after { animation: sweep .75s var(--ease) forwards; }
@keyframes sweep {
  0% { opacity: 1; transform: translateY(-4px); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateY(var(--sweep, 600px)); }
}

/* entrance: wordmark, then the slogan lines rise (CSS only, never hidden) */
@media (prefers-reduced-motion: no-preference) {
  .hero__logo { animation: rise-mark .7s var(--ease) both; }
  .hero__title .ln { animation: rise .7s var(--ease) both; }
  .hero__title .ln:nth-child(1) { animation-delay: .08s; }
  .hero__title .ln:nth-child(2) { animation-delay: .16s; }
  .hero__title .ln:nth-child(3) { animation-delay: .24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
@keyframes rise-mark { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (min-width: 600px) {
  .hero__logo img { width: 260px; }
  .hero__device { --pf-w: 320px; }
}
@media (min-width: 760px) {
  .hero { padding: 30px 0 64px; }
  .hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: center; gap: 28px; }
  .hero__copy { display: block; }
  .hero__title { font-size: clamp(3.75rem, 8.8vw, 5.25rem); margin-bottom: 20px; }
  .hero__tag { display: none; }
  .hero__lead { margin-top: 0; }
  .hero__stage { padding-top: 6px; }
  .hero__device { --pf-w: 270px; margin: 0 40px 0 auto; }
  .qbar { left: auto; transform: none; width: 300px; margin: 0 0 22px -30px; height: 54px; font-size: 1.08rem; }
  .qbar__btn { height: 40px; line-height: 40px; }
  .ptag--sticker { font-size: .86rem; }
  .sticker { left: 47%; }
  .hero__note { text-align: right; margin-right: 40px; }
}
/* desktop: sized by width AND height, so on a 1366x768 or 1280x720 laptop
   the logo, the slogan, the lead and the download card all fit the first
   screen (the hero fills about one screen, never more than ~960 px) */
@media (min-width: 1000px) {
  .hero { padding: 12px 0 44px; }
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px;
    min-height: min(calc(100vh - var(--top-h) - 56px), 900px);
  }
  .hero__logo img { width: clamp(220px, min(26vw, 32vh), 400px); }
  .hero__title { font-size: clamp(5rem, min(9.2vw, 13vh), 9rem); margin: 8px 0 14px; line-height: .9; }
  .hero__lead { font-size: 1.25rem; max-width: 44ch; }
  .hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 16px; }
  .hero__meta .store, .hero__meta .getbtn, .hero__meta .store__ios, .hero__meta .chips { margin-top: 0; }
  /* the button sits beside the listing; leave room for its white shadow */
  .hero__meta .getbtn { margin-right: 6px; }
  .hero__stage { padding-top: 76px; }
  /* the phone also follows the screen height (2.134 = phone height / width) */
  .hero__device { --pf-w: clamp(250px, calc((100vh - var(--top-h) - 170px) / 2.134), 320px); margin: 0 36px 0 auto; }
  .qbar { position: absolute; top: -62px; left: -150px; margin: 0; width: 330px; height: 58px; font-size: 1.15rem; }
  .qbar__btn { height: 44px; line-height: 44px; }
  .ptag--sticker { font-size: 1.02rem; }
  .sticker { left: 44%; }
  .hero__note { margin: 22px 36px 0 0; }
}
/* 1000-1279 px (small laptops, tablets in landscape): no room for icon,
   listing and button on one row; without the icon the button stays on the
   listing's row and inside the first screen */
@media (min-width: 1000px) and (max-width: 1279px) {
  .hero__meta .store__icon { display: none; }
}

/* ====================================================================
   2 · Slogan band (the only loop; pause button, WCAG 2.2.2)
   ==================================================================== */
.ticker {
  position: relative;
  display: flex; align-items: center;
  background: var(--lime); color: var(--navy);
  border-block: 3px solid var(--navy);
  --focus: var(--navy);
}
.ticker__btn {
  flex: none; position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 44px; height: 44px; margin: 0 4px 0 max(10px, calc(var(--gut) - 6px));
  border: 0; border-radius: 50%;
  background: var(--navy); color: var(--lime);
  cursor: pointer;
}
.ticker__btn[hidden] { display: none; }
.ticker__btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.ticker__ico { width: 13px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.ticker.is-paused .ticker__ico {
  width: 0; height: 0; border-right: 0;
  border-left: 13px solid currentColor;
  border-top: 8px solid transparent; border-bottom: 8px solid transparent;
  margin-left: 4px;
}
.ticker__view { flex: 1; min-width: 0; overflow: hidden; }
.ticker__track { display: flex; width: max-content; }
.ticker__list { list-style: none; display: flex; flex: none; }
.ticker__list li {
  display: flex; align-items: center; gap: .55em;
  padding: .48em 0 .52em .55em;
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 2.2rem);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.ticker__list li::after {
  content: "";
  width: .8em; height: .8em; flex: none;
  margin-left: .1em;
  background: url("../img/brand/p-navy.svg") center / contain no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  html.js .ticker__track { animation: tick 48s linear infinite; }
  .ticker__view:hover .ticker__track,
  .ticker.is-paused .ticker__track { animation-play-state: paused; }
}
@keyframes tick { to { transform: translateX(-50%); } }

/* ====================================================================
   Chapters
   ==================================================================== */
.chapter { padding: clamp(76px, 10vw, 136px) 0; }
.chapter--paper { background: var(--paper); color: var(--ink); --focus: var(--link); }
.chapter--navy { background: var(--navy); color: var(--white); }
.chapter--lime { background: var(--lime); color: var(--navy); --focus: var(--navy); }

.chead { max-width: 860px; margin-bottom: clamp(52px, 7vw, 92px); }
.chapter h2 {
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.034em;
  margin: 20px 0 16px;
}
.chead__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 46ch; }
.hl {
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 88% / 100% .34em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 .06em;
}
.hl-lime { color: var(--lime); }
.aside {
  margin-top: 22px;
  font-size: .98rem; color: var(--ink-2);
  border-left: 4px solid var(--navy); padding: 2px 0 2px 14px;
}
.aside--dark { color: var(--muted); border-left-color: var(--lime); }
.big { font-size: clamp(1.12rem, 1.7vw, 1.3rem); line-height: 1.5; color: var(--soft); }
.chapter--lime .big { color: var(--navy); }
figcaption { margin-top: 28px; font-size: .85rem; line-height: 1.45; color: var(--ink-2); text-align: center; }
.chapter--navy figcaption { color: var(--muted); }
.chapter--lime figcaption { color: var(--navy); }

/* ---------- 3 · Nasıl çalışır ---------- */
.beats { list-style: none; display: grid; gap: clamp(92px, 11vw, 150px); }
.beat { display: grid; gap: 44px; align-items: center; }
.beat__text { max-width: 580px; }
.beat__text > p { color: var(--ink-2); font-size: 1.1rem; }
.beat__text h3 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.06; letter-spacing: -.026em;
  margin: 20px 0 14px; color: var(--ink);
}
.step { display: flex; align-items: center; }
.step .ptag--sm { --hole: var(--paper); }
.beat__shot { margin: 0; display: flex; flex-direction: column; align-items: center; }
.beat__shot .pf { --pf-w: min(300px, 76vw); }

@media (min-width: 900px) {
  .beat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .beat--flip .beat__text { order: 2; }
  .beat__shot .pf { --pf-w: 300px; }
}
@media (min-width: 1100px) {
  .beat { gap: 80px; }
  .beat__shot .pf { --pf-w: 320px; }
}
@media (min-width: 1200px) {
  .beat { gap: 72px; }
  .beat__shot .pf { --pf-w: 350px; }   /* 720 px captures: still 2x */
  .slice { width: 350px; }
}

/* site picker: works with JS (data-kat), with :has() alone, or neither */
.sites {
  margin: 30px 0 18px; padding: 18px 18px 16px;
  border: 2px solid var(--navy); border-radius: 22px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--navy);
  min-width: 0;
}
.sites legend { font-weight: 700; font-size: 1rem; padding: 0 8px; margin-left: -8px; color: var(--ink); }
.sites__pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.sites__pick input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.sites__pick label {
  display: inline-flex; align-items: center; min-height: 44px;
  cursor: pointer; user-select: none;
  font-weight: 700; font-size: .98rem;
  padding: 0 16px; border-radius: 999px;
  border: 2px solid var(--navy); color: var(--navy); background: var(--white);
  transition: transform .15s var(--ease), background .15s, color .15s;
}
.sites__pick label:hover { transform: translateY(-2px); }
.sites__pick input:checked + label { background: var(--navy); color: var(--lime); }
.sites__pick input:focus-visible + label { outline: 3px solid var(--link); outline-offset: 3px; }
.sites__board { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 520px) { .sites__board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) and (max-width: 1099px) { .sites__board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* inactive (default): white, dashed, struck through; ink-2 keeps 9:1 */
.s {
  position: relative;
  font-weight: 700; font-size: 1.02rem; text-align: center;
  padding: 11px 6px; border-radius: 12px;
  background: var(--white); color: var(--ink-2);
  border: 2px dashed var(--off);
  text-decoration: line-through; text-decoration-thickness: 2px;
  transition: background .2s, color .2s, border-color .2s;
}
.s sup { font-size: .65em; margin-left: 1px; }
.sites__count { margin-top: 14px; font-size: 1rem; color: var(--ink); min-height: 1.5em; }
.sites__count .c { display: none; }
.foot { font-size: .9rem; color: var(--ink-2); line-height: 1.55; }

/* active: navy fill, lime text (13:1) */
html.js .sites[data-kat="iphone"] .s-iphone,
html.js .sites[data-kat="oto"] .s-oto,
html.js .sites[data-kat="giyim"] .s-giyim,
html.js .sites[data-kat="mobilya"] .s-mobilya {
  background: var(--navy); color: var(--lime); border: 2px solid var(--navy); text-decoration: none;
}
html.js .sites[data-kat="iphone"] .s-iphone .s__off,
html.js .sites[data-kat="oto"] .s-oto .s__off,
html.js .sites[data-kat="giyim"] .s-giyim .s__off,
html.js .sites[data-kat="mobilya"] .s-mobilya .s__off { display: none; }
html.js .sites[data-kat="iphone"] .c-iphone,
html.js .sites[data-kat="oto"] .c-oto,
html.js .sites[data-kat="giyim"] .c-giyim,
html.js .sites[data-kat="mobilya"] .c-mobilya { display: inline; }

@supports selector(:has(*)) {
  html:not(.js) .sites:has(#k-iphone:checked) .s-iphone,
  html:not(.js) .sites:has(#k-oto:checked) .s-oto,
  html:not(.js) .sites:has(#k-giyim:checked) .s-giyim,
  html:not(.js) .sites:has(#k-mobilya:checked) .s-mobilya {
    background: var(--navy); color: var(--lime); border: 2px solid var(--navy); text-decoration: none;
  }
  html:not(.js) .sites:has(#k-iphone:checked) .s-iphone .s__off,
  html:not(.js) .sites:has(#k-oto:checked) .s-oto .s__off,
  html:not(.js) .sites:has(#k-giyim:checked) .s-giyim .s__off,
  html:not(.js) .sites:has(#k-mobilya:checked) .s-mobilya .s__off { display: none; }
  html:not(.js) .sites:has(#k-iphone:checked) .c-iphone,
  html:not(.js) .sites:has(#k-oto:checked) .c-oto,
  html:not(.js) .sites:has(#k-giyim:checked) .c-giyim,
  html:not(.js) .sites:has(#k-mobilya:checked) .c-mobilya { display: inline; }
}
@supports not selector(:has(*)) {
  html:not(.js) .s-iphone { background: var(--navy); color: var(--lime); border: 2px solid var(--navy); text-decoration: none; }
  html:not(.js) .s-iphone .s__off { display: none; }
  html:not(.js) .c-iphone { display: inline; }
}

/* beat 3: a slice of the result screen with numbered pins outside it */
.slice { position: relative; width: min(330px, calc(100vw - 2 * var(--gut) - 58px)); margin-right: 50px; }
.slice__win {
  position: relative; overflow: hidden;
  aspect-ratio: 720 / 1120;
  border-radius: 26px; border: 3px solid var(--navy);
  background: #0F1218;
  box-shadow: 14px 14px 0 var(--navy);
}
.slice__win picture { position: absolute; inset: 0; }
.slice__win img { position: absolute; left: 0; top: -28.5714%; width: 100%; max-width: none; }
.pin, .pins li::before {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--lime); color: var(--navy);
  border: 3px solid var(--navy);
  font-weight: 700; font-size: .95rem; line-height: 1;
}
.pin { position: absolute; left: calc(100% + 30px); top: var(--y); transform: translateY(-50%); z-index: 2; }
.pin::before {
  content: ""; position: absolute; right: 100%; top: 50%;
  width: 28px; height: 3px; margin-top: -1.5px; background: var(--navy);
}
.beat--bul .pin { transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.beat--bul .pin:nth-of-type(1) { transition-delay: .35s; }
.beat--bul .pin:nth-of-type(2) { transition-delay: .47s; }
.beat--bul .pin:nth-of-type(3) { transition-delay: .59s; }
.beat--bul .pin:nth-of-type(4) { transition-delay: .71s; }
html.js .beat--bul:not(.is-in) .pin { transform: translateY(-50%) scale(0); }
.pins { list-style: none; counter-reset: pin; margin: 24px 0 0; display: grid; gap: 14px; }
.pins li { counter-increment: pin; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; color: var(--ink-2); font-size: 1.02rem; }
.pins li > span, .flow li > span { padding-top: 4px; }
.pins li::before { content: counter(pin); }
.pins li b { color: var(--ink); }

/* ---------- split (Elenenler / gizlilik) ---------- */
.split { display: grid; gap: 60px; align-items: center; }
.split__shot { margin: 0; display: flex; flex-direction: column; align-items: center; }
.split__shot .pf { --pf-w: min(300px, 76vw); }
.split__text { max-width: 660px; }
.split h2 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
@media (min-width: 900px) {
  #elenenler .split { grid-template-columns: 5fr 7fr; gap: 72px; }
  #elenenler .split__shot { order: -1; }
  .split__shot .pf { --pf-w: 300px; }
  .split--priv { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; }
}
@media (min-width: 1100px) {
  #elenenler .split { gap: 110px; }
  .split__shot .pf { --pf-w: 320px; }
}

.struck { list-style: none; margin: 28px 0 0; display: grid; gap: 10px; }
.struck li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-radius: 14px;
  background: var(--navy-2); border: 2px solid var(--line-dark);
}
/* the strike sits low and thin, so the example titles stay readable */
.struck__t { position: relative; font-weight: 700; color: var(--soft); }
.struck__t::after {
  content: ""; position: absolute; left: -4px; right: -4px; top: 58%; height: 2px;
  background: var(--lime); opacity: .8; border-radius: 2px;
  transform-origin: 0 50%;
  transition: transform .4s var(--ease);
  transition-delay: calc(.35s + var(--i) * .12s);
}
html.js [data-reveal]:not(.is-in) .struck__t::after { transform: scaleX(0); }
.struck__k {
  flex: none; font-size: .82rem; font-weight: 700;
  color: var(--navy); background: var(--lime);
  padding: 3px 10px; border-radius: 999px;
}
.rule { margin-top: 26px; font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--lime); }

/* ---------- 5 · Ederi ne? ---------- */
.ederi__head { margin-bottom: clamp(44px, 6vw, 76px); }
/* "satma!" stays a step below the page's main slogan (H1 "alma!") at
   every width: about 0.9x the hero size */
.chapter h2.mega {
  font-size: clamp(3rem, 13vw, 4.1rem);
  line-height: .93;
  letter-spacing: -.04em;
  margin: 24px 0 0;
}
@media (min-width: 760px) { .chapter h2.mega { font-size: clamp(3.4rem, 8vw, 4.75rem); } }
@media (min-width: 1000px) { .chapter h2.mega { font-size: clamp(4.5rem, min(8.3vw, 11.7vh), 8.1rem); } }
.mega .ln { display: block; }
.mega .ptag { padding-right: .14em; margin-top: .08em; }
.ederi { display: grid; gap: 60px; align-items: start; }
.ederi__text h3 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); line-height: 1.06; letter-spacing: -.026em; }
.caveat {
  display: inline-flex; align-items: flex-start; gap: 9px;
  text-wrap: pretty;
  margin: 14px 0 24px;
  background: var(--navy); color: var(--white);
  font-weight: 700; font-size: .98rem; line-height: 1.4;
  padding: 10px 15px 10px 12px; border-radius: 12px;
}
.caveat::before {
  content: "i"; flex: none; display: grid; place-items: center;
  width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--lime); color: var(--navy); font-size: .8rem;
}
/* Ederi ne? steps: small navy price tags (the app's label shape), so they
   do not repeat the round pins of "Nasıl çalışır" */
.flow { list-style: none; counter-reset: f; margin: 24px 0 0; display: grid; gap: 12px; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 44px 1fr; gap: 12px; font-size: 1.05rem; }
.flow li::before {
  content: counter(f);
  display: grid; place-items: center;
  width: 44px; height: 30px; margin-top: 1px; padding-left: 12px;
  background: radial-gradient(circle at 10px 50%, var(--lime) 0 3px, var(--navy) 3px);
  clip-path: polygon(0 50%, 13px 0, 100% 0, 100% 100%, 13px 100%);
  border-radius: 0 7px 7px 0;
  color: var(--lime); font-weight: 700; line-height: 1;
}
.trio { list-style: none; margin: 22px 0 0; display: grid; grid-template-columns: 1fr; gap: 8px; }
.trio li {
  display: flex; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 16px;
  border: 2px solid var(--navy); background: var(--lime);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.trio li:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--navy); }
.trio .trio--main { background: var(--navy); color: var(--white); }
.trio__k { font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.trio--main .trio__k { color: var(--lime); }
.trio__d { font-size: .88rem; line-height: 1.3; text-align: right; }
@media (min-width: 600px) and (max-width: 999px), (min-width: 1200px) {
  .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .trio li { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; padding: 14px 13px; }
  .trio__d { text-align: left; }
}
.lock { display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; font-weight: 700; }
.lock svg { width: 24px; height: 24px; flex: none; }

/* mobile: only the price card; the "Ne satıyorsun?" screen would sit 85%
   under it (its lock note is said in the text above) */
.ederi__shots { margin: 0; justify-self: center; width: min(400px, 100%); }
.ederi__stack { position: relative; }
.ederi__back { display: none; }
.ederi__front { margin: 0 auto; --pf-w: min(290px, 78vw); }
@media (min-width: 600px) {
  .ederi__shots { width: 520px; }
  .ederi__stack { padding-top: 92px; }
  .ederi__back { display: block; position: absolute; top: 0; --pf-w: 262px; left: 10px; }
  .ederi__front { --pf-w: 300px; margin: 0 24px 0 auto; }
}
@media (min-width: 1000px) {
  .ederi { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .ederi__shots { width: 100%; max-width: 560px; justify-self: end; }
  .ederi__front { --pf-w: 310px; }
}
/* desktop: the phones rise beside the "satma!" line, so the lime ground
   right of the mega heading is not left empty */
@media (min-width: 1000px) {
  .ederi__shots { margin-top: calc(-1 * clamp(200px, 22vw, 300px)); }
}

/* ---------- 6 · Kategoriler ---------- */
.chead--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 48px; }
.chead--row > div { max-width: 860px; }
.count24 { display: flex; align-items: baseline; gap: 10px; color: var(--navy); }
.count24 b { font-size: clamp(4.5rem, 16vw, 8rem); line-height: .8; letter-spacing: -.05em; }
.count24 span { font-weight: 700; font-size: 1.3rem; }
/* the app's pastel category art sits on one kind of tile (white, 2 px navy
   outline), so the 24 squares read as one set on the paper ground */
.cats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 480px) { .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cats li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 10px 4px 11px; border-radius: 16px;
  background: var(--white); border: 2px solid var(--navy);
  font-weight: 700; font-size: .86rem; line-height: 1.2;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cats picture { width: 100%; max-width: 72px; }
.cats img { width: 100%; }
.cats li:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--navy); }
html.js .cats[data-reveal] { opacity: 1; transform: none; }
html.js .cats[data-reveal] li { opacity: 0; transform: translateY(14px); transition: opacity .35s var(--ease), transform .35s var(--ease), box-shadow .2s var(--ease); transition-delay: calc(var(--i) * 25ms), calc(var(--i) * 25ms), 0s; }
html.js .cats[data-reveal].is-in li { opacity: 1; transform: none; }
html.js .cats[data-reveal].is-in li:hover { transform: translate(-3px, -3px); transition-delay: 0s; }
.cats__more { margin-top: 44px; font-size: 1.1rem; color: var(--ink-2); }
@media (min-width: 600px) { .cats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; } .cats li { font-size: .9rem; padding: 14px 6px 13px; } .cats picture { max-width: 84px; } }
@media (min-width: 1000px) { .cats { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

/* ---------- 7 · Ücretsiz + gizlilik ---------- */
.privacy { list-style: none; margin: 28px 0 0; }
.privacy li {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start;
  padding: 15px 0; border-bottom: 1px solid var(--line-dark);
  color: var(--soft); font-size: 1.08rem;
}
.privacy li:first-child { border-top: 1px solid var(--line-dark); }
.privacy svg { width: 26px; height: 26px; color: var(--lime); margin-top: 1px; }
.more { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.more a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--lime); font-weight: 700; text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.more a::after { content: "\2192"; margin-left: 8px; text-decoration: none; }
.more a:hover { color: var(--white); }

.receipt-wrap { display: flex; justify-content: center; padding-bottom: 14px; filter: drop-shadow(12px 12px 0 var(--lime)); }
.receipt {
  position: relative;
  width: min(360px, 100%);
  background: #FFFDF5; color: var(--navy);
  padding: 24px 24px 30px;
  border-radius: 6px 6px 0 0;
  font-size: 1rem;
}
.receipt::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px;
  background:
    linear-gradient(135deg, #FFFDF5 50%, transparent 50%) 0 0 / 16px 12px repeat-x,
    linear-gradient(-135deg, #FFFDF5 50%, transparent 50%) 0 0 / 16px 12px repeat-x;
}
.receipt__head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 2px dashed var(--navy); }
.receipt__head img { width: 48px; height: 58px; flex: none; }
.receipt__head span { display: flex; flex-direction: column; line-height: 1.25; }
.receipt__head b { font-size: 1.35rem; }
.receipt__head small { font-size: .9rem; color: var(--ink-2); }
.receipt__rows { margin: 16px 0; display: grid; gap: 9px; }
.receipt__rows div { display: flex; align-items: baseline; gap: 8px; }
.receipt__rows div::after { content: ""; order: 2; flex: 1; border-bottom: 2px dotted #8C95A8; transform: translateY(-4px); }
.receipt__rows dt { order: 1; }
.receipt__rows dd { order: 3; margin: 0; font-weight: 700; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px dashed var(--navy); padding-top: 14px; }
.receipt__total span { font-weight: 700; }
.receipt__total b { font-size: 1.6rem; letter-spacing: -.02em; background: var(--lime); padding: 0 8px; border-radius: 6px; }
.receipt__foot { margin-top: 14px; font-size: .88rem; color: var(--ink-2); }
html.js .receipt-wrap[data-reveal] { opacity: 1; transform: none; }
html.js .receipt-wrap[data-reveal] .receipt { clip-path: inset(-20px); transition: clip-path .7s steps(8, end); }
html.js .receipt-wrap[data-reveal]:not(.is-in) .receipt { clip-path: inset(-20px -20px 100% -20px); }

/* ---------- 8 · SSS ---------- */
.faq-wrap { display: grid; gap: 8px; }
.faq__head { margin-bottom: 30px; }
.faq__head h2 { margin-bottom: 12px; }
.faq__mark { display: block; width: 96px; margin-top: 30px; }
@media (min-width: 900px) {
  .faq-wrap { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .faq__head { position: sticky; top: calc(var(--top-h) + 32px); margin-bottom: 0; }
  .faq__mark { width: clamp(120px, 12vw, 180px); margin-top: 40px; }
}
.faq details { border-top: 2px solid var(--navy); }
.faq details:last-child { border-bottom: 2px solid var(--navy); }
.faq summary {
  list-style: none; cursor: pointer;
  position: relative;
  display: flex; align-items: center; min-height: 64px;
  padding: 16px 58px 16px 0;
  font-weight: 700; font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.3;
  border-radius: 6px;
}
.faq summary::-webkit-details-marker { display: none; }
.pm {
  position: absolute; right: 2px; top: 50%;
  width: 38px; height: 38px; margin-top: -19px; border-radius: 50%;
  background: var(--lime); border: 2px solid var(--navy);
  transition: transform .25s var(--ease), background .2s;
}
.pm::before, .pm::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 15px; height: 3px; margin: -1.5px 0 0 -7.5px; background: var(--navy); border-radius: 2px;
  transition: transform .25s var(--ease);
}
.pm::after { transform: rotate(90deg); }
.faq summary:hover { color: var(--link); }
.faq details[open] .pm { background: var(--navy); transform: rotate(180deg); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: var(--lime); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq__a { padding: 0 0 24px; max-width: 64ch; }
.faq__a p { color: var(--ink-2); }
.faq__a p + p { margin-top: 10px; }
.faq__small { font-size: .92rem; }
.faq__a a { color: var(--link); font-weight: 700; }

/* ---------- 9 · Finale ---------- */
.finale { background: var(--navy); color: var(--white); padding: clamp(84px, 11vw, 144px) 0; text-align: center; border-top: 3px solid var(--lime); }
.finale__in { display: flex; flex-direction: column; align-items: center; }
/* never larger than the hero wordmark: the hero is where the logo leads */
.finale__logo img { width: clamp(200px, min(22vw, 30vh), 280px); }
.finale__title { margin: 40px 0 0; font-size: clamp(2rem, 6vw, 4.5rem); line-height: 1.14; letter-spacing: -.035em; }
.finale__title .fl { display: block; }
.finale__title .fl + .fl { margin-top: .16em; }
.finale__sub { margin-top: 28px; font-size: clamp(1.25rem, 2.2vw, 1.5rem); color: var(--muted); }
.store--card {
  margin-top: 44px; text-align: left;
  flex-wrap: wrap; gap: 14px 26px;
  padding: 16px 16px 16px 16px; border-radius: 22px;
  border: 2px solid var(--line-dark); background: var(--navy-2);
}
.store--card .getbtn { margin: 0 6px 6px 0; }
.finale .store__ios { justify-content: center; margin-top: 20px; }
/* phones and small tablets: the listing on one row (its text takes what is
   left beside the icon), the button the card's whole width under it. One
   row from 760 px, where the text no longer has to squeeze beside the button. */
@media (max-width: 759px) {
  .store--card { gap: 14px; }
  .store--card .store__txt { flex: 1 1 0; min-width: 0; }
  .store--card .getbtn { flex: 1 1 100%; justify-content: center; }
}
@media (min-width: 760px) { .store--card { flex-wrap: nowrap; padding-right: 22px; } }
/* 320 px phones: a slimmer button and card, so nothing runs off the screen */
@media (max-width: 359px) {
  .getbtn { gap: 10px; padding-right: 16px; font-size: 1.04rem; }
  .store--card { padding: 14px 12px; }
}
@media (max-width: 599px) {
  /* each slogan: "Piyasa'ya bakmadan" on one line, the tag on its own */
  .finale__title { font-size: clamp(1.9rem, 8.6vw, 2.4rem); }
  .finale__title .fl { display: flex; flex-direction: column; align-items: center; gap: .14em; }
  .finale__title .fl + .fl { margin-top: .5em; }
  .finale__title .ptag { margin-left: calc(var(--th) * .5); }
}

/* ---------- 10 · Footer ---------- */
.foot-site { background: var(--deep); color: var(--muted); padding: 60px 0 44px; font-size: .95rem; }
.foot-site__grid { display: grid; grid-template-columns: 1fr; gap: 36px 24px; }
/* the finale right above already carries the wordmark and both slogans,
   so the footer brand is just a smaller wordmark */
.foot-site__brand picture { width: 160px; }
.foot-site h2 { font-size: .95rem; color: var(--lime); margin-bottom: 8px; }
.foot-site ul { list-style: none; display: grid; }
.foot-site__col a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--soft); text-decoration: none;
}
.foot-site a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.foot-site__legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: grid; gap: 8px; font-size: .88rem; }
.foot-site__legal a { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
/* mobile: the Android and iPhone columns side by side (half the height) */
@media (max-width: 759px) {
  .foot-site__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 16px; }
  .foot-site__brand { grid-column: 1 / -1; }
  .foot-site__col { font-size: .92rem; }
  .foot-site__col h2 { min-height: 2.6em; line-height: 1.3; }   /* both headings two lines: links line up */
  .foot-site__col a { line-height: 1.3; padding: 6px 0; }
}
@media (min-width: 760px) { .foot-site__grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* ---------- 404 ---------- */
/* -1px: the header's 1 px rule, so the page does not scroll by one pixel */
.nf { min-height: calc(100vh - var(--top-h) - 1px); min-height: calc(100svh - var(--top-h) - 1px); display: flex; align-items: center; background: var(--navy); color: var(--white); padding: 56px 0 72px; }
.nf__in { display: grid; gap: 28px; justify-items: start; }
.nf__mark { width: clamp(120px, 30vw, 160px); }
.nf h1 { font-size: clamp(2.6rem, 9vw, 5.4rem); line-height: .98; letter-spacing: -.035em; }
.nf__lead { font-size: 1.2rem; color: var(--soft); }
.btn {
  display: inline-flex; align-items: center; min-height: 52px;
  padding: 0 24px; border-radius: 14px;
  background: var(--lime); color: var(--navy);
  font-weight: 700; font-size: 1.1rem; text-decoration: none;
  box-shadow: 0 0 0 2px var(--navy), 6px 6px 0 0 var(--white);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 0 0 0 2px var(--navy), 8px 8px 0 0 var(--white); }
.nf__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.nf__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--soft); }
.nf__fine { font-size: .88rem; color: var(--muted); max-width: 60ch; }

/* ====================================================================
   Reveal on scroll: only when site.js has run (it adds .js), so the
   page is complete without JS. The hero is never gated.
   ==================================================================== */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal], html.js .cats[data-reveal] li { opacity: 1 !important; transform: none !important; }
  html.js .hero__stage:not(.is-done) .sticker { opacity: 1; transform: translateY(-50%) rotate(-4deg); }
  html.js [data-reveal]:not(.is-in) .struck__t::after { transform: none; }
  html.js .beat--bul:not(.is-in) .pin { transform: translateY(-50%); }
  html.js .receipt-wrap[data-reveal]:not(.is-in) .receipt { clip-path: none; }
  /* the tall result list rests at its start (app bar visible) */
  html.js .pf--once .pf__screen img { transform: none; }
  html.js .hero__stage.is-pre .hero__phone .pf__screen picture { opacity: 1; transform: none; }
}
@media print {
  html.js [data-reveal], html.js .cats[data-reveal] li { opacity: 1 !important; transform: none !important; }
  .top { position: static; }
  .ticker__btn { display: none; }
}
