/* Okut ürün sayfaları: tanıtım, hazırlanıyor, hazır, gizlilik.
   Motif: adisyon fişi. Kâğıt zemin, yeşil çizgiler, tükenmez kalem mavisi, kırmızı kaşe. */

@font-face { font-family: "Bricolage Grotesque"; src: url(/static/fonts/bricolage-latin.woff2) format("woff2"); font-weight: 200 800; 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: "Bricolage Grotesque"; src: url(/static/fonts/bricolage-latin-ext.woff2) format("woff2"); font-weight: 200 800; 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: "Fraunces"; src: url(/static/fonts/fraunces-latin.woff2) format("woff2"); font-weight: 100 900; 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: "Fraunces"; src: url(/static/fonts/fraunces-latin-ext.woff2) format("woff2"); font-weight: 100 900; 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: #F3F5EF;
  --slip: #FCFDF9;
  --ink: #1B2A4A;
  --muted: #56617A;
  --pen: #2340C8;
  --pen-deep: #1A2F9C;
  --pen-wash: #E9EDFC;
  --stamp: #D2372C;
  --rule: #B9CBB8;
  --rule-soft: #DCE6DA;
  --sans: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --gutter: 16px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--sans); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--pen); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--pen-deep); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pen); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hidden, [hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- üst ve alt */
.top { padding: 14px 0; }
.top .wrap { display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; }
.top nav { margin-left: auto; display: flex; gap: 18px; align-items: center; font-size: 15px; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a:hover { color: var(--pen); }
.top nav .lang { border: 1px solid var(--rule); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 720px) { .top nav .opt { display: none; } }

.foot { margin-top: 72px; padding: 28px 0 40px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.foot a { color: var(--muted); }
.foot .spacer { flex: 1; }

/* ---------------------------------------------------------------- başlık alanı */
.hero { padding: 20px 0 8px; }
.hero .wrap { display: grid; gap: 28px; }
@media (min-width: 980px) {
  .hero { padding: 40px 0 24px; }
  .hero .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
  .hero .pitch { position: sticky; top: 32px; padding-top: 28px; }
}
.pitch h1 { margin: 0; font-weight: 800; font-size: 38px; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
@media (min-width: 720px) { .pitch h1 { font-size: 56px; } }
@media (min-width: 1100px) { .pitch h1 { font-size: 62px; } }
.pitch p { margin: 18px 0 0; font-size: 18px; line-height: 1.5; color: var(--muted); max-width: 34em; }
.pitch .proof { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 15px; }
.pitch .proof a { font-weight: 600; }

/* ---------------------------------------------------------------- adisyon fişi */
.slip { container: slip / inline-size; position: relative; background: var(--slip); border-radius: 3px 3px 12px 12px; padding: 30px 20px 24px;
  box-shadow: 0 1px 0 rgba(27, 42, 74, .05), 0 22px 44px -28px rgba(27, 42, 74, .45); }
.slip::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 14px;
  background: radial-gradient(circle at 7px 7px, var(--paper) 4.5px, transparent 5px) 0 0 / 15px 14px repeat-x; }
@media (min-width: 720px) { .slip { padding: 36px 34px 30px; } }
.slip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.slip-head .kind { font-weight: 700; font-size: 15px; letter-spacing: 0.01em; }
.slip-head .no { font-variant-numeric: tabular-nums; color: var(--stamp); font-weight: 700; font-size: 17px; letter-spacing: 0.04em; }
.slip-head .no span { font-weight: 500; color: var(--muted); letter-spacing: 0; margin-right: 4px; }

.step { padding: 22px 0 6px; border-bottom: 1px dashed var(--rule); }
.step:last-of-type { border-bottom: 0; }
.step > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.step > h2 .n { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ink); display: inline-grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }

.field { display: block; margin: 0 0 16px; }
.field > .label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.field > .hint { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.line { width: 100%; border: 0; border-bottom: 1.5px solid var(--rule); background: transparent; padding: 8px 2px 7px; min-height: 46px;
  font-family: var(--serif); font-size: 21px; font-weight: 450; color: var(--pen); border-radius: 0; }
.line::placeholder { color: #A9B3A8; font-weight: 350; }
.line:focus { outline: none; border-bottom: 2px solid var(--pen); padding-bottom: 6.5px; }
.line:focus-visible { outline: none; }
textarea.line { min-height: 210px; resize: vertical; line-height: 32px; padding: 4px 2px; font-size: 18px; border: 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, var(--rule) 31px, var(--rule) 32px); background-attachment: local; }
textarea.line:focus { padding-bottom: 4px; border: 0; box-shadow: inset 3px 0 0 var(--pen); }
.field.bad .line { border-bottom-color: var(--stamp); }
.err { display: block; color: var(--stamp); font-size: 14px; font-weight: 600; margin-top: 6px; }
.err:empty { display: none; }

.sources { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; border: 0; }
.sources legend { padding: 0; margin-bottom: 10px; }
.src { position: relative; display: grid; gap: 2px; align-content: start; border: 1.5px solid var(--rule); border-radius: 10px; padding: 12px 12px 12px; cursor: pointer;
  background: #fff; min-height: 92px; transition: border-color .15s, background-color .15s; }
.src input { position: absolute; opacity: 0; pointer-events: none; }
.src svg { width: 26px; height: 26px; color: var(--ink); margin-bottom: 4px; }
.src b { font-size: 15.5px; font-weight: 700; line-height: 1.25; }
.src small { font-size: 13px; color: var(--muted); line-height: 1.3; }
.src:hover { border-color: #8FA88D; }
.src:has(input:checked) { border-color: var(--pen); background: var(--pen-wash); }
.src:has(input:checked) svg { color: var(--pen); }
.src:has(input:checked)::after { content: ""; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--pen)
  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.5L12 5.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.src:has(input:focus-visible) { outline: 3px solid var(--pen); outline-offset: 2px; }
@container slip (min-width: 700px) { .sources { grid-template-columns: repeat(4, 1fr); } }

.panel { margin-top: 16px; }
.pick { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; border: 1.5px dashed var(--pen); border-radius: 10px;
  background: var(--pen-wash); color: var(--pen); font-weight: 700; font-size: 16px; cursor: pointer; padding: 10px 14px; }
.pick:hover { background: #DFE5FB; }
.pick svg { width: 22px; height: 22px; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick:has(input:focus-visible) { outline: 3px solid var(--pen); outline-offset: 2px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin: 0 0 12px; padding: 0; list-style: none; }
.thumbs li { position: relative; border-radius: 8px; overflow: hidden; background: #E8ECE6; aspect-ratio: 3 / 4; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .page { position: absolute; left: 6px; top: 6px; background: rgba(27, 42, 74, .82); color: #fff; font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.thumbs button { position: absolute; right: 6px; bottom: 6px; border: 0; background: rgba(255, 255, 255, .94); color: var(--stamp); font-size: 12.5px; font-weight: 700; padding: 5px 9px; border-radius: 999px; cursor: pointer; min-height: 30px; }
.thumbs .busy { display: grid; place-items: center; font-size: 13px; color: var(--muted); }
.files { list-style: none; margin: 0 0 12px; padding: 0; }
.files li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule-soft); font-size: 15px; }
.files li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--serif); color: var(--pen); }
.files li small { color: var(--muted); }
.files button, .linkish { border: 0; background: none; color: var(--stamp); font-weight: 600; cursor: pointer; padding: 6px 2px; min-height: 36px; }
.sample { margin-top: 14px; font-size: 15px; }
.sample button { border: 0; background: none; padding: 6px 0; color: var(--pen); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 500; }

.go { margin-top: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 9px; border: 0;
  background: var(--pen); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; transition: background-color .15s; }
.btn:hover { background: var(--pen-deep); color: #fff; }
.btn:disabled { opacity: .7; cursor: progress; }
.btn.wide { width: 100%; min-height: 58px; font-size: 18px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn svg { width: 20px; height: 20px; }
.note { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.form-err { margin: 12px 0 0; color: var(--stamp); font-weight: 600; font-size: 15px; }
.form-err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- bölümler */
.section { padding: 64px 0 0; }
.section h2 { margin: 0 0 22px; font-size: 30px; line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; }
@media (min-width: 720px) { .section h2 { font-size: 38px; } .section { padding-top: 96px; } }
.howto { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: how; }
.howto li { counter-increment: how; display: grid; grid-template-columns: 52px 1fr; gap: 4px 12px; padding: 20px 0; border-top: 1px solid var(--rule); }
.howto li::before { content: counter(how); grid-row: span 2; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--pen); font-weight: 500; }
.howto b { font-size: 19px; font-weight: 700; }
.howto span { color: var(--muted); }
@media (min-width: 900px) {
  .howto { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .howto li { grid-template-columns: 1fr; border-top: 2px solid var(--ink); padding-top: 16px; }
  .howto li::before { grid-row: auto; margin-bottom: 10px; font-size: 48px; }
}

.example { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .example { grid-template-columns: 320px 1fr; gap: 64px; } }
.phone { width: 100%; max-width: 300px; margin: 0 auto; aspect-ratio: 9 / 18.5; border: 10px solid var(--ink); border-radius: 38px; overflow: hidden; background: #fff;
  box-shadow: 0 24px 48px -28px rgba(27, 42, 74, .6); }
.phone iframe { width: 100%; height: 100%; border: 0; display: block; }
.example p { font-size: 18px; color: var(--muted); max-width: 32em; margin: 0 0 22px; }
.example .row { display: flex; flex-wrap: wrap; gap: 12px; }

.gets { display: grid; gap: 0 40px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .gets { grid-template-columns: 1fr 1fr; } }
.gets li { padding: 18px 0; border-top: 1px solid var(--rule); }
.gets b { display: block; font-size: 19px; margin-bottom: 4px; }
.gets span { color: var(--muted); }

.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 26px; font-weight: 400; color: var(--pen); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 44em; }

/* ---------------------------------------------------------------- hazırlanıyor */
.stage-wrap { max-width: 620px; margin: 24px auto 0; }
.writing { margin: 18px 0 8px; padding: 0; list-style: none; min-height: 160px; }
.writing li { font-family: var(--serif); color: var(--pen); font-size: 20px; line-height: 40px; border-bottom: 1px solid var(--rule); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.writing li.new { animation: write .7s ease-out both; }
.writing li.blank { color: transparent; }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.biz { font-family: var(--serif); color: var(--pen); font-size: 26px; font-weight: 500; margin: 16px 0 0; line-height: 1.25; overflow-wrap: anywhere; }
.count { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; }
.count b { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.stages { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; }
.stages li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15.5px; }
.stages li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--rule); flex: none; }
.stages li.on { color: var(--ink); font-weight: 700; }
.stages li.on::before { border-color: var(--pen); background: var(--pen); animation: pulse 1.2s ease-in-out infinite; }
.stages li.ok { color: var(--ink); }
.stages li.ok::before { border-color: var(--ink); background: var(--ink); }
@keyframes pulse { 50% { opacity: .35; } }
.state-box { margin-top: 20px; padding: 18px; border-radius: 10px; background: #fff; border: 1.5px solid var(--rule); }
.state-box h2 { margin: 0 0 6px; font-size: 21px; }
.state-box p { margin: 0 0 14px; color: var(--muted); }
.state-box.bad { border-color: var(--stamp); }

/* ---------------------------------------------------------------- hazır */
.ready-head { position: relative; padding-right: 0; }
.ready-head h1 { margin: 18px 0 8px; font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
@media (min-width: 720px) { .ready-head h1 { font-size: 44px; } }
.ready-head p { margin: 0; color: var(--muted); font-size: 17px; max-width: 30em; }
.stamp { position: absolute; right: 0; top: 54px; border: 3px solid var(--stamp); color: var(--stamp); border-radius: 8px; padding: 4px 12px 3px;
  font-weight: 800; font-size: 22px; letter-spacing: 0.08em; transform: rotate(-9deg); opacity: .9; mix-blend-mode: multiply;
  animation: stamp .45s cubic-bezier(.2, 1.6, .4, 1) .25s both; }
@media (max-width: 560px) { .stamp { position: static; display: inline-block; margin-top: 14px; } }
@keyframes stamp { from { transform: rotate(-9deg) scale(2.2); opacity: 0; } to { transform: rotate(-9deg) scale(1); opacity: .9; } }
.ready-grid { display: grid; gap: 22px; margin-top: 26px; }
@media (min-width: 760px) { .ready-grid { grid-template-columns: 260px 1fr; align-items: start; gap: 30px; } }
.qr-box { background: #fff; border: 1.5px solid var(--rule); border-radius: 12px; padding: 16px; text-align: center; }
.qr-box img { width: 100%; max-width: 228px; margin: 0 auto; aspect-ratio: 1; }
.qr-box .url { margin-top: 8px; font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.actions { display: grid; gap: 10px; }
.actions .btn { width: 100%; }
@media (min-width: 480px) { .actions.two { grid-template-columns: 1fr 1fr; } }
.box { margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--rule); }
.box h2 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.01em; }
.box p { margin: 0 0 14px; color: var(--muted); }
.editlink { display: flex; gap: 8px; align-items: center; background: #fff; border: 1.5px solid var(--rule); border-radius: 9px; padding: 6px 6px 6px 12px; margin-bottom: 12px; }
.editlink code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 14px/1.4 var(--sans); color: var(--pen); }
.editlink button { border: 0; background: var(--ink); color: #fff; border-radius: 6px; padding: 8px 12px; font-weight: 700; font-size: 14px; cursor: pointer; min-height: 38px; }
.i18n { margin: 16px 0 0; font-size: 15px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.i18n::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rule); flex: none; }
.i18n.done::before { background: #2E8B57; }
.i18n.pending::before { background: var(--pen); animation: pulse 1.2s ease-in-out infinite; }
.lead-grid { display: grid; gap: 0 18px; }
@media (min-width: 560px) { .lead-grid { grid-template-columns: 1fr 1fr; } }
.done-msg { font-weight: 700; color: #1F6B45; }

/* ---------------------------------------------------------------- düz sayfalar */
.page { padding: 24px 0 0; }
.page h1 { font-size: 34px; line-height: 1.1; letter-spacing: -0.03em; margin: 12px 0 18px; }
.page h2 { font-size: 21px; margin: 32px 0 8px; }
.page p, .page li { color: #2D3A57; max-width: 44em; }
.message { text-align: left; padding: 48px 0 12px; }
.message h1 { font-size: 34px; letter-spacing: -0.03em; margin: 0 0 10px; }
.message p { color: var(--muted); font-size: 18px; margin: 0 0 24px; }

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

/* ---------------------------------------------------------------- küçük ekler */
.slip-head h1 { margin: 0; }
.editlink code.open { white-space: normal; overflow-wrap: anywhere; user-select: all; }
.note:empty { display: none; }
.slip-head .no .unit { margin: 0 0 0 5px; }
