/* Rundle marka sitesi.
   Renkler uygulamanın adaçayı temasından geliyor: OKLCH hue 165, RundlePalette.swift'teki
   L/C merdiveninin birebir sRGB karşılığı. Başlıklar serif: ui-serif Apple cihazlarda
   doğrudan New York'a düşüyor, yani tipografi kararının web karşılığı.
   Kâğıt tonu (--paper) mağaza karelerinden örneklendi. */

:root {
  --surface: #f9fcfa;
  --raised: #f0f5f2;
  --hairline: #d3dbd7;
  --ink: #2a3631;
  --ink-muted: #656e6a;
  --track: #d5ece1;
  --accent: #4c7c67;
  --accent-ink: #3a705a;
  --on-accent: #fbfcfb;
  --paper: #f9ebdd;
  --paper-line: #eddfd0;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(42, 54, 49, .06);
  --shadow: 0 14px 40px rgba(42, 54, 49, .10);
  --maxw: 1060px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: ui-serif, "New York", Georgia, "Iowan Old Style", "Times New Roman", serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #131916;
    --raised: #1e2521;
    --hairline: #2f3834;
    --ink: #e3ece7;
    --ink-muted: #9ea7a2;
    --track: #283a32;
    --accent: #87c0a6;
    --accent-ink: #9dd0b9;
    --on-accent: #0c1813;
    --paper: #1a201c;
    --paper-line: #262e29;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .4);
    --shadow: 0 14px 40px rgba(0, 0, 0, .45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .45em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; color: var(--ink-muted); }
strong { color: var(--ink); font-weight: 600; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Navigasyon */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a:not(.btn) { color: var(--ink-muted); font-size: .95rem; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--ink); text-decoration: none; }
@media (max-width: 700px) { .nav-links a:not(.btn) { display: none; } }

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px;
  font-family: var(--sans); font-size: .95rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, filter .2s ease, border-color .2s ease;
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn-primary:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.06); }
.btn-ghost { background: var(--raised); color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { text-decoration: none; border-color: var(--accent); }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; border-radius: 14px; }
.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; filter: none; }

/* Hero */
.hero { text-align: center; padding: 76px 0 60px; background: var(--paper); border-bottom: 1px solid var(--paper-line); }
.hero .app-icon { width: 108px; height: 108px; border-radius: 24px; margin: 0 auto 26px; box-shadow: var(--shadow); }
.hero h1 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.hero .lede { font-size: clamp(1.05rem, 2.1vw, 1.24rem); max-width: 60ch; margin: 0 auto 26px; color: var(--ink-muted); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta .note { width: 100%; font-size: .86rem; color: var(--ink-muted); margin: 14px 0 0; }
.trust { margin-top: 26px; display: flex; gap: 10px 22px; justify-content: center; flex-wrap: wrap; font-size: .92rem; color: var(--ink-muted); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* Bölümler */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 42px; }
.section-head p { font-size: 1.05rem; }
.band { background: var(--paper); border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm);
}
/* Koyu temada şerit yüzeyden AÇIK, kart ondan bir kademe daha açık olmalı:
   aksi hâlde kart şeridin içine gömülür. Açık temada tam tersi, beyaz kart kâğıdın üstünde durur. */
.band .card { background: var(--surface); }
@media (prefers-color-scheme: dark) { .band .card { background: var(--raised); } }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; font-size: .96rem; }
.card .ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--track); color: var(--accent-ink); margin-bottom: 16px;
}
.card .ic svg { width: 22px; height: 22px; }
.tag-pro {
  font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent-ink); background: var(--track);
  border-radius: 999px; padding: 3px 8px; vertical-align: middle; margin-left: 6px;
}

/* Saf CSS halka. Görsel varlık değil: uygulamadaki geri sayım biçiminin kendisi. */
.ring {
  width: 44px; height: 44px; border-radius: 50%;
  background: conic-gradient(var(--accent) 0turn .66turn, var(--track) .66turn 1turn);
  -webkit-mask: radial-gradient(circle, #0000 56%, #000 57%);
  mask: radial-gradient(circle, #0000 56%, #000 57%);
}
.card .ic:has(.ring) { background: none; }

/* Ekran görüntüleri */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; } }
.shot img {
  width: 100%; border-radius: 26px; border: 1px solid var(--hairline);
  box-shadow: var(--shadow); background: var(--surface);
}
.shot p { margin: 16px 2px 0; font-size: .93rem; text-align: center; }

/* Fiyat */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; margin: 0 auto; }
@media (max-width: 580px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 28px; }
.plan.pro { border-color: var(--accent); background: color-mix(in srgb, var(--track) 34%, var(--surface)); }
.plan .tag { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-muted); }
.plan.pro .tag { color: var(--accent-ink); }
.plan .price { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; margin: 4px 0 0; }
.plan .price small { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--ink-muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; }
.plan li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: .95rem; color: var(--ink-muted); }
.plan li svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 5px; }
.plans-note { text-align: center; max-width: 620px; margin: 26px auto 0; font-size: .95rem; }

/* Erişilebilirlik listesi */
.a11y { max-width: 760px; margin: 0 auto; }
.a11y ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
@media (max-width: 580px) { .a11y ul { grid-template-columns: 1fr; } }
.a11y li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-muted); font-size: .96rem; }
.a11y li svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 5px; }

/* Gizlilik şeridi */
.promise { text-align: center; }
.promise .card { max-width: 720px; margin: 0 auto; padding: 38px; }
.promise .ic { margin: 0 auto 16px; width: 54px; height: 54px; }
.promise .ic svg { width: 26px; height: 26px; }

/* Belge sayfaları */
.doc { max-width: 760px; padding: 52px 24px 72px; }
.doc h1 { margin-bottom: 6px; }
.doc .updated { color: var(--ink-muted); font-size: .9rem; margin-bottom: 30px; }
.doc h2 { font-size: 1.36rem; margin-top: 40px; }
.doc h3 { margin-top: 26px; }
.doc ul { padding-left: 20px; margin: 0 0 1em; }
.doc li { margin: 6px 0; color: var(--ink-muted); }
.doc code { font-size: .9em; background: var(--raised); border-radius: 6px; padding: 2px 6px; }
.callout {
  background: color-mix(in srgb, var(--track) 45%, var(--surface));
  border: 1px solid var(--accent); border-radius: var(--radius);
  padding: 18px 20px; margin: 26px 0;
}
.callout p:last-child { margin: 0; }
.note-box {
  background: var(--raised); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 16px 20px; margin: 26px 0; font-size: .93rem;
}
.note-box p:last-child { margin: 0; }

/* SSS */
.faq { border-top: 1px solid var(--hairline); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-ink); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > *:not(summary) { margin-bottom: 16px; }
.faq details p { margin: 0 0 12px; }
.faq details ul { margin: 0 0 12px; padding-left: 20px; }

/* Alt bilgi */
footer.foot { border-top: 1px solid var(--hairline); padding: 40px 0; background: var(--raised); }
.foot-inner { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.foot .brand { font-size: 1.05rem; }
.foot small { display: block; color: var(--ink-muted); margin-top: 10px; font-size: .84rem; max-width: 46ch; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--ink-muted); font-size: .92rem; }
