
/* Round 8, fresh look. Presentation only: glows, bigger type, coloured tool tiles, dark page heads.
   Results, PDF capture and every handler are left as they were. */
:root {
    --fr-navy: #0b2231;
    --fr-navy-2: #0f2c3f;
    --fr-mint: #3fd9a0;
    --fr-mint-2: #6ee7b7;
    --fr-line: #e1e9e6;
    --fr-ease: cubic-bezier(.22, 1, .36, 1);
}
body, #root .bg-fintatif-softBg { background: #f4f7f6; }

/* ---------- Header ---------- */
#root .site-header .site-nav { background: rgb(255 255 255 / 5%); border-color: rgb(255 255 255 / 8%); border-radius: 14px; }
#root .site-header .site-nav-link { border-radius: 10px; font-weight: 550; }
#root .site-header .site-nav-link.is-active { color: var(--fr-mint-2); background: rgb(63 217 160 / 13%); box-shadow: inset 0 0 0 1px rgb(63 217 160 / 24%); }
#root .site-header.is-scrolled { box-shadow: 0 14px 34px -22px rgb(0 0 0 / 80%); }

/* ---------- Hero ---------- */
#root .home-hero { padding: 76px 0 88px; background: var(--fr-navy); border: 0; }
#root .home-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background: radial-gradient(720px 440px at 86% 12%, rgb(16 185 129 / 24%), transparent 65%),
                radial-gradient(560px 380px at 4% 100%, rgb(6 182 212 / 14%), transparent 65%);
    -webkit-mask-image: none; mask-image: none;
}
#root .home-hero::after {
    content: ""; position: absolute; inset: 0; height: auto; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 65% 30%, #000 8%, transparent 70%);
    mask-image: radial-gradient(ellipse at 65% 30%, #000 8%, transparent 70%);
}
#root .home-hero > div { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: 64px; row-gap: 0; align-items: center; }
#root .home-hero > div > span,
#root .home-hero > div > h1,
#root .home-hero > div > p,
#root .home-hero > div > .hero-actions,
#root .home-hero > div > .hero-proof { grid-column: 1; }
#root .home-hero > div > span {
    justify-self: start; display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px;
    padding: 7px 14px 7px 11px; border: 1px solid rgb(63 217 160 / 30%); border-radius: 999px;
    background: rgb(16 185 129 / 10%); color: #a7f3d0; font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
#root .home-hero > div > span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--fr-mint); box-shadow: 0 0 0 4px rgb(63 217 160 / 18%); }
#root .home-hero h1 { font-size: clamp(40px, 5.2vw, 66px); line-height: 1.04; font-weight: 800; letter-spacing: -.045em; max-width: 620px; }
#root .home-hero h1 > span:last-child { color: var(--fr-mint); }
#root .home-hero p { margin-top: 22px; max-width: 520px; font-size: 16.5px; line-height: 1.75; color: #c3d2db; align-self: start; }
#root .home-hero > div > .hero-actions { padding-top: 32px; }
#root .hero-actions button { min-height: 54px; padding: 15px 26px; border-radius: 15px; font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; }
#root .hero-actions > div > button:first-child { background: var(--fr-mint); border: 1px solid var(--fr-mint); color: var(--fr-navy); box-shadow: 0 10px 28px -12px rgb(63 217 160 / 85%); }
#root .hero-actions > div > button:last-child { background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 18%); color: #eef5f2; }
@media (hover: hover) {
    #root .hero-actions > div > button:first-child:hover { background: var(--fr-mint-2); border-color: var(--fr-mint-2); }
    #root .hero-actions > div > button:last-child:hover { background: rgb(255 255 255 / 12%); border-color: rgb(255 255 255 / 30%); }
}
#root .home-hero > div > .hero-proof { margin-top: 32px; padding-top: 24px; gap: 10px 28px; border-top-color: rgb(255 255 255 / 10%); }
#root .hero-proof li { font-size: 13.5px; color: #cbd5e1; font-weight: 600; }

/* Hero illustration (decorative, aria-hidden). */
#root .hero-visual { grid-column: 2; grid-row: 1 / span 5; position: relative; width: 100%; max-width: 480px; justify-self: end; }
#root .hv-card { background: #fff; color: #0f2533; border-radius: 26px; padding: 22px; transform: rotate(-1.4deg); box-shadow: 0 44px 90px -34px rgb(0 0 0 / 70%), 0 0 0 1px rgb(255 255 255 / 8%); }
#root .hv-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
#root .hv-head span { font-size: 13.5px; font-weight: 800; letter-spacing: -.02em; }
#root .hv-head b { font-size: 11px; font-weight: 800; color: #047857; background: #ecfdf5; padding: 5px 10px; border-radius: 999px; }
#root .hv-score { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 16px; padding: 16px; border: 1px solid var(--fr-line); border-radius: 18px; }
#root .hv-ring { position: relative; width: 116px; height: 116px; }
#root .hv-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
#root .hv-ring circle { fill: none; stroke-width: 11; }
#root .hv-ring .hv-ring-bg { stroke: #edf2f1; }
#root .hv-ring .hv-ring-fg { stroke: #10b981; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 57; }
#root .hv-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
#root .hv-ring strong { font-size: 32px; line-height: 1; font-weight: 800; letter-spacing: -.04em; }
#root .hv-ring small { font-size: 10.5px; color: #6c7d8b; font-weight: 600; margin-top: 3px; }
#root .hv-metrics { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
#root .hv-metrics li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 8px; align-items: center; }
#root .hv-metrics span { font-size: 11.5px; font-weight: 600; color: #5d6f7e; }
#root .hv-metrics b { font-size: 12.5px; font-weight: 800; }
#root .hv-metrics i { grid-column: 1 / -1; display: block; height: 6px; border-radius: 9px; background: linear-gradient(90deg, var(--c, #10b981) var(--w), #edf2f1 var(--w)); }
#root .hv-chart { margin-top: 12px; padding: 14px 16px 8px; border: 1px solid var(--fr-line); border-radius: 18px; }
#root .hv-chart p { display: flex; justify-content: space-between; margin: 0 0 6px; font-size: 11.5px; line-height: 1.4; font-weight: 700; color: #5d6f7e; }
#root .hv-chart p b { color: #047857; }
#root .hv-chart svg { display: block; width: 100%; height: auto; }
#root .hv-chip { position: absolute; display: flex; align-items: center; gap: 11px; padding: 11px 16px 11px 11px; background: #fff; color: #0f2533; border-radius: 16px; font-size: 12px; line-height: 1.35; box-shadow: 0 22px 44px -20px rgb(0 0 0 / 60%), 0 0 0 1px rgb(15 37 51 / 6%); }
#root .hv-chip svg { width: 34px; height: 34px; flex: none; padding: 8px; border-radius: 11px; }
#root .hv-chip b { display: block; font-weight: 800; }
#root .hv-chip span { color: #5d6f7e; font-weight: 600; }
#root .hv-chip-a { top: -46px; right: -22px; }
#root .hv-chip-a svg { background: #e0ecff; color: #2563eb; }
#root .hv-chip-b { bottom: -28px; left: -34px; }
#root .hv-chip-b svg { background: #fef3c7; color: #b45309; }
@keyframes fr-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: no-preference) {
    #root .hv-chip-a { animation: fr-bob 6s ease-in-out infinite; }
    #root .hv-chip-b { animation: fr-bob 6s ease-in-out -3s infinite; }
}

