/* PATIVONA tanıtım sayfası — marka jetonları design/tokens.json ile aynı değerler. */
@font-face { font-family: 'Nunito'; src: url('/fonts/Nunito-latin-ext.woff2') format('woff2'); font-weight: 400 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; src: url('/fonts/Nunito-latin.woff2') format('woff2'); font-weight: 400 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --green: #07523e; --green-hover: #0a6a50; --ink: #14382f; --muted: #56625a;
  --sage: #edf2e7; --sage-strong: #dfe8d6; --page: #fcfaf6; --card: #fffefa;
  --orange: #f49059; --orange-ink: #8a4618; --orange-tint: #fdeadb;
  --night: #0b3a2e; --night-text: #e3ece5; --night-muted: #a9c4b6;
  --ground: var(--page); --fg: var(--ink); --fg-muted: var(--muted);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: 'Nunito', ui-rounded, system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.6;
  color: var(--fg); background: var(--ground); transition: background-color .7s var(--ease), color .7s var(--ease);
  -webkit-font-smoothing: antialiased;
}
body[data-tone="night"] { --fg: var(--night-text); --fg-muted: var(--night-muted); }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--green) transparent; }
input { caret-color: var(--green); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

/* Üst şerit */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.4) blur(10px); background: color-mix(in srgb, var(--ground) 82%, transparent); transition: background-color .7s var(--ease); }
.top .wrap { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .35rem; font-weight: 900; font-size: 1.6rem; letter-spacing: -.03em; color: var(--green); text-decoration: none; }
body[data-tone="night"] .logo { color: var(--night-text); }
.logo svg { width: 1.45rem; height: 1.45rem; color: var(--orange); fill: var(--orange); stroke: none; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; font-weight: 700; font-size: .98rem; }
.top nav a:not(.pill) { text-decoration: none; color: var(--fg-muted); }
.top nav a:not(.pill):hover { color: var(--fg); }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.25rem; border-radius: 999px; background: var(--green); color: #fffefa; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 800;
  transition: background-color .2s var(--ease), transform .2s var(--ease); }
.pill:hover { background: var(--green-hover); }
.pill:active { transform: translateY(1px); }
.pill svg { width: 1.1rem; height: 1.1rem; }

/* Açılış */
.hero { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 7vw, 6rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.75rem); line-height: 1.02; font-weight: 900; letter-spacing: -.035em; margin: 0 0 1.4rem; text-wrap: balance; color: var(--ink); }
h1 em { font-style: normal; color: var(--green); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--muted); max-width: 34ch; margin: 0 0 2rem; }
.lead strong { color: var(--ink); }

