/* Boyama Kitabı — tanıtım ve gizlilik sayfaları
   Palet uygulamanın kendisinden geliyor: sıcak kağıt zemin, mürekkep moru
   kontur, pastel boya renkleri. Düğmeler uygulamadaki gibi sert gölgeli
   "çıkartma". Tek dosya; iki sayfa da bunu kullanıyor. */

:root {
	color-scheme: light dark;

	--bg: #fff4e0;
	--bg-deep: #fbe3bd;
	--surface: #ffffff;
	--surface-2: #fff9ef;
	--ink: #2d2240;
	--muted: #6b5f7a;
	--line: #efdcc0;
	--accent: #7a55e0;
	--accent-soft: rgba(142, 108, 239, 0.12);
	--link: #6a45d4;

	--sun: #ffc93c;
	--coral: #ff6f59;
	--mint: #3ec1a6;
	--sky: #5ab3f0;
	--grape: #8e6cef;

	--shadow: 0 1px 2px rgba(45, 34, 64, 0.06), 0 14px 34px rgba(45, 34, 64, 0.10);
	--sticker: 0 5px 0 var(--ink);
	--radius: 22px;
	--radius-sm: 14px;
	--maxw: 1120px;
	--prose: 720px;

	--serif: "Fraunces", ui-serif, "New York", Georgia, "Times New Roman", serif;
	--sans: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #1a1424;
		--bg-deep: #241b33;
		--surface: #251d33;
		--surface-2: #2c233d;
		--ink: #fff4e0;
		--muted: #c1b5d1;
		--line: #3a2f4d;
		--accent: #b9a1ff;
		--accent-soft: rgba(185, 161, 255, 0.14);
		--link: #c7b3ff;

		--shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 34px rgba(0, 0, 0, 0.35);
		--sticker: 0 5px 0 #0d0914;
	}
}

* { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }

strong { font-weight: 650; color: var(--ink); }

[hidden] { display: none !important; }

.wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding-inline: 22px;
}

/* ---------- Başlıklar ---------- */

h1, h2, h3 {
	font-family: var(--serif);
	font-variation-settings: "opsz" 96;
	letter-spacing: -0.015em;
	line-height: 1.1;
	margin: 0;
	text-wrap: balance;
}

h1 { font-size: clamp(38px, 6.4vw, 66px); font-weight: 650; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 600; }
h3 { font-size: 19px; font-weight: 600; font-variation-settings: "opsz" 24; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 18px;
}

/* Uygulamadaki başlık gibi: her nokta başka bir boya rengi */
.eyebrow::before {
	content: "";
	width: 34px;
	height: 8px;
	border-radius: 8px;
	background:
		radial-gradient(circle at 4px 50%, var(--coral) 3.5px, transparent 4px),
		radial-gradient(circle at 13px 50%, var(--sun) 3.5px, transparent 4px),
		radial-gradient(circle at 22px 50%, var(--mint) 3.5px, transparent 4px),
		radial-gradient(circle at 31px 50%, var(--sky) 3.5px, transparent 4px);
}

.lede {
	font-size: clamp(18px, 2vw, 21px);
	color: var(--muted);
	max-width: 640px;
	margin: 20px 0 0;
	text-wrap: pretty;
}

.rainbow span:nth-child(5n+1) { color: var(--coral); }
.rainbow span:nth-child(5n+2) { color: #e0a800; }
.rainbow span:nth-child(5n+3) { color: var(--mint); }
.rainbow span:nth-child(5n+4) { color: var(--sky); }
.rainbow span:nth-child(5n+5) { color: var(--grape); }

/* ---------- Üst çubuk ---------- */

.topbar {
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	background: color-mix(in srgb, var(--bg) 80%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.topbar .wrap {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 64px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--serif);
	font-weight: 650;
	font-size: 21px;
	letter-spacing: -0.01em;
	color: var(--ink);
	text-decoration: none;
	margin-right: auto;
	white-space: nowrap;
}

.brand img {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	border: 2px solid var(--ink);
}

.topnav {
	display: none;
	gap: 22px;
	font-size: 15px;
	font-weight: 600;
}

.topnav a { color: var(--muted); text-decoration: none; }
.topnav a:hover { color: var(--ink); }

@media (min-width: 860px) {
	.topnav { display: flex; }
}

.langswitch {
	display: inline-flex;
	border: 2px solid var(--line);
	border-radius: 999px;
	overflow: hidden;
	background: var(--surface);
}

.langswitch button {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--muted);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	padding: 5px 12px;
	cursor: pointer;
}

.langswitch button[aria-pressed="true"] {
	background: var(--accent-soft);
	color: var(--accent);
}

.langswitch button:focus-visible,
.btn:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}