/* ---------- Home sections ---------- */
#root .home-page { padding-bottom: 88px; }
#root .home-page > * + * { margin-top: 76px; }
#root .home-page section:not(.home-hero) h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; font-weight: 800; letter-spacing: -.035em; }
#root .tool-section > div:first-child::before,
#root .article-section > div:first-child > div::before { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ft-green); }
#root .tool-section > div:first-child::before { content: none; display: none; }
#root .article-section > div:first-child > div::before { content: "Wawasan finansial"; }
#root .tool-section > div:first-child p, #root .article-section > div:first-child p { margin-top: 10px; font-size: 15px; line-height: 1.7; }
#root .tool-section > .grid { gap: 16px; margin-top: 30px; }

/* Tool cards: one accent colour per simulator. */
#root .tool-card { --c: #059669; border: 1px solid var(--fr-line); border-radius: 20px; padding: 22px; background: #fff; box-shadow: 0 1px 2px rgb(11 34 49 / 4%); }
#root .tool-card:nth-child(2) { --c: #059669; }
#root .tool-card:nth-child(3) { --c: #2563eb; }
#root .tool-card:nth-child(4) { --c: #7c3aed; }
#root .tool-card:nth-child(5) { --c: #d97706; }
#root .tool-card:nth-child(6) { --c: #e11d48; }
#root .tool-card:nth-child(7) { --c: #0891b2; }
#root .tool-card:nth-child(8) { --c: #4f46e5; }
#root .tool-card:nth-child(9) { --c: #0f766e; }
#root .tool-card:not(.is-app) > div:first-child { grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; }
#root .tool-card:not(.is-app) > div:first-child > div {
    width: 46px; height: 46px; border-radius: 14px; border: 0;
    background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c);
    transition: background-color 200ms ease, color 200ms ease, transform 300ms var(--fr-ease);
}
#root .tool-card > div:first-child > div svg { width: 22px; height: 22px; }
#root .tool-card:not(.is-app) h3 { font-size: 15.5px; font-weight: 750; letter-spacing: -.02em; padding-top: 2px; }
#root .tool-card:not(.is-app) p { font-size: 13px; line-height: 1.6; color: #5d6f7e; }
#root .tool-card:not(.is-app) > div:last-child { margin-left: 60px; padding-top: 14px; color: var(--c); font-size: 12.5px; font-weight: 700; }
@media (hover: hover) {
    #root .tool-card:not(.is-app):hover { background: #fff; border-color: color-mix(in srgb, var(--c) 40%, #e1e9e6); box-shadow: 0 22px 44px -28px rgb(11 34 49 / 45%); }
    #root .tool-card:not(.is-app):hover h3 { color: var(--ft-ink); }
    #root .tool-card:not(.is-app):hover > div:first-child > div { background: var(--c); color: #fff; transform: rotate(-6deg) scale(1.04); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    #root .tool-card:not(.is-app):hover { transform: translateY(-4px); }
}

/* Smart Wealth app: a dark promo card, matching the app's own landing page. */
#root .tool-card.is-app {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--fr-navy); border: 0; border-radius: 24px; padding: 28px 30px;
    box-shadow: 0 28px 60px -36px rgb(11 34 49 / 80%);
}
#root .tool-card.is-app::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(420px 260px at 100% 0%, rgb(16 185 129 / 30%), transparent 70%),
                radial-gradient(360px 220px at 0% 120%, rgb(6 182 212 / 16%), transparent 70%);
}
#root .tool-card.is-app > div:first-child > div { width: 52px; height: 52px; border-radius: 16px; background: rgb(63 217 160 / 15%); border: 1px solid rgb(63 217 160 / 28%); color: var(--fr-mint); }
#root .tool-card.is-app > div:first-child { grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; }
#root .tool-card.is-app h3 { color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -.025em; }
#root .tool-card.is-app p { color: #b9cbd5; font-size: 14px; }
#root .tool-card.is-app > div:last-child { padding: 14px 22px; border-radius: 14px; border: 0; background: var(--fr-mint); color: var(--fr-navy); font-size: 14px; font-weight: 800; box-shadow: 0 10px 26px -12px rgb(63 217 160 / 80%); }
@media (hover: hover) {
    #root .tool-card.is-app:hover { background: var(--fr-navy-2); border: 0; box-shadow: 0 32px 64px -34px rgb(11 34 49 / 90%); }
    #root .tool-card.is-app:hover h3 { color: #fff; }
    #root .tool-card.is-app:hover > div:last-child { background: var(--fr-mint-2); }
}

