/* Scribblove web sitesi. Renkler ve yazı tipleri uygulamayla aynı (app/lib/app/theme.dart). */

@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 1000;
  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;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 1000;
  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: "Caveat";
  src: url("/fonts/caveat-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 700;
  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;
}
@font-face {
  font-family: "Caveat";
  src: url("/fonts/caveat-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 700;
  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;
}

:root {
  --paper: #FFF8EE;
  --card: #F6EBDD;
  --line: #EADFCF;
  --ink: #2A1F1A;
  --ink-mid: #4F4038;
  --ink-soft: #6B5A50;
  --coral: #C8372D;
  --coral-bright: #E2483D;
  --night: #2F5DA8;
  --night-soft: #E7EEF8;
  --green: #1F7A4D;
  --white: #FFFFFF;
  --radius: 22px;
  --shadow: 0 18px 48px rgba(42, 31, 26, 0.10);
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--coral); text-underline-offset: 3px; }
a:hover { color: var(--coral-bright); }
:focus-visible { outline: 3px solid var(--night); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.hand { font-family: "Caveat", cursive; font-weight: 700; letter-spacing: 0; }
.muted { color: var(--ink-soft); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 10; }
mark.todo { background: #FFE58A; color: var(--ink); padding: 0 4px; border-radius: 4px; }

/* Üst menü */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 248, 238, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-family: "Caveat", cursive; font-weight: 700; font-size: 32px; line-height: 1; }
.logo svg { width: 30px; height: 30px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { color: var(--ink-mid); text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 10px; border-radius: 999px; }
.top nav a:hover { background: var(--card); color: var(--ink); }
.top nav .lang { border: 1.5px solid var(--line); }
@media (max-width: 720px) {
  .top nav a:not(.lang) { display: none; }
}

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; color: var(--white); }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover { background: var(--coral-bright); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { background: var(--card); color: var(--ink); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn small { display: block; font-size: 11px; font-weight: 700; opacity: .75; line-height: 1.1; }
.btn .label { text-align: left; line-height: 1.15; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding: 48px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.kicker { display: inline-block; background: var(--night-soft); color: var(--night); font-weight: 800; font-size: 14px; padding: 6px 14px; border-radius: 999px; margin: 0 0 18px; }
.hero h1 { font-family: "Caveat", cursive; font-weight: 700; font-size: clamp(48px, 7vw, 84px); line-height: .95; margin: 0 0 20px; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero .lead { font-size: 19px; color: var(--ink-mid); max-width: 34em; margin: 0 0 28px; }
.hero .free { margin: 14px 0 0; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
@media (max-width: 860px) {
  .hero { padding-top: 24px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* Telefon */
.phone { position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 19.5; margin: 0 auto; border-radius: 46px; background: linear-gradient(160deg, #3B5C99 0%, #2F5DA8 45%, #C8372D 130%); padding: 12px; box-shadow: var(--shadow), inset 0 0 0 10px #1C1714; }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); background: #1C1714; border-radius: 999px; }
.phone .screen { height: 100%; border-radius: 36px; padding: 70px 18px 18px; color: var(--white); text-align: center; }
.phone .date { font-size: 15px; font-weight: 700; opacity: .9; margin: 0; }
.phone .time { font-size: 72px; font-weight: 800; line-height: 1; margin: 2px 0 22px; letter-spacing: -2px; }
.phone .widget { background: var(--paper); border-radius: 26px; padding: 12px 12px 10px; color: var(--ink); text-align: left; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.phone .widget svg { width: 100%; height: auto; aspect-ratio: 1; }
.phone .widget p { margin: 4px 2px 0; font-size: 12px; font-weight: 800; color: var(--ink-soft); display: flex; justify-content: space-between; }
.phone .widget .tick { color: var(--green); }
.doodle path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.doodle .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw var(--dur, 1.2s) ease-in-out forwards; animation-delay: var(--delay, 0s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .doodle .draw { animation: none; stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* Bölümler */
section { padding: 72px 0; }
section.alt { background: var(--white); }
h2 { font-family: "Caveat", cursive; font-weight: 700; font-size: clamp(40px, 5vw, 58px); line-height: 1; margin: 0 0 36px; }
h3 { font-size: 20px; font-weight: 800; margin: 0 0 6px; line-height: 1.3; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 26px 24px; position: relative; counter-increment: s; }
.steps li::before { content: counter(s); font-family: "Caveat", cursive; font-weight: 700; font-size: 56px; line-height: 1; color: var(--coral); display: block; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-mid); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--paper); }
.feature p { margin: 0; color: var(--ink-mid); font-size: 16px; }
@media (max-width: 860px) {
  .steps, .features { grid-template-columns: 1fr; }
}

.privacy-band { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--night-soft); border-radius: 28px; padding: 36px; }
.privacy-band h2 { margin-bottom: 10px; color: var(--night); }
.privacy-band p { margin: 0 0 12px; color: var(--ink-mid); max-width: 44em; }
.privacy-band svg { width: 88px; height: 88px; }
@media (max-width: 640px) { .privacy-band { grid-template-columns: 1fr; padding: 26px; } }

.faq details { border-bottom: 2px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 18px; padding: 16px 40px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 8px; font-family: "Caveat", cursive; font-size: 36px; color: var(--coral); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-mid); max-width: 48em; }

.cta { text-align: center; }
.cta h2 { margin-bottom: 10px; }
.cta p { color: var(--ink-mid); margin: 0 auto 28px; max-width: 34em; }
.cta .stores { justify-content: center; }

/* Alt bilgi */
footer { border-top: 2px solid var(--line); padding: 36px 0 48px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; justify-content: space-between; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--ink-mid); font-weight: 700; text-decoration: none; }
footer a:hover { color: var(--coral); text-decoration: underline; }
footer p { margin: 6px 0 0; color: var(--ink-soft); }

/* İç sayfalar (yasal, destek, davet, hesap silme) */
.page { padding: 40px 0 80px; }
.page .wrap { max-width: 780px; }
.page h1 { font-family: "Caveat", cursive; font-weight: 700; font-size: clamp(44px, 6vw, 64px); line-height: 1; margin: 0 0 12px; }
.page .lead { font-size: 19px; color: var(--ink-mid); margin: 0 0 32px; }
.prose h2 { font-family: "Nunito", sans-serif; font-size: 22px; font-weight: 900; margin: 40px 0 10px; line-height: 1.3; scroll-margin-top: 80px; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink-mid); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1.5px solid var(--line); }
.prose th { background: var(--card); font-weight: 800; color: var(--ink); }
.prose .toc { background: var(--card); border-radius: 18px; padding: 18px 22px; margin: 0 0 24px; }
.prose .toc strong { display: block; margin-bottom: 4px; }
.prose .toc ol { margin: 0; }
.updated { font-size: 14px; color: var(--ink-soft); font-weight: 700; margin: 0 0 24px; }
.note { background: var(--night-soft); color: var(--ink-mid); border-radius: 16px; padding: 14px 18px; margin: 0 0 24px; }

.card { background: var(--white); border-radius: 26px; padding: 28px; box-shadow: var(--shadow); }
.code-box { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; background: var(--card); border-radius: 20px; padding: 18px; margin: 12px 0 24px; }
.code-box .code { font-size: clamp(36px, 9vw, 52px); font-weight: 900; letter-spacing: .18em; font-variant-numeric: tabular-nums; }
ol.numbered { padding-left: 22px; }
ol.numbered li { margin: 8px 0; color: var(--ink-mid); }

form .field { margin: 0 0 18px; }
form label { display: block; font-weight: 800; margin: 0 0 6px; }
form input[type=email], form input[type=text] { width: 100%; min-height: 52px; border: 2px solid var(--line); border-radius: 16px; background: var(--paper); padding: 0 16px; font: inherit; color: var(--ink); }
form input:focus { outline: none; border-color: var(--night); }
form input.code-input { font-size: 26px; font-weight: 900; letter-spacing: .3em; text-align: center; max-width: 260px; }
form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
form .check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--coral); flex: none; }
.error { color: #B02A20; font-weight: 700; font-size: 15px; margin: 6px 0 0; }
.ok { background: #E3F2EA; color: var(--green); font-weight: 700; border-radius: 14px; padding: 12px 16px; margin: 0 0 18px; }
.list-check { list-style: none; padding: 0; }
.list-check li { padding-left: 30px; position: relative; margin: 8px 0; color: var(--ink-mid); }
.list-check li::before { content: "✓"; position: absolute; left: 4px; color: var(--coral); font-weight: 900; }
