/* Pusat aplikasi Seaghost Creative. Font & token merek disalin dari seaghost-creative/assets/style.css (baris 1-99),
   aturan di bawahnya milik situs ini. Jangan tambah warna di luar token merek. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/archivo-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/archivo-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/newsreader-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/newsreader-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Root tokens
   ========================================================================== */
:root {
  --ink:        #14201F;
  --panel:      #F1ECE0;
  --teal:       #0E7C86;
  --teal-lift:  #0B5E66;
  --paper:      #FAF8F3;
  --graphite:   #4C5A56;
  --graphite-strong: #3E4A47; /* darker than --graphite, only for the struck-through original price -- needs to read clearly next to the bold opening price without outweighing it */
  --grease:     #D93B2B;
  --grease-strong: #C93526; /* darker than --grease, only for small uppercase text sitting on a red fill -- --grease itself falls just under AA at that size */

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.25rem;
  --text-xl:   1.75rem;
  --text-2xl:  2.5rem;
  --text-3xl:  4rem;

  --font-display: 'Archivo', sans-serif;
  --font-body: 'Newsreader', serif;
  --font-utility: 'DM Mono', monospace;

  --content-max-width: 68rem;
  --section-gap: 6rem;
  --page-inline-padding: 1.25rem;
}

@media (min-width: 48rem) {
  :root {
    --section-gap: 9rem;
    --page-inline-padding: 2rem;
  }
}

/* ==========================================================================
   Dasar
   ========================================================================== */
:root {
  --garis: color-mix(in srgb, var(--ink) 16%, transparent);
  --garis-tegas: color-mix(in srgb, var(--ink) 30%, transparent);
  --lebar-baca: 38rem;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
/* height:auto WAJIB: atribut height="800" di <img> kalau tidak ikut berlaku dan gambar jadi setinggi 800px */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-lift); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.lewati {
  position: absolute; left: 0.75rem; top: -3rem; z-index: 20;
  background: var(--ink); color: var(--paper); padding: 0.5rem 0.9rem; font-family: var(--font-display);
}
.lewati:focus { top: 0.75rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lebar { max-width: var(--content-max-width); margin-inline: auto; padding-inline: var(--page-inline-padding); }

/* ==========================================================================
   Kepala situs
   ========================================================================== */
.kepala-situs {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1rem;
}
.merek {
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm);
  letter-spacing: 0.08em; text-decoration: none;
}
.merek__akhir { color: var(--teal-lift); }
.kepala-situs__kontak {
  font-family: var(--font-display); font-size: var(--text-sm); letter-spacing: 0.04em;
  text-decoration: none; border-bottom: 1.5px solid var(--grease); padding-bottom: 0.1rem;
}

/* ==========================================================================
   Hero: halaman = meja lampu, pita film = aplikasinya
   ========================================================================== */
.hero { padding-block: 2.5rem 0; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.35rem, 7.4vw, 4.1rem); line-height: 1; letter-spacing: -0.025em;
  max-width: 15ch;
}
.hero__lead { margin-top: 1.1rem; max-width: var(--lebar-baca); color: var(--graphite); font-size: 1.15rem; }