/* Article cards */
#root .article-section > div:first-child { border: 0; padding-bottom: 0; align-items: flex-end; }
#root .article-section > div:first-child button { border-radius: 13px; padding: 13px 20px; font-size: 13.5px; font-weight: 700; background: #fff; color: var(--ft-ink); border: 1px solid #cbd7d3; box-shadow: none; }
@media (hover: hover) { #root .article-section > div:first-child button:hover { background: var(--fr-navy); color: #fff; border-color: var(--fr-navy); } }
#root .article-section > .grid { margin-top: 30px; }
#root .article-section > .grid, #root .articles-page > .grid { gap: 20px; }
#root .article-card { border: 1px solid var(--fr-line); border-radius: 22px; box-shadow: 0 1px 2px rgb(11 34 49 / 4%); }
#root .article-card > div:first-child > div:first-child { aspect-ratio: 16 / 10; }
#root .article-card > div:first-child > div:first-child img { transition: transform 600ms var(--fr-ease); }
#root .article-card > div:first-child > div:first-child > span { top: 14px; left: 14px; padding: 6px 11px; border-radius: 999px; background: rgb(255 255 255 / 92%); color: var(--fr-navy); font-size: 11px; font-weight: 750; backdrop-filter: blur(6px); }
#root .article-card > div:first-child > div:last-child { padding: 20px 22px 6px; }
#root .article-card h3 { font-size: 17px; line-height: 1.4; font-weight: 750; letter-spacing: -.02em; }
#root .article-card p { font-size: 13.5px; line-height: 1.65; }
#root .article-card > div:last-child { margin-top: 10px; padding: 14px 22px 18px; border-top-color: #edf2f0; font-size: 12px; font-weight: 600; }
@media (hover: hover) {
    #root .article-card:hover { border-color: #b9dccb; box-shadow: 0 24px 48px -30px rgb(11 34 49 / 45%); }
    #root .article-card:hover > div:first-child > div:first-child img { transform: scale(1.06); }
}

/* ---------- Page heads (Wawasan, Tentang) ---------- */
#root .articles-page > div:first-child,
#root .about-page > div:first-child {
    position: relative; overflow: hidden; isolation: isolate; max-width: none; margin: 0; text-align: left;
    padding: 52px 48px; border-radius: 28px; background: var(--fr-navy); color: #fff;
}
#root .articles-page > div:first-child::before,
#root .about-page > div:first-child::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(520px 300px at 92% 0%, rgb(16 185 129 / 26%), transparent 70%),
                linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px) 0 0 / 48px 48px,
                linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px) 0 0 / 48px 48px;
}
#root .articles-page > div:first-child > span,
#root .about-page > div:first-child > span {
    display: inline-flex; padding: 6px 13px; border-radius: 999px; background: rgb(16 185 129 / 12%);
    border: 1px solid rgb(63 217 160 / 30%); color: #a7f3d0; font-size: 11.5px; letter-spacing: .08em;
}
#root .articles-page h1, #root .about-page h1 { margin-top: 18px; color: #fff; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; font-weight: 800; letter-spacing: -.04em; }
#root .articles-page > div:first-child p, #root .about-page > div:first-child p { margin-top: 14px; max-width: 620px; color: #c3d2db; font-size: 16px; line-height: 1.75; }
#root .article-body, #root .about-body { border-color: var(--fr-line); border-radius: 24px; box-shadow: 0 24px 60px -44px rgb(11 34 49 / 40%); }
#root .about-body div.border-l-4, #root .about-body .rounded-2xl { border-radius: 16px; }
#root .article-detail-page > button { padding: 9px 14px 9px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--fr-line); }
@media (hover: hover) { #root .article-detail-page > button:hover { border-color: #b9dccb; } }

/* ---------- Simulator workspace: navy band behind the cards ---------- */
#root main:has(> .simulator-workspace) {
    background:
        radial-gradient(640px 280px at 88% 0%, rgb(16 185 129 / 20%), transparent 70%) no-repeat,
        linear-gradient(var(--fr-navy), var(--fr-navy)) no-repeat;
    background-size: 100% 230px, 100% 230px;
}
#root .simulator-workspace { padding-top: 36px; }
#root .simulator-tabs,
#root .simulator-panel { border-color: var(--fr-line); box-shadow: 0 26px 60px -40px rgb(11 34 49 / 55%); }
#root .simulator-panel { border-radius: 24px; }
#root .simulator-tabs { border-radius: 20px; }
#root .simulator-tabs > button.sim-tab { border-radius: 12px; }
#root .simulator-tabs > button.sim-tab.is-active { background: #e8f6ef; color: #064e3b; }
#root .simulator-panel > div:first-child [class*="bg-gradient-"] { width: 52px; height: 52px; display: grid; place-items: center; padding: 0; border-radius: 16px; border: 0; background-color: var(--fr-navy) !important; color: var(--fr-mint); }
#root .simulator-panel > div:first-child h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.035em; }
#root .simulator-panel > div:first-child p { font-size: 14px; }
#root .simulator-panel > .grid > div:first-child { border-radius: 18px; background: #f7faf9; }
#root .simulator-panel button.bg-fintatif-600, #root .consultation-panel button.bg-fintatif-600 { min-height: 52px; border-radius: 14px; font-size: 14px; font-weight: 700; }
#root .simulator-panel .min-h-\[320px\] { border-radius: 18px; }
#root input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), #root select, #root textarea { border-radius: 12px; }

