/* Ana sayfa (yalnızca web). Hafif: görsel, kütüphane, bulanıklık ve sürekli animasyon yok. */
.hm-hero { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin: 6px 0 8px; }
.hm-hero-main { border-radius: 26px; padding: 26px 20px; border: 1px solid var(--line);
  background: radial-gradient(520px 260px at 100% 0%, color-mix(in srgb, #8b7cf6 20%, transparent), transparent 70%), linear-gradient(140deg, color-mix(in srgb, var(--primary) 18%, var(--surface)), var(--surface) 72%); }
.hm-badge { display: inline-block; font-size: .76rem; font-weight: 800; color: var(--primary); background: var(--surface); border: 1px solid var(--primary-line); border-radius: 999px; padding: 4px 12px; }
.hm-hero h2 { font-size: clamp(1.5rem, 5.2vw, 2.45rem); line-height: 1.18; margin: 14px 0 10px; letter-spacing: -.02em; }
.hm-hero h2 em { font-style: normal; color: var(--primary); }
.hm-hero-main > p { color: var(--muted); margin: 0 0 18px; max-width: 56ch; }
.hm-ask { display: flex; gap: 6px; background: var(--surface); border: 1.5px solid var(--primary-line); border-radius: 999px; padding: 6px; max-width: 620px; box-shadow: 0 10px 28px -18px color-mix(in srgb, var(--primary) 70%, transparent); }
.hm-ask:focus-within { border-color: var(--primary); }
.hm-ask input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; padding: 8px 14px; }
.hm-ask button, .hm-opt button { border: 0; border-radius: 999px; background: var(--primary); color: var(--on-primary); font: inherit; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.hm-ask button { padding: 0 20px; height: 44px; }
.hm-stats { display: flex; gap: 28px; margin-top: 20px; }
.hm-stats b { display: block; font-size: 1.5rem; line-height: 1.1; }
.hm-stats span { font-size: .8rem; color: var(--muted); }
.hm-calc { display: flex; flex-direction: column; gap: 14px; border-radius: 26px; padding: 20px 16px 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 18px 40px -30px color-mix(in srgb, var(--primary) 60%, transparent); }
.hm-calc-top h3 { margin: 0; font-size: 1.18rem; letter-spacing: -.01em; }
.hm-calc-top p { margin: 3px 0 0; font-size: .84rem; color: var(--muted); }
.hm-opts { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hm-opt { --tc: var(--primary); border-radius: 20px; background: color-mix(in srgb, var(--tc) 10%, var(--surface)); border: 1.5px solid transparent; transition: border-color .15s, background .15s; }
.hm-opt.o-bebek { --tc: #3d93d8; } .hm-opt.o-hamile { --tc: #8466e6; } .hm-opt.o-plan { --tc: #23a37c; }
.hm-opt:hover, .hm-opt[open] { border-color: var(--tc); }
.hm-opt summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 13px 12px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hm-opt summary::-webkit-details-marker { display: none; }
.hm-opt .ic { flex: none; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 1.65rem; background: var(--surface); box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--tc) 80%, transparent); }
.hm-opt .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.hm-opt .tx b { font-size: 1.02rem; }
.hm-opt .tx small { font-size: .78rem; color: var(--muted); }
.hm-opt .go { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--tc); color: #fff; }
.hm-opt .go svg { transition: transform .2s; }
.hm-opt[open] .go svg { transform: rotate(90deg); }
.hm-opt form { margin: 0; padding: 0 12px 12px; }
.hm-opt label { display: block; font-size: .74rem; font-weight: 800; color: var(--muted); margin-bottom: 5px; }
.hm-opt form div { display: flex; gap: 6px; }
.hm-opt input { flex: 1; min-width: 0; height: 44px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; padding: 0 10px; }
.hm-opt form button { height: 44px; padding: 0 14px; border-radius: 13px; background: var(--tc); color: #fff; }
.hm-calc-all { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 14px; background: var(--surface-2); color: var(--text); font-size: .88rem; font-weight: 800; }
.hm-calc-all:hover { text-decoration: none; background: var(--primary-soft); color: var(--primary); }

.hm-sec { margin-top: 30px; }
.hm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.hm-head h2 { margin: 0; font-size: 1.3rem; letter-spacing: -.01em; }
.hm-head p { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.hm-head > a { font-weight: 700; font-size: .88rem; white-space: nowrap; }

.hm-journey { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hm-j { --tc: var(--primary); display: flex; flex-direction: column; gap: 4px; padding: 16px 14px; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--tc) 30%, var(--line)); background: linear-gradient(170deg, color-mix(in srgb, var(--tc) 13%, var(--surface)), var(--surface) 70%); }
.hm-j.j1 { --tc: #35b48a; } .hm-j.j2 { --tc: #8b7cf6; } .hm-j.j3 { --tc: #4b9fe0; } .hm-j.j4 { --tc: #e8558a; }
.hm-j .ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: color-mix(in srgb, var(--tc) 18%, var(--surface)); margin-bottom: 6px; }
.hm-j h3 { margin: 0; font-size: 1.02rem; line-height: 1.25; }
.hm-j p { margin: 0 0 8px; font-size: .82rem; color: var(--muted); line-height: 1.45; flex: 1; }
.hm-j a { font-size: .82rem; font-weight: 700; color: var(--text); padding: 3px 0; }
.hm-j a.go { text-align: center; background: var(--tc); color: #fff; border-radius: 12px; padding: 9px 8px; }
.hm-j a.go:hover { text-decoration: none; filter: brightness(1.06); }

.hm-tools { display: grid; gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hm-tools a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 90px; padding: 10px 4px; text-align: center; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.hm-tools a:hover { text-decoration: none; border-color: var(--primary); transform: translateY(-2px); }
.hm-tools a:active { transform: scale(.97); }
.hm-tools span { font-size: 1.6rem; line-height: 1; }
.hm-tools b { font-size: .72rem; line-height: 1.25; overflow-wrap: anywhere; }

.hm-wait { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.hm-wait::-webkit-scrollbar { display: none; }
.hm-wait a { scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--primary); color: var(--text); }
.hm-wait a:hover { text-decoration: none; border-color: var(--primary); }
.hm-wait small { font-size: .72rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; }
.hm-wait b { flex: 1; font-size: .98rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hm-wait span { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.hm-wait img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.hm-wait em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--primary); }

#sorular { margin-top: 30px; scroll-margin-top: 76px; }
html.is-app #sorular { margin-top: 6px; }
.hm-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-topics a { font-size: .82rem; font-weight: 700; color: var(--text); background: var(--surface-2); border-radius: 999px; padding: 6px 11px; }
.hm-topics a:hover { text-decoration: none; background: var(--primary-soft); color: var(--primary); }
.hm-topics i { font-style: normal; font-size: .72rem; color: var(--muted); }
.hm-more { display: inline-block; margin-top: 12px; font-size: .85rem; font-weight: 700; }
.hm-name { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hm-name i { flex: none; width: 46px; text-align: center; font-style: normal; font-size: .68rem; font-weight: 800; padding: 3px 0; border-radius: 999px; }
.hm-name i.g { color: #d6336c; background: color-mix(in srgb, #e8558a 16%, var(--surface)); }
.hm-name i.b { color: #2b7bbd; background: color-mix(in srgb, #4b9fe0 18%, var(--surface)); }
.hm-name div { min-width: 0; line-height: 1.3; }
.hm-name b { display: block; font-size: .95rem; }
.hm-name span { font-size: .76rem; color: var(--muted); }

.hm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.hm-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.hm-steps li > b { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.hm-steps h3 { margin: 0 0 2px; font-size: 1rem; } .hm-steps p { margin: 0; font-size: .85rem; color: var(--muted); }
.hm-cta { margin-top: 30px; text-align: center; padding: 30px 20px; border-radius: 26px; color: #fff; background: linear-gradient(120deg, var(--primary), #8b6ee8); }
.hm-cta h2 { color: #fff; margin: 0 0 6px; font-size: 1.4rem; }
.hm-cta p { margin: 0 auto 18px; max-width: 62ch; font-size: .84rem; opacity: .92; }
.hm-cta div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hm-cta a { font-weight: 800; border-radius: 999px; padding: 12px 24px; }
.hm-cta a:hover { text-decoration: none; filter: brightness(1.04); }
.hm-cta .b1 { background: #fff; color: #b8255f; }
.hm-cta .b2 { border: 1.5px solid rgba(255, 255, 255, .8); color: #fff; }

@media (max-width: 420px) { .hm-ask button span { display: none; } .hm-ask button { width: 44px; padding: 0; } }
@media (min-width: 640px) {
  .hm-tools { grid-template-columns: repeat(6, minmax(0, 1fr)); } .hm-tools b { font-size: .82rem; }
  .hm-wait { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .hm-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .hm-hero { grid-template-columns: minmax(0, 1fr) 330px; }
  .hm-hero-main { padding: 40px 36px; }
  .hm-journey { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .hm-wait { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ===== Telefon ve küçük ekran: ayrı düzen — önce sorular ===== */
@media (max-width: 899px) {
  .hm { display: flex; flex-direction: column; }
  .hm > * { min-width: 0; }
  .hm-hero, .hm .grid-main { display: contents; }

  /* Üstte yalnızca ince soru çubuğu */
  .hm-hero-main { order: 1; padding: 0; margin: 0 0 12px; border: 0; background: none; border-radius: 0; }
  .hm-hero-main .hm-badge, .hm-hero-main h2, .hm-hero-main > p, .hm-hero-main .hm-stats { display: none; }
  .hm-ask { box-shadow: none; border-width: 1px; padding: 4px; }
  .hm-ask input { padding: 6px 12px; }
  .hm-ask button { height: 38px; width: auto; padding: 0 16px; }
  .hm-ask button svg { display: none; }
  .hm-ask button span { display: inline; font-size: 0; }
  .hm-ask button span::after { content: "Sor"; font-size: .9rem; }

  /* Sorular hemen ardından */
  .hm .grid-main > div { order: 2; min-width: 0; }
  .h-feed { display: none; }
  #feed { scroll-margin-top: 76px; }

  /* Sonrasında keşfet bölümleri */
  .hm .s-wait { order: 3; }
  .hm-calc { order: 4; margin-top: 28px; }
  .hm .s-tools { order: 5; }
  .hm .s-journey { order: 6; }
  .hm .sidebar { display: block; order: 7; margin-top: 28px; }
  #sorular .tabs { gap: 3px; padding: 3px; overflow: visible; margin-bottom: 10px !important; }
  #sorular .tabs a { flex: 1; text-align: center; padding: 9px 2px; font-size: .8rem; white-space: nowrap; }
  .hm .s-blog { order: 8; }
  .hm .s-steps { order: 9; }
  .hm .hm-cta { order: 10; }

  .hm-sec { margin-top: 28px; }
  .hm-head h2 { font-size: 1.12rem; }
  /* Araçlar yana kaydırmalı, iki sıra */
  .hm-tools { grid-auto-flow: column; grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-columns: 84px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .hm-tools::-webkit-scrollbar { display: none; }
}

/* Telefonda uygulama ile aynı açılış: üst menü yok, kategori barı, sekmeler, sorular */
@media (max-width: 899px) {
  body .topbar { display: none; }
  .page { padding-top: 12px; }
  .hm-hero-main { display: none; }
  #sorular { margin-top: 2px; }
}

/* Hız: ekran dışındaki alt bölümler görünene kadar çizilmez (içerik HTML'de aynen durur, SEO etkilenmez) */
.hm .s-blog, .hm .s-steps, .hm .hm-cta { content-visibility: auto; contain-intrinsic-size: auto 360px; }
