/* Halaman depan 1FORCR KUOTA.

   Warna, font, dan bentuk tombolnya sama dengan dashboard pembeli
   (css/user-refresh.css), supaya pengunjung yang mendaftar tidak merasa pindah
   ke aplikasi lain. Potongan tampilan produk ditandai data-ui. Di luar itu:
   tanpa gradien, tanpa bayangan saat diam, satu radius, tombol pill.

   File ini hanya dipakai index.html. Halaman kebijakan privasi dan syarat
   ketentuan memakai style.css. */

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f4f6f5;
    --surface: #ffffff;
    --tone: #e9edec;
    --tone-2: #eef1f0;
    --ink: #0d1614;
    --soft: #56625f;
    --control: #d2d8d6;
    --accent: #0f766e;
    --accent-dark: #0b5c54;
    --accent-soft: #e3f2ef;
    --danger: #b42318;

    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    /* Lima ukuran huruf untuk seluruh halaman. */
    --s-xl: clamp(56px, 9vw, 136px);
    --s-l: clamp(34px, 4.2vw, 60px);
    --s-m: clamp(22px, 2.2vw, 30px);
    --s-b: 18px;
    --s-s: 14px;

    --m: 32px;
    --r: 16px;
    --gap-section: 144px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 899px) {
    :root {
        --m: 16px;
        --gap-section: 96px;
    }
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
p,
figure,
ul,
ol,
dl,
dd {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
    color: inherit;
}

.num {
    font-variant-numeric: tabular-nums;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 20;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: #ffffff;
    font-weight: 700;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* ---------- Tombol dan tautan ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s var(--ease), transform 0.15s var(--ease);
}

.btn:hover {
    background: var(--accent-dark);
}

.btn:active {
    transform: scale(0.97);
}

.btn-small {
    min-height: 40px;
    padding: 0 18px;
    font-size: 15px;
}

.btn-quiet {
    background: var(--tone);
    color: var(--ink);
}

.btn-quiet:hover {
    background: var(--control);
}

.btn-quiet[hidden] {
    display: none;
}

.text-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: color 0.15s var(--ease);
}

.text-link:hover {
    color: var(--accent-dark);
}

/* ---------- Kepala halaman ---------- */

.top {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 18px var(--m);
}

.wordmark {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.wordmark img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.top-nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
}

.top-nav a,
.top-login {
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s var(--ease);
}

.top-nav a:hover,
.top-login:hover {
    color: var(--accent);
}

.top-actions {
    display: flex;
    flex: none;
    align-items: center;
    gap: 18px;
}

/* Di HP cukup merek, Masuk, dan Daftar. Tautan bagian ada di kaki halaman. */
@media (max-width: 899px) {
    .top {
        gap: 12px;
        padding: 14px var(--m);
    }

    .top-nav {
        display: none;
    }

    .top-actions {
        gap: 14px;
        margin-left: auto;
    }
}

@media (max-width: 359px) {
    .wordmark {
        font-size: 15px;
    }

    .wordmark img {
        width: 30px;
        height: 30px;
    }
}

/* ---------- Hero: judul dan cek harga ---------- */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
    align-items: center;
    gap: 64px;
    padding: 56px var(--m) 0;
}

.hero-copy {
    display: grid;
    gap: 24px;
    max-width: 42rem;
}

.hero-copy h1 {
    font-size: clamp(36px, 4.4vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.hero-lead {
    max-width: 34rem;
    font-size: var(--s-b);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: 8px;
}

@media (max-width: 899px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-top: 24px;
    }

    .hero-copy {
        gap: 18px;
    }

    .hero-copy h1 {
        font-size: clamp(32px, 9vw, 44px);
    }

    .hero-lead {
        font-size: 16px;
    }
}

/* Kartu cek harga: potongan tampilan seperti kolom nomor HP di dashboard. */
.check {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border: 1px solid var(--tone);
    border-radius: 20px;
    background: var(--surface);
    font-size: 15px;
}

.check-title {
    margin-bottom: 4px;
    font-size: 20px;
    font-weight: 800;
}

.check-label {
    font-size: 14px;
    font-weight: 700;
}

.check-input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--control);
    border-radius: 12px;
    background: var(--surface);
    font-size: 18px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.check-input:focus {
    border-color: var(--accent);
    outline: 3px solid var(--accent-soft);
    outline-offset: 0;
}