/* ---------- Düğmeler ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 22px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	line-height: 1;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-primary {
	background: var(--ink);
	color: var(--bg);
	border: 3px solid var(--ink);
	box-shadow: 0 5px 0 color-mix(in srgb, var(--ink) 55%, #000);
}

.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 55%, #000); }

.btn-primary svg { width: 20px; height: 20px; fill: currentColor; }

.btn-primary small {
	display: block;
	font-size: 11px;
	font-weight: 500;
	opacity: 0.75;
	margin-bottom: 3px;
	letter-spacing: 0.02em;
}

.btn-ghost {
	color: var(--ink);
	border: 3px solid var(--ink);
	background: var(--surface);
	box-shadow: var(--sticker);
}

.btn-ghost:hover { transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }

.btn[aria-disabled="true"] { cursor: default; }

.topbar .btn { padding: 8px 15px; font-size: 14px; border-width: 2px; box-shadow: 0 3px 0 color-mix(in srgb, var(--ink) 55%, #000); }
.topbar .btn small { display: none; }
.topbar .btn svg { width: 16px; height: 16px; }

@media (max-width: 420px) {
	.topbar .btn { display: none; }
}

/* ---------- Kahraman alanı ---------- */

.hero {
	position: relative;
	padding: clamp(56px, 9vw, 110px) 0 clamp(36px, 5vw, 60px);
	text-align: center;
	overflow: hidden;
	isolation: isolate;
}

/* Uygulamanın kağıt zeminindeki yumuşak lekeler */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 6% 88%, var(--bg-deep) 0 17%, transparent 17.2%),
		radial-gradient(circle at 96% 8%, var(--bg-deep) 0 14%, transparent 14.2%),
		radial-gradient(circle at 30% -6%, var(--bg-deep) 0 10%, transparent 10.2%);
	z-index: -1;
}

.hero .wrap { display: flex; flex-direction: column; align-items: center; }

.hero h1 { max-width: 16ch; }
.hero .lede { text-align: center; }

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 32px;
}

.hero-note {
	margin-top: 20px;
	font-size: 14px;
	color: var(--muted);
}

/* ---------- Şerit (App Store panoraması) ---------- */

.strip {
	position: relative;
	margin: clamp(8px, 2vw, 24px) 0 0;
	padding: 6px 0 26px;
}

.device-switch {
	display: flex;
	width: max-content;
	margin: 0 auto;
	border: 2px solid var(--line);
	border-radius: 999px;
	overflow: hidden;
	background: var(--surface);
}

.device-switch button {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--muted);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	padding: 7px 20px;
	cursor: pointer;
}

.device-switch button[aria-pressed="true"] {
	background: var(--accent-soft);
	color: var(--accent);
}

.device-switch button:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}

.strip-scroller {
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 18px 0 30px;
	cursor: grab;
}

.strip-scroller::-webkit-scrollbar { display: none; }
.strip-scroller.dragging { cursor: grabbing; }

.strip-scroller picture,
.strip-scroller img {
	height: clamp(420px, 56vw, 640px);
	width: auto;
	max-width: none;
	margin: 0 auto;
	border-radius: 26px;
	box-shadow: var(--shadow);
	user-select: none;
	-webkit-user-drag: none;
}

.strip-inner {
	display: flex;
	width: max-content;
	margin: 0 auto;
	padding-inline: 22px;
}

.strip-hint {
	text-align: center;
	font-size: 13px;
	color: var(--muted);
	margin: 0;
}

/* ---------- Bölümler ---------- */

section.block { padding: clamp(56px, 8vw, 104px) 0; }

section.block + section.block { border-top: 2px dashed var(--line); }

.block-head { max-width: 660px; margin-bottom: clamp(28px, 4vw, 48px); }
.block-head p { color: var(--muted); font-size: 18px; margin: 14px 0 0; text-wrap: pretty; }

/* Özellik kartları: kalın konturlu çıkartmalar */

.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.features li {
	background: var(--surface);
	border: 3px solid var(--ink);
	border-radius: var(--radius);
	padding: 22px 22px 24px;
	box-shadow: var(--sticker);
	transition: transform 0.2s ease;
}

.features li:nth-child(odd):hover { transform: rotate(-1deg) translateY(-2px); }
.features li:nth-child(even):hover { transform: rotate(1deg) translateY(-2px); }

.features .icon {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: var(--coral);
	color: #fff;
	border: 2.5px solid var(--ink);
	margin-bottom: 16px;
}

.features li:nth-child(5n+2) .icon { background: var(--sun); color: #2d2240; }
.features li:nth-child(5n+3) .icon { background: var(--mint); }
.features li:nth-child(5n+4) .icon { background: var(--sky); }
.features li:nth-child(5n+5) .icon { background: var(--grape); }

.features .icon svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.features h3 { margin-bottom: 6px; }
.features p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Ekran galerisi: yatay ekranlar */

.gallery {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 10px 22px 26px;
	margin: 0 -22px;
	list-style: none;
}

.gallery::-webkit-scrollbar { display: none; }

.gallery li {
	flex: 0 0 min(84vw, 520px);
	scroll-snap-align: center;
}

.gallery figure { margin: 0; }

.gallery img {
	border-radius: 20px;
	border: 3px solid var(--ink);
	box-shadow: var(--sticker);
	aspect-ratio: 1200 / 629;
	width: 100%;
	height: auto;
	background: var(--surface-2);
}

.gallery figcaption {
	margin-top: 14px;
	font-size: 14px;
	font-weight: 600;
	color: var(--muted);
	text-align: center;
}

@media (min-width: 1000px) {
	.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 24px; overflow: visible; margin: 0; padding: 0; }
	.gallery li { flex: none; grid-column: span 2; }
	.gallery li:nth-child(-n+2) { grid-column: span 3; }
}

