/* Kepçe — getkepce.com
   Palet uygulamadaki tokens.ts ile aynı: zeytin ana renk, ayran zemin,
   sumak yalnızca içe aktarma anı ve Premium'da, çay zamanlayıcıda. */

@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage-600.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: #F4F5F0;
  --surface: #FFFFFF;
  --surface-alt: #E9EBE2;
  --ink: #1B2018;
  --ink-muted: #5E6457;
  --line: #DADDD2;
  --primary: #3D4A1F;
  --on-primary: #F4F5F0;
  --primary-soft: #E3E8D2;
  --accent: #9E2B3A;
  --accent-soft: #F3E1E1;
  --tea: #A8650F;
  --pot: #3D4A1F;
  --on-pot: #F4F5F0;
  --on-pot-muted: #CDD4BC;
  --pot-numeral: #C2CF8A;
  --bezel: #1B2018;
  --shadow: 27 32 24;

  --font: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --pot-overlap: clamp(36px, 5vw, 80px);
  --dome: clamp(48px, 7vw, 120px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11140F;
    --surface: #1A1E17;
    --surface-alt: #252A21;
    --ink: #ECEFE5;
    --ink-muted: #A6AC9C;
    --line: #2E3429;
    --primary: #C2CF8A;
    --on-primary: #1B2018;
    --primary-soft: #2C3420;
    --accent: #E6828A;
    --accent-soft: #3A1E22;
    --tea: #E2A54A;
    --pot: #263019;
    --on-pot: #ECEFE5;
    --on-pot-muted: #B4BBA6;
    --pot-numeral: #C2CF8A;
    --bezel: #050604;
    --shadow: 0 0 0;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--primary); color: var(--on-primary);
  padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Üst bar ---------- */
.site-header { position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; color: var(--primary); text-decoration: none; }
.logo svg { height: 34px; width: auto; aspect-ratio: 1074 / 358; fill: currentColor; }
@media (prefers-color-scheme: dark) { .logo { color: var(--ink); } }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-weight: 500; font-size: 0.97rem; text-decoration: none; color: var(--ink-muted);
}
.site-nav a:hover { color: var(--ink); background: var(--surface-alt); }
@media (max-width: 760px) { .site-nav { display: none; } .site-header .wrap { min-height: 64px; } .logo svg { height: 30px; } }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--primary); color: var(--on-primary);
  font: 600 1.04rem/1 var(--font); text-decoration: none; letter-spacing: -0.005em;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: color-mix(in oklab, var(--primary) 86%, var(--ink)); }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; }

.soon {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 6px 20px 6px 14px; border-radius: 14px;
  border: 1.5px solid var(--line); color: var(--ink);
  font-size: 0.86rem; line-height: 1.2;
}
.soon svg { width: 22px; height: 22px; flex: none; color: var(--primary); }
.soon small { display: block; color: var(--ink-muted); font-size: 0.8rem; }
.soon strong { font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 1; padding-top: clamp(16px, 4vw, 48px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center; gap: clamp(24px, 4vw, 64px);
}
.hero-copy { padding-bottom: calc(var(--pot-overlap) + var(--dome) + clamp(28px, 3vw, 48px)); }
.hero h1 {
  font-size: clamp(3rem, 1.5rem + 4.6vw, 5.6rem);
  line-height: .93; letter-spacing: -0.05em;
  color: var(--primary);
  max-width: 9.5em;
}
@media (prefers-color-scheme: dark) { .hero h1 { color: var(--ink); } }
.lead { margin-top: clamp(20px, 2.4vw, 32px); max-width: 33em; font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); line-height: 1.5; color: var(--ink-muted); }
.lead strong { color: var(--ink); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: clamp(28px, 3vw, 40px); }

.hero-stage { position: relative; display: flex; justify-content: center; align-self: end; padding-bottom: clamp(0px, 1.5vw, 24px); }

