/* CuciCatat compro. Biru laundry + kuning jemuran + krem. Satu motif: jemuran. Satu stempel merah di nota. */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/plex-sans-latin.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/plex-mono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1b2f63;
  --blue: #2a4a8f;
  --blue-dark: #1f3870;
  --sun: #ffd23f;
  --sun-dark: #f2c01d;
  --cream: #fff8ec;
  --cream-2: #f6ebd3;
  --paper: #fffdf8;
  --ink: #1e2430;
  --muted: #5a6070;
  --coral: #c93a1b;
  --rule: rgba(30, 36, 48, 0.16);
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
a, summary, button, label[for] { cursor: pointer; }
section[id] { scroll-margin-top: 16px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--sun); color: var(--ink); padding: 10px 14px; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; border-radius: 8px; border: 0; }
.btn:hover { background: var(--blue-dark); }
.btn:active { background: var(--navy); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.08rem; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-dark); }
.btn-sun:active { background: #fff; }
.textlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
.textlink:hover { color: var(--ink); }

/* ---------- header + hero (biru) ---------- */
.top { background: var(--navy); color: var(--cream); }
.top :focus-visible, .hero-band :focus-visible, .penutup :focus-visible { outline-color: var(--sun); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--cream); text-decoration: none; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.nav { display: none; gap: 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--cream); text-decoration: none; border-radius: 6px; }
.nav a:hover { background: rgba(255, 255, 255, 0.12); }
.acts { display: flex; align-items: center; gap: 8px; }
.acts .btn { white-space: nowrap; padding: 0 16px; }
.top .textlink { color: var(--cream); }
.top .textlink:hover { color: var(--sun); }

.hero-band { background: var(--navy); color: var(--cream); position: relative; }
.hero { display: grid; gap: 40px; padding-top: 28px; padding-bottom: 28px; }
.hero h1 { font-size: clamp(2.3rem, 1.3rem + 4.6vw, 4.2rem); line-height: 1.02; margin-bottom: 20px; }
.hero mark { background: none; color: var(--sun); }
.lead { font-size: 1.2rem; line-height: 1.55; max-width: 31em; margin-bottom: 26px; color: #eef1fa; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin-bottom: 14px; }
.hero .textlink { color: var(--cream); text-decoration-color: var(--sun); }
.hero .textlink:hover { color: var(--sun); }
.fine { font-size: .95rem; color: #c9d3ee; margin: 0; max-width: 34em; }

.hero-visual { position: relative; display: flex; justify-content: center; padding-bottom: 8px; }
.screen { margin: 0; display: none; }
.screen img, .phone img { width: 100%; }
.phone { margin: 0; width: min(230px, 62vw); border: 7px solid var(--ink); border-radius: 30px; overflow: hidden; background: var(--ink); box-shadow: 0 22px 36px -18px rgba(0, 0, 0, 0.55); }

/* ---------- jemuran ---------- */
.jemuran { height: 132px; background: url("/img/jemuran.svg") repeat-x left top / auto 100%; }
.hero-band .jemuran { height: 110px; margin-top: 10px; }
.jemuran-top { position: absolute; top: 0; left: 0; right: 0; height: 100px; opacity: .9; }

/* ---------- masalah ---------- */
.masalah { display: grid; gap: 28px; padding-top: 64px; padding-bottom: 72px; }
.masalah h2, .tampilan h2, .nota-text h2, .harga h2, .tanya h2, .penutup h2 { font-size: clamp(1.75rem, 1.15rem + 2.4vw, 2.6rem); margin-bottom: 14px; }
.masalah-head p { color: var(--muted); max-width: 24em; }
.kejadian { list-style: none; margin: 0; padding: 0; }
.kejadian li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 0; border-top: 2px solid var(--ink); }
.kejadian li:last-child { border-bottom: 2px solid var(--ink); }
.ico { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--sun); fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ucap { font-size: 1.3rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 8px; }
.kejadian p:last-child { margin: 0; max-width: 40em; }

/* ---------- tampilan: tiga babak ---------- */
.tampilan { background: var(--cream-2); padding: 64px 0 72px; }
.tampilan-head { max-width: 44em; margin-bottom: 44px; }
.tampilan-head p { margin-bottom: .6em; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 500 .8rem/1.5 var(--mono); color: var(--muted); }
.babak { display: grid; gap: 22px; margin-bottom: 60px; }
.babak:last-child { margin-bottom: 0; }
.jam { display: inline-block; margin: 0 0 10px; padding: 2px 12px; background: var(--ink); color: var(--cream); font: 500 .85rem/1.7 var(--mono); border-radius: 4px; }
.babak h3 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); margin-bottom: 10px; }
.babak-text p:last-child { margin-bottom: 0; }
.babak .screen { display: block; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 8px 8px 0 var(--sun); }
.babak .phone { justify-self: center; box-shadow: 8px 8px 0 var(--sun); }

