/* Crumbtown: cozy storybook look (paper, cocoa ink, raspberry). Self-contained, light only.
   Palette from the app's design board M02; type: Young Serif (titles), Patrick Hand (narrator), Nunito (UI). */
:root {
  --paper: #F6E8D2; --paper-white: #FFFDF7; --ink: #5A2E2A; --coffee: #7A4E3E; --raspberry: #E2475F; --raspberry-dark: #B8324A;
  --mint: #2E9E7E; --honey: #E7A84B; --butter: #FFD23F; --sunset: #FFD9B5; --line: rgba(90, 46, 42, .16);
  --serif: 'Young Serif', Georgia, 'Times New Roman', serif; --hand: 'Patrick Hand', 'Comic Sans MS', cursive; --sans: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 22px; --shadow: 0 3px 0 rgba(90, 46, 42, .14), 0 18px 40px -22px rgba(90, 46, 42, .45);
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.crumbtown-page { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 700; font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--raspberry-dark); text-underline-offset: 3px; }
a:hover { color: var(--raspberry); }
:focus-visible { outline: 3px solid var(--raspberry); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: 10px; }
.skip-link:focus { top: 12px; }
.wrap { width: min(860px, 100% - 32px); margin-inline: auto; }
.lwrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* header and footer */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(1120px, 100% - 32px); margin: 0 auto; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--raspberry); }
.brand .mark { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 2px 0 rgba(90, 46, 42, .2); }
.wordmark { font-family: var(--serif); font-size: 24px; line-height: 1; letter-spacing: -.01em; }
.site-header nav { display: flex; align-items: center; gap: 14px; }
.nav-link { color: var(--ink); text-decoration: none; font-weight: 800; }
.pill-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--paper-white); color: var(--ink); text-decoration: none; font-weight: 800; box-shadow: inset 0 0 0 2px var(--ink); }
.pill-btn:hover { background: var(--ink); color: var(--paper); }
.site-footer { margin-top: 64px; padding: 28px 16px 40px; border-top: 2px dashed var(--line); display: grid; gap: 16px; justify-items: center; text-align: center; }
.footer-main { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: center; }
.studio { font-size: 14px; color: var(--coffee); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; font-size: 15px; }
.footer-links a { color: var(--coffee); }

/* buttons, chips, store badge */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 16px; background: var(--raspberry); color: #fff; text-decoration: none; font-weight: 900; box-shadow: 0 4px 0 var(--raspberry-dark); }
.btn:hover { color: #fff; transform: translateY(1px); box-shadow: 0 3px 0 var(--raspberry-dark); }
.btn.ghost { background: var(--paper-white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--paper-white); font-size: 14px; font-weight: 800; box-shadow: inset 0 0 0 2px var(--line); }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--honey); }
.store-btns { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.store-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 18px; background: var(--ink); color: var(--paper); cursor: default; user-select: none; }
.store-btn > svg { width: 24px; height: 24px; fill: currentColor; opacity: .8; flex: none; }
.store-btn > span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; opacity: .88; }
.store-btn small { font-size: 11px; font-weight: 800; color: var(--sunset); }
.store-btn b { font-size: 18px; font-weight: 900; white-space: nowrap; }
.store-btn::after { content: "Soon"; position: absolute; top: -10px; right: -8px; padding: 5px 9px; border-radius: 999px; background: var(--butter); color: var(--ink); font-size: 10.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; line-height: 1; box-shadow: 0 4px 0 rgba(90, 46, 42, .25); }
html[lang="tr"] .store-btn::after { content: "Yakında"; }

