/* Planote web: ortak stil (açık / koyu tema). */
:root {
  --bg: #fffdf7;
  --bg-soft: #fff6dc;
  --card: #ffffff;
  --text: #1c1b1f;
  --muted: #5f5b66;
  --line: #ece6d6;
  --brand: #ffb300;
  --brand-2: #ff8f00;
  --brand-ink: #3b2a00;
  --accent: #6750a4;
  --ok: #2e7d32;
  --shadow: 0 10px 30px rgba(60, 40, 0, .08);
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141316;
    --bg-soft: #1f1c16;
    --card: #1e1d21;
    --text: #ece8f0;
    --muted: #a9a3b1;
    --line: #2d2b31;
    --brand-ink: #1c1400;
    --accent: #cfbcff;
    --ok: #81c784;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141316;
  --bg-soft: #1f1c16;
  --card: #1e1d21;
  --text: #ece8f0;
  --muted: #a9a3b1;
  --line: #2d2b31;
  --brand-ink: #1c1400;
  --accent: #cfbcff;
  --ok: #81c784;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }

/* ---------------------------------------------------------------- üst */
header.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav.links { display: flex; gap: 20px; margin-left: auto; align-items: center; }
nav.links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
nav.links a:hover { color: var(--text); }
select.lang {
  background: var(--card); color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; padding: 6px 8px; font: inherit; font-size: 14px;
}
@media (max-width: 760px) {
  nav.links a.hide-sm { display: none; }
  nav.links { gap: 12px; }
}

/* ---------------------------------------------------------------- düğmeler */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 14px; font-weight: 700; text-decoration: none;
  border: 1px solid transparent; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--brand-ink); box-shadow: 0 8px 22px rgba(255, 143, 0, .3);
}
.btn.ghost { border-color: var(--line); background: var(--card); }
.btn svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- giriş */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: var(--bg-soft); color: var(--brand-2); font-weight: 700; font-size: 13px;
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
}
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; margin: 18px 0; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note-small { margin-top: 16px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- telefon */
.phone {
  width: min(330px, 100%); margin: 0 auto; aspect-ratio: 9 / 18.5;
  border-radius: 42px; padding: 12px; background: #111;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25), inset 0 0 0 2px #333;
}
.screen {
  height: 100%; border-radius: 32px; overflow: hidden; background: #fffefa; color: #1c1b1f;
  font-size: 13px; line-height: 1.45; position: relative;
  background-image: repeating-linear-gradient(transparent 0 23px, rgba(0, 0, 0, .06) 23px 24px);
  background-position: 0 74px;
}
.screen .bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 6px; font-weight: 700; font-size: 12px; background: #fffefa; }
.screen .title { padding: 4px 18px 8px; font-size: 20px; font-weight: 800; background: #fffefa; }
.screen .body { padding: 0 18px; }
.blk { margin: 0 0 4px; min-height: 24px; }
.blk.todo { display: flex; gap: 8px; align-items: center; }
.box { width: 15px; height: 15px; border-radius: 4px; border: 2px solid #9e9aa5; flex: none; }
.box.on { background: var(--brand); border-color: var(--brand); position: relative; }
.box.on::after { content: ""; position: absolute; left: 3px; top: 0; width: 4px; height: 8px; border: solid #3b2a00; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.blk.done span { text-decoration: line-through; color: #8a8590; }
.prog { margin: 6px 0 10px; }
.prog .track { height: 9px; border-radius: 9px; background: #efe9da; overflow: hidden; }
.prog .fill { height: 100%; width: 66%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 9px; }
.prog small { color: #6b6672; font-size: 11px; }
.tbl { width: 100%; border-collapse: collapse; margin: 6px 0 10px; font-size: 12px; background: #fff; }
.tbl th { background: #fff3cd; text-align: left; }
.tbl th, .tbl td { border: 1px solid #e8e1cf; padding: 3px 6px; }
.math { background: #f4f0ff; border-radius: 10px; padding: 8px 10px; font-family: "Roboto Mono", ui-monospace, monospace; font-size: 12px; margin: 6px 0 10px; }
.math b { color: #6750a4; float: right; }
.slash {
  position: absolute; left: 18px; right: 18px; bottom: 18px; background: #fff; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18); padding: 8px; font-size: 12px;
}
.slash div { padding: 6px 8px; border-radius: 8px; display: flex; gap: 8px; }
.slash div.on { background: #fff3cd; font-weight: 700; }
.slash kbd { margin-left: auto; color: #8a8590; font-family: inherit; }

/* ---------------------------------------------------------------- bölümler */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.01em; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card .ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--bg-soft); font-size: 22px; margin-bottom: 14px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.split h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; margin: 0 0 14px; }
.split p { color: var(--muted); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800; }
.illus { max-width: 440px; margin: 0 auto; }

/* ---------------------------------------------------------------- planlar */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 820px; margin: 0 auto; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }
.plan h3 { font-size: 22px; margin: 0 0 4px; }
.plan.pro { border: 2px solid var(--brand); position: relative; }
.plan .tag { position: absolute; top: -12px; right: 18px; background: var(--brand); color: var(--brand-ink); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 0; }
.plan li { padding: 7px 0 7px 28px; position: relative; border-top: 1px solid var(--line); }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 800; }

/* ---------------------------------------------------------------- sss / metin */
details.faq {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 0 20px; margin-bottom: 10px;
}
details.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; gap: 12px; }
details.faq summary::after { content: "+"; margin-left: auto; color: var(--brand-2); font-size: 22px; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq > div { padding: 0 0 18px; color: var(--muted); }

.doc { padding: 48px 0 72px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 6px; }
.doc .meta { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 21px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc .callout {
  background: var(--bg-soft); border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  border-radius: 14px; padding: 16px 18px; margin: 20px 0;
}
.doc ol.steps { counter-reset: s; list-style: none; padding: 0; }
.doc ol.steps li { counter-increment: s; position: relative; padding: 4px 0 14px 46px; }
.doc ol.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; background: var(--brand); color: var(--brand-ink);
}
.cmds { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: 15px; }
.cmds th, .cmds td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmds code, .doc code {
  background: var(--bg-soft); padding: 2px 7px; border-radius: 7px;
  font-family: "Roboto Mono", ui-monospace, monospace; font-size: .92em;
}
.table-scroll { overflow-x: auto; }

/* ---------------------------------------------------------------- alt */
footer.bottom { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: 14px; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
footer.bottom a { text-decoration: none; }
footer.bottom a:hover { color: var(--text); }
footer.bottom .made { margin-left: auto; display: flex; align-items: center; gap: 8px; }
footer.bottom .made img { height: 22px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: block; }
}
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc ol { padding-left: 22px; }
