/* Untilfree guide pages — the app's own brand (Horizon: paper, ink, one amber). Loaded after
 * untilfree.css, which holds the colour tokens, type, header and footer. */
:root { --surface2: #EFE9DF; --accent-fill: #C2410C; --accent-soft: #F6DFC9; --on-ink: #F7F3EC; }
@media (prefers-color-scheme: dark) {
  :root { --surface2: #212A36; --accent-fill: #F2A65A; --accent-soft: #3A2A1A; --on-ink: #0F141C; }
}
.wordmark { text-decoration: none; }
.top nav { display: flex; gap: 18px; }
.crumbs { font-size: 0.8125rem; color: var(--ink-2); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.crumbs a { color: var(--ink-2); }
.guide-head h1 { margin: 0.35em 0 0.3em; }
.lede { font-size: 1.125rem; color: var(--ink-2); margin: 0 0 18px; }

/* First-screen call to the app */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; background: var(--accent-soft); border-radius: 14px; padding: 14px 16px; margin: 0 0 8px; }
.cta img { border-radius: 12px; flex: none; }
.cta p { margin: 0; flex: 1 1 14rem; font-size: 0.9375rem; line-height: 1.45; }
.store { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: var(--on-ink); font-weight: 600; font-size: 0.9375rem; text-decoration: none; white-space: nowrap; }
.store:hover { opacity: 0.92; }
.store svg { width: 20px; height: 20px; flex: none; }
.store.big { min-height: 52px; padding: 12px 22px; font-size: 1rem; }

/* Article */
.prose h2 { margin-top: 1.7em; }
.prose h3 { font: 600 1.0625rem/1.35 var(--sans); margin: 1.3em 0 0.3em; }
.prose p, .prose li { overflow-wrap: anywhere; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 0.35em; }
.story { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent-fill); border-radius: 10px; padding: 14px 16px; margin: 0 0 1em; }
.story p:last-child { margin-bottom: 0; }

/* App section */
.app-band { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 16px; margin-top: 2.2em; }
.app-band h2 { margin-top: 0; }
.app-band .small { font-size: 0.8125rem; color: var(--ink-2); margin-top: 12px; }
.shots { display: flex; gap: 12px; justify-content: center; }
.shots figure { margin: 0; flex: 0 1 220px; min-width: 0; }
.shots img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); }
@media (min-width: 720px) {
  .app-band { grid-template-columns: 1fr 1fr; align-items: center; padding: 28px; }
}

.disclaimer { font-size: 0.875rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 2em; }
.related { margin-top: 1.5em; }
.related ul { list-style: none; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.related li { margin: 0; }
.related a { display: block; height: 100%; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 600; }
.related a span { display: block; font-weight: 400; font-size: 0.875rem; color: var(--ink-2); margin-top: 2px; }
.related a:hover { border-color: var(--accent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Teaser calculator (first screen) + locked "rest of it" card */
.teaser { display: grid; gap: 12px; margin: 4px 0 18px; }
.t-form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 12px; }
.t-fields { display: grid; gap: 10px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.t-n1 .t-fields { --cols: 1; } .t-n2 .t-fields { --cols: 2; }
.t-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.t-field label { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); line-height: 1.25; }
.t-input { position: relative; }
.t-input .pre { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.t-input input { width: 100%; min-height: 48px; font: 500 1.0625rem/1.2 var(--sans); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-variant-numeric: tabular-nums; -webkit-appearance: none; appearance: none; }
.t-input input.has-pre { padding-left: 24px; }
.t-input input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.t-result { border-top: 1px solid var(--line); padding-top: 10px; }
.t-label { margin: 0; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.t-head { margin: 2px 0; font: 500 clamp(1.75rem, 7vw, 2.375rem)/1.15 var(--serif); letter-spacing: -0.01em; color: var(--accent); font-variant-numeric: tabular-nums; }
.is-error .t-head { font: 600 1rem/1.4 var(--sans); color: var(--ink); }
.t-sub { margin: 0; font-size: 0.8125rem; color: var(--ink-2); }
.locked { background: var(--accent-soft); border-radius: 16px; padding: 14px; display: grid; gap: 12px; }
.locked-top { display: flex; gap: 10px; align-items: flex-start; }
.locked-top p { margin: 0; font-size: 0.9375rem; line-height: 1.45; font-weight: 600; }
.lock { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; }
.lock svg { width: 17px; height: 17px; }
.locked-body { display: flex; gap: 12px; align-items: center; }
.locked-rows { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; display: grid; gap: 6px; }
.locked-rows li { display: flex; flex-direction: column; background: var(--surface); border-radius: 10px; padding: 8px 10px; }
.locked-rows span { font-size: 0.75rem; color: var(--ink-2); }
.locked-rows b { font: 500 1.125rem/1.3 var(--serif); filter: blur(5px); user-select: none; }
.locked-shot { flex: none; width: 96px; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.locked-feats { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 0.8125rem; }
.locked-feats li { margin: 0; padding-left: 16px; position: relative; }
.locked-feats li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-fill); }
.store.wide-btn { justify-content: center; width: 100%; white-space: normal; text-align: center; }
.locked-note { margin: 0; font-size: 0.75rem; color: var(--ink-2); text-align: center; }
@media (min-width: 720px) {
  .teaser { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .t-form { padding: 18px; }
  .locked { padding: 18px; }
  .locked-shot { width: 120px; }
}
@media (max-width: 360px) { .t-fields { --cols: 1 !important; } }
.t-fields { align-items: end; }
.prose .locked-rows, .prose .locked-feats { padding-left: 0; }
.prose .locked-rows li, .prose .locked-feats li { margin-bottom: 0; }
.prose .locked-feats li { padding-left: 16px; }

/* Art-director pass (SEO-SAYFA-ELESTIRI 2026-10-12) */
main#main { padding-top: 12px; }
.guide-head h1 { margin-top: 0.2em; font-size: clamp(1.75rem, 5.4vw, 2.75rem); }
.top nav { align-items: center; }
.top nav a.nav-pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  background: var(--ink); color: var(--on-ink); font-size: 0.875rem; }
.top nav a.nav-pill:hover { color: var(--on-ink); opacity: 0.92; }
.locked-top p { font-weight: 500; }
.locked-note { margin-top: -4px; }
.locked-rows b { filter: blur(6px); opacity: 0.7; }
.locked-feats li::before { background: var(--ink-2); }
@media (max-width: 719px) { .locked-shot { display: none; } }
@media (prefers-color-scheme: dark) {
  .locked { background: var(--surface2); border: 1px solid var(--line); }
  .locked-rows li { background: var(--bg); }
}

/* Sticky CTA (mobile, appears once the locked card has scrolled away) */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: var(--surface); border-top: 1px solid var(--line); transition: transform 0.2s ease; }
.sticky-cta[hidden] { display: none; }
.sticky-result { font: 500 1.125rem/1.2 var(--serif); color: var(--accent); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-cta .store { min-height: 44px; padding: 8px 16px; flex: none; }
@media (max-width: 719px) { main#main { padding-bottom: 96px; } }
@media (min-width: 720px) { .sticky-cta { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
.published { font-size: 0.8125rem; color: var(--ink-2); margin-top: -0.4em; }