/* ---------- Footer ---------- */
#root footer { position: relative; isolation: isolate; overflow: hidden; padding-top: 64px; }
#root footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(560px 260px at 10% 0%, rgb(16 185 129 / 14%), transparent 70%); }
#root footer::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(63 217 160 / 45%), transparent); }
#root footer > div > .grid > div:first-child > div > span { font-size: 28px; font-weight: 800; letter-spacing: -.04em; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
    #root .home-hero { padding: 56px 0 72px; }
    #root .home-hero > div { grid-template-columns: minmax(0, 1fr); }
    #root .home-hero > div > .hero-visual { grid-column: 1; grid-row: auto; justify-self: center; max-width: 460px; margin-top: 64px; }
    #root .articles-page > div:first-child, #root .about-page > div:first-child { padding: 40px 32px; }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
    #root .home-hero { padding: 36px 0 60px; }
    #root .home-hero > div > span { margin-bottom: 16px; font-size: 11px; }
    #root .home-hero h1 { font-size: clamp(34px, 9.6vw, 44px); line-height: 1.06; }
    #root .home-hero p { margin-top: 16px; font-size: 15px; line-height: 1.7; }
    #root .home-hero > div > .hero-actions { padding-top: 24px; }
    #root .hero-actions > div { grid-template-columns: minmax(0, 1fr); }
    #root .hero-actions > div > button { min-height: 52px; font-size: 15px; }
    #root .home-hero > div > .hero-proof { margin-top: 24px; padding-top: 18px; }
    #root .hero-visual { margin-top: 48px; max-width: 400px; }
    #root .hv-card { padding: 16px; border-radius: 22px; transform: none; }
    #root .hv-score { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 12px; }
    #root .hv-ring { width: 92px; height: 92px; }
    #root .hv-ring strong { font-size: 26px; }
    #root .hv-chip { font-size: 11px; padding: 8px 12px 8px 8px; }
    #root .hv-chip svg { width: 30px; height: 30px; padding: 7px; }
    #root .hv-chip-a { top: -40px; right: -4px; }
    #root .hv-chip-b { bottom: -26px; left: -4px; }
    #root .home-page { padding-bottom: 56px; }
    #root .home-page > * + * { margin-top: 52px; }
    #root .tool-section > div:first-child h2 { white-space: normal; font-size: 26px; }
    #root .tool-section > .grid { margin-top: 22px; gap: 12px; }
    #root .tool-card { padding: 18px; border-radius: 18px; }
    #root .tool-card.is-app { padding: 22px 20px; border-radius: 22px; row-gap: 18px; }
    #root .tool-card.is-app > div:last-child { justify-self: stretch; margin-left: 0; text-align: center; justify-content: center; font-size: 14px; }
    #root .tool-card:not(.is-app) > div:last-child { margin-left: 60px; }
    #root .article-section > .grid { margin-top: 22px; }
    #root .article-section > div:first-child button { width: 100%; }
    #root .articles-page > div:first-child, #root .about-page > div:first-child { padding: 32px 22px; border-radius: 22px; }
    #root .articles-page > div:first-child p, #root .about-page > div:first-child p { font-size: 14.5px; }
    #root main:has(> .simulator-workspace) { background-size: 100% 170px, 100% 170px; }
    #root .simulator-workspace { padding-top: 22px; }
    #root .simulator-panel { border-radius: 20px; }
    #root .simulator-panel > div:first-child [class*="bg-gradient-"] { width: 46px; height: 46px; border-radius: 14px; }
    #root footer { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    #root .hv-chip-a, #root .hv-chip-b { animation: none; }
}
/* Fix-ups: hero copy rules must not reach the illustration; single-column cards size to content. */
#root .home-hero .hv-chart p { margin: 0 0 6px; padding: 0; max-width: none; font-size: 11.5px; line-height: 1.4; color: #5d6f7e; text-align: left; align-self: auto; }
#root .home-hero .hv-chart p b { color: #047857; }
@media (max-width: 767px) {
    #root .home-hero > div > .hero-visual { margin-top: 76px; }
    #root .tool-section > .grid { grid-auto-rows: auto; }
}
/* ---------- Hero slider ---------- */
#root .hero-carousel { position: relative; overflow: hidden; background: var(--fr-navy); }
#root .hc-viewport { overflow: hidden; touch-action: pan-y; }
#root .hc-track { display: flex; transition: transform 700ms var(--fr-ease); will-change: transform; }
#root .hc-slide { flex: 0 0 100%; min-width: 100%; display: flex; }
#root .hc-slide > .home-hero { flex: 1 1 auto; padding-top: 52px; padding-bottom: 116px; }
#root .hc-slide:not(.is-active) .hv-chip { animation-play-state: paused; }
#root .hero-wealth::before {
    background: radial-gradient(720px 440px at 80% 20%, rgb(45 212 191 / 22%), transparent 65%),
                radial-gradient(560px 380px at 0% 100%, rgb(16 185 129 / 16%), transparent 65%);
}
#root .home-hero > div > .hc-title { grid-column: 1; margin: 0; color: #fff; font-size: clamp(38px, 4.3vw, 58px); line-height: 1.04; font-weight: 800; letter-spacing: -.045em; max-width: 620px; text-wrap: balance; }
#root .home-hero .hc-title > span { display: block; }
#root .home-hero .hc-title > span:last-child { color: var(--fr-mint); }
#root .home-hero.hero-kasir .hc-title > span { display: inline; }
#root .hero-actions .hc-btn-icon { width: 17px; height: 17px; margin-left: 8px; }
#root .hero-actions button { display: inline-flex; align-items: center; justify-content: center; }

/* Smart Wealth dashboard mock */
#root .hvw-kpis { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; margin-top: 16px; }
#root .hvw-kpi { min-width: 0; padding: 11px 12px; border: 1px solid var(--fr-line); border-top: 3px solid var(--c, #10b981); border-radius: 14px; }
#root .hvw-kpi small { display: block; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #6c7d8b; }
#root .hvw-kpi strong { display: block; margin-top: 5px; font-size: 16px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
#root .hvw-kpi.is-dark { background: #1e293b; border-color: #1e293b; border-top-color: var(--fr-mint); color: #fff; }
#root .hvw-kpi.is-dark small { color: #cbd5e1; }
#root .hvw-budgets { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 9px; }
#root .hvw-budgets li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 8px; align-items: center; }
#root .hvw-budgets span { font-size: 11.5px; font-weight: 700; color: #0f2533; }
#root .hvw-budgets b { font-size: 11px; font-weight: 700; color: #6c7d8b; }
#root .hvw-budgets i { grid-column: 1 / -1; display: block; height: 6px; border-radius: 9px; background: linear-gradient(90deg, var(--c) var(--w), #edf2f1 var(--w)); }
#root .hv-chip.is-amber svg { background: #fef3c7; color: #b45309; }
#root .hv-chip.is-indigo svg { background: #e0e7ff; color: #4f46e5; }

