:root {
  --orange: #f97316;
  --red: #ef4444;
  --bg: #fffaf7;
  --text: #1f2937;
  --muted: #6b7280;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 40%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; }
.container { max-width: 980px; margin: 0 auto; padding: 0 20px; }
main { flex: 1; }
.topbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid #f3f4f6;
  z-index: 10;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand img { height: 36px; }
.brand span { display: none; }
.cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: white;
  background: linear-gradient(90deg, var(--orange), var(--red));
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
}
.hero { padding: 64px 0 36px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 12px; line-height: 1.12; }
.hero p { margin: 0; color: var(--muted); max-width: 760px; font-size: 1.1rem; }
.blog-tools {
  margin-bottom: 24px;
  display: grid;
  gap: 8px;
}
.search-label {
  font-weight: 600;
  color: #374151;
}
.blog-tools input {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  outline: none;
}
.blog-tools input:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.15);
}
.results-info {
  margin: 0;
  color: #6b7280;
}
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: white;
  border: 1px solid #f3f4f6;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(249,115,22,0.08);
}
.card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  display: block;
}
.card h2 { margin: 0 0 10px; font-size: 1.25rem; }
.card p { color: var(--muted); margin: 0 0 14px; }
.chip { display: inline-block; font-size: 12px; color: #9ca3af; margin-bottom: 10px; }
.read { color: var(--orange); font-weight: 600; text-decoration: none; }
.article { padding: 42px 0 70px; }
.article h1 { margin-top: 0; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.15; }
.meta { color: var(--muted); margin: 0 0 26px; }
.breadcrumbs {
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 14px;
}
.breadcrumbs a {
  color: var(--orange);
  text-decoration: none;
}
.article .box {
  background: white;
  border: 1px solid #f3f4f6;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(249,115,22,0.08);
}
.article-hero {
  width: 100%;
  height: clamp(190px, 35vw, 340px);
  object-fit: cover;
  border-radius: 14px;
  margin: 6px 0 20px;
  display: block;
}
.article h2 { margin-top: 30px; font-size: 1.35rem; }
.article h3 { margin-top: 18px; font-size: 1.1rem; }
.article p, .article li { color: #374151; line-height: 1.7; }
.article ul { padding-left: 20px; }
.related-posts {
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}
.related-posts ul {
  margin: 0;
  padding-left: 20px;
}
.related-posts a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}
.pagination {
  margin: 28px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.page-btn,
.page-num {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 600;
  cursor: pointer;
}
.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.page-numbers {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}
.page-num.active {
  border-color: #fb923c;
  color: #fff;
  background: linear-gradient(90deg, var(--orange), var(--red));
}
.app-download-cta {
  padding: 12px 0 0;
}
.app-download-cta-inner {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
  border: 1px solid #fed7aa;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.08);
}
.app-download-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.app-download-cta p {
  margin: 0 0 18px;
  color: #6b7280;
}
.app-download-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.store-btn {
  min-width: 180px;
  border-radius: 14px;
  padding: 12px 16px;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}
.store-btn-top {
  font-size: 12px;
  opacity: 0.85;
}
.store-btn-main {
  font-weight: 700;
  font-size: 1rem;
}
.store-btn-ios {
  background: #ffffff;
  border-color: #e5e7eb;
  color: #111827;
}
.store-btn-android {
  background: linear-gradient(90deg, var(--orange), var(--red));
  color: #ffffff;
}
.site-footer {
  margin-top: 28px;
  background: #111827;
  color: #f9fafb;
}
.site-footer .container {
  max-width: 1280px;
  padding-top: 56px;
  padding-bottom: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  margin-bottom: 34px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-brand-mark img {
  width: 24px;
  height: 24px;
}
.footer-brand-name {
  font-size: 1.4rem;
  font-weight: 700;
}
.footer-copy {
  color: #9ca3af;
  margin: 0 0 18px;
  line-height: 1.6;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #1f2937;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.footer-social a:hover { background: var(--orange); color: white; }
.footer-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
}
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-weight: 500;
}
.footer-links a:hover { color: #ffffff; }
.footer-contacts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.footer-contacts strong {
  display: block;
  color: #9ca3af;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
}
.footer-contacts a,
.footer-contacts span {
  color: #f9fafb;
  text-decoration: none;
}
.footer-contacts a:hover { color: #fb923c; }
.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom-copy {
  color: #9ca3af;
  font-size: 14px;
}
.footer-bottom-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
}
.footer-bottom-links a:hover { color: #ffffff; }

@media (max-width: 640px) {
  .card img { height: 150px; }
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .store-btn { width: 100%; }
}
