/* Renkler apps/mobile/src/theme/tokens.ts açık ve koyu temasından alınmıştır (metin ≥ 4.5:1). */
:root {
  color-scheme: light dark;
  --background: #f4f9f8;
  --surface: #ffffff;
  --hairline: #e0e5e4;
  --text: #242e2b;
  --text-muted: #5b6663;
  --primary: #386f63;
  --primary-tint: #e0f4ef;
  --danger: #98524a;
  --danger-tint: #ffebe8;
  --focus: #386f63;
  --surface-muted: #edf2f1;
  --on-primary: #ffffff;
  --act-feeding: #96627b;
  --act-feeding-tint: #fdebf2;
  --act-bottle: #487b9b;
  --act-bottle-tint: #e4f3fe;
  --act-diaper: #5f7f54;
  --act-diaper-tint: #eaf4e6;
  --act-sleep: #706e9f;
  --act-sleep-tint: #eeefff;
  --act-pumping: #89668f;
  --act-pumping-tint: #f8ecf9;
  --act-temperature: #9b6554;
  --act-temperature-tint: #ffece6;
  --act-medication: #66768b;
  --act-medication-tint: #ecf1f8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0f1413;
    --surface: #181d1c;
    --hairline: #2a2f2e;
    --text: #e4ebe9;
    --text-muted: #acb3b1;
    --primary: #8acdbe;
    --primary-tint: #1c3630;
    --danger: #e89e94;
    --danger-tint: #422825;
    --focus: #8acdbe;
    --surface-muted: #212624;
    --on-primary: #0e241f;
    --act-feeding: #e1acc4;
    --act-feeding-tint: #3a2830;
    --act-bottle: #93c5e6;
    --act-bottle-tint: #1f303b;
    --act-diaper: #a8c99d;
    --act-diaper-tint: #263223;
    --act-sleep: #b8b8ea;
    --act-sleep-tint: #2c2c3c;
    --act-pumping: #d4afd9;
    --act-pumping-tint: #352937;
    --act-temperature: #e6af9d;
    --act-temperature-tint: #3b2923;
    --act-medication: #afbfd5;
    --act-medication-tint: #292e35;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  color: var(--primary);
  text-underline-offset: 0.15em;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  border-radius: 8px;
  z-index: 1;
}

.skip:focus {
  top: 0.5rem;
}

.site-header {
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}

.site-header .wrap,
.site-footer .wrap,
.wrap.wide {
  max-width: 68rem;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 1rem;
}

.site-header nav a {
  padding: 0.5rem 0.25rem;
}

[aria-current='page'] {
  font-weight: 600;
}