/* Form */
.join { display: flex; gap: .5rem; max-width: 30rem; padding: .4rem; background: var(--card); border-radius: 999px; box-shadow: 0 1px 2px rgba(20,56,47,.06), 0 10px 28px rgba(20,56,47,.10); }
.join input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.02rem; padding: .7rem 1rem; color: var(--ink); border-radius: 999px; }
.join input::placeholder { color: #6b766e; }
.join input:focus-visible { outline: none; }
.join:focus-within { box-shadow: 0 0 0 3px var(--green), 0 10px 28px rgba(20,56,47,.12); }
.join .pill[disabled] { opacity: .6; cursor: progress; }
.form-note { font-size: .92rem; color: var(--muted); margin: .9rem 0 0; max-width: 30rem; }
.form-msg { margin: .9rem 0 0; font-weight: 700; }
.form-msg:not([data-state]) { display: none; }
.form-msg[data-state="ok"] { color: var(--green); }
.form-msg[data-state="error"] { color: #b23b33; }
.stores { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.store { display: inline-flex; align-items: baseline; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; background: var(--sage); font-weight: 800; font-size: .92rem; color: var(--green); }
.store span { font-weight: 700; color: var(--muted); font-size: .82rem; }

/* Telefon */
.phone { position: relative; width: min(330px, 100%); margin-inline: auto; border-radius: 46px; background: var(--ink); padding: 11px;
  box-shadow: 0 2px 4px rgba(20,56,47,.10), 0 28px 60px -12px rgba(20,56,47,.35); transition: box-shadow .7s var(--ease); }
body[data-tone="night"] .phone { box-shadow: 0 0 0 1px rgba(227,236,229,.22), 0 28px 60px -12px rgba(0,0,0,.5); }
.phone .screen { position: relative; width: 100%; aspect-ratio: 600 / 1298; border-radius: 36px; overflow: hidden; background: var(--page); }
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.02); transition: opacity .55s var(--ease), transform .7s var(--ease); }
.phone .screen img.on { opacity: 1; transform: none; }
.clock { position: absolute; z-index: 2; top: -3.1rem; left: .4rem; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem .45rem .7rem; border-radius: 999px;
  background: var(--orange); color: var(--ink); font-weight: 900; font-variant-numeric: tabular-nums; font-size: .95rem; box-shadow: 0 6px 16px -4px rgba(138,70,24,.45); }
.clock svg { width: 1rem; height: 1rem; fill: var(--ink); stroke: none; }

/* Gün */
.day { position: relative; padding: clamp(2rem, 6vw, 4rem) 0 0; }
.day .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
.day-intro { grid-column: 1 / -1; max-width: 38rem; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.06; font-weight: 900; letter-spacing: -.03em; margin: 0 0 1rem; text-wrap: balance; color: var(--fg); }
.day-intro p { color: var(--fg-muted); font-size: 1.15rem; margin: 0; max-width: 40ch; }
.chapters { position: relative; padding-left: 2.2rem; }
.rail { position: absolute; left: .55rem; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: color-mix(in srgb, var(--fg) 14%, transparent); }
.rail i { position: absolute; inset: 0 0 auto; height: var(--progress, 0%); border-radius: 3px; background: var(--orange); transition: height .2s linear; }
.chapter { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; padding: 3rem 0; position: relative; }
.chapter::before { content: ""; position: absolute; left: -2.2rem; top: calc(50% - 1.6rem); width: 1.15rem; height: 1.15rem; border-radius: 50%; translate: 1px 0;
  background: var(--ground); border: 3px solid color-mix(in srgb, var(--fg) 25%, transparent); transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.chapter.on::before { border-color: var(--orange); background: var(--orange); }
.time { display: inline-flex; align-self: flex-start; align-items: center; gap: .4rem; font-weight: 900; font-variant-numeric: tabular-nums; font-size: 1rem;
  padding: .3rem .8rem; border-radius: 999px; background: var(--orange); color: var(--ink); margin-bottom: 1.1rem; }
.chapter h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.1; font-weight: 900; letter-spacing: -.025em; margin: 0 0 .9rem; text-wrap: balance; }
.chapter p { margin: 0 0 1.1rem; color: var(--fg-muted); max-width: 44ch; font-size: 1.1rem; }
.chapter ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; max-width: 44ch; }
.chapter li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 600; }
.chapter li svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .2rem; color: var(--green); }
body[data-tone="night"] .chapter li svg { color: var(--orange); }
.tag { display: inline-block; padding: .05rem .55rem; border-radius: 999px; font-size: .88rem; font-weight: 800; white-space: nowrap; }
.tag.founder { background: var(--green); color: #fffefa; }
.tag.carer { background: var(--orange-tint); color: var(--orange-ink); }
.tag.stray { background: #e3eddc; color: #0b4a37; }
.stage { position: relative; }
.stage-inner { position: sticky; top: calc(50vh - min(330px, 38vw) * 2532 / 1170 / 2 + 34px); padding-top: 4rem; }
.chapter .inline-phone { display: none; }

/* Güven */
.trust { padding: clamp(4rem, 9vw, 7rem) 0; }
.trust .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.trust p.sub { color: var(--fg-muted); font-size: 1.12rem; max-width: 32ch; margin: 0; }
.promises { list-style: none; margin: 0; padding: 0; }
.promises li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; padding: 1.35rem 0; border-top: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); }
.promises li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); }
.promises svg { width: 1.6rem; height: 1.6rem; color: var(--orange); margin-top: .15rem; }
.promises strong { display: block; font-size: 1.2rem; font-weight: 900; letter-spacing: -.01em; margin-bottom: .2rem; }
.promises span { color: var(--fg-muted); }

