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

:root {
    --blue:           #2563EB;
    --blue-hover:     #1D4ED8;
    --navy:           #0A2540;
    --bg:             #F6F9FC;
    --white:          #FFFFFF;
    --border:         #E3E8EF;
    --text:           #1A1F36;
    --muted:          #536070;
    --success:        #0BBF82;
    --danger:         #DF1B41;
    --warning:        #F6A723;
    --radius-sm:      6px;
    --radius-md:      10px;
    --radius-lg:      16px;
    --shadow-sm:      0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:      0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
    --shadow-lg:      0 12px 32px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.06);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.hero {
    background: var(--navy);
    padding: 22px 24px 28px;
    text-align: center;
}
.hero-inner { max-width: 560px; margin: 0 auto; }

.hero-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 18px;
}
.hero-logo img { display: block; border-radius: 6px; }

.hero h1 {
    font-size: clamp(22px, 4.5vw, 32px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.8px;
    line-height: 1.2;
    margin-bottom: 10px;
}
.hero h1 span { color: #60A5FA; }
.hero p {
    color: rgba(255,255,255,.55);
    font-size: clamp(12px, 2vw, 13px);
    max-width: 380px;
    margin: 0 auto;
    font-weight: 400;
}

.main {
    max-width: 620px;
    margin: 0 auto 60px;
    padding: 16px 16px 0;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    margin-bottom: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.card-body { padding: 24px 28px 28px; }

.step-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: #FAFBFE;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
}
.step-number-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: #fff;
    padding: 14px 20px;
    min-width: 68px;
    align-self: stretch;
}
.step-number-block .step-num {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}
.step-number-block .step-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: .75;
    margin-top: 3px;
}
.step-title-block {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    flex: 1;
}
.step-icon {
    width: 34px; height: 34px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.step-icon svg { display: block; }
.step-title-block h2 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.2px;
    margin: 0;
}
.step-title-block p {
    font-size: 12px;
    color: var(--muted);
    margin: 2px 0 0;
}

.upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 32px 20px;
    text-align: center;
    transition: border-color .2s, background .2s;
    cursor: pointer;
    position: relative;
}
.upload-area:hover { border-color: var(--blue); background: #EFF6FF; }
.upload-area input[type="file"] {
    position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
}
.upload-icon {
    width: 44px; height: 44px;
    background: #EFF6FF;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
}
.upload-icon svg { display: block; }
.upload-area p { font-size: 14px; color: var(--muted); }
.upload-area strong { color: var(--blue); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    font-family: inherit;
    font-size: 14px; font-weight: 600;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    border: none; cursor: pointer;
    transition: all .15s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 2px 8px rgba(37,99,235,.3);
}
.btn-primary:hover { background: var(--blue-hover); box-shadow: 0 4px 12px rgba(37,99,235,.4); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-success {
    background: var(--success);
    color: #fff;
    box-shadow: 0 2px 8px rgba(11,191,130,.3);
}
.btn-success:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-full { width: 100%; padding: 13px 18px; font-size: 15px; border-radius: var(--radius-md); }
.btn-sm { padding: 5px 10px; font-size: 12px; border-radius: 5px; }
.btn-edit { background: #FFF8E6; color: #92620A; border: 1px solid #F6D860; }
.btn-edit:hover { background: #FFF1CC; }
.btn-delete { background: #FFF0F0; color: var(--danger); border: 1px solid #FECDD3; }
.btn-delete:hover { background: #FFE4E6; }
.btn-teal { background: #E0F7F4; color: #0D9488; border: 1px solid #99E6DF; }
.btn-teal:hover { background: #CCFAF5; }

.scan-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

#status {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    display: none;
}
#status.info    { background: #EFF6FF; color: #1D4ED8; }
#status.success { background: #ECFDF5; color: #065F46; }
#status.error   { background: #FEF2F2; color: #B91C1C; }
#status.warning { background: #FFFBEB; color: #92400E; }
#status.readonly { background: #EFF6FF; color: var(--blue); }

#progressContainer {
    width: 100%; height: 6px;
    background: #EFF6FF;
    border-radius: 99px;
    margin-top: 12px;
    display: none;
    overflow: hidden;
}
#progressBar {
    height: 100%;
    width: 0%;
    background: var(--blue);
    border-radius: 99px;
    transition: width .4s ease;
}

.people-counter {
    display: flex; align-items: center; justify-content: center; gap: 20px; margin: 20px 0;
}
.counter-btn {
    width: 44px; height: 44px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 22px; font-weight: 700;
    color: var(--text);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .15s;
    box-shadow: var(--shadow-sm);
}
.counter-btn:hover { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }

#peopleCountDisplay {
    font-size: 36px; font-weight: 800;
    color: var(--text);
    width: 52px; text-align: center;
    letter-spacing: -1px;
}

#nameInputsContainer {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px;
}
.people-hint { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }

.items-table-wrap { overflow-x: auto; margin-top: 4px; }
table { width: 100%; border-collapse: collapse; }
thead th {
    font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
    color: var(--muted);
    padding: 10px 12px;
    border-bottom: 1.5px solid var(--border);
    text-align: left;
}
tbody tr { transition: background .1s; }
tbody tr:hover { background: #FAFBFE; }
tbody td {
    padding: 14px 12px;
    border-bottom: 1px solid #F0F3F7;
    vertical-align: middle;
    font-size: 14px;
}
tbody tr:last-child td { border-bottom: none; }

.item-name { font-weight: 600; color: var(--text); }
.item-price { font-size: 14px; font-weight: 700; margin-top: 2px; }
.item-actions { display: flex; gap: 6px; margin-top: 8px; }

.qty-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.qty-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: 12px; font-weight: 600; color: var(--muted);
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
    user-select: none;
}
.qty-chip:hover { border-color: var(--blue); color: var(--blue); }
.qty-chip.locked { pointer-events: none; opacity: .6; }
.chip-badge {
    font-size: 10px; font-weight: 800;
    color: #fff;
    border-radius: 10px;
    padding: 1px 5px;
    line-height: 14px;
}
.auto-tag {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}
.auto-tag.tax      { background: #EFF6FF; color: var(--blue); }
.auto-tag.discount { background: #ECFDF5; color: #065F46; }
.auto-tag.rounding { background: #FFFBEB; color: #92400E; }

.total-confirm-box {
    background: #FAFBFE;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
    margin: 20px 0 4px;
    text-align: center;
}
.total-confirm-box label {
    font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
    color: var(--muted);
    display: block; margin-bottom: 10px;
}
.total-input-row {
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
#currencySymbol {
    font-size: 18px; font-weight: 700; color: var(--muted);
}
#receiptTotalInput {
    font-family: inherit;
    font-size: 22px; font-weight: 700;
    color: var(--text);
    width: 180px;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    background: var(--white);
}
#receiptTotalInput:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

#results {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 16px;
    display: none;
    box-shadow: var(--shadow-md);
}
#results h3 {
    font-size: 16px; font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text);
}
.result-person-card {
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    overflow: hidden;
}
.result-person-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid transparent;
}
.result-person-name {
    display: flex;
    align-items: center;
    gap: 10px;
}
.result-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.result-person-name span {
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
}
.result-amount {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}
.result-breakdown {
    padding: 10px 16px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.breakdown-pills-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.breakdown-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    background: var(--bg);
    color: var(--muted);
    border: 1px solid var(--border);
}
.breakdown-pill.discount {
    background: #FEF2F2;
    color: var(--danger);
    border-color: #FECDD3;
}
.result-items-section {
    border-top: 1px solid var(--border);
    padding: 10px 16px 12px;
    background: var(--white);
}
.result-items-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}
.result-items-list {
    list-style: none;
    padding: 0; margin: 0;
}
.result-items-list li {
    font-size: 12px;
    color: var(--text);
    padding: 2px 0;
    display: flex;
    align-items: center;
    gap: 7px;
}
.result-items-list li::before {
    content: '';
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--muted);
    flex-shrink: 0;
    opacity: .5;
}
.result-divider {
    border: none; border-top: 1.5px dashed var(--border);
    margin: 18px 0 14px;
}
.grand-total-row {
    display: flex; align-items: center; justify-content: space-between;
}
.grand-total-row h3 { font-size: 15px; margin: 0; }

