:root {
  --bg: #fffbf7; --card: #ffffff; --ink: #2e1a24; --ink-soft: #4f3b45; --muted: #7a6570;
  --line: #eadcd6; --orange: #9d3c5b; --orange-dark: #7e2f49; --orange-light: #c4607f;
  --cream: #fbeef2; --brown: #4a1328;
}
* { box-sizing: border-box; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--ink); margin: 0; -webkit-font-smoothing: antialiased;
}
a { color: var(--orange); text-decoration: none; }
img { display: block; max-width: 100%; }

header.nav {
  position: sticky; top: 0; z-index: 20; background: rgba(255,251,247,0.85);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; }
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--orange); }
.nav-links .nav-cta { background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; }
.nav-links .nav-cta:hover { background: var(--orange); color: #fff; }
@media (max-width: 560px) { .nav-links a:not(.nav-cta) { display: none; } .nav-links { gap: 10px; } }
@media (max-width: 440px) { .brand-name { display: none; } }

/* Blog index */
.blog-hero {
  color: #fff; text-align: center; padding: 64px 24px 72px;
  background: radial-gradient(circle at 85% 15%, rgba(255,214,226,0.45), transparent 40%),
    linear-gradient(150deg, var(--orange-light) 0%, var(--orange) 50%, var(--orange-dark) 100%);
}
.blog-hero h1 { font-size: 44px; margin: 0 0 12px; font-weight: 800; letter-spacing: -0.02em; }
.blog-hero p { font-size: 17px; max-width: 540px; margin: 0 auto; color: rgba(255,255,255,0.92); line-height: 1.6; }
.post-grid {
  max-width: 1120px; margin: -36px auto 80px; padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.post-card {
  background: var(--card); border-radius: 22px; overflow: hidden; color: var(--ink);
  box-shadow: 0 4px 20px rgba(74,19,40,0.08); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(74,19,40,0.14); }
.post-card .cover { height: 130px; font-size: 56px; display: flex; align-items: center; justify-content: center; }
.post-card .body { padding: 20px 22px 24px; }
.post-card h2 { font-size: 18px; line-height: 1.35; margin: 8px 0; font-weight: 800; }
.post-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.tag { color: var(--orange); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.c0 { background: linear-gradient(135deg, #f9dfe7, #fbeef2); }
.c1 { background: linear-gradient(135deg, #f5d0dc, #fcebf0); }
.c2 { background: linear-gradient(135deg, #f6e2e8, #fff5f7); }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } .blog-hero h1 { font-size: 34px; } }

/* Article */
.post-hero { background: var(--cream); padding: 56px 24px 48px; }
.post-hero .inner { max-width: 760px; margin: 0 auto; }
.crumbs { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--orange); }
.post-hero .icon {
  width: 72px; height: 72px; border-radius: 22px; font-size: 38px; margin-bottom: 18px;
  background: linear-gradient(150deg, var(--orange-light), var(--orange-dark));
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px rgba(157,60,91,0.3);
}
.post-hero h1 { font-size: 40px; line-height: 1.15; margin: 10px 0 14px; font-weight: 800; letter-spacing: -0.02em; }
.post-hero .lede { font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
article { max-width: 760px; margin: 0 auto; padding: 40px 24px 20px; font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); }
article h2 { color: var(--ink); font-size: 26px; line-height: 1.25; margin: 44px 0 16px; font-weight: 800; letter-spacing: -0.01em; }
article h3 { color: var(--ink); font-size: 17px; margin: 0 0 4px; font-weight: 800; }
article b { color: var(--ink); }
article .muted { color: var(--muted); font-size: 13.5px; }
.checks { list-style: none; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; margin-top: 3px; border-radius: 50%;
  background: var(--cream); color: var(--orange); font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.numbered { list-style: none; padding: 0; counter-reset: n; display: grid; gap: 14px; }
.numbered li {
  counter-increment: n; position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 18px 20px 18px 66px;
}
.numbered li::before {
  content: counter(n); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 10px;
  background: var(--orange); color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center;
}
.numbered p { margin: 0; font-size: 15.5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.box p { margin: 0; font-size: 15px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } .post-hero h1 { font-size: 30px; } }
.tip {
  display: flex; gap: 14px; align-items: flex-start; background: var(--cream); border-left: 4px solid var(--orange);
  border-radius: 14px; padding: 18px 20px; margin: 28px 0;
}
.tip > span { font-size: 26px; line-height: 1; }
.tip p { margin: 0; font-size: 15.5px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.pills span { background: var(--cream); color: var(--brown); font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.week { display: grid; gap: 8px; margin: 18px 0; }
.day { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-size: 15px; }
.day b { flex: none; width: 40px; color: var(--orange); }
.day em { color: var(--orange-dark); font-style: normal; font-weight: 600; }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; font-size: 14.5px; }
.chain span { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 600; color: var(--ink); }
.chain b { color: var(--orange); }

/* App CTA + more */
.app-cta {
  max-width: 760px; margin: 36px auto 0; padding: 0 24px;
}
.app-cta .card {
  display: flex; gap: 24px; align-items: center; border-radius: 28px; padding: 28px; color: #fff;
  background: radial-gradient(circle at 15% 20%, rgba(255,214,226,0.35), transparent 40%),
    linear-gradient(150deg, var(--orange) 0%, var(--orange-dark) 55%, #6a2540 100%);
}
.app-cta img.shot { width: 120px; border-radius: 16px; border: 4px solid #fff; flex: none; }
.app-cta h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.app-cta p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.92); }
.app-cta .btn { display: inline-block; background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 14.5px; }
@media (max-width: 560px) { .app-cta .card { flex-direction: column; text-align: center; } }
.more { max-width: 760px; margin: 48px auto 80px; padding: 0 24px; }
.more h2 { font-size: 22px; font-weight: 800; margin: 0 0 16px; }
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.more-grid a {
  display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 16px; color: var(--ink); font-weight: 700; line-height: 1.4; font-size: 15px;
}
.more-grid a:hover { border-color: var(--orange); }
.more-grid .e { font-size: 30px; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--cream); display: flex; align-items: center; justify-content: center; }
@media (max-width: 560px) { .more-grid { grid-template-columns: 1fr; } }

footer { padding: 36px 0; border-top: 1px solid var(--line); }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13.5px; }
footer .links { display: flex; gap: 22px; }
footer a, footer span { color: var(--muted); }
footer a:hover { color: var(--orange); }
select.lang {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink-soft);
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2383807a' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 30px 8px 14px; cursor: pointer;
}