@media (max-width: 899px) {
  .b1 .screen { max-height: 330px; }
  .b1 .screen img { width: 170%; max-width: none; margin-left: -31%; }
  .b3 .screen { max-height: 200px; }
  .b3 .screen img { width: 128%; max-width: none; }
}

/* ---------- nota ---------- */
.nota-sec { background: var(--sun); padding: 64px 0 80px; }
.nota-grid { display: grid; gap: 40px; align-items: center; }
.nota-text .plain { margin-bottom: 0; }
.nota-wrap { margin: 0; justify-self: center; width: 100%; max-width: 360px; }
.nota-wrap figcaption { margin-top: 24px; font-size: .9rem; color: var(--ink); }
.nota { position: relative; background: var(--paper); border: 1px solid var(--rule); padding: 22px 22px 124px; font: 500 .8125rem/1.55 var(--mono); box-shadow: 0 18px 28px -18px rgba(30, 36, 48, 0.6); }
.nota::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -8px; height: 9px; background: radial-gradient(circle at 7px 0, transparent 6px, var(--paper) 6.5px) repeat-x; background-size: 14px 9px; }
.n-head { margin: 0 0 2px; text-align: center; }
.n-head strong { font-weight: 500; font-size: 1.1rem; }
.n-addr { margin: 0 0 12px; text-align: center; color: var(--muted); font-size: .75rem; }
.n-meta { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 2px; color: var(--muted); }
.n-items { list-style: none; margin: 12px 0 0; padding: 12px 0; border-top: 1px dashed var(--rule); border-bottom: 1px dashed var(--rule); }
.n-items li { display: flex; justify-content: space-between; gap: 14px; padding: 4px 0; }
.n-items small { display: block; color: var(--muted); font-size: .75rem; }
.n-sum { margin: 10px 0 0; }
.n-sum div { display: flex; justify-content: space-between; gap: 12px; }
.n-sum dt, .n-sum dd { margin: 0; }
.n-total { font-size: 1rem; padding: 4px 0; }
.stamp { position: absolute; left: 20px; bottom: 66px; margin: 0; border: 3px solid var(--coral); color: var(--coral); border-radius: 4px; padding: 0 10px; font: 500 1.3rem/1.35 var(--mono); letter-spacing: .06em; transform: rotate(-7deg); background: rgba(255, 253, 248, 0.7); }
.n-foot { position: absolute; left: 22px; right: 22px; bottom: 16px; margin: 0; text-align: center; color: var(--muted); font-size: .75rem; }

/* ---------- harga ---------- */
.harga { display: grid; gap: 28px; padding-top: 72px; padding-bottom: 72px; }
.harga-head p { color: var(--muted); max-width: 22em; }
.ledger { list-style: none; margin: 0 0 16px; padding: 0; }
.ledger li { display: flex; align-items: baseline; gap: 10px; padding: 18px 0; border-top: 2px solid var(--ink); }
.ledger li:last-child { border-bottom: 2px solid var(--ink); }
.what { font-size: 1.2rem; font-weight: 700; }
.dots { flex: 1; border-bottom: 3px dotted var(--rule); transform: translateY(-4px); min-width: 12px; }
.amt { text-align: right; }
.amt s { color: var(--muted); font: 500 1rem var(--mono); margin-right: 6px; }
.amt strong { font: 700 clamp(1.8rem, 1.2rem + 2.4vw, 2.6rem) var(--sans); letter-spacing: -0.02em; }
.amt small { font-size: .95rem; color: var(--muted); }
.saving { color: var(--muted); }
.plain { margin: 0 0 24px; padding-left: 1.2em; }
.plain li { margin-bottom: 6px; }

/* ---------- tanya jawab ---------- */
.tanya { padding-top: 8px; padding-bottom: 72px; max-width: 840px; }
.faq details { border-top: 2px solid var(--ink); }
.faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary { list-style: none; position: relative; min-height: 44px; padding: 18px 44px 18px 0; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; line-height: 28px; text-align: center; background: var(--sun); border-radius: 50%; font: 500 1.3rem var(--mono); color: var(--ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--blue); }
.faq details p { padding: 0 0 20px; margin: 0; max-width: 40em; }