.film { margin-top: 2.25rem; background: var(--ink); color: var(--panel); }
.film__gulir { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.film__gulir::-webkit-scrollbar { display: none; }
/* Isi pita lebih lebar dari layar; tepi, lubang, dan nomor bingkai ikut bergulir bersama bingkainya */
.film__isi { position: relative; display: inline-block; min-width: 100%; padding-block: 1.6rem 2.05rem; }
/* Lubang sproket: cahaya meja lampu tembus = warna kertas */
.film__isi::before, .film__isi::after {
  content: ""; position: absolute; left: 0; right: 0; height: 0.62rem;
  background: repeating-linear-gradient(90deg, transparent 0 0.45rem, var(--paper) 0.45rem 1.2rem, transparent 1.2rem 1.65rem);
  opacity: 0.93;
}
.film__isi::before { top: 0.4rem; }
.film__isi::after { bottom: 0.4rem; }
.film__tepi {
  position: absolute; left: 0; right: 0; top: 1.08rem; white-space: nowrap; overflow: hidden;
  font-family: var(--font-utility); font-size: 0.6rem; line-height: 1; letter-spacing: 0.22em;
  color: color-mix(in srgb, var(--panel) 70%, transparent); padding-inline: 1.1rem;
}
.film__bingkai { display: flex; gap: 0.55rem; list-style: none; padding: 0.95rem 1.1rem 0; }
.film__bingkai li { position: relative; flex: 0 0 auto; scroll-snap-align: start; }
.film__bingkai img {
  width: 7.6rem; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top;
  border-radius: 3px; background: var(--paper);
}
.film__bingkai .ikon img { object-fit: contain; padding: 22%; }
.film__no {
  position: absolute; left: 0.1rem; bottom: -1.02rem;
  font-family: var(--font-utility); font-size: 0.6rem; line-height: 1; letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--panel) 70%, transparent);
}
/* Satu-satunya gerak otomatis: bingkai "dicuci" dari terang ke normal, kiri ke kanan */
@media (prefers-reduced-motion: no-preference) {
  .film__bingkai img { animation: cuci 1.3s ease-out both; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
}
@keyframes cuci {
  from { filter: brightness(2.1) contrast(0.4) saturate(0); }
  to { filter: none; }
}

/* Dua jalan */
.jalan { display: grid; gap: 0.75rem; margin-top: 2rem; }
.jalan a {
  display: grid; grid-template-columns: auto 1fr; gap: 0.1rem 0.9rem; align-items: start;
  padding: 1.1rem 1.15rem; text-decoration: none;
  border: 1.5px solid var(--ink); background: var(--paper);
}
.jalan a:hover { background: var(--panel); color: var(--ink); }
.jalan svg { grid-row: span 2; width: 1.9rem; height: 1.9rem; margin-top: 0.15rem; color: var(--teal); }
.jalan__judul { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; }
.jalan__isi { color: var(--graphite); font-size: 1rem; }

/* ==========================================================================
   Bagian
   ========================================================================== */
.bagian { padding-block: 4.25rem 0; scroll-margin-top: 1rem; }
.bagian__judul {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.1; letter-spacing: -0.015em;
}
.bagian__lead { margin-top: 0.6rem; max-width: var(--lebar-baca); color: var(--graphite); }

/* --- Unduh & pasang: kartu besar --- */
.pasang-daftar { display: grid; gap: 1.25rem; margin-top: 1.75rem; list-style: none; }
.pasang a {
  display: grid; grid-template-columns: 6.25rem 1fr; gap: 1rem; height: 100%;
  padding: 1rem; text-decoration: none; background: var(--paper);
  border: 1px solid var(--garis-tegas);
}
.pasang a:hover { border-color: var(--ink); color: var(--ink); }
.pasang__gambar { width: 6.25rem; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border: 1px solid var(--garis); background: var(--panel); }
.pasang__gambar--ikon { object-fit: contain; padding: 18%; }
.pasang__nama { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; }
.pasang__desk { margin-top: 0.35rem; color: var(--graphite); font-size: 0.98rem; line-height: 1.5; }
.pasang__platform { list-style: none; margin-top: 0.75rem; display: grid; gap: 0.3rem; font-size: 0.95rem; }
.pasang__platform li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.45rem; }
.pasang__platform svg { width: 1rem; height: 1rem; flex: none; color: var(--graphite); }
/* nowrap: di kartu sempit "versi 1.3, 0,7 MB" turun utuh ke baris baru, tak terpotong di tengah */
.data { font-family: var(--font-utility); font-size: 0.8rem; color: var(--graphite); white-space: nowrap; }
.pasang__harga { margin-top: 0.6rem; font-size: 0.95rem; }
.pasang__tombol { grid-column: 1 / -1; justify-self: start; }

/* --- Pakai di peramban: daftar rapat per kelompok --- */
.kelompok { margin-top: 2.6rem; }
.kelompok__judul { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; }
.kelompok__sub { color: var(--graphite); font-size: 0.98rem; }
.web-daftar { list-style: none; margin-top: 0.9rem; border-top: 1px solid var(--garis); }
.web {
  display: grid; grid-template-columns: 3.9rem 1fr; gap: 0.35rem 1rem;
  padding-block: 1.05rem; border-bottom: 1px solid var(--garis);
}
.web__gambar { grid-row: span 2; width: 3.9rem; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border: 1px solid var(--garis); background: var(--panel); }
.web__gambar--ikon { object-fit: contain; padding: 16%; }
.web__nama { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.25; }
.web__desk { margin-top: 0.2rem; color: var(--graphite); font-size: 0.97rem; line-height: 1.5; }
.web__harga { margin-top: 0.35rem; font-size: 0.93rem; }
.web__aksi { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; }
.pwa { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.9rem; color: var(--teal-lift); }
.pwa svg { width: 0.95rem; height: 0.95rem; }

/* Tanda "baru": lingkaran pensil gemuk (chinagraph) — satu-satunya pemakaian merah */
.baru {
  position: relative; display: inline-block; margin-left: 0.55rem; padding-inline: 0.3rem;
  font-family: var(--font-display); font-size: 0.78rem; color: var(--grease-strong); vertical-align: 0.12em;
}
.baru::before {
  content: ""; position: absolute; inset: -0.28rem -0.34rem;
  border: 2px solid var(--grease); border-radius: 52% 46% 55% 44% / 62% 48% 56% 44%;
  transform: rotate(-5deg);
}

/* --- Tombol --- */
.tombol {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.55rem 1.1rem;
  font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.02em; line-height: 1.2;
  text-decoration: none; color: var(--ink); background: transparent;
  border: 1.5px solid var(--ink); cursor: pointer;
}
.tombol:hover { background: var(--panel); color: var(--ink); }
.tombol--utama { background: var(--teal); border-color: var(--teal); color: var(--paper); }
.tombol--utama:hover, .pasang a:hover .tombol--utama { background: var(--teal-lift); border-color: var(--teal-lift); color: var(--paper); }
.tombol--besar { min-height: 3.35rem; padding-inline: 1.4rem; font-size: 1.05rem; width: 100%; }
.tombol svg { width: 1.1rem; height: 1.1rem; flex: none; }

