/* Kahveyo tanıtım sitesi — marka renkleri uygulama teması ile aynı (mobile/src/theme.ts) */
@font-face { font-family: Nunito; src: url(/fonts/Nunito-400.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Nunito; src: url(/fonts/Nunito-700.ttf) format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Nunito; src: url(/fonts/Nunito-800.ttf) format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --espresso: #2B1D14; --roast: #4A3122; --coffee: #6F4E37; --caramel: #C69C6D;
  --latte: #EADBC8; --foam: #F6EFE6; --cream: #FBF7F2; --muted: #7D6B5D; --border: #E8DDD0;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Nunito, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--espresso); background: var(--cream); line-height: 1.6; font-size: 17px; }
a { color: var(--coffee); font-weight: 700; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--caramel); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
.wrap { width: min(1100px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.small { font-size: 14px; color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: #fff; padding: 8px 14px; border-radius: 10px; z-index: 10; }

/* Üst menü */
.top { position: sticky; top: 0; z-index: 5; background: rgba(251, 247, 242, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--espresso); text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.3px; }
.brand svg { width: 38px; height: 38px; }
.brand.light { color: var(--cream); }
nav { display: flex; gap: 22px; flex-wrap: wrap; }
nav a { color: var(--roast); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--coffee); text-decoration: underline; }

/* Hero */
.hero { padding: 72px 0 80px; background: radial-gradient(1200px 500px at 80% 0%, var(--foam), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; font-weight: 800; color: var(--coffee); margin: 0 0 12px; }
h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 800; letter-spacing: -1.5px; }
.lead { font-size: 19px; color: var(--roast); max-width: 38em; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.store { display: inline-block; padding: 12px 20px; border-radius: 999px; background: var(--espresso); color: var(--cream); font-weight: 700; font-size: 15px; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; background: var(--espresso); color: var(--cream); text-decoration: none; font-size: 17px; }
.btn:hover { background: var(--roast); }

/* Hero görseli: uygulamadaki kahve kartının sade bir benzeri */
.phone { position: relative; background: var(--espresso); border-radius: 40px; padding: 28px 20px 90px; box-shadow: 0 30px 60px -20px rgba(43, 29, 20, .45); max-width: 360px; justify-self: center; width: 100%; }
.stamp-card { background: var(--coffee); color: #fff; border-radius: var(--radius); padding: 18px; }
.sc-head { display: flex; align-items: center; gap: 12px; }
.sc-head small { display: block; opacity: .85; font-size: 13px; }
.sc-logo { width: 42px; height: 42px; border-radius: 21px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; font-weight: 800; }
.sc-count { margin-left: auto; font-weight: 800; font-size: 22px; }
.dots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
.dots i { aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .45); }
.dots i.on { background: var(--cream); border: 0; }
.toast { position: absolute; left: 20px; right: 20px; bottom: 24px; background: var(--cream); color: var(--espresso); border-radius: 14px; padding: 12px 16px; font-weight: 700; font-size: 15px; }

/* Bölümler */
.sec { padding: 80px 0; }
.sec.alt { background: var(--foam); }
.sec.dark { background: var(--espresso); color: var(--cream); }
.sec.dark .lead { color: var(--latte); }
.sec.dark .eyebrow { color: var(--caramel); }
.sec.dark a { color: var(--caramel); }
.h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -.8px; margin-bottom: 28px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px; }
.card, .tile { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.sec.dark .tile { background: var(--roast); border-color: transparent; }
.sec.dark .tile p { color: var(--latte); }
.card h3, .tile h3 { font-size: 20px; font-weight: 800; }
.card p, .tile p { margin: 0; color: var(--muted); }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 18px; background: var(--caramel); color: var(--espresso); font-weight: 800; margin-bottom: 14px; }
.cta-line { margin-top: 32px; color: var(--latte); }

details { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 4px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: outside; }
details p { margin: 0 0 16px; color: var(--roast); }

/* Yasal metinler */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -1px; }
.doc section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; margin-top: 18px; }
.doc h2 { font-size: 20px; font-weight: 800; }
.doc p, .doc li { color: var(--roast); }
.doc ul { padding-left: 22px; margin: 0; }
.doc li + li { margin-top: 6px; }

/* Alt bilgi */
.foot { background: var(--espresso); color: var(--latte); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h2 { font-size: 15px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--caramel); }
.foot a:not(.brand) { display: block; color: var(--cream); font-weight: 400; text-decoration: none; margin-bottom: 8px; }
.foot a:not(.brand):hover { text-decoration: underline; }
.copy { margin-top: 36px; font-size: 14px; opacity: .7; }

@media (max-width: 820px) {
  .hero-grid, .grid3, .grid2, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  nav { display: none; }
  .sec { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