.check-operator {
    min-height: 22px;
    color: var(--soft);
    font-size: 14px;
}

.check-operator strong {
    color: var(--ink);
}

.check-seg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: var(--tone-2);
}

.check-seg button {
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--soft);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.check-seg button[aria-checked="true"] {
    background: var(--ink);
    color: #ffffff;
}

.check-results {
    display: grid;
    margin-top: 2px;
}

.check-results li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--tone-2);
    animation: row-in 0.28s var(--ease) both;
}

.check-results li:nth-child(2) { animation-delay: 40ms; }
.check-results li:nth-child(3) { animation-delay: 80ms; }
.check-results li:nth-child(4) { animation-delay: 120ms; }

@keyframes row-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

.check-name {
    display: grid;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.check-name small {
    color: var(--soft);
    font-size: 13px;
    font-weight: 500;
}

.check-price {
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

.check-results a,
.band-action {
    padding: 6px 14px;
    border: 1px solid var(--control);
    border-radius: 999px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.check-results a:hover,
.band-action:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.check-empty {
    padding: 14px 0;
    color: var(--soft);
    font-size: 14px;
}

.check-all {
    padding-top: 4px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 899px) {
    .check {
        padding: 18px;
    }
}

/* ---------- Angka hidup (pengguna dan pembeli) ---------- */

.stats {
    padding: 96px var(--m) 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.stat-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 28px 18px;
    border: 1.5px solid transparent;
    border-radius: var(--r);
    background: var(--surface);
    text-align: center;
}

.stat-num {
    font-size: clamp(30px, 4.6vw, 52px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--accent);
}

.stat-label {
    color: var(--soft);
    font-size: var(--s-s);
    font-weight: 600;
}

@media (max-width: 899px) {
    .stats {
        padding-top: 64px;
    }

    .stat-grid {
        gap: 8px;
    }

    .stat-cell {
        padding: 18px 8px;
    }

    .stat-label {
        font-size: 12px;
    }
}

/* ---------- Tile kategori ---------- */

.cats {
    display: grid;
    gap: 20px;
    padding: 96px var(--m) 0;
}

.cats-title {
    font-size: var(--s-m);
    font-weight: 800;
    letter-spacing: -0.01em;
}

/* Jumlah kolom diisi home.js lewat --tile-columns supaya baris terakhir
   sebisa mungkin penuh, sama dengan Beranda dashboard. */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(var(--tile-columns, 4), minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 12px;
}

/* Semua tile satu tampilan: putih di atas latar abu-abu, tinta utama, tanpa
   warna per kategori. Teal hanya muncul saat tile disentuh, sama dengan
   Beranda dan menu Beli di dashboard. */
.cat-tile {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 132px;
    padding: 18px;
    /* Garisnya baru terlihat saat disentuh; saat diam tile dipisahkan dari
       latar hanya oleh beda warna. */
    border: 1.5px solid transparent;
    border-radius: var(--r);
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.15s var(--ease), border-color 0.15s var(--ease);
}

.cat-tile:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Logo operator dibuat untuk latar putih, jadi langsung di atas tile tanpa
   alas. Kotaknya sama untuk semua logo, lebar maupun persegi, supaya nama
   kategori di bawahnya sejajar. */
.cat-logo {
    width: 64px;
    height: 36px;
    margin-bottom: auto;
    object-fit: contain;
    object-position: left center;
}

.cat-name {
    margin-top: 16px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
}

.cat-tile small {
    color: var(--soft);
    font-size: 14px;
    font-weight: 500;
}

/* Di HP tile ringkas: 4 kolom, isi di tengah, tanpa jumlah produk. */
@media (max-width: 899px) {
    .cats {
        padding-top: 64px;
    }

    .cat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .cat-tile {
        align-items: center;
        min-height: 100px;
        padding: 12px 4px 10px;
        text-align: center;
    }

    .cat-tile:hover {
        transform: none;
    }

    .cat-logo {
        width: 56px;
        height: 32px;
        margin: 0;
        object-position: center;
    }

    .cat-name {
        margin-top: 8px;
        font-size: 13px;
        overflow-wrap: anywhere;
    }

    .cat-tile small {
        display: none;
    }
}

/* ---------- Daftar harga: tab kategori dan pita ---------- */

.prices {
    padding: var(--gap-section) var(--m) 0;
}

.prices-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}

.prices-head h2 {
    max-width: 16ch;
    font-size: var(--s-l);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.soft {
    display: block;
    color: var(--soft);
}

.promo-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
    margin-bottom: 24px;
    padding: 18px 22px;
    border-radius: var(--r);
    background: var(--accent-soft);
}

.promo-strip[hidden] {
    display: none;
}

.promo-text {
    flex: 1 1 320px;
    font-size: 16px;
}

.promo-text s {
    color: var(--soft);
}

.prices-body {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 40px;
}

.price-tabs {
    display: grid;
    align-content: start;
    gap: 6px;
}

.price-tab {
    display: grid;
    align-content: center;
    min-height: 64px;
    padding: 8px 14px;
    border: 0;
    border-radius: var(--r);
    background: var(--tone);
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.price-tab small {
    color: var(--soft);
    font-size: 13px;
    font-weight: 500;
}

.price-tab:hover {
    background: var(--control);
}

.price-tab[aria-selected="true"] {
    background: var(--ink);
    color: #ffffff;
}

.price-tab[aria-selected="true"] small {
    color: #cfd8d5;
}

.price-panel {
    display: grid;
    align-content: start;
    gap: 14px;
}

.price-tools {
    display: flex;
    gap: 10px;
}

.price-tools input,
.price-tools select {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--control);
    border-radius: 12px;
    background: var(--surface);
    font-size: 16px;
}

.price-tools input {
    flex: 1;
    min-width: 0;
}

.price-tools select {
    max-width: 220px;
}

.price-status {
    color: var(--soft);
    font-size: 15px;
}

.price-bands {
    display: grid;
    gap: 4px;
}

.price-band {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 76px;
    padding: 10px 20px;
    border-radius: var(--r);
    background: var(--surface);
}

.price-band:nth-child(even) {
    background: var(--tone-2);
}

.band-price {
    font-size: 20px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.band-price small {
    display: block;
    color: var(--soft);
    font-size: 13px;
    font-weight: 500;
}

.band-title {
    display: grid;
    min-width: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.band-title small {
    color: var(--soft);
    font-size: 13px;
    font-weight: 500;
}

.band-side {
    display: flex;
    align-items: center;
    gap: 12px;
}

.band-logo {
    width: 32px;
    height: 32px;
    padding: 4px;
    border-radius: 50%;
    background: var(--surface);
    object-fit: contain;
}

.band-slot {
    color: var(--soft);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.band-slot.is-full {
    color: var(--danger);
}

#priceMore {
    justify-self: start;
}

@media (max-width: 899px) {
    .prices-head {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 28px;
    }

    .prices-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    /* Semua kategori terlihat sekaligus dalam kisi, tanpa geser ke samping. */
    .price-tabs {
        grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    }

    .price-tab {
        min-height: 56px;
        padding: 8px 12px;
    }

    .price-tools {
        flex-direction: column;
    }

    .price-tools select {
        max-width: none;
    }

    .price-band {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "title side"
            "price side";
        gap: 4px 12px;
        padding: 14px 16px;
    }

    .band-title { grid-area: title; font-size: 16px; }
    .band-price { grid-area: price; font-size: 18px; }
    .band-side { grid-area: side; }

    .band-logo {
        display: none;
    }
}

/* ---------- Mitra ---------- */

.partners {
    padding: var(--gap-section) var(--m) 0;
}

.partner-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.partner-tile {
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: center;
    justify-items: center;
    gap: 16px;
    aspect-ratio: 3 / 2;
    padding: 24px;
    border-radius: var(--r);
    background: var(--surface);
}

.partner-tile img {
    width: auto;
    max-width: 72%;
    max-height: 64px;
    object-fit: contain;
}

.partner-tile figcaption {
    justify-self: start;
    color: var(--soft);
    font-size: var(--s-s);
    line-height: 1.45;
}

.partner-head {
    grid-column: span 2;
    grid-template-rows: auto auto;
    align-content: space-between;
    align-items: start;
    justify-items: start;
    aspect-ratio: auto;
    background: var(--accent);
    color: #ffffff;
}

.partner-head h2 {
    max-width: 14ch;
    font-size: var(--s-l);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.partner-head p {
    max-width: 44ch;
    font-size: 16px;
}

.partner-note {
    margin-top: 16px;
    color: var(--soft);
    font-size: var(--s-s);
}

@media (max-width: 899px) {
    .partner-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .partner-head {
        grid-column: 1 / -1;
        gap: 12px;
    }

    .partner-head h2 {
        font-size: 30px;
    }

    .partner-tile {
        aspect-ratio: auto;
        min-height: 150px;
        padding: 16px;
    }

    .partner-tile img {
        max-height: 40px;
    }
}

/* ---------- Kata pelanggan ---------- */

.voices {
    display: grid;
    gap: 32px;
    padding: var(--gap-section) var(--m) 0;
    padding-left: calc(var(--m) + (100% - 2 * var(--m)) / 12);
}

.quiet-heading {
    color: var(--soft);
    font-size: var(--s-b);
    font-weight: 600;
}

.comment {
    display: grid;
    gap: 0.6em;
    padding: 0.8em 0.9em;
    border-radius: var(--r);
    background: var(--surface);
}

.comment-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-disc {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 15px;
    font-weight: 800;
}

.comment-who {
    color: var(--soft);
    font-size: 15px;
}

.comment-who strong {
    margin-right: 6px;
    color: var(--ink);
}

.comment-body {
    font-size: 16px;
    line-height: 1.5;
}

/* Komentar utama adalah kalimat besar, jadi dijaga di ukuran pernyataan
   (paling besar 36px) supaya tidak terbaca sebagai judul panjang. */
.comment-lead {
    max-width: calc((100% / 11) * 8);
    font-size: clamp(24px, 2.5vw, 36px);
}

.comment-lead .comment-body {
    font-size: 1em;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.comment-replies {
    display: grid;
    gap: 24px;
    padding-left: 52px;
}

.comment-replies .comment {
    width: min(440px, 100%);
}

@media (max-width: 899px) {
    .voices {
        padding-left: var(--m);
    }

    .comment-lead {
        max-width: none;
        font-size: 24px;
    }

    .comment-replies {
        padding-left: 28px;
    }
}

/* ---------- Tanya jawab ---------- */

.faq {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    padding: var(--gap-section) var(--m) 0;
}

.faq-list {
    grid-column: 1 / span 5;
    display: grid;
    align-content: start;
    gap: 18px;
}

.faq-list ul {
    display: grid;
    gap: 18px;
}

.faq-q {
    display: flex;
    align-items: baseline;
    gap: 14px;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: var(--soft);
    font-size: var(--s-b);
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.15s var(--ease);
}

.faq-q::before {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--soft);
    transform: translateY(-2px);
    transition: background-color 0.15s var(--ease);
}

.faq-q:hover,
.faq-item.is-open .faq-q {
    color: var(--ink);
}

.faq-item.is-open .faq-q::before {
    background: var(--accent);
}

.faq-a {
    padding: 10px 0 0 22px;
    font-size: var(--s-b);
    line-height: 1.5;
}

.faq-pane {
    display: none;
}

@media (min-width: 900px) {
    .js .faq-a {
        display: none;
    }

    .js .faq-pane {
        grid-column: 7 / -1;
        display: block;
        align-self: start;
        position: sticky;
        top: 120px;
    }

    .faq-pane p {
        max-width: 30ch;
        font-size: var(--s-m);
        line-height: 1.3;
        transition: opacity 0.15s var(--ease);
    }

    .faq-pane p.is-swapping {
        opacity: 0;
    }
}

@media (max-width: 899px) {
    .faq-list {
        grid-column: 1 / -1;
    }

    .js .faq-item:not(.is-open) .faq-a {
        display: none;
    }
}

/* ---------- Alamat usaha ---------- */

.place {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 48px;
    padding: var(--gap-section) var(--m);
}

.place-address {
    display: grid;
    gap: 12px;
}

.place-street {
    margin-top: 8px;
    font-size: var(--s-l);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.place-area {
    font-size: var(--s-b);
}

.place-address .text-link {
    justify-self: start;
    margin-top: 8px;
}

.place-contact {
    display: grid;
    gap: 6px;
}

.place-contact div {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--r);
    background: var(--surface);
}

.place-contact dt {
    color: var(--soft);
    font-size: 15px;
    font-weight: 600;
}

.place-contact dd {
    display: grid;
    font-size: 17px;
    font-weight: 700;
}

.place-contact dd a {
    color: var(--accent);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.place-contact dd a:hover {
    text-decoration: underline;
}

.place-contact small {
    color: var(--soft);
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 899px) {
    .place {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .place-street {
        font-size: 34px;
    }

    .place-contact div {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        padding: 16px;
    }
}

/* ---------- Kaki halaman: papan ubin ---------- */

.foot {
    padding: 0 var(--m) 24px;
}

.foot-board {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 200px 280px;
    gap: 8px;
}

.tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    padding: 24px;
    border-radius: var(--r);
    background: var(--surface);
    overflow: hidden;
}

.tile-statement {
    grid-column: 1 / span 5;
}

.tile-statement-text {
    max-width: 22ch;
    font-size: var(--s-m);
    font-weight: 700;
    line-height: 1.25;
}

.tile-legal {
    color: var(--soft);
    font-size: 13px;
}

.tile-nav {
    grid-column: 6 / span 3;
    background: var(--tone);
}

.tile-nav ul {
    display: grid;
    gap: 6px;
}

.tile-nav a,
.tile-mail a {
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s var(--ease);
}

.tile-nav a:hover,
.tile-mail a:hover {
    color: var(--accent);
}

.tile-mail {
    grid-column: 9 / span 4;
}

.tile-mail .tile-mail-link {
    color: var(--accent);
    font-size: 20px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.tile-word {
    grid-column: 1 / span 8;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: #ffffff;
}

/* Ubin merek selebar 8 dari 12 kolom; ukurannya dijaga supaya "1FORCR KUOTA"
   muat satu baris tanpa terpotong. */
.foot-wordmark {
    font-size: min(var(--s-xl), 6.6vw);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.05em;
    white-space: nowrap;
}

.tile-go {
    grid-column: 9 / span 4;
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.15s var(--ease);
}

.tile-go span {
    font-size: 28px;
    font-weight: 700;
}

.tile-go svg {
    align-self: flex-end;
    transition: transform 0.2s var(--ease);
}

.tile-go:hover {
    background: var(--accent-dark);
}

.tile-go:hover svg {
    transform: translateX(6px);
}

@media (max-width: 899px) {
    .foot-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
        gap: 6px;
    }

    .tile {
        padding: 20px;
    }

    .tile-word {
        grid-column: 1 / -1;
        grid-row: 1;
        min-height: 140px;
    }

    .foot-wordmark {
        font-size: 12vw;
    }

    .tile-go {
        grid-column: 1 / -1;
        grid-row: 2;
        min-height: 120px;
    }

    .tile-statement {
        grid-column: 1 / -1;
        min-height: 150px;
    }

    .tile-nav,
    .tile-mail {
        grid-column: 1 / -1;
        min-height: 0;
    }

    .tile-statement-text {
        font-size: 20px;
    }

    .tile-mail .tile-mail-link {
        font-size: 15px;
    }
}

/* ---------- Gerak: kemunculan per bagian ----------
   Isi tetap terlihat tanpa JS; kelas reveal baru dipasang oleh home.js. */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    transition-delay: var(--delay, 0ms);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .check-results li {
        animation: none;
    }

    .btn,
    .cat-tile,
    .tile-go svg {
        transition: none;
    }
}
