/* vita.bovegames.com tanıtım sayfası. Renkler VITATheme'den: forest, cream (action), ring (sage), secondaryOnForest. */
:root {
  --forest: #0E473D;
  --forest-deep: #0A3530;
  --v-ink: #114941;
  --cream: #F7F5ED;
  --sage: #DEE3C4;
  --on-forest-2: #D1E0C9;
  --forest-glow: #145548;   /* forest ile sage karışımı, üstteki ışık */
  --leaf: #789A78;
  --bezel: #0A100F;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--sage) var(--forest-deep); }
main { flex: 1; display: grid; align-items: center; overflow-x: clip; }   /* telefonun arkasındaki ışık taşıp yatay kaydırma açmasın */
body {
  margin: 0; min-height: 100svh; display: flex; flex-direction: column;
  background: radial-gradient(120% 70% at 50% -10%, var(--forest-glow) 0%, transparent 60%),
              linear-gradient(var(--forest), var(--forest-deep)) var(--forest-deep) no-repeat;
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--sage); color: var(--forest); }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 6px; }
svg { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2 { text-wrap: balance; }

/* ilk görünüm */
.hero {
  width: 100%; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; align-items: center;
  padding: 64px 40px 32px;
}
.app-icon { width: 96px; height: 96px; border-radius: 22px; display: block; box-shadow: 0 0 0 1px rgba(222, 227, 196, .18), 0 14px 30px rgba(0, 0, 0, .28); }
.tag { margin: 28px 0 6px; font-size: 15px; font-weight: 600; line-height: 1.3; color: rgba(209, 224, 201, .75); }
h1 { margin: 0; font-size: clamp(4.5rem, 8vw, 7.25rem); font-weight: 700; line-height: .95; letter-spacing: -.05em; }
.lede { margin: 20px 0 0; max-width: 31em; font-size: 1.25rem; font-weight: 400; line-height: 1.5; color: rgba(209, 224, 201, .8); }
.actions { margin: 32px 0 0; }
.store { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; text-decoration: none; }
.store .badge { display: block; height: 48px; width: auto; }
a.store { transition: transform .3s var(--ease); }
a.store:hover { transform: translateY(-2px); }
.store .soon {
  padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(222, 227, 196, .3);
  color: var(--on-forest-2); font-size: 13px; font-weight: 600;
}

/* telefon */
.demo { display: flex; flex-direction: column; align-items: center; position: relative; }
.demo::before {   /* telefonun arkasında yumuşak ışık */
  content: ""; position: absolute; inset: -60px -80px 40px; z-index: -1;
  background: radial-gradient(closest-side, rgba(222, 227, 196, .16), transparent);
}
.phone {
  position: relative; width: 340px; height: 712px; border-radius: 58px; background: var(--bezel);
  box-shadow: 0 34px 70px rgba(0, 0, 0, .38), inset 0 0 0 2px #22302c, inset 0 0 0 7px #0d1513;
}
.screen {
  position: absolute; inset: 12px; border-radius: 46px; overflow: hidden;
  background: var(--forest); color: var(--cream); font-size: 13px; line-height: 1.35;
  display: flex; flex-direction: column;
}
.screen[hidden] { display: none; }
.screen.is-in { animation: screen-in .5s var(--ease); }
@keyframes screen-in { from { opacity: 0; transform: translateY(14px) scale(.985); filter: blur(4px); } }
.status { height: 46px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 6px 28px 0 30px; position: relative; }
.st-time { font-size: 14px; font-weight: 600; }
.island { position: absolute; left: 50%; top: 10px; width: 98px; height: 28px; margin-left: -49px; background: #000; border-radius: 20px; }
.st-icons { display: flex; align-items: center; gap: 6px; }
.bars { display: flex; align-items: flex-end; gap: 1.5px; height: 10px; }
.bars b { width: 3px; background: var(--cream); border-radius: 1px; }
.bars b:nth-child(1) { height: 4px; } .bars b:nth-child(2) { height: 6px; } .bars b:nth-child(3) { height: 8px; } .bars b:nth-child(4) { height: 10px; }
.batt { width: 22px; height: 11px; border: 1.5px solid rgba(247, 245, 237, .7); border-radius: 3.5px; position: relative; }
.batt::after { content: ""; position: absolute; inset: 1.5px; right: 4px; background: var(--cream); border-radius: 1.5px; }

/* Oruç ekranı */
.topbar { display: flex; justify-content: center; height: 30px; }
.mini-mark .mark-svg { width: 22px; height: 24px; }
.mark-svg .leaf { fill: var(--sage); stroke: none; }
.mark-svg .v { stroke: var(--cream); stroke-width: 80; }
.today { margin: 6px 0 0; text-align: center; font-size: 22px; font-weight: 700; }
.chips { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.chips span { display: grid; grid-template-columns: 16px auto; column-gap: 6px; align-items: center; background: var(--cream); color: var(--forest); border-radius: 12px; padding: 5px 11px 5px 9px; }
.chips svg { width: 16px; height: 16px; grid-row: span 2; }
.chips small { font-size: 9px; opacity: .7; line-height: 1.1; }
.chips b { font-size: 13px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.dial { position: relative; width: 224px; height: 224px; margin: 16px auto 0; border-radius: 50%; background: var(--cream); }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(135deg); }
.ring circle { fill: none; stroke-width: 18; stroke-linecap: round; stroke-dasharray: 461.8 615.8; }
.ring .track { stroke: var(--sage); }
.ring .fill { stroke: var(--forest); stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease); }
.phone.is-fresh .ring .fill { stroke-dashoffset: 461.8; }
.dial-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--forest); }
.timer { font-size: 31px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.dial-text small { font-size: 11px; opacity: .75; margin-top: 2px; }
.dial-text em { font-style: normal; font-size: 11px; font-weight: 700; margin-top: 2px; }
.cta-app { margin: 16px 18px 0; }
.cta-app span { display: block; text-align: center; background: var(--cream); color: var(--forest); font-size: 15px; font-weight: 600; padding: 11px; border-radius: 14px; }
.edit { margin: 8px 0 0; text-align: center; font-size: 12px; color: var(--on-forest-2); }
.stage-row { display: flex; align-items: center; gap: 10px; margin: 12px 18px 0; }
.stage-row img { width: 44px; height: 44px; object-fit: contain; }
.stage-row div { flex: 1; min-width: 0; }
.stage-row b { font-size: 12px; font-weight: 600; display: block; }
.stage-row .bar { display: block; height: 7px; margin-top: 6px; border-radius: 4px; background: rgba(222, 227, 196, .25); overflow: hidden; }
.stage-row .bar s { display: block; height: 100%; width: 78%; background: var(--sage); border-radius: 4px; }
.stage-row > svg { width: 16px; height: 16px; color: var(--on-forest-2); }
.tabbar {
  position: absolute; left: 12px; right: 12px; bottom: 12px; height: 60px; display: flex; justify-content: space-around; align-items: center;
  background: rgba(222, 227, 196, .16); border: 1px solid rgba(247, 245, 237, .14); border-radius: 30px; padding: 0 6px;
}
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; padding: 6px 12px; border-radius: 22px; color: var(--on-forest-2); }
.tabbar span.on { background: rgba(247, 245, 237, .18); color: var(--cream); }
.tabbar svg { width: 20px; height: 20px; }