/* ---------- penutup & footer ---------- */
.penutup { position: relative; background: var(--navy); color: var(--cream); padding: 110px 0 64px; overflow: hidden; }
.penutup .wrap { position: relative; }
.penutup p { max-width: 34em; }
.penutup .contact { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin: 28px 0 0; color: #d5ddf3; }
.penutup .contact a { color: var(--cream); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.foot { padding: 24px 0 32px; font-size: .95rem; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot p { margin: 0; }
.foot strong { color: var(--ink); margin-right: 6px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); }

/* ---------- kontak ---------- */
.nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.16); }
.hero-kontak { display: block; padding-top: 40px; padding-bottom: 12px; max-width: 1160px; }
.hero-kontak h1 { max-width: 20em; }
.hero-kontak .lead { max-width: 34em; }
.hero-kontak .lead { margin-bottom: 8px; }
.kontak { display: grid; gap: 36px; padding-top: 48px; padding-bottom: 80px; }
.kontak h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.2rem); margin-bottom: 14px; }
.fine-dark { color: var(--muted); }
.kontak-card { background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; padding: 22px; box-shadow: 8px 8px 0 var(--sun); align-self: start; }
.field { margin: 0 0 18px; display: grid; gap: 6px; }
.field label { font-weight: 700; }
.opsi { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 8px; }
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--sun); outline-offset: 0; box-shadow: 0 0 0 5px var(--ink); }
.hint { font-size: .9rem; color: var(--muted); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.galat { margin: 0 0 16px; padding: 10px 12px; border: 2px solid var(--coral); border-radius: 8px; background: #fff3ef; color: #8f2a12; font-weight: 600; }
.kontak-card .btn { width: 100%; }
.kontak-card button.btn { cursor: pointer; font: inherit; font-weight: 700; }
.kontak-card button.btn:disabled { opacity: .7; cursor: progress; }
.sukses:focus { outline: none; }
.sukses h3 { font-size: 1.5rem; margin-bottom: 10px; }

/* ---------- 404 ---------- */
.nf { padding-top: 72px; padding-bottom: 96px; max-width: 640px; }
.nf h1 { font-size: 2.2rem; margin-bottom: 12px; }

/* ---------- layar lebar ---------- */
@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
  .kejadian li { grid-template-columns: 56px 1fr; gap: 24px; }
}
@media (min-width: 900px) {
  .kontak { grid-template-columns: 5fr 6fr; gap: 64px; padding-top: 72px; padding-bottom: 104px; }
  .kontak-card { padding: 30px; }
  .nav { display: flex; }
  .hero { grid-template-columns: 6fr 6fr; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 36px; }
  .hero-visual { justify-content: flex-end; min-height: 440px; align-items: center; }
  .hero-visual .screen { display: block; width: 560px; max-width: 100%; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; background: #fff; transform: translateX(-36px); }
  .hero-visual .phone { position: absolute; right: 0; bottom: -10px; width: 178px; border-width: 6px; border-radius: 26px; transform: rotate(3deg); }
  .masalah { grid-template-columns: 4fr 8fr; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
  .masalah-head { position: sticky; top: 24px; align-self: start; }
  .tampilan { padding: 88px 0 100px; }
  .babak { grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; margin-bottom: 88px; }
  .b2 { grid-template-columns: 4fr 6fr; }
  .b2 .phone { width: 260px; transform: rotate(-2deg); }
  .b3 { grid-template-columns: 4fr 8fr; }
  .nota-sec { padding: 88px 0 104px; }
  .nota-grid { grid-template-columns: 6fr 5fr; gap: 72px; }
  .nota-wrap { justify-self: end; }
  .nota { transform: rotate(1.6deg); }
  .harga { grid-template-columns: 4fr 8fr; gap: 56px; padding-top: 96px; padding-bottom: 96px; }
  .tanya { padding-bottom: 96px; }
  .penutup { padding: 130px 0 80px; }
}
@media (min-width: 1100px) {
  .hero-visual .screen { width: 620px; transform: translateX(-52px); }
  .hero-visual .phone { width: 196px; }
}

@media print {
  .top, .penutup, .skip, .jemuran { display: none; }
  body { background: #fff; }
}