/* Slider controls */
#root .hc-controls { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 3; pointer-events: none; }
#root .hc-controls-in { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
#root .hc-controls-in > * { pointer-events: auto; }
#root .hc-dots { display: flex; flex-wrap: wrap; gap: 8px; }
#root .hc-dot {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
    border-radius: 999px; border: 1px solid rgb(255 255 255 / 14%); background: rgb(255 255 255 / 5%);
    color: #b9cbd5; font-size: 12.5px; font-weight: 600; line-height: 1.2;
}
#root .hc-dot.is-active { color: #fff; background: rgb(63 217 160 / 12%); border-color: rgb(63 217 160 / 38%); }
#root .hc-dot-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--fr-mint); }
#root .hc-dot.is-active .hc-dot-bar { width: 100%; }
#root .hero-carousel.is-playing .hc-dot.is-active .hc-dot-bar { width: 0; animation: hc-progress 5s linear forwards; }
@keyframes hc-progress { to { width: 100%; } }
#root .hc-arrows { display: flex; gap: 8px; }
#root .hc-arrows button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 16%); background: rgb(255 255 255 / 5%); color: #eef5f2; }
#root .hc-arrows svg { width: 18px; height: 18px; }
@media (hover: hover) {
    #root .hc-dot:not(.is-active):hover { color: #fff; border-color: rgb(255 255 255 / 28%); }
    #root .hc-arrows button:hover { background: rgb(255 255 255 / 12%); border-color: rgb(255 255 255 / 30%); }
}
@media (max-width: 767px) {
    #root .hc-slide > .home-hero { padding-top: 32px; padding-bottom: 100px; }
    #root .home-hero > div > .hc-title { font-size: clamp(34px, 9.6vw, 44px); line-height: 1.06; }
    #root .hc-controls { bottom: 22px; }
    #root .hc-controls-in { gap: 10px; }
    #root .hc-dots { flex-wrap: nowrap; gap: 6px; min-width: 0; }
    #root .hc-dot { min-height: 36px; padding: 6px 12px; font-size: 11.5px; white-space: nowrap; }
    #root .hc-arrows { gap: 6px; flex: none; }
    #root .hc-arrows button { width: 36px; height: 36px; }
    #root .hc-arrows svg { width: 16px; height: 16px; }
    #root .hvw-kpis { grid-template-columns: 1.15fr 1fr 1fr; gap: 6px; }
    #root .hvw-kpi { padding: 9px 9px; border-radius: 12px; }
    #root .hvw-kpi small { font-size: 8px; letter-spacing: .04em; }
    #root .hvw-kpi strong { font-size: 13px; }
    #root .hvw-budgets li:nth-child(n+3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    #root .hc-track { transition-duration: 1ms; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    #root .hc-slide > .home-hero { padding-top: 44px; padding-bottom: 116px; }
    #root .hc-slide .home-hero > div > .hero-visual { margin-top: 44px; }
}
@media (max-width: 767px) {
    #root .hc-slide .home-hero > div > .hero-visual { margin-top: 56px; }
}
/* Eyebrow labels: plain text, no dot or pill. */
#root .home-hero > div > span { padding: 0; border: 0; border-radius: 0; background: none; color: var(--fr-mint); font-size: 12.5px; letter-spacing: .14em; }
#root .home-hero > div > span::before { content: none; display: none; }
#root .home-hero > div > span { text-transform: uppercase; }
#root .articles-page > div:first-child > span, #root .about-page > div:first-child > span { padding: 0; border: 0; border-radius: 0; background: none; color: var(--fr-mint); font-size: 12px; letter-spacing: .14em; }
/* Simulator cards: one brand colour for every card. */
#root .tool-card:not(.is-app) { --c: #008457; }
/* ---------- Result polish (tampilan hasil simulasi) ---------- */
#root .simulator-panel .pdf-block.result-summary { background: linear-gradient(180deg, #f2faf6 0, #fff 132px); border-top: 3px solid var(--ft-green, #008457); }
#root .simulator-panel .result-analysis .advice-item.is-bad .advice-num { background: #fff0f3; border-color: #f4ccd5; color: #b91c3e; }
#root .simulator-panel .result-analysis .advice-item.is-bad p.advice-title { color: #9f1239; }
#root .simulator-panel .result-analysis .advice-item.is-warn .advice-num { background: #fff7e9; border-color: #f1dfb6; color: #a15b00; }
#root .simulator-panel .result-analysis .advice-item.is-warn p.advice-title { color: #854d0e; }
#root .simulator-panel .result-analysis .advice-item.is-good .advice-num { background: #edf8f1; border-color: #c8e8d6; color: #006f4b; }
#root .simulator-panel .result-analysis .advice-text b { color: var(--ft-ink, #142b3b); font-weight: 700; }
#root .simulator-panel .result-summary .flex.justify-between > .result-status:last-child { margin-left: 0; }
/* Saham: posisi harga */
#root .result-pricemap .rpm-scale { position: relative; height: 104px; margin: 4px 6px 4px; }
#root .result-pricemap .rpm-track { position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 9px; background: #e9eff0; }
#root .result-pricemap .rpm-range { position: absolute; top: 0; bottom: 0; border-radius: 9px; }
#root .result-pricemap .rpm-range.is-up { background: rgb(0 132 87 / 35%); }
#root .result-pricemap .rpm-range.is-down { background: rgb(214 69 95 / 32%); }
#root .result-pricemap .rpm-buy { position: absolute; top: 50%; display: grid; place-items: center; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #fff; border: 2px solid #2f5f8a; color: #2f5f8a; font-size: 10px; font-weight: 800; line-height: 1; }
#root .result-pricemap .rpm-buy.is-low { border-color: #008457; color: #008457; }
#root .result-pricemap .rpm-pin { position: absolute; top: 50%; width: 4px; height: 26px; margin: -13px 0 0 -2px; border-radius: 4px; }
#root .result-pricemap .rpm-pin.is-avg { background: #0b2231; }
#root .result-pricemap .rpm-pin.is-market.is-up { background: #008457; }
#root .result-pricemap .rpm-pin.is-market.is-down { background: #d6455f; }
#root .result-pricemap .rpm-flag { position: absolute; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); white-space: nowrap; line-height: 1.3; }
#root .result-pricemap .rpm-flag.is-market { top: 0; }
#root .result-pricemap .rpm-flag.is-avg { bottom: 0; }
#root .result-pricemap .rpm-flag small { font-size: 10.5px; color: var(--ft-subtle, #5d6f7e); }
#root .result-pricemap .rpm-flag b { font-size: 12.5px; font-weight: 700; color: var(--ft-ink, #142b3b); font-variant-numeric: tabular-nums; }
#root .result-pricemap .rpm-flag b.is-up { color: #006f4b; }
#root .result-pricemap .rpm-flag b.is-down { color: #b91c3e; }
#root .result-pricemap .rpm-rows { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--ft-line, #e2e9e7); }
#root .result-pricemap .rpm-rows li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--ft-line, #e2e9e7); }
#root .result-pricemap .rpm-rows li:last-child { border-bottom: 0; padding-bottom: 2px; }
#root .result-pricemap .rpm-num { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #edf3f9; color: #2f5f8a; font-size: 11px; font-weight: 800; }
#root .result-pricemap .rpm-num.is-low { background: #edf8f1; color: #006f4b; }
#root .result-pricemap .rpm-rows b { display: block; font-size: 13px; font-weight: 700; color: var(--ft-ink, #142b3b); font-variant-numeric: tabular-nums; }
#root .result-pricemap .rpm-rows small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--ft-subtle, #5d6f7e); font-variant-numeric: tabular-nums; }
#root .result-pricemap .rpm-val { text-align: right; }
#root .result-pricemap .rpm-val small.is-up { color: #006f4b; }
#root .result-pricemap .rpm-val small.is-down { color: #b91c3e; }
@media (max-width: 639px) {
    #root .simulator-panel .result-summary .flex.justify-between > div:first-child:not(:only-child) { flex: 1 1 100%; }
    #root .result-pricemap .rpm-rows li { grid-template-columns: 24px minmax(0, 1fr); }
    #root .result-pricemap .rpm-val { grid-column: 2; text-align: left; }
}
/* Kartu & chip kedua slide hero berukuran sama, tidak ada yang bertumpuk. */
#root .hc-slide .hv-card { display: flex; flex-direction: column; height: 408px; }
#root .hc-slide .hv-card > * { flex: none; }
#root .hc-slide .hv-card > .hv-chart { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
#root .hc-slide .hv-chart > p { flex: none; }
#root .hc-slide .hv-chart > svg { flex: 1 1 0; height: auto; min-height: 48px; }
#root .hero-wealth .hvw-budgets { margin-top: 14px; }
@media (max-width: 767px) {
    #root .hc-slide .hv-card { height: 340px; }
    #root .hero-wealth .hvw-budgets { margin-top: 12px; gap: 8px; }
}
/* Capture always renders the final appearance. */
#root .ft-pdf-capture, #root .ft-pdf-capture * { animation: none !important; transition: none !important; }
/* Komponen artikel: ringkasan, angka kunci, grafik batang, dan CTA. */
#root .article-body .ft-tldr { margin: 4px 0 26px; padding: 18px 22px; border: 1px solid #d3e8de; border-radius: 14px; background: #f2f9f5; font-size: 15px; line-height: 1.75; color: #24394a; }
#root .article-body .ft-tldr > span { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ft-green); }
#root .article-body .ft-tldr ul { margin: 0; padding-left: 20px; list-style: disc; }
#root .article-body .ft-tldr li + li { margin-top: 6px; }
#root .article-body .ft-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 20px 0 26px; }
#root .article-body .ft-stats > div { padding: 14px 16px; border: 1px solid var(--ft-line); border-top: 3px solid var(--ft-green); border-radius: 12px; background: #fff; }
#root .article-body .ft-stats b { display: block; font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--ft-ink); font-variant-numeric: tabular-nums; }
#root .article-body .ft-stats span { display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.5; color: var(--ft-muted); }
#root .article-body .ft-bars { margin: 22px 0 28px; padding: 18px 20px; border: 1px solid var(--ft-line); border-radius: 14px; background: #fff; }
#root .article-body .ft-bars figcaption { margin-bottom: 10px; font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--ft-ink); }
#root .article-body .ft-bar { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 7px 0; font-size: 13px; }
#root .article-body .ft-bar span { line-height: 1.4; color: var(--ft-body); }
#root .article-body .ft-bar i { display: block; height: 10px; border-radius: 99px; background: #edf2f1; overflow: hidden; }
#root .article-body .ft-bar em { display: block; height: 100%; min-width: 3px; border-radius: 99px; background: var(--ft-green); }
#root .article-body .ft-bar.is-warn em { background: #d6961e; }
#root .article-body .ft-bar.is-bad em { background: #d6455f; }
#root .article-body .ft-bar.is-navy em { background: var(--ft-navy); }
#root .article-body .ft-bar.is-muted em { background: #8fa1ad; }
#root .article-body .ft-bar b { font-weight: 700; white-space: nowrap; color: var(--ft-ink); font-variant-numeric: tabular-nums; }
#root .article-body .ft-bars small { display: block; margin-top: 10px; font-size: 11.5px; line-height: 1.6; color: var(--ft-subtle); }
#root .article-body .ft-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 30px 0 24px; padding: 22px 24px; border-radius: 16px; background: var(--ft-navy); color: #cddae2; }
#root .article-body .ft-cta-text { flex: 1 1 300px; font-size: 15px; line-height: 1.7; text-align: left; }
#root .article-body .ft-cta-text b { display: block; margin-bottom: 4px; font-size: 17px; color: #fff; }
#root .article-body .ft-cta-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 20px; border-radius: 12px; background: #3fd9a0; color: #0b2231; font-size: 14px; font-weight: 800; text-decoration: none; }
@media (hover: hover) { #root .article-body .ft-cta-btn:hover { background: #6ee7b7; } }
#root .article-body .ft-cite { margin-left: 1px; font-size: 10.5px; font-weight: 700; line-height: 0; }
#root .article-body .ft-cite a { color: var(--ft-green); text-decoration: none; padding: 0 1px; }
#root .article-body .ft-refs { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--ft-line); }
#root .article-body .ft-refs h4 { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ft-ink); }
#root .article-body .ft-refs ol { margin: 0; padding-left: 22px; list-style: decimal; }
#root .article-body .ft-refs li { margin: 0 0 8px; font-size: 12.5px; line-height: 1.65; color: var(--ft-subtle); text-align: left; overflow-wrap: anywhere; scroll-margin-top: 110px; }
#root .article-body .ft-refs li span { color: var(--ft-body); font-weight: 600; }
#root .article-body .ft-refs a { color: var(--ft-green); text-decoration: underline; text-underline-offset: 2px; }
#root .article-body table.ft-table { width: 100%; margin: 18px 0 24px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
#root .article-body .ft-table th { padding: 10px 12px; background: #f3f7f6; border-bottom: 1px solid var(--ft-line-strong); text-align: left; font-weight: 700; color: var(--ft-ink); }
#root .article-body .ft-table td { padding: 10px 12px; border-bottom: 1px solid var(--ft-line); vertical-align: top; color: var(--ft-body); text-align: left; }
#root .article-body .ft-table-wrap { overflow-x: auto; margin: 18px 0 24px; border: 1px solid var(--ft-line); border-radius: 12px; }
#root .article-body .ft-table-wrap table.ft-table { margin: 0; min-width: 0; }
@media (max-width: 639px) { #root .article-body .ft-table th, #root .article-body .ft-table td { padding: 9px 8px; font-size: 12px; } }
#root .article-body .ft-updated { margin: 0 0 14px; font-size: 12.5px; font-weight: 600; color: var(--ft-green); text-align: left; }
#root .article-body .ft-source { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--ft-line); font-size: 12.5px; line-height: 1.7; color: var(--ft-subtle); text-align: left; }
@media (max-width: 639px) {
    #root .article-body .ft-bar { grid-template-columns: minmax(0, 1fr) auto; }
    #root .article-body .ft-bar i { grid-column: 1 / -1; grid-row: 2; }
    #root .article-body .ft-cta { padding: 20px; }
    #root .article-body .ft-cta-btn { width: 100%; }
}

/* ---------- Artikel: rata kanan-kiri di semua ukuran layar ---------- */
#root .article-body > div:last-child p:not(.ft-updated):not(.ft-source),
#root .article-body > div:last-child li,
#root .article-body > div:last-child blockquote,
#root .article-body > div:last-child div.p-4,
#root .article-body .ft-tldr li,
#root .article-body .ft-cta-text,
#root .about-body p,
#root .about-body li,
#root .about-body div.border-l-4 {
    text-align: justify; text-align-last: left; text-justify: inter-word;
    -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3;
    overflow-wrap: break-word; word-break: normal;
}
#root .article-body .ft-cta-text b,
#root .article-body .ft-refs li,
#root .article-body .ft-table td, #root .article-body .ft-table th,
#root .article-body .ft-bar span, #root .article-body .ft-bars small,
#root .article-body .ft-stats span { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
#root .article-body > div:last-child li { padding-left: 2px; }
#root .article-body > div:last-child li::marker { color: var(--ft-green); font-weight: 700; }
#root .article-body > div:last-child p:empty { display: none; }
@media (max-width: 639px) {
    #root .article-body > div:last-child p, #root .article-body > div:last-child li { line-height: 1.8; }
    #root .article-body > div:last-child ul, #root .article-body > div:last-child ol { padding-left: 20px; }
    #root .article-body .ft-tldr { padding: 16px 18px; font-size: 14.5px; }
    #root .article-body .ft-tldr ul { padding-left: 18px; }
}

/* ---------- Layar sentuh (termasuk HP dalam mode desktop) ---------- */
/* Hilangkan jeda/zoom ketuk-dua-kali dan efek hover yang "nyangkut" agar setiap ketukan langsung jadi klik. */
#root button, #root a, #root [role="button"], #root label, #root select, #root input,
#root .sim-tab, #root .tool-card, #root .article-card, #root footer li.cursor-pointer, #root .brand-lockup {
    touch-action: manipulation;
}
@media (hover: none), (pointer: coarse) {
    #root .tool-card, #root .article-card, #root .tool-card:hover, #root .article-card:hover,
    #root .tool-card:hover > div:first-child > div, #root .tool-card > div:last-child,
    #root .article-card:hover img, #root .group:hover .group-hover\:scale-105,
    #root .group:hover .group-hover\:scale-110, #root .group:hover .group-hover\:translate-x-1 { transform: none !important; }
    #root .hv-chip-a, #root .hv-chip-b { animation: none; }
}
#root .hero-visual, #root .hero-visual * { pointer-events: none; }
/* Smart Wealth card: logo Fintatif di dalam tile (PNG transparan, tanda ~43% dari kanvas, jadi diperbesar dan dipotong). */
#root .tool-card.is-app > div:first-child > div {
    overflow: hidden; background: rgb(255 255 255 / 6%); border: 1px solid rgb(63 217 160 / 30%);
}
#root .tool-card.is-app .tool-card-logo { display: block; width: 84px; height: 84px; max-width: none; flex: none; object-fit: contain; }
@media (hover: hover) { #root .tool-card.is-app:hover > div:first-child > div { border-color: rgb(63 217 160 / 55%); background: rgb(255 255 255 / 9%); } }
/* Fintatif Wedding: kartu aplikasi kedua (desktop dibagi dua), slide hero, menu header. */
@media (min-width: 1200px) {
    /* 12 kolom: tiga kartu aplikasi sebaris, kalkulator tetap empat sebaris. */
    #root .tool-section > .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: auto; }
    #root .tool-section > .grid > .tool-card { grid-column: span 3; }
    #root .tool-section > .grid > .tool-card.is-app { grid-column: span 4; }
}
#root .tool-card.is-wedding::before {
    background: radial-gradient(420px 260px at 100% 0%, rgb(244 114 182 / 24%), transparent 70%),
                radial-gradient(360px 220px at 0% 120%, rgb(234 196 140 / 16%), transparent 70%);
}
#root .mobile-navigation .mobile-nav-cta.is-wedding, #root .mobile-navigation .mobile-nav-cta.is-home, #root .mobile-navigation .mobile-nav-cta.is-kasir { margin-top: 10px; background: transparent; color: #eaf3ef; border: 1px solid rgb(63 217 160 / 45%); }
#root .mobile-nav-cta.is-wedding svg, #root .mobile-nav-cta.is-home svg, #root .mobile-nav-cta.is-kasir svg { color: var(--ft-mint); }
/* Tinggi baris mengikuti isi, supaya kartu aplikasi sama tinggi di layar sedang. */
#root .tool-section > .grid { grid-auto-rows: auto; }
/* Kartu aplikasi ringkas: satu baris (logo, nama, tombol) di semua ukuran layar. */
#root .tool-section > .grid > .tool-card.is-app {
    grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 0; align-items: center; align-content: center;
    padding: 12px 14px; border-radius: 16px; box-shadow: 0 14px 30px -24px rgb(11 34 49 / 80%);
}
#root .tool-section > .grid > .tool-card.is-app > div:first-child {
    grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 1px; align-items: center;
}
#root .tool-section > .grid > .tool-card.is-app > div:first-child > * { margin: 0; }
#root .tool-section > .grid > .tool-card.is-app > div:first-child > div { width: 40px; height: 40px; border-radius: 11px; }
#root .tool-section > .grid > .tool-card.is-app .tool-card-logo { width: 64px; height: 64px; }
#root .tool-section > .grid > .tool-card.is-app h3 { padding: 0; font-size: 14.5px; font-weight: 750; line-height: 1.3; letter-spacing: -.015em; }
#root .tool-section > .grid > .tool-card.is-app p { font-size: 12.5px; line-height: 1.35; }
#root .tool-section > .grid > .tool-card.is-app > div:last-child {
    justify-self: end; margin: 0; padding: 7px 11px; border-radius: 9px; font-size: 12.5px; font-weight: 700; box-shadow: none;
}
#root .tool-section > .grid > .tool-card.is-app > div:last-child svg { width: 14px; height: 14px; margin-left: 4px; }
@media (min-width: 1024px) and (max-width: 1199px) {
    #root .tool-section > .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    #root .tool-section > .grid > .tool-card { grid-column: span 3; }
    #root .tool-section > .grid > .tool-card.is-app { grid-column: span 2; }
}