/* Evreler ekranı */
.header { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; padding: 6px 16px 10px; }
.header b { text-align: center; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; }
.header b img { width: 18px; height: 18px; object-fit: contain; }
.round { width: 32px; height: 32px; border-radius: 50%; background: rgba(247, 245, 237, .16); display: grid; place-items: center; }
.round svg { width: 16px; height: 16px; }
.scroller { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 5%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 5%, #000 90%, transparent); }
.timeline { list-style: none; margin: 0; padding: 10px 16px 60px 14px; transition: transform .9s var(--ease); }
.card { display: grid; grid-template-columns: 22px 1fr; gap: 6px; position: relative; padding-bottom: 12px; }
.card::before { content: ""; position: absolute; left: 7px; top: 20px; bottom: -4px; width: 1.5px; background: rgba(222, 227, 196, .35); }
.card:last-child::before { display: none; }
.card .dot { width: 16px; height: 16px; margin-top: 14px; border-radius: 50%; border: 1.5px solid var(--sage); background: var(--forest); position: relative; z-index: 1; transition: background .4s var(--ease); }
.card-body { background: var(--cream); color: var(--forest); border-radius: 16px; padding: 11px 13px 10px; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.card-head { display: flex; align-items: center; gap: 8px; }
.card-head img { width: 34px; height: 34px; object-fit: contain; }
.card-head b { font-size: 14px; font-weight: 600; line-height: 1.2; }
.card small { display: block; font-size: 11px; font-weight: 600; margin-top: 6px; }
.card p { margin: 3px 0 0; font-size: 12px; }
.card .src { display: block; margin-top: 7px; padding-top: 7px; border-top: 1px solid rgba(14, 71, 61, .12); font-size: 10.5px; color: rgba(14, 71, 61, .72); }
.card .src b { color: var(--forest); font-weight: 600; margin-right: 4px; }
.card.is-now .card-body { box-shadow: 0 0 0 3px var(--sage), 0 10px 24px rgba(0, 0, 0, .25); transform: scale(1.015); }
.card.is-now .dot, .card.is-past .dot { background: var(--sage); }

/* Vity ekranı */
.thread { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 8px 16px; overflow: hidden; }
.bubble { margin: 0; border-radius: 18px; padding: 9px 13px; }
.bubble.me { align-self: flex-end; max-width: 80%; background: var(--sage); color: var(--forest); font-size: 13px; }
.bubble.vity { align-self: flex-start; max-width: 94%; background: var(--cream); color: var(--forest); font-size: 12.5px; line-height: 1.45; padding: 12px 14px; }
.bubble.vity p { margin: 0; } .bubble.vity p + p { margin-top: 8px; }
.typing { display: none; align-self: flex-start; margin: 0; background: var(--cream); border-radius: 18px; padding: 12px 14px; gap: 5px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--forest); opacity: .35; animation: dot 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 30% { opacity: 1; transform: translateY(-2px); } }
.chat-ask .bubble.me, .chat-ask .bubble.vity { display: none; }
.chat-sent .bubble.me { display: block; animation: pop .45s var(--ease); transform-origin: 100% 100%; }
.chat-typing .typing { display: flex; }
.chat-streaming .bubble.vity { display: block; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.w { opacity: 0; transition: opacity .35s var(--ease); } .w.on { opacity: 1; }
.note { margin: 0 16px 8px; font-size: 10px; color: var(--on-forest-2); text-align: center; }
.input { display: flex; align-items: center; gap: 8px; margin: 0 14px 16px; background: var(--cream); color: rgba(14, 71, 61, .5); border-radius: 20px; padding: 7px 7px 7px 14px; font-size: 13px; }
.input span { flex: 1; }
.input.is-typing span { color: var(--forest); }
.input i { width: 28px; height: 28px; border-radius: 50%; background: var(--sage); color: var(--forest); display: grid; place-items: center; }
.input svg { width: 15px; height: 15px; stroke-width: 2.2; }

/* kısa masaüstü ekranı (1440x900, 1280x800): telefon, sekmeler ve alt bilgi ilk ekrana sığsın */
@media (min-width: 961px) and (max-height: 940px) {
  .hero { padding: 24px 40px 12px; }
  .phone { transform: scale(.84); transform-origin: top center; margin-bottom: -114px; }
  .segmented { margin-top: 20px; }
}
@media (min-width: 961px) and (max-height: 820px) {
  .hero { padding: 16px 40px 8px; }
  .phone { transform: scale(.76); margin-bottom: -171px; }
  .segmented { margin-top: 16px; }
}
/* sekmeler */
.segmented { display: flex; gap: 4px; margin-top: 28px; padding: 5px; border-radius: 999px; background: rgba(0, 0, 0, .18); border: 1px solid rgba(222, 227, 196, .2); }
.segmented button {
  font: inherit; font-size: 15px; font-weight: 600; color: var(--on-forest-2); background: none; border: 0; cursor: pointer;
  min-height: 44px; padding: 0 22px; border-radius: 999px; transition: background .3s var(--ease), color .3s var(--ease);
}
.segmented button:hover { color: var(--cream); }
.segmented button[aria-selected="true"] { background: var(--cream); color: var(--forest); }

/* alt bilgi */
footer { width: 100%; max-width: 1180px; margin: 0 auto; padding: 16px 40px 24px; text-align: center; color: rgba(209, 224, 201, .8); }
footer p { margin: 0; }
footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: 14px; }
footer .links a { text-decoration: none; }
footer .links a:hover { color: var(--cream); text-decoration: underline; }
footer .health { margin: 8px auto 0; max-width: 110ch; font-size: 12px; line-height: 1.5; color: rgba(209, 224, 201, .65); text-wrap: balance; }

/* 404 */
.nf main { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }
.nf h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: 16px 0 8px; line-height: 1.05; letter-spacing: -.03em; }
.nf .nf-en { margin-top: 28px; color: var(--on-forest-2); font-size: .95rem; }