main.wrap {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

h1,
h2,
h3 {
  line-height: 1.25;
  overflow-wrap: break-word;
}

h1 {
  font-size: 2rem;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.375rem;
  margin: 2rem 0 0.75rem;
}

h3 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

p,
li {
  overflow-wrap: break-word;
}

.notice {
  background: var(--danger-tint);
  border-left: 4px solid var(--danger);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.stores {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stores li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 0.625rem 1rem;
}

.store {
  font-weight: 600;
}

.soon {
  font-size: 0.875rem;
  color: var(--text);
  background: var(--primary-tint);
  border-radius: 999px;
  padding: 0.125rem 0.625rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

.legal h1 {
  font-size: 1.75rem;
}

.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.9375rem;
  padding: 1.5rem 0 2rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.site-footer a {
  display: inline-block;
  padding: 0.25rem 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lead {
  font-size: 1.1875rem;
  color: var(--text-muted);
}

/* ---------- Ana sayfa (landing) ---------- */

.landing h2 {
  font-size: 1.75rem;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.landing .icon {
  flex: none;
}

.band {
  padding: 3.5rem 0;
}

.band.alt {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.narrow {
  max-width: 44rem;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 40rem;
  margin-top: 0;
}

.hero {
  padding: 3rem 0 3.5rem;
  background: linear-gradient(180deg, var(--primary-tint), var(--background));
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 52rem) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.pills {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pills li {
  font-size: 0.9375rem;
  border: 1px solid var(--hairline);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

/* Telefon temsili */
.phone {
  margin: 0 auto;
  width: min(100%, 20rem);
  border-radius: 2.25rem;
  padding: 0.75rem;
  background: #1b2321;
  border: 1px solid #3a4441;
  box-shadow: 0 1.5rem 3rem rgb(23 33 31 / 0.18);
}

.phone-screen {
  background: var(--background);
  border-radius: 1.6rem;
  padding: 1rem 0.875rem 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.ph-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.ph-top b,
.ph-top small {
  display: block;
}

.ph-top small,
.ph-card small {
  color: var(--text-muted);
}

.ph-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary-tint);
  border: 2px solid var(--primary);
}

.ph-label {
  font-weight: 700;
  margin: 0.75rem 0 0.375rem;
}

.ph-status {
  display: grid;
  gap: 0.375rem;
}

.ph-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 0.75rem;
  padding: 0.5rem 0.625rem;
}

.ph-card .dot {
  grid-row: span 2;
  width: 0.75rem;
  height: 0.75rem;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--act);
}

.ph-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.375rem;
  text-align: center;
}

.ph-summary span {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 0.75rem;
  padding: 0.375rem 0.25rem;
  color: var(--text-muted);
}

.ph-summary b {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.ph-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.375rem;
}

.ph-grid span {
  background: var(--act-tint);
  color: var(--text);
  border-radius: 0.75rem;
  padding: 0.625rem 0.25rem;
  text-align: center;
  font-weight: 600;
  border-top: 3px solid var(--act);
}

/* Kayıt türü renkleri */
.act-feeding {
  --act: var(--act-feeding);
  --act-tint: var(--act-feeding-tint);
}
.act-bottle {
  --act: var(--act-bottle);
  --act-tint: var(--act-bottle-tint);
}
.act-diaper {
  --act: var(--act-diaper);
  --act-tint: var(--act-diaper-tint);
}
.act-sleep {
  --act: var(--act-sleep);
  --act-tint: var(--act-sleep-tint);
}
.act-pumping {
  --act: var(--act-pumping);
  --act-tint: var(--act-pumping-tint);
}
.act-temperature {
  --act: var(--act-temperature);
  --act-tint: var(--act-temperature-tint);
}
.act-medication {
  --act: var(--act-medication);
  --act-tint: var(--act-medication-tint);
}

/* Özellik kartları */
.feature-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 40rem) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-top: 4px solid var(--act);
  border-radius: 1rem;
  padding: 1.25rem;
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature h3 {
  margin: 0;
  font-size: 1.25rem;
}

.badge {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  background: var(--act-tint);
  color: var(--act);
}

.feature-summary {
  font-weight: 600;
  margin: 0.75rem 0 0.5rem;
}

.feature ul,
.checks {
  padding-left: 1.125rem;
  margin: 0;
}

.feature li + li,
.checks li + li {
  margin-top: 0.5rem;
}

.feature li {
  font-size: 0.9875rem;
}

/* İki sütunlu bölümler */
.split {
  display: grid;
  gap: 1.25rem 3rem;
}

@media (min-width: 52rem) {
  .split {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.checks li::marker {
  color: var(--primary);
}

/* Gece bandı: uygulamanın gece teması renkleri (kontrast ≥ 4.5:1) */
.band.night {
  background: #000000;
  color: #e89a8c;
  --primary: #e89a8c;
  --text-muted: #c9897a;
  --focus: #e89a8c;
}

.band.night h2 {
  color: #f0b0a4;
}

/* Güven kartları */
.trust-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 40rem) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trust {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  padding: 1.25rem;
}

.trust h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
}

.trust .icon {
  color: var(--primary);
}

.trust p {
  margin: 0;
}

/* Adımlar */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 52rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li {
  counter-increment: step;
  background: var(--background);
  border: 1px solid var(--hairline);
  border-radius: 1rem;
  padding: 1.25rem;
}

.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.steps p {
  margin: 0;
}

.cta {
  text-align: center;
}

.cta h2 {
  justify-content: center;
}

.cta .stores {
  justify-content: center;
}