/* landing */
.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: center; padding: 28px 0 24px; }
.hero h1, .sec-head h2, .cta-card h2, .legal-head h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.06; margin: 0; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); margin: 16px 0 14px; }
.accent { color: var(--raspberry); }
.lede { font-family: var(--hand); font-size: clamp(20px, 2.4vw, 24px); line-height: 1.35; color: var(--coffee); font-weight: 400; margin: 0 0 24px; max-width: 34ch; }
.hero-art img { display: block; width: 100%; border-radius: 28px; box-shadow: var(--shadow); outline: 4px solid var(--paper-white); outline-offset: -4px; }
.sec { padding: 56px 0 8px; }
.sec-head { max-width: 640px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); }
.sec-head p { color: var(--coffee); margin: 10px 0 0; }
.kicker { margin: 0 0 8px !important; font-family: var(--hand); font-size: 20px; color: var(--raspberry) !important; font-weight: 400; letter-spacing: .02em; }
.rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.row { background: var(--paper-white); border-radius: var(--radius); padding: 24px 22px 26px; box-shadow: var(--shadow); position: relative; }
.row::before { content: ""; position: absolute; left: 22px; top: -8px; width: 56px; height: 16px; background: var(--butter); opacity: .85; rotate: -3deg; border-radius: 3px; }
.row h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; margin: 8px 0 10px; color: var(--raspberry-dark); }
.row p { margin: 0; color: var(--coffee); }
.rail { display: flex; gap: 18px; overflow-x: auto; padding: 8px max(16px, calc((100vw - 1120px) / 2)) 28px; margin: 0; list-style: none; scroll-snap-type: x proximity; scrollbar-color: var(--coffee) transparent; }
.rail li { flex: none; width: 260px; scroll-snap-align: start; }
.rail img { display: block; width: 100%; border-radius: 28px; box-shadow: var(--shadow); background: var(--paper-white); }
.press { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.press-item { display: inline-flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 18px; background: var(--paper-white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.press-item img { border-radius: 10px; object-fit: contain; }
.press-item small { display: block; font-size: 12px; color: var(--coffee); font-weight: 700; }
.cta { padding: 56px 0 0; }
.cta-card { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 40px 20px; border-radius: 32px; background: var(--raspberry); color: #fff; box-shadow: var(--shadow); }
.cta-card .mark { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 3px 0 rgba(0, 0, 0, .2); }
.cta-card h2 { font-size: clamp(28px, 4vw, 40px); }
.cta-card p { margin: 0; max-width: 46ch; font-family: var(--hand); font-size: 22px; font-weight: 400; }
.cta-card .store-btn { background: var(--paper-white); color: var(--ink); }
.cta-card .store-btn small { color: var(--coffee); }
.cta-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-card .btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }

/* legal and support */
.legal-main { padding: 12px 0 0; }
.legal-head { padding: 24px 0 18px; }
.eyebrow { margin: 0 0 8px; font-family: var(--hand); font-size: 20px; color: var(--raspberry); font-weight: 400; }
.legal-head h1 { font-size: clamp(34px, 5vw, 52px); }
.legal-head .lede { margin: 12px 0 0; max-width: 60ch; }
.card { background: var(--paper-white); border-radius: 28px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--raspberry-dark); margin: 32px 0 8px; }
.prose section:first-child h2 { margin-top: 0; }
.prose p, .prose li { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong, .prose b { font-weight: 900; }
.tldr { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.tldr li { background: var(--paper); border-radius: 16px; padding: 12px 16px; margin: 0; }
.tldr b { display: block; color: var(--raspberry-dark); }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--paper-white); border-radius: 18px; padding: 4px 20px; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; padding: 14px 0; font-weight: 900; list-style-position: outside; }
.faq-item[open] summary { color: var(--raspberry-dark); }
.faq-item p { margin: 0 0 16px; font-weight: 600; color: var(--coffee); }
.contact-callout { margin: 28px 0 0; text-align: center; font-family: var(--hand); font-size: 22px; font-weight: 400; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .rows { grid-template-columns: 1fr; }
  .site-header nav .nav-link { display: none; }
}
@media (max-width: 640px) {
  body.crumbtown-page { font-size: 16px; }
  .store-btns { width: 100%; }
  .store-btn { flex: 1 1 100%; justify-content: center; }
  .rail li { width: 62vw; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn:hover { transform: none; } }

/* about block and the always-visible legal links (Google OAuth branding review reads the homepage) */
.legal-strip { margin: 18px 0 0; font-size: 15px; color: var(--coffee); }
.legal-strip a { color: var(--ink); font-weight: 900; }
.about { display: flex; gap: 22px; align-items: center; }
.about h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; margin: 0 0 8px; }
.about p { margin: 0; color: var(--coffee); max-width: 70ch; }
.about-icon { flex: none; width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 3px 0 rgba(90, 46, 42, .2); }
@media (max-width: 640px) { .about { flex-direction: column; align-items: flex-start; } }
.store-btn { text-decoration: none; cursor: pointer; }

/* Masal Kulübü plans and landing FAQ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; background: var(--paper-white); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.plan h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0; color: var(--raspberry-dark); }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.1; }
.plan .price span { color: var(--coffee); }
.plan .terms { margin: 0; color: var(--coffee); }
.plan ul { margin: 8px 0 0; padding-left: 20px; }
.plan-best { box-shadow: inset 0 0 0 3px var(--raspberry), var(--shadow); }
.plan .badge { position: absolute; top: -13px; right: 18px; padding: 5px 12px; border-radius: 999px; background: var(--butter); color: var(--ink); font-size: 12px; font-weight: 900; letter-spacing: .04em; box-shadow: 0 3px 0 rgba(90, 46, 42, .22); }
.fine { margin: 18px 0 0; font-size: 14px; color: var(--coffee); max-width: 90ch; }
.sec .faq-list { max-width: 760px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