/* yazılar (build-articles.py): /yazilar/ ve /en/articles/ */
.yz main { display: block; width: 100%; max-width: 760px; margin: 0 auto; padding: 8px 24px 56px; }
.yz-top { width: 100%; max-width: 1180px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.yz-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.yz-brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(222, 227, 196, .18); }
.yz-top nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; font-weight: 600; }
.yz-top nav a { color: var(--on-forest-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.yz-top nav a:hover { color: var(--cream); text-decoration: underline; }
.yz h1 { margin: 10px 0 0; font-size: clamp(2.1rem, 5.5vw, 3.25rem); line-height: 1.08; letter-spacing: -.03em; }
.yz-meta { margin: 24px 0 0; font-size: 14px; font-weight: 600; color: rgba(209, 224, 201, .75); }
.yz-lede { margin: 16px 0 0; font-size: 1.2rem; line-height: 1.5; color: rgba(209, 224, 201, .85); }
.yz-cover {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin: 32px 0 0;
  border-radius: 24px; background: var(--forest-deep); box-shadow: 0 0 0 1px rgba(222, 227, 196, .12), 0 18px 40px rgba(0, 0, 0, .25);
}
.yz-body { margin-top: 32px; }
.yz-body p, .yz-body ul { margin: 0 0 1.1em; }
.yz-body ul { padding-left: 1.2em; }
.yz-body li { margin: .35em 0; }
.yz-body li::marker { color: var(--sage); }
.yz-body h2 { margin: 1.7em 0 .5em; font-size: 1.4rem; line-height: 1.25; letter-spacing: -.01em; }
.yz-sources { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(222, 227, 196, .18); }
.yz-sources h2, .yz-related h2 { margin: 0; font-size: 1.1rem; letter-spacing: -.01em; }
.yz-sources ol { margin: 12px 0 0; padding-left: 1.4em; font-size: 15px; line-height: 1.5; color: var(--on-forest-2); }
.yz-sources li { margin: .5em 0; }
.yz-sources a { overflow-wrap: anywhere; }
.yz-health {
  margin: 28px 0 0; padding: 16px 18px; border-radius: 16px; font-size: 14px; line-height: 1.55; color: var(--on-forest-2);
  background: rgba(0, 0, 0, .16); border: 1px solid rgba(222, 227, 196, .18);
}
.yz-byline { margin: 16px 0 0; font-size: 13px; color: rgba(209, 224, 201, .7); }
.yz-app {
  margin: 48px 0 0; padding: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px;
  border-radius: 24px; background: rgba(222, 227, 196, .08); border: 1px solid rgba(222, 227, 196, .18);
}
.yz-app > img { width: 56px; height: 56px; border-radius: 13px; }
.yz-app div { flex: 1 1 16rem; }
.yz-app b { display: block; font-size: 17px; line-height: 1.3; }
.yz-app p { margin: 4px 0 0; font-size: 15px; line-height: 1.45; color: var(--on-forest-2); }
.yz-related { margin-top: 48px; }
.yz-cards { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.yz-card a {
  height: 100%; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; border-radius: 20px;
  background: rgba(0, 0, 0, .14); border: 1px solid rgba(222, 227, 196, .14); transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.yz-card a:hover { transform: translateY(-2px); border-color: rgba(222, 227, 196, .4); }
.yz-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--forest-deep); }
.yz-card span { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; }
.yz-card small { font-size: 12px; font-weight: 600; color: rgba(209, 224, 201, .7); }
.yz-card h2, .yz-card h3 { margin: 0; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.yz-card em { font-size: 14px; font-style: normal; line-height: 1.45; color: var(--on-forest-2); }
.yz main:has(.yz-list) { max-width: 1180px; }
.yz-list .yz-lede { max-width: 40em; }
.yz-list .yz-cards { margin-top: 32px; }

/* tablet ve telefon */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 56px; padding: 56px 24px 48px; }
  .pitch { text-align: center; }
  .app-icon { margin: 0 auto; }
  .lede { margin-inline: auto; }
  .store { justify-content: center; }
  footer { padding: 8px 24px 32px; }
}
@media (max-width: 420px) {
  body { font-size: 17px; }
  .hero { padding: 48px 16px 40px; }
  footer { padding-left: 16px; padding-right: 16px; }
  .segmented button { padding: 0 18px; }
  .phone { transform: scale(.94); transform-origin: top center; margin-bottom: -43px; }
  .yz main, .yz-top { padding-left: 16px; padding-right: 16px; }
  .yz-cover { border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
