/* Tabungan Impian website. Colours follow the app: blue #4474B6 (app bar), wallet blue
   #264F9C, progress orange #F4511E, collected green #2E9E4F, sky-to-lavender store backdrop. */
:root {
  --blue: #4474b6;
  --blue-deep: #264f9c;
  --blue-soft: #e7effb;
  --ink: #0f2547;
  --text: #283550;
  --muted: #5a6680;
  --line: #e1e8f3;
  --card: #ffffff;
  --page: #f7faff;
  --orange: #f4511e;
  --orange-soft: #fff0ea;
  --green: #2e9e4f;
  --green-soft: #e8f6ec;
  --hero: linear-gradient(160deg, #e4efff 0%, #e9edff 46%, #f1eaff 100%);
  --band: linear-gradient(150deg, #264f9c 0%, #4474b6 58%, #5b8fd6 100%);
  --radius: 24px;
  --shadow: 0 1px 2px rgba(15, 37, 71, 0.04), 0 12px 32px rgba(38, 79, 156, 0.08);
  --phone-shadow: 0 30px 50px rgba(38, 79, 156, 0.24);
  --max: 1120px;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 17px/1.6 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 20; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 250, 255, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(225, 232, 243, 0.8);
}
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 4px 10px rgba(38, 79, 156, 0.12); }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--muted); font-size: 0.95rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.header-cta { padding: 10px 18px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
.header-cta:hover { background: var(--blue-deep); color: #fff; }
@media (max-width: 860px) {
  .site-nav { display: none; }
  .header-cta { margin-left: auto; }
}

/* Store buttons */
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-button {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 190px; padding: 10px 20px 10px 16px;
  border-radius: 14px; background: #0b1426; color: #fff; text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.store-button:hover { background: #1c2a45; color: #fff; transform: translateY(-1px); }
.store-button svg { flex: none; width: 26px; height: 26px; fill: currentColor; }
.store-button small { display: block; font-size: 0.72rem; line-height: 1.1; opacity: 0.8; }
.store-button strong { display: block; font-size: 1.12rem; line-height: 1.2; }

/* Phone frame. Screens are cut at the bottom, so a phone always sits on the bottom
   edge of a container that hides its overflow. */
.phone { position: relative; width: 300px; padding: 9px 9px 0; border-radius: 44px 44px 0 0; background: #15181f; box-shadow: var(--phone-shadow); }
.phone img { width: 100%; border-radius: 35px 35px 0 0; }

/* Hero */
.hero { position: relative; background: var(--hero); overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(closest-side, rgba(91, 143, 214, 0.28), transparent); }
.hero::after { width: 420px; height: 420px; left: -160px; bottom: -200px; background: radial-gradient(closest-side, rgba(244, 81, 30, 0.12), transparent); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 0.98fr; align-items: end; gap: 40px; padding-top: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); box-shadow: 0 0 0 1px rgba(68, 116, 182, 0.15); color: var(--blue-deep); font-size: 0.9rem; font-weight: 700; }
.eyebrow::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.6 5.6 6.1.7-4.5 4.2 1.2 6L12 16.6 6.6 19.5l1.2-6L3.3 9.3l6.1-.7z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.hero-copy { padding-bottom: 80px; }
.hero h1 .accent { color: var(--blue); }
.hero .lead { max-width: 34rem; margin: 22px 0 30px; color: var(--muted); font-size: 1.18rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before, .checklist li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.hero-visual { position: relative; height: 580px; }
.hero-visual .phone { position: absolute; bottom: 0; }
.hero-visual .phone-front { left: 50%; z-index: 2; transform: translateX(-66%); }
.hero-visual .phone-back { left: 50%; z-index: 1; width: 262px; transform: translateX(-2%) translateY(30px) rotate(5deg); transform-origin: bottom left; }

/* Floating cards on the hero phones */
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 16px 36px rgba(15, 37, 71, 0.16); color: var(--ink); font-size: 0.9rem; line-height: 1.3; }
.float-card strong { display: block; font-size: 0.98rem; }
.float-card span { color: var(--muted); }
.float-card .plus { color: var(--green); font-weight: 800; }
.float-ring { --p: 65; flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(var(--orange) calc(var(--p) * 1%), #d4dbe6 0); font-size: 0.72rem; font-weight: 800; }
.float-ring::before { content: ""; grid-area: 1 / 1; width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.float-ring b { grid-area: 1 / 1; position: relative; }
.float-coin { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green-soft); color: var(--green); }
.float-coin svg { width: 22px; height: 22px; }
.float-progress { top: 250px; left: -34px; }
.float-saving { bottom: 92px; right: -4px; }
@media (max-width: 1040px) {
  .float-progress { left: -24px; }
  .float-saving { right: -12px; }
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 8px; padding-top: 48px; }
  .hero-copy { padding-bottom: 24px; }
  .hero-visual { height: 470px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-visual .phone-front { width: 256px; }
  .hero-visual .phone-back { width: 224px; }
  .float-progress { top: 96px; left: 0; }
  .float-saving { bottom: 70px; right: 0; }
}
@media (max-width: 480px) {
  .hero-visual { height: 420px; }
  .hero-visual .phone-front { width: 228px; transform: translateX(-66%); }
  .hero-visual .phone-back { width: 190px; transform: translateX(-14%) translateY(30px) rotate(5deg); }
  .store-button { flex: 1 1 0; min-width: 0; gap: 10px; padding: 10px 12px; }
  .store-button svg { width: 22px; height: 22px; }
  .store-button strong { font-size: 1rem; }
  .float-card { padding: 10px 12px 10px 10px; font-size: 0.82rem; }
  .float-card strong { font-size: 0.9rem; }
}

/* Sections */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-flush, .section + .section { padding-top: 0; }
.section-head { max-width: 46rem; margin: 0 auto 48px; text-align: center; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }
.kicker { display: block; margin-bottom: 10px; color: var(--blue); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

/* Facts strip under the hero */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.facts li { padding: 22px 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); text-align: center; }
.facts strong { display: block; color: var(--ink); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.facts span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* Dream ideas */
.dreams { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.dreams li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 700; }
.dreams svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep); }
.dreams li:nth-child(3n + 2) svg { background: var(--orange-soft); color: var(--orange); }
.dreams li:nth-child(3n) svg { background: var(--green-soft); color: var(--green); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 30px 28px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; background: var(--blue); color: #fff; font-size: 1.2rem; font-weight: 800; }
.steps p { margin-top: 10px; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: var(--blue-soft); color: var(--blue-deep); }
.icon svg { width: 28px; height: 28px; }
.icon-orange { background: var(--orange-soft); color: var(--orange); }
.icon-green { background: var(--green-soft); color: var(--green); }
.feature p { margin-top: 10px; color: var(--muted); font-size: 0.98rem; }
.badge-pro { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #fff3c4; color: #8a5a00; font-size: 0.72rem; font-weight: 800; vertical-align: 3px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

/* Showcase rows */
.showcase { display: grid; gap: 32px; }
.showcase-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; padding: 0 56px; border-radius: 32px; background: var(--hero); overflow: hidden; }
.showcase-row:nth-child(even) .showcase-media { order: -1; }
.showcase-copy { padding: 56px 0; }
.showcase-media { display: flex; justify-content: center; align-self: end; gap: 20px; padding-top: 48px; }
.showcase-media .phone { width: 290px; }
.showcase-media.pair .phone { width: 230px; }
.showcase-copy h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; }
.showcase-copy > p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.checklist { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 10px; color: var(--text); }
.checklist li::before { margin-top: 3px; background-color: var(--blue); }
@media (max-width: 860px) {
  .showcase-row { grid-template-columns: 1fr; gap: 0; padding: 0 24px; }
  .showcase-row:nth-child(even) .showcase-media { order: 0; }
  .showcase-copy { padding: 36px 0 0; }
  .showcase-media { padding-top: 32px; }
  .showcase-media .phone { width: 250px; }
  .showcase-media.pair .phone { width: 46%; max-width: 210px; border-radius: 34px 34px 0 0; padding: 7px 7px 0; }
  .showcase-media.pair .phone img { border-radius: 28px 28px 0 0; }
}

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.plan { padding: 32px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.plan-pro { background: var(--band); border: 0; color: #eaf1fd; }
.plan-pro h3, .plan-pro .plan-price { color: #fff; }
.plan-head { display: flex; align-items: center; gap: 14px; }
.plan-head .icon { margin: 0; }
.plan-pro .plan-head .icon { background: rgba(255, 255, 255, 0.16); color: #fff; }
.plan-price { margin-top: 18px; color: var(--ink); font-size: 1.5rem; font-weight: 800; line-height: 1.25; }
.plan-note { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }
.plan-pro .plan-note { color: #cfdcf3; }
.plan .checklist li { color: inherit; }
.plan .checklist li::before { background-color: var(--green); }
.plan-pro .checklist li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23264f9c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E"); }
.fine-print { max-width: 920px; margin: 20px auto 0; color: var(--muted); font-size: 0.9rem; text-align: center; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.faq summary { position: relative; padding: 20px 56px 20px 24px; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > p { padding: 0 24px 22px; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; padding: 64px 48px; border-radius: 36px; background: var(--band); color: #eaf1fd; text-align: center; }
.cta-band::after { content: ""; position: absolute; width: 360px; height: 360px; right: -90px; top: -150px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.16), transparent); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 36rem; margin: 14px auto 30px; color: #d5e2f6; font-size: 1.1rem; }
.cta-band .store-buttons { justify-content: center; }
.cta-band .store-button { background: #fff; color: var(--ink); }
.cta-band .store-button:hover { background: #eef4fd; color: var(--ink); }
@media (max-width: 620px) { .cta-band { padding: 48px 24px; border-radius: 28px; } }

/* Footer */
.site-footer { padding: 48px 0 40px; border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 0.95rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--blue); }
.footer-note { margin-top: 18px; font-size: 0.85rem; }

/* Legal and support pages */
.page-hero { padding: 64px 0 40px; background: var(--hero); }
.page-hero p { margin-top: 12px; color: var(--muted); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; color: var(--muted); font-size: 0.9rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #a8b3c8; }
.breadcrumb a { color: var(--muted); }
.prose { max-width: 760px; padding: 48px 0 96px; }
.prose h2 { margin: 44px 0 12px; font-size: 1.45rem; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose code { padding: 1px 6px; border-radius: 6px; background: var(--blue-soft); color: var(--ink); font-size: 0.88em; }
.toc { margin: 0 0 8px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.toc strong { color: var(--ink); }
.prose .toc ol { margin: 10px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
@media (max-width: 640px) { .prose .toc ol { columns: 1; } }
.lang-note { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.contact-card { margin: 24px 0; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.contact-card h2 { margin-top: 0; }
.prose .help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 8px; padding: 0; list-style: none; }
.prose .help-grid li { margin: 0; }
.help-grid a { display: block; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; }
.help-grid a:hover { border-color: var(--blue); color: var(--blue-deep); }
.help-grid span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.9rem; font-weight: 400; }
@media (max-width: 720px) { .prose .help-grid { grid-template-columns: 1fr; } }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); color: var(--text); text-decoration: none; transition: transform 0.15s ease; }
.post-card:hover { color: var(--text); transform: translateY(-2px); }
.post-card > img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.post-card h2, .post-card h3 { font-size: 1.12rem; line-height: 1.3; }
.post-card-text { color: var(--muted); font-size: 0.95rem; }
.post-card-meta { margin-top: auto; padding-top: 6px; color: var(--blue); font-size: 0.85rem; font-weight: 700; }
.section-more { margin-top: 28px; text-align: center; font-weight: 700; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

.post-title { max-width: 52rem; font-size: clamp(2rem, 4.6vw, 3.1rem); }
.post-meta { margin-top: 16px; color: var(--muted); font-size: 0.95rem; }
.prose .intro { font-size: 1.15rem; color: var(--ink); }
.prose .toc ol { margin-top: 10px; }
.table-wrap { overflow-x: auto; margin: 8px 0 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--blue-soft); color: var(--ink); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.prose .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prose tfoot td { font-weight: 800; color: var(--ink); }
@media (max-width: 640px) {
  .prose table { width: max-content; min-width: 100%; }
  .prose th, .prose td { max-width: 15rem; }
}
.callout { margin: 20px 0; padding: 18px 22px; border-left: 4px solid var(--blue); border-radius: 0 16px 16px 0; background: var(--blue-soft); color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }
.prose figure { display: grid; justify-items: center; gap: 14px; margin: 32px 0; padding: 32px 24px 0; border-radius: var(--radius); background: var(--hero); overflow: hidden; }
.prose figure .phone { width: 250px; }
.prose figcaption { order: -1; max-width: 32rem; color: var(--muted); font-size: 0.92rem; text-align: center; }
.cta-inline { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px 18px; margin: 32px 0; padding: 24px; border-radius: var(--radius); background: var(--hero); }
.cta-inline img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.cta-inline p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.cta-inline p strong { color: var(--ink); font-size: 1.05rem; }
.cta-inline .store-buttons { grid-column: 1 / -1; }
.cta-inline .store-button { min-width: 0; padding: 8px 18px 8px 14px; }
.disclaimer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.related { padding: 0 0 96px; }
.related h2 { margin-bottom: 24px; font-size: 1.6rem; }

/* Calculators in blog posts (assets/blog.js) */
.calc { margin: 28px 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.calc h3 { margin: 0; }
.calc-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 16px; }
.calc label { display: grid; gap: 6px; color: var(--ink); font-size: 0.92rem; font-weight: 700; }
.calc input, .calc select { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #cfd9ea; border-radius: 12px; background: var(--page); color: var(--ink); font: inherit; font-weight: 600; }
.calc-result { display: grid; gap: 6px; margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: var(--blue-soft); color: var(--ink); }
.calc-result strong { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.calc-rows { display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.calc-note { margin-top: 10px; color: var(--muted); font-size: 0.88rem; }
.calc-table { max-height: 420px; overflow: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.calc-table table { font-size: 0.9rem; }
.calc-table th { position: sticky; top: 0; }

/* Mobile download bar on blog pages, revealed by assets/blog.js */
.app-bar { position: fixed; right: 12px; bottom: 12px; left: 12px; z-index: 15; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 18px; background: var(--ink); color: #e3ebf8; box-shadow: 0 12px 32px rgba(15, 37, 71, 0.3); }
.app-bar[hidden] { display: none; }
.app-bar img { width: 40px; height: 40px; border-radius: 10px; }
.app-bar span { flex: 1; font-size: 0.88rem; line-height: 1.3; }
.app-bar strong { display: block; color: #fff; }
.app-bar a { padding: 9px 18px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; }
@media (max-width: 860px) { .has-app-bar { padding-bottom: 76px; } }
@media (min-width: 861px) { .app-bar { display: none; } }