/* Ebeveynlere sözler */

.promises {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	list-style: none;
	padding: 0;
	margin: 0 0 26px;
}

.promises li {
	background: var(--surface);
	border: 2px solid var(--line);
	border-radius: var(--radius);
	padding: 20px 22px;
}

.promises .k {
	font-family: var(--serif);
	font-variation-settings: "opsz" 48;
	font-size: 30px;
	font-weight: 650;
	color: var(--accent);
	display: block;
	margin-bottom: 4px;
}

.promises p { margin: 0; color: var(--muted); font-size: 15px; }

/* Tümünü Aç kartı */

.unlock {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
	align-items: center;
	margin-top: 28px;
	background: var(--surface);
	border: 3px solid var(--ink);
	border-radius: var(--radius);
	box-shadow: var(--sticker);
	padding: 26px 28px;
}

@media (min-width: 820px) {
	.unlock { grid-template-columns: 1fr 1.2fr; gap: 40px; }
}

.unlock h3 { font-size: 24px; margin-bottom: 8px; }
.unlock > div > p { margin: 0; color: var(--muted); }
.unlock ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.unlock li { display: flex; gap: 12px; align-items: baseline; }
.unlock li::before {
	content: "";
	flex: 0 0 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--mint);
	border: 2px solid var(--ink);
	transform: translateY(1px);
}

/* Destek / SSS */

.two-col {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

@media (min-width: 860px) {
	.two-col { grid-template-columns: 5fr 7fr; gap: 64px; }
}

.two-col p { margin: 0 0 14px; }

.contact-card {
	background: var(--surface);
	border: 3px solid var(--ink);
	border-radius: var(--radius);
	box-shadow: var(--sticker);
	padding: 22px 24px;
	margin: 22px 0;
}

.contact-card a.email {
	font-family: var(--serif);
	font-variation-settings: "opsz" 24;
	font-size: 20px;
	font-weight: 600;
	word-break: break-all;
}

details.faq {
	border-bottom: 2px dashed var(--line);
	padding: 4px 0;
}

details.faq:first-of-type { border-top: 2px dashed var(--line); }

details.faq summary {
	cursor: pointer;
	list-style: none;
	padding: 14px 36px 14px 0;
	font-weight: 650;
	position: relative;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 26px;
	height: 26px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--sun);
	color: #2d2240;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	transition: transform 0.2s ease;
}

details.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }

details.faq p { color: var(--muted); margin: 0 0 16px; padding-right: 20px; }

.note { font-size: 14px; color: var(--muted); }

/* ---------- Alt bilgi ---------- */

footer {
	border-top: 2px dashed var(--line);
	padding: 36px 0 48px;
	color: var(--muted);
	font-size: 14px;
}

footer .wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 28px;
	align-items: center;
	justify-content: space-between;
}

footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer nav a { color: var(--muted); text-decoration: none; }
footer nav a:hover { color: var(--ink); }

/* ---------- Gizlilik sayfası ---------- */

.policy-hero {
	padding: clamp(48px, 7vw, 84px) 0 clamp(28px, 4vw, 44px);
	border-bottom: 2px dashed var(--line);
}

.policy-hero .lede { max-width: var(--prose); }

.updated {
	display: inline-block;
	margin-top: 22px;
	font-size: 13px;
	color: var(--muted);
	border: 2px solid var(--line);
	border-radius: 999px;
	padding: 4px 13px;
	background: var(--surface);
}

.policy {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	padding: 36px 22px 80px;
}

@media (min-width: 960px) {
	.policy { grid-template-columns: 240px minmax(0, var(--prose)); gap: 72px; }
}

.toc {
	display: none;
	position: sticky;
	top: 88px;
	align-self: start;
	font-size: 14px;
}

@media (min-width: 960px) { .toc { display: block; } }

.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a {
	display: block;
	padding: 6px 0 6px 16px;
	color: var(--muted);
	text-decoration: none;
	border-left: 3px solid transparent;
	margin-left: -2px;
}
.toc li a:hover { color: var(--ink); }
.toc li a.active { color: var(--accent); border-left-color: var(--accent); font-weight: 650; }

.prose section { padding-top: 36px; }
.prose section:first-child { padding-top: 0; }
.prose h2 { font-size: 26px; margin-bottom: 12px; scroll-margin-top: 90px; }
.prose h3 { font-size: 17px; margin: 24px 0 6px; font-family: var(--sans); font-weight: 700; }
.prose p { margin: 0 0 14px; text-wrap: pretty; }
.prose ul { margin: 0 0 14px; padding-left: 20px; }
.prose li { margin-bottom: 7px; }

/* ul.facts: .prose ul'un sol boşluğunu ezmek için */
ul.facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.facts li {
	background: var(--surface);
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 14px 16px;
	font-size: 14px;
	color: var(--muted);
}

.facts li strong {
	display: block;
	font-size: 15px;
	margin-bottom: 2px;
}