.add-item-row { display: flex; justify-content: flex-end; margin-top: 12px; }

.footer-section { text-align: center; padding: 32px 16px 16px; }
.footer-section hr { border: none; border-top: 1px solid var(--border); margin-bottom: 18px; }
.footer-section p { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.footer-link {
    display: inline-block; padding: 9px 18px;
    background: var(--white);
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 600;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .15s, transform .15s;
}
.footer-link:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

.how-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 16px 60px;
}
.how-section h2 { text-align: center; font-size: 20px; font-weight: 700; margin-bottom: 28px; color: var(--text); }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.how-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}
.how-card .how-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.how-card .how-icon svg { display: block; }
.how-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.how-card p  { font-size: 13px; color: var(--muted); line-height: 1.55; }

.why-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
}
.why-box h2 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.why-box p  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* FAQ section */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px 64px;
}
.faq-section > h2 {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}
.faq-list {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    gap: 12px;
    user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    font-size: 18px;
    font-weight: 400;
    color: var(--muted);
    flex-shrink: 0;
    transition: transform 0.2s;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-item[open] .faq-question { color: var(--blue); }
.faq-answer {
    padding: 14px 20px 16px;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.65;
    border-top: 1px solid var(--border);
}

.name-input-token {
    padding: 8px 12px;
    border-radius: 8px;
    width: 110px;
    text-align: center;
    font-weight: 600;
    font-family: inherit;
    font-size: 13px;
    color: #333;
    outline: none;
    transition: box-shadow .15s, border-color .15s;
}
.name-input-token:focus { box-shadow: 0 0 0 3px rgba(37,99,235,.18); }

.pay-section { margin-top: 12px; }
.pay-toggle-btn {
    width: 100%;
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 13px; font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    text-align: left;
    transition: border-color .15s, color .15s;
    font-family: inherit;
}
.pay-toggle-btn:hover { border-color: var(--blue); color: var(--text); }
.pay-toggle-btn svg { flex-shrink: 0; }
.pay-chevron { margin-left: auto; font-size: 15px; }
.pay-panel {
    margin-top: 8px;
    border: 1px solid #BFDBFE;
    border-radius: var(--radius-md);
    background: #EFF6FF;
    overflow: hidden;
}
.pay-fields { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.pay-field-row { display: flex; align-items: center; gap: 10px; }
.pay-label {
    font-size: 11px; font-weight: 700;
    color: #1D4ED8;
    width: 50px; flex-shrink: 0;
    text-transform: uppercase; letter-spacing: .4px;
}
.pay-input {
    flex: 1;
    padding: 7px 10px;
    background: var(--white);
    border: 1px solid #BFDBFE;
    border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 500;
    color: var(--text);
    font-family: inherit;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.pay-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.pay-input::placeholder { color: #93C5FD; }
.pay-strip {
    display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
    padding: 9px 13px;
    border: 1px solid #BFDBFE;
    border-radius: var(--radius-md);
    background: #EFF6FF;
    cursor: pointer;
    transition: border-color .15s;
}
.pay-strip:hover { border-color: var(--blue); }
.pay-strip-locked { cursor: default; }
.pay-strip-locked:hover { border-color: #BFDBFE; }

.proof-section {
    margin-top: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.proof-section-label {
    font-size: 11px; font-weight: 700;
    letter-spacing: .5px; text-transform: uppercase;
    color: var(--muted);
    padding: 10px 14px;
    background: #FAFBFE;
    border-bottom: 1px solid var(--border);
}
.proof-row {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid #F0F3F7;
}
.proof-row:last-child { border-bottom: none; }
.proof-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    font-size: 11px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.proof-name {
    font-size: 13px; font-weight: 600;
    color: var(--text);
    flex: 1;
}
.proof-actions { display: flex; align-items: center; gap: 8px; }
.proof-upload-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 12px;
    font-size: 12px; font-weight: 600;
    color: var(--muted);
    background: var(--bg);
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: border-color .15s, color .15s;
}
.proof-upload-btn:hover { border-color: var(--blue); color: var(--blue); }
.proof-sent-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 12px;
    font-size: 12px; font-weight: 600;
    color: var(--success);
    background: #ECFDF5;
    border: 1.5px solid #6EE7B7;
    border-radius: var(--radius-sm);
    font-family: inherit;
    white-space: nowrap;
}
.proof-view-btn {
    font-size: 12px; font-weight: 600;
    color: var(--muted);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.proof-view-btn:hover { color: var(--blue); }
.strip-bank { font-size: 12px; font-weight: 700; color: #1D4ED8; }
.strip-sep  { font-size: 12px; color: #93C5FD; }
.strip-name { font-size: 12px; font-weight: 500; color: #1D4ED8; }
.strip-num  { font-size: 13px; font-weight: 800; color: #1E3A8A; letter-spacing: .5px; flex: 1; }
.strip-copy-btn {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px;
    font-size: 11px; font-weight: 600;
    color: #2563EB;
    background: var(--white);
    border: 1px solid #BFDBFE;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, border-color .15s;
    flex-shrink: 0;
}
.strip-copy-btn:hover { background: #DBEAFE; border-color: var(--blue); }

/* ============================================================
   Content pages (Indonesia cluster: /id/ + deep-dive articles)
   ============================================================ */

/* Language dropdown (top corner, scrolls away with the page) */
.lang-dropdown {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 200;
}
.lang-dropdown > summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    user-select: none;
}
.lang-dropdown > summary::-webkit-details-marker { display: none; }
.lang-dropdown > summary::marker { content: ""; }
.lang-dropdown .globe { color: var(--muted); display: block; }
.lang-dropdown .chev { color: var(--muted); display: block; transition: transform .2s; }
.lang-dropdown[open] > summary { border-color: #BFDBFE; }
.lang-dropdown[open] > summary .chev { transform: rotate(180deg); }
.lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 190px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 4px;
}
.lang-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}
.lang-menu a:hover { background: var(--bg); }
.lang-menu a .lm-code {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: .5px;
}
.lang-menu a[aria-current="true"] {
    background: #EFF6FF;
    color: var(--blue);
    font-weight: 700;
}
.lang-menu a[aria-current="true"] .lm-code { color: var(--blue); }
@media (prefers-reduced-motion: reduce) {
    .lang-dropdown .chev { transition: none; }
}

/* Article / prose container for cluster pages */
.article {
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 28px 20px 0;
}
.breadcrumb {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #B4BCC8; }

.article h1 {
    font-size: clamp(26px, 5vw, 34px);
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.18;
    color: var(--text);
    margin-bottom: 16px;
    text-wrap: balance;
}
.article-lead {
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 8px;
}
.article h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: var(--text);
    margin: 40px 0 14px;
    text-wrap: balance;
}
.article h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin: 24px 0 8px;
}
.article p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 14px;
}
.article ul, .article ol {
    margin: 0 0 16px 0;
    padding-left: 20px;
}
.article li {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 8px;
}
.article strong { font-weight: 700; color: var(--text); }
.article a.inline-link { color: var(--blue); font-weight: 600; text-decoration: none; }
.article a.inline-link:hover { text-decoration: underline; }

/* Highlighted callout — used for the proportional-tax centerpiece */
.info-callout {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-left: 4px solid var(--blue);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin: 20px 0;
}
.info-callout p { margin-bottom: 8px; }
.info-callout p:last-child { margin-bottom: 0; }
.info-callout .callout-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
    display: block;
}

/* Numbered vertical mechanism steps (scan-struk deep-dive) */
.mechanism-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0 8px;
    counter-reset: mech;
}
.mech-step {
    display: flex;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
}
.mech-step .mech-num {
    counter-increment: mech;
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}
.mech-step .mech-num::before { content: counter(mech); }
.mech-step h3 { margin: 2px 0 4px; font-size: 15px; }
.mech-step p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Before/after receipt figure */
.receipt-figure {
    margin: 24px 0;
}
.receipt-figure .figure-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
}
.mini-receipt {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: var(--shadow-sm);
    font-size: 12px;
}
.mini-receipt .mr-title {
    font-size: 10px; font-weight: 700; letter-spacing: .5px;
    text-transform: uppercase; color: var(--muted);
    margin-bottom: 10px; padding-bottom: 8px;
    border-bottom: 1px dashed var(--border);
}
.mini-receipt .mr-row {
    display: flex; justify-content: space-between; gap: 10px;
    padding: 4px 0; color: var(--text);
}
.mini-receipt .mr-row.mr-fee { color: var(--muted); }
.mini-receipt .mr-total {
    display: flex; justify-content: space-between;
    margin-top: 8px; padding-top: 8px;
    border-top: 1px solid var(--border);
    font-weight: 800;
}
.mini-receipt .mr-person {
    display: flex; align-items: center; gap: 8px;
    padding: 5px 0;
}
.mini-receipt .mr-dot {
    width: 18px; height: 18px; border-radius: 50%;
    color: #fff; font-size: 9px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.mini-receipt .mr-name { flex: 1; }
.mini-receipt .mr-amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.figure-arrow {
    color: var(--blue);
    font-size: 22px;
    font-weight: 800;
    text-align: center;
}
.receipt-figure figcaption {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin-top: 12px;
}

/* Comparison table (alternatif-line page) */
.compare-wrap {
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 460px;
    background: var(--white);
}
.compare-table th, .compare-table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.compare-table thead th {
    background: #FAFBFE;
    font-weight: 700;
    color: var(--text);
    font-size: 13px;
}
.compare-table thead th.col-us { color: var(--blue); }
.compare-table td:first-child { font-weight: 600; color: var(--muted); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--success); font-weight: 700; }
.compare-table .no  { color: var(--muted); }

/* Prominent CTA band → launches the tool */
.cta-band {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    margin: 36px 0;
    box-shadow: var(--shadow-md);
}
.cta-band h2 {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.4px;
}
.cta-band p {
    color: rgba(255,255,255,.6);
    font-size: 14px;
    margin: 0 auto 18px;
    max-width: 420px;
}
.cta-band .btn { font-size: 15px; padding: 13px 26px; }

/* "Explore more" cluster cards (homepage links down) + related boxes */
.cluster-links {
    max-width: 620px;
    margin: 0 auto 40px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.cluster-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .15s, transform .15s, border-color .15s;
}
.cluster-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: #BFDBFE;
}
.cluster-card .cc-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: .5px;
    text-transform: uppercase; color: var(--blue);
    margin-bottom: 6px;
}
.cluster-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.cluster-card p { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }
.cluster-card .cc-arrow { color: var(--blue); font-weight: 700; font-size: 13px; margin-top: 10px; display: inline-block; }

.related-box {
    background: #FAFBFE;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin: 28px 0;
}
.related-box .rb-label {
    font-size: 11px; font-weight: 700; letter-spacing: .5px;
    text-transform: uppercase; color: var(--muted);
    margin-bottom: 10px;
}
.related-box a {
    display: block;
    color: var(--blue);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    padding: 5px 0;
}
.related-box a:hover { text-decoration: underline; }

@media (max-width: 480px) {
    .cluster-links { grid-template-columns: 1fr; }
    .receipt-figure .figure-grid { grid-template-columns: 1fr; }
    .figure-arrow { transform: rotate(90deg); }
}