/* Kapanış */
.close { background: var(--orange); color: var(--ink); padding: clamp(4rem, 9vw, 7rem) 0; }
.close .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; }
.close h2 { color: var(--ink); font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
.close h2 + p { margin: 0; font-size: 1.15rem; max-width: 36ch; }
.close .join { box-shadow: 0 10px 28px -8px rgba(138,70,24,.45); }
.close .form-note { color: var(--ink); }
.close .form-msg[data-state="ok"] { color: var(--ink); }
footer { background: var(--night); color: var(--night-text); padding: 2.2rem 0; font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
footer .logo { color: var(--night-text); font-size: 1.3rem; }
footer p { margin: 0; color: var(--night-muted); }
footer p:last-child { margin-left: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Dar ekran: sabit telefon yerine her bölümün kendi ekranı */
@media (max-width: 900px) {
  .hero .wrap, .trust .wrap, .close .wrap { grid-template-columns: 1fr; }
  .hero .phone { width: min(290px, 78vw); }
  .clock { left: 0; }
  .hero .phone { margin-top: 3.4rem; }
  .top nav a:not(.pill) { display: none; }
  .day .wrap { grid-template-columns: 1fr; }
  .stage { display: none; }
  .chapter { min-height: 0; padding: 2.5rem 0; }
  .chapter::before { top: 3.2rem; }
  .chapter .inline-phone { display: block; width: min(260px, 72vw); margin: 1.6rem 0 0; }
  .chapter .inline-phone .screen img { opacity: 1; transform: none; }
    footer p:last-child { margin-left: 0; }
}
@media (max-width: 520px) {
  .join { flex-direction: column; border-radius: 22px; }
  .join .pill { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body, .top, .phone .screen img, .chapter::before, .rail i { transition: none !important; }
}
.close-form { margin-top: 2rem; }

/* İnceleme düzeltmeleri */
.next { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.8rem; font-weight: 800; color: var(--green); text-decoration: none; }
.next svg { width: 1.1rem; height: 1.1rem; transform: rotate(90deg); transition: transform .3s var(--ease); }
.next:hover svg { transform: rotate(90deg) translateX(3px); }
.form-note a { color: inherit; font-weight: 700; }
.close :focus-visible { outline-color: var(--ink); }
.close .join:focus-within { box-shadow: 0 0 0 3px var(--ink), 0 10px 28px -8px rgba(138,70,24,.45); }
.close .form-msg[data-state="error"] { color: var(--ink); }
.close ::selection { background: var(--ink); color: var(--orange); }
.close .close-phone { width: min(300px, 100%); }
.close .close-phone, .trust-phone { box-shadow: 0 2px 4px rgba(20,56,47,.12), 0 28px 60px -12px rgba(20,56,47,.4); }
.trust-side { position: sticky; top: 6rem; }
.trust-phone { width: min(260px, 100%); margin: 2rem 0 0; }
body[data-tone="night"] .top .pill { background: var(--orange); color: var(--ink); }
body[data-tone="night"] { scrollbar-color: var(--night-muted) transparent; }
body[data-tone="night"] :focus-visible { outline-color: var(--orange); }
body[data-ground="orange"] .top nav a:not(.pill) { color: var(--ink); }
body[data-ground="orange"] .top .logo svg { fill: #fffefa; color: #fffefa; }
footer a { color: var(--night-text); }
footer .logo svg { fill: var(--orange); }
@media (max-width: 900px) {
  .trust-side { position: static; }
  .close .close-phone { width: min(260px, 72vw); margin-inline: 0; }
}

/* Logo görselleri (sahneye göre) */
.logo img { height: 30px; width: auto; }
.logo .logo-night, .logo .logo-orange { display: none; }
body[data-tone="night"] .top .logo .logo-day { display: none; }
body[data-tone="night"] .top .logo .logo-night { display: block; }
body[data-ground="orange"] .top .logo .logo-day { display: none; }
body[data-ground="orange"] .top .logo .logo-orange { display: block; }
footer .logo img { height: 26px; }

/* Sık sorulan sorular */
.faq { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--page); }
.faq .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq h2 { color: var(--ink); position: sticky; top: 6rem; }
.faq-list { border-top: 1px solid #dfe2d7; }
.faq details { border-bottom: 1px solid #dfe2d7; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0;
  font-weight: 800; font-size: 1.18rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 1.3rem; height: 1.3rem; color: var(--green); transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] summary .chev { transform: rotate(-90deg); }
.faq summary:hover span { color: var(--green); }
.faq details p { margin: 0 0 1.4rem; color: var(--muted); max-width: 62ch; }
@media (max-width: 900px) {
  .faq .wrap { grid-template-columns: 1fr; }
  .faq h2 { position: static; }
}