/* Hero tanpa gerakan: kartu lurus, chip diam, slide berganti dengan fade singkat. */
#root .hc-slide .hv-card { transform: none; }
#root .hc-slide .hv-chip { animation: none; }
#root .hero-carousel .hc-track { display: grid; grid-template-columns: minmax(0, 1fr); transform: none !important; transition: none; will-change: auto; }
#root .hero-carousel .hc-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: none; }
#root .hero-carousel .hc-slide.is-active { opacity: 1; visibility: visible; transition: opacity 300ms ease; }
#root .hero-carousel .hc-current .hc-dot-bar { display: none; }
#root .hero-carousel .hc-label { animation: none; }
/* Desktop: teks dan kartu mulai di garis yang sama di semua slide, jadi tidak loncat saat berganti. */
@media (min-width: 1024px) {
    #root .hc-slide > .home-hero { padding-top: 60px; }
    #root .hc-slide .home-hero > div { grid-template-rows: auto auto auto auto minmax(0, 1fr); align-items: start; }
    #root .hc-slide .home-hero > div > .hero-visual { align-self: start; }
}
#root .tool-card.is-home::before {
    background: radial-gradient(420px 260px at 100% 0%, rgb(245 158 11 / 22%), transparent 70%),
                radial-gradient(360px 220px at 0% 120%, rgb(16 185 129 / 16%), transparent 70%);
}
#root .tool-card.is-kasir::before {
    background: radial-gradient(420px 260px at 100% 0%, rgb(99 102 241 / 22%), transparent 70%),
                radial-gradient(360px 220px at 0% 120%, rgb(16 185 129 / 16%), transparent 70%);
}
/* Empat kartu aplikasi: sebaris di desktop lebar, dua-dua di desktop sedang. */
@media (min-width: 1200px) {
    #root .tool-section > .grid > .tool-card.is-app { grid-column: span 3; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
    #root .tool-section > .grid > .tool-card.is-app { grid-column: span 3; }
}
/* Kartu aplikasi: nama dan deskripsi masing-masing satu baris, ukuran teks sama di keempat kartu. */
#root .tool-section > .grid > .tool-card.is-app > div:first-child { min-width: 0; }
#root .tool-section > .grid > .tool-card.is-app h3,
#root .tool-section > .grid > .tool-card.is-app p { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#root .tool-section > .grid > .tool-card.is-app h3 { font-size: 13.5px; line-height: 1.3; }
#root .tool-section > .grid > .tool-card.is-app p { font-size: 11.5px; line-height: 1.35; }
#root .tool-section > .grid > .tool-card.is-app > div:last-child { padding: 6px 10px; font-size: 12px; }
@media (min-width: 1200px) and (max-width: 1279px) {
    #root .tool-section > .grid > .tool-card.is-app { padding: 12px; column-gap: 8px; }
    #root .tool-section > .grid > .tool-card.is-app > div:first-child { grid-template-columns: 36px minmax(0, 1fr); column-gap: 9px; }
    #root .tool-section > .grid > .tool-card.is-app > div:first-child > div { width: 36px; height: 36px; border-radius: 10px; }
}
/* Footer: kolom Aplikasi, jadi grid lima kolom di desktop. */
@media (min-width: 1024px) {
    #root footer > div > .grid { grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1023px) {
    #root footer > div > .grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    #root footer > div > .grid > .footer-apps { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
    #root .simulator-tabs > button.sim-tab-external + button.sim-tab-external { margin-top: 8px; }
}
    