/* Telefon */
.phone {
  --w: clamp(248px, 23vw, 318px);
  position: relative; width: var(--w);
  padding: calc(var(--w) * .034);
  border-radius: calc(var(--w) * .165);
  background: var(--bezel);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / .06) inset,
    0 50px 90px -40px rgb(var(--shadow) / .55),
    0 18px 30px -18px rgb(var(--shadow) / .35);
  transform: rotate(-5deg) translateY(var(--lift, -12px));
  transform-origin: 50% 55%;
  transition: transform 1.1s cubic-bezier(.2, .8, .2, 1);
}
.phone.is-playing { --lift: 40px; }
.screen {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 506 / 1100;
  border-radius: calc(var(--w) * .135);
  background: #F4F5F0; color: #1B2018;
  container-type: inline-size;
}
.island {
  position: absolute; z-index: 9; top: 2.2%; left: 50%; translate: -50% 0;
  width: 31%; height: 3.2%; border-radius: 99px; background: #050604;
}
.scr { position: absolute; inset: 0; }
.scr-recipe { width: 100%; height: 100%; object-fit: cover; z-index: 4; transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .4s ease; }

/* 1. Video */
.scr-video { background: #0d0f0b; color: #fff; z-index: 1; padding-top: 30%; }
.player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.player img { width: 100%; height: 100%; object-fit: cover; }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1.2cqi; background: rgb(255 255 255 / .25); }
.progress i { display: block; height: 100%; width: 62%; background: #fff; }
.is-playing .progress i { animation: progress 2.4s linear both; }
@keyframes progress { from { width: 4%; } to { width: 34%; } }
.vid-meta { padding: 5cqi 5cqi 0; }
.vid-meta b { display: block; font-size: 5.4cqi; line-height: 1.2; font-weight: 600; }
.vid-meta span { display: block; margin-top: 1.6cqi; font-size: 3.8cqi; color: rgb(255 255 255 / .6); }
.vid-actions { display: flex; gap: 3cqi; padding: 5cqi; }
.vid-actions span {
  display: inline-flex; align-items: center; gap: 1.6cqi;
  padding: 2.2cqi 3.6cqi; border-radius: 99px; background: rgb(255 255 255 / .12);
  font-size: 3.6cqi; font-weight: 500;
}
.vid-actions svg { width: 4.4cqi; height: 4.4cqi; }
.vid-actions .share { background: rgb(255 255 255 / .22); }

/* 2. Paylaşım sayfası */
.sheet {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 76%;
  background: #F4F5F0; border-radius: 7cqi 7cqi 0 0;
  padding: 3cqi 5cqi 0;
  transform: translateY(105%);
  transition: transform .5s cubic-bezier(.2, .9, .25, 1);
  box-shadow: 0 -10px 30px rgb(0 0 0 / .25);
}
.sheet::before { content: ""; display: block; width: 10cqi; height: 1.2cqi; border-radius: 99px; background: #C9CCC1; margin: 0 auto 4cqi; }
.sheet-head { display: flex; align-items: center; gap: 3cqi; padding-bottom: 4cqi; border-bottom: 1px solid #DADDD2; }
.sheet-head img { width: 15cqi; height: 15cqi; border-radius: 2.6cqi; object-fit: cover; }
.sheet-head b { display: block; font-size: 4cqi; font-weight: 600; line-height: 1.2; }
.sheet-head span { font-size: 3.3cqi; color: #5E6457; }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3cqi; padding: 5cqi 0 4cqi; text-align: center; }
.app i { display: block; aspect-ratio: 1; border-radius: 4.4cqi; background: #E3E5DC; }
.app em { display: block; height: 1.6cqi; width: 70%; margin: 2.4cqi auto 0; border-radius: 99px; background: #DADDD2; }
.app.kepce img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 4.4cqi; box-shadow: 0 0 0 1px #DADDD2; transition: transform .25s ease, box-shadow .25s ease; }
.app.kepce span { display: block; margin-top: 1.4cqi; font-size: 3.1cqi; font-weight: 600; white-space: nowrap; }
.sheet-rows div { height: 10cqi; border-radius: 3cqi; background: #fff; margin-bottom: 2.4cqi; }

/* 3. İçe aktarma */
.scr-import { z-index: 3; background: #F4F5F0; opacity: 0; transition: opacity .35s ease; padding: 13% 6cqi 0; }
.import-top { position: relative; display: flex; align-items: center; justify-content: center; height: 9cqi; font-size: 3.4cqi; font-weight: 500; color: #5E6457; }
.import-top i { position: absolute; left: 0; width: 8cqi; height: 8cqi; border-radius: 50%; background: #E9EBE2; }
.import-top i::before, .import-top i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3.4cqi; height: .55cqi; background: #1B2018; border-radius: 1px; translate: -50% -50%; rotate: 45deg; }
.import-top i::after { rotate: -45deg; }
.stages { list-style: none; margin: 46% 0 0; padding: 0; }
.stages li {
  display: flex; align-items: center; gap: 3.2cqi;
  font-size: 5.6cqi; font-weight: 700; letter-spacing: -0.02em; line-height: 1.55;
  color: #C5C8BE; transition: color .3s ease;
}
.stages li::before {
  content: ""; flex: none; width: 4.6cqi; height: 4.6cqi; border-radius: 50%;
  background: #E3E5DC; transition: background-color .3s ease;
}
.stages li.active { color: #1B2018; }
.stages li.active::before { background: #9E2B3A; animation: pulse 1s ease-in-out infinite; }
.stages li.done { color: #1B2018; }
.stages li.done::before {
  background: #3D4A1F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%23F4F5F0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
@keyframes pulse { 50% { transform: scale(.78); } }
.import-note { margin-top: 6cqi; font-size: 3.3cqi; line-height: 1.45; color: #5E6457; }

/* Zaman çizelgesi durumları (hero.js data-step yazar). JS yoksa son kare görünür. */
.phone[data-step] .scr-recipe { transform: translateY(102%); }
.phone[data-step="1"] .sheet,
.phone[data-step="2"] .sheet,
.phone[data-step="3"] .sheet,
.phone[data-step="4"] .sheet,
.phone[data-step="5"] .sheet,
.phone[data-step="6"] .sheet,
.phone[data-step="7"] .sheet,
.phone[data-step="8"] .sheet { transform: none; }
.phone[data-step="2"] .app.kepce img { transform: scale(.88); box-shadow: 0 0 0 1.2cqi rgb(158 43 58 / .35); }
.phone[data-step="3"] .scr-import,
.phone[data-step="4"] .scr-import,
.phone[data-step="5"] .scr-import,
.phone[data-step="6"] .scr-import,
.phone[data-step="7"] .scr-import { opacity: 1; }
.phone[data-step="8"] .scr-import { opacity: 1; }
.phone[data-step="8"] .scr-recipe { transform: none; }

.replay {
  position: absolute; z-index: 3; left: 0; top: 14%;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink);
  font: 500 .92rem/1 var(--font); cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.replay svg { width: 18px; height: 18px; }
.replay:hover { background: var(--surface-alt); }
.replay.is-visible { opacity: 1; visibility: visible; }

/* ---------- Tencere: nasıl çalışır ---------- */
.pot {
  position: relative; z-index: 2;
  background: var(--pot); color: var(--on-pot);
  margin-top: calc(-1 * var(--pot-overlap));
  padding: clamp(20px, 2.5vw, 36px) 0 clamp(96px, 12vw, 170px);
  border-radius: 0 0 50% 50% / 0 0 clamp(60px, 11vw, 190px) clamp(60px, 11vw, 190px);
}
.pot::before {
  /* Tencerenin ağzı: logodaki gibi hafif kubbe */
  content: ""; position: absolute; z-index: -1; left: 50%; top: 0;
  width: 136vw; height: calc(2 * var(--dome));
  translate: -50% -50%; border-radius: 50%; background: var(--pot);
}
.pot h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.9rem); max-width: 12em; }
.pot .section-intro { color: var(--on-pot-muted); }
.steps {
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px);
  counter-reset: step;
}
.steps li { counter-increment: step; border-top: 1.5px solid rgb(244 245 240 / .22); padding-top: 20px; }
.steps li::before {
  content: counter(step); display: block;
  font-size: clamp(4rem, 3rem + 3vw, 6.5rem); font-weight: 800; line-height: .9; letter-spacing: -0.06em;
  color: var(--pot-numeral); margin-bottom: 18px;
}
.steps h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); letter-spacing: -0.025em; }
.steps p { margin-top: 10px; color: var(--on-pot-muted); max-width: 30ch; }

/* ---------- Bölümler ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0 0; }
.section-head { display: grid; gap: 16px; max-width: 46rem; }
.section h2 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); }
.section-intro { font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); color: var(--ink-muted); max-width: 36em; margin-top: 18px; }
.section-head .section-intro { margin-top: 0; }

/* Özellikler: ekran rafı */
.shelf {
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px);
}
.shelf li:nth-child(even) { margin-top: clamp(0px, 4vw, 56px); }
.shot {
  border-radius: 22px; overflow: hidden; background: var(--surface-alt);
  box-shadow: 0 0 0 1px var(--line), 0 30px 50px -36px rgb(var(--shadow) / .5);
}
.shot img { width: 100%; height: auto; aspect-ratio: 506 / 892; }
.shelf h3 { margin-top: 22px; font-size: 1.3rem; letter-spacing: -0.02em; }
.shelf p { margin-top: 8px; color: var(--ink-muted); font-size: 1rem; }

.extras {
  margin: clamp(56px, 7vw, 96px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(24px, 3vw, 48px);
  border-top: 1.5px solid var(--line); padding-top: 28px;
}
.extras dt { font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; }
.extras dd { margin: 6px 0 0; color: var(--ink-muted); font-size: 1rem; }

/* Fiyat */
.plans {
  margin-top: clamp(40px, 5vw, 56px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}
.plan { border-radius: var(--radius-lg); padding: clamp(28px, 3.2vw, 44px); }
.plan-free { border: 1.5px solid var(--line); }
.plan-premium { background: var(--primary); color: var(--on-primary); position: relative; }
@media (prefers-color-scheme: dark) { .plan-premium { background: var(--pot); color: var(--on-pot); box-shadow: 0 0 0 1.5px #3A4528 inset; } }
.plan h3 { font-size: 1.5rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--accent); color: #FFF5F4;
  font-size: .8rem; font-weight: 600; letter-spacing: 0; line-height: 1.2;
}
@media (prefers-color-scheme: dark) { .tag { background: #9E2B3A; } }
.price { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.price b { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { font-size: 1rem; opacity: .8; }
.price-alt { margin-top: 10px; font-size: 1.02rem; }
.price-alt b { font-weight: 600; }
.plan ul { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1.5px solid currentColor; border-color: color-mix(in oklab, currentColor 18%, transparent); display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; }
.plan li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }
.plan-free li svg { color: var(--primary); }
.plan-note { margin-top: 24px; font-size: .92rem; opacity: .8; }

/* SSS */
.faq { margin-top: clamp(32px, 4vw, 48px); max-width: 52rem; border-top: 1.5px solid var(--line); }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 56px 22px 0; font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); font-weight: 600; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%; background: var(--surface-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%235E6457' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: rotate .25s ease;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:focus-visible { outline-offset: -3px; }
.faq details p { padding: 0 56px 24px 0; color: var(--ink-muted); max-width: 40em; }

/* Haber ver bandı */
.notify { margin-top: clamp(80px, 10vw, 140px); }
.notify-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 5vw, 64px); border-top: 1.5px solid var(--line); }
.notify h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); max-width: 16em; }

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--surface-alt); margin-top: 0; }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; padding-block: 48px 40px; }
.site-footer .logo svg { height: 30px; }
.footer-tag { margin-top: 14px; color: var(--ink-muted); max-width: 26em; font-size: .98rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; align-content: start; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 6px 0; display: inline-block; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1.5px solid var(--line); color: var(--ink-muted); font-size: .9rem; }

/* ---------- Hukuk sayfaları ---------- */
.legal { max-width: calc(68ch + 2 * var(--gutter)); margin-inline: auto; padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(72px, 9vw, 120px); font-size: 1.06rem; line-height: 1.65; }
.legal h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); color: var(--primary); }
@media (prefers-color-scheme: dark) { .legal h1 { color: var(--ink); } }
.legal .updated { margin-top: 14px; color: var(--ink-muted); font-size: .95rem; }
.legal .legal-body { margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(28px, 3vw, 40px); border-top: 1.5px solid var(--line); }
.legal h2 { font-size: 1.6rem; letter-spacing: -0.025em; margin: 2.4em 0 .6em; line-height: 1.15; }
.legal h3 { font-size: 1.22rem; letter-spacing: -0.015em; margin: 1.8em 0 .5em; line-height: 1.25; font-weight: 700; }
.legal-body > :first-child { margin-top: 0; }
.legal p, .legal ul, .legal ol, .legal table, .legal blockquote { margin: 0 0 1.1em; }
.legal ul, .legal ol { padding-left: 1.4em; }
.legal li { margin-bottom: .45em; padding-left: .2em; }
.legal li::marker { color: var(--primary); }
.legal strong { font-weight: 600; }
.legal a { color: var(--primary); }
@media (prefers-color-scheme: dark) { .legal a { color: var(--primary); } }
.legal hr { border: 0; border-top: 1.5px solid var(--line); margin: 2.4em 0; }
.legal blockquote { padding: 14px 20px; border-left: 3px solid var(--primary); background: var(--surface-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.legal .table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 600; border-bottom-width: 1.5px; border-color: var(--ink-muted); }
.legal code { font-size: .92em; background: var(--surface-alt); padding: .1em .35em; border-radius: 5px; }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-content: center; gap: 20px; padding-block: 64px 96px; }
.notfound h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); color: var(--primary); max-width: 12em; }
@media (prefers-color-scheme: dark) { .notfound h1 { color: var(--ink); } }
.notfound p { color: var(--ink-muted); font-size: 1.15rem; max-width: 32em; }
.notfound .btn { justify-self: start; margin-top: 8px; }

/* ---------- Dar ekranlar ---------- */
@media (max-width: 900px) {
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shelf li:nth-child(even) { margin-top: 0; }
  .extras { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-stage { margin-top: 24px; margin-bottom: -44px; }
  .phone { --w: min(68vw, 280px); }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: start; }
  .steps li::before { grid-row: span 2; margin: 0; font-size: 4rem; min-width: .8em; }
  .plans { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .shelf {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px;
    scrollbar-width: none;
  }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf li { flex: 0 0 74%; scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .replay { left: auto; right: 0; top: auto; bottom: 34%; }
  .cta .btn { flex: 1 1 100%; }
  .soon { flex: 1 1 100%; }
  .faq summary { padding-right: 48px; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 640px) {
  .legal table { display: block; overflow-x: auto; }
}

/* ---------- Davet ve paylaşılan tarif (/d, /t; site-worker üretir) ---------- */
.share-page { max-width: calc(40rem + 2 * var(--gutter)); padding-block: clamp(32px, 6vw, 72px) clamp(72px, 9vw, 120px); }
.share-page h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); line-height: .98; letter-spacing: -0.04em; color: var(--primary); }
@media (prefers-color-scheme: dark) { .share-page h1 { color: var(--ink); } }
.share-page .cta { margin-top: 28px; }
.btn-soft { background: var(--primary-soft); color: var(--primary); border: 0; cursor: pointer; }
.btn-soft:hover { background: color-mix(in oklab, var(--primary-soft) 80%, var(--primary)); }
.share-note { margin-top: 20px; color: var(--ink-muted); font-size: .95rem; line-height: 1.55; }
.share-note strong { color: var(--ink); letter-spacing: .08em; }
.invite-code {
  display: inline-grid; gap: 4px; margin-top: 28px; padding: 16px 24px;
  border: 1.5px solid var(--line); border-radius: var(--radius-md); background: var(--surface);
}
.invite-code small { color: var(--ink-muted); font-size: .85rem; }
.invite-code strong { font-size: clamp(2rem, 1.6rem + 2vw, 2.8rem); font-weight: 800; letter-spacing: .14em; color: var(--primary); }
.shared-recipe { overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); border: 1.5px solid var(--line); }
.shared-cover { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-alt); }
.shared-body { display: grid; gap: 10px; padding: clamp(20px, 3vw, 28px); }
.shared-recipe h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.8rem); }
.shared-facts { font-weight: 700; color: var(--primary); }
.shared-ing { color: var(--ink-muted); line-height: 1.5; }
.shared-source { font-size: .92rem; color: var(--ink-muted); }
.shared-source a { color: var(--ink); }
.share-cta-title { margin-top: clamp(32px, 4vw, 48px); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.03em; line-height: 1.1; }