/* --- Aman dipasang? --- */
.aman__isi { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.aman__isi h3 { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.25; }
.aman__isi p { margin-top: 0.35rem; color: var(--graphite); max-width: var(--lebar-baca); }

/* ==========================================================================
   Halaman detail
   ========================================================================== */
.kembali { display: inline-block; margin-top: 1.25rem; font-size: 0.97rem; }
.detail__atas { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.1rem; margin-top: 1.5rem; align-items: start; }
.detail__gambar { width: 6.5rem; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border: 1px solid var(--garis); background: var(--panel); }
.detail__gambar--ikon { object-fit: contain; padding: 16%; }
.detail h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1.02; letter-spacing: -0.02em; }
.detail__desk { margin-top: 0.8rem; max-width: var(--lebar-baca); color: var(--graphite); font-size: 1.08rem; grid-column: 1 / -1; }
.detail__harga { margin-top: 0.5rem; grid-column: 1 / -1; }

.unduh { margin-top: 2.25rem; background: var(--panel); padding: 1.35rem 1.15rem 1.5rem; border-top: 3px solid var(--ink); }
.unduh__judul { font-family: var(--font-display); font-size: 1.5rem; }
.berkas-daftar { display: grid; gap: 1.5rem; margin-top: 1rem; }
.berkas { background: var(--paper); border: 1px solid var(--garis-tegas); padding: 1.1rem; }
.berkas__platform { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 1.15rem; }
.berkas__platform svg { width: 1.3rem; height: 1.3rem; color: var(--teal); }
.berkas .tombol--besar { margin-top: 0.85rem; }
.berkas__data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1rem; margin-top: 1rem; }
.berkas__data dt { font-size: 0.85rem; color: var(--graphite); }
.berkas__data dd { font-size: 0.98rem; }
.berkas__sidik { margin-top: 0.9rem; font-size: 0.93rem; }
.berkas__sidik summary { cursor: pointer; color: var(--teal-lift); }
.berkas__sidik code { display: block; margin-top: 0.5rem; font-family: var(--font-utility); font-size: 0.78rem; line-height: 1.55; word-break: break-all; background: var(--panel); padding: 0.55rem 0.7rem; }
.salin { margin-top: 0.5rem; min-height: 2.25rem; font-size: 0.85rem; padding-inline: 0.8rem; }
.berkas__catatan { margin-top: 0.85rem; font-size: 0.95rem; color: var(--graphite); }
.unduh__web { margin-top: 1.25rem; font-size: 1rem; }

.langkah ol { margin-top: 1rem; padding-left: 0; list-style: none; counter-reset: langkah; display: grid; gap: 0.9rem; max-width: var(--lebar-baca); }
.langkah li { counter-increment: langkah; display: grid; grid-template-columns: 2rem 1fr; gap: 0.75rem; }
.langkah li::before {
  content: counter(langkah); font-family: var(--font-display); font-size: 1rem;
  width: 2rem; height: 2rem; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%;
}
.langkah h3 { font-family: var(--font-display); font-size: 1.15rem; margin-top: 1.5rem; }
.langkah .catatan { margin-top: 0.9rem; font-size: 0.95rem; color: var(--graphite); max-width: var(--lebar-baca); }

/* ==========================================================================
   Kaki situs
   ========================================================================== */
.kaki { margin-top: 5rem; border-top: 1px solid var(--garis-tegas); padding-block: 2rem 2.5rem; background: var(--panel); }
.kaki__merek { font-family: var(--font-display); font-size: var(--text-sm); letter-spacing: 0.08em; }
.kaki nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-top: 0.9rem; font-size: 0.95rem; }
.kaki__salin { margin-top: 1.1rem; font-size: 0.9rem; color: var(--graphite); }

/* ==========================================================================
   Layar lebar
   ========================================================================== */
@media (min-width: 40rem) {
  .jalan { grid-template-columns: 1fr 1fr; }
  .film__bingkai img { width: 9.4rem; }
  .berkas__data { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 48rem) {
  .hero { padding-block: 4rem 0; }
  .aman__isi { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .detail__atas { grid-template-columns: 11rem 1fr; gap: 2rem; }
  .detail__gambar { width: 11rem; }
  .detail__desk, .detail__harga { grid-column: 2; }
  .unduh { padding: 1.75rem 1.75rem 2rem; }
  .berkas-daftar { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
  .tombol--besar { width: auto; }
}
@media (min-width: 64rem) {
  .pasang-daftar { grid-template-columns: repeat(3, 1fr); }
  .pasang a { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .pasang__gambar { width: 100%; aspect-ratio: 4 / 3; }
  .web-daftar { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; border-top: 0; }
  .web { border-top: 1px solid var(--garis); border-bottom: 0; }
  .film__bingkai img { width: 10.4rem; }
}
