/* KitaKompak — landing page
   Pasangan warna nila (pria) & jambu (wanita) dipakai sebagai tanda merek:
   bar patungan yang sama dengan di panel. */
:root {
  --paper: #f2f4f0;
  --surface: #ffffff;
  --ink: #17231c;
  --muted: #56645b;
  --line: #d5dcd2;
  --pandan: #2e5e4a;
  --pandan-dark: #224737;
  --nila: #34548a;
  --jambu: #b04a6a;
  --kunyit: #9a7b3e;
  --prog-bg: #f8ecd3; --prog: #8a5a07;
  --done-bg: #dcefe3; --done: #1f6141;
  --todo-bg: #ebedea; --todo: #4f5a53;
  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; font-optical-sizing: auto; }
h1, h2, p { margin: 0; }
h1, h2 { text-wrap: balance; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--pandan); outline-offset: 3px; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 21px; letter-spacing: -0.03em; text-decoration: none; }
.brand-mark { display: inline-flex; width: 28px; height: 10px; border-radius: 99px; overflow: hidden; }
.brand-mark i { display: block; height: 100%; }
.brand-mark i:first-child { width: 55%; background: var(--nila); }
.brand-mark i:last-child { width: 45%; background: var(--jambu); }
.brand.small { font-size: 17px; }
.brand.small .brand-mark { width: 22px; height: 8px; }

/* ---------- Top bar ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(242, 244, 240, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.top-nav { display: flex; align-items: center; gap: 22px; font-size: 15.5px; font-weight: 500; }
.top-nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.top-nav a:not(.btn):hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pandan); color: #fff; text-decoration: none; font-weight: 650;
  font-size: 15px; padding: 10px 16px; border-radius: 10px; white-space: nowrap;
}
.btn:hover { background: var(--pandan-dark); }
.btn.big { font-size: 17px; padding: 15px 24px; border-radius: 12px; }
.link { font-weight: 600; text-underline-offset: 3px; }
.note { color: var(--muted); font-size: 15px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.hero h1 { font-size: clamp(48px, 7.4vw, 104px); line-height: .92; letter-spacing: -0.045em; font-weight: 800; max-width: 9ch; }
.lede { margin-top: 26px; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 44ch; }
.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 34px; }
.cta-row.center { justify-content: center; }

.ui-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px 8px 0; box-shadow: 0 30px 60px -40px rgba(23, 35, 28, .45); transform: rotate(.6deg); }
.ui-head { display: flex; justify-content: space-between; padding: 12px 14px 10px; font-weight: 700; font-size: 15px; }
.ui-days { color: var(--muted); font-weight: 500; }
.ui-items { list-style: none; margin: 0; padding: 0; }
.ui-items li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 15px; }
.ui-title { font-weight: 600; min-width: 0; }
.ui-title small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.ui-amt { font-variant-numeric: tabular-nums; font-weight: 650; }
.who { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; }
.who.g { background: var(--nila); }
.who.b { background: var(--jambu); }
.pill { font-size: 12.5px; font-weight: 650; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.pill.done { background: var(--done-bg); color: var(--done); }
.pill.prog { background: var(--prog-bg); color: var(--prog); }
.pill.todo { background: var(--todo-bg); color: var(--todo); }
.ui-total { margin: 4px -8px 0; padding: 16px 22px 20px; background: #f6f7f3; border-top: 1px solid var(--line); border-radius: 0 0 18px 18px; }
.ui-total-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--muted); }
.ui-total-row strong { color: var(--ink); font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.split { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--todo-bg); margin-top: 12px; }
.split span { display: block; height: 100%; }
.split .g { background: var(--nila); }
.split .b { background: var(--jambu); }
.split .o { background: var(--kunyit); }
.w40 { width: 40%; } .w48 { width: 48%; } .w52 { width: 52%; } .w60 { width: 60%; } .w100 { width: 100%; }
.split-legend { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.g-text { color: var(--nila); }
.b-text { color: var(--jambu); }

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.feature.flip .feature-copy { order: 2; }
.feature h2, .safe h2, .invite-copy h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 780; max-width: 16ch; }
.feature p { margin-top: 18px; color: var(--muted); max-width: 46ch; }

.mini-list, .modes, .wish, .gift-row { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.mini-row { display: grid; grid-template-columns: 12px 1fr; column-gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); font-weight: 600; font-size: 15.5px; }
.mini-row:first-child { border-top: 0; }
.mini-row em { grid-column: 2; font-style: normal; font-weight: 400; color: var(--muted); font-size: 13.5px; }
.mini-row.late em { color: #b3372f; font-weight: 600; }
.mini-row.done { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }
.mini-row.done em { text-decoration: none; }
.dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; }
.dot.prog { background: #c8871a; }
.dot.todo { background: #aab3ac; }
.dot.done { background: #2b7a52; }

.modes { padding: 6px 18px; }
.mode { padding: 14px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 15.5px; }
.mode:first-child { border-top: 0; }
.mode .split { margin-top: 8px; }

.wish { padding: 18px; }
.wish .att { margin-left: 8px; color: var(--kunyit); font-size: 13.5px; }
.wish p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.gift-row { margin-top: 12px; padding: 14px 18px; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 15px; font-weight: 600; flex-wrap: wrap; }

/* ---------- Invitation band ---------- */
.invite-band { background: #22362b; color: #eef2ea; padding: clamp(56px, 8vw, 104px) 0; }
.invite-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.invite-preview { background: #e6ebe1; color: #213528; border-radius: 22px; padding: 28px 28px 32px; text-align: center; max-width: 360px; justify-self: center; width: 100%; }
.arch {
  width: 62%; margin: 0 auto; aspect-ratio: 3 / 4; border-radius: 999px 999px 12px 12px; background: #d9e1d2; position: relative; overflow: hidden;
  box-shadow: 0 0 0 7px #e6ebe1, 0 0 0 8px rgba(33, 53, 40, .18);
}
.arch::before {
  content: ""; position: absolute; inset: 0; background-color: #8a6a32; opacity: .55;
  -webkit-mask: url("../img/kawung.svg") center / 40px 40px repeat; mask: url("../img/kawung.svg") center / 40px 40px repeat;
}
.ip-names { font-family: "Gloock", Georgia, serif; font-size: 44px; line-height: .95; margin-top: 22px; }
.ip-names span { display: block; font-size: 22px; color: #8a6a32; margin: 4px 0; }
.ip-date { margin-top: 12px; font-size: 15px; color: #4b6152; }
.invite-copy h2 { color: #fff; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: #c9d6cc; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--nila) 55%, var(--jambu) 55%); }
.checks b { color: #fff; font-weight: 600; }

/* ---------- Safety & closing ---------- */
.safe { padding: clamp(56px, 8vw, 96px) 0; }
.safe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 32px; }
.safe-grid p { color: var(--muted); border-top: 2px solid var(--ink); padding-top: 14px; }
.safe-grid b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.closing { text-align: center; padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.closing h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; font-weight: 800; max-width: 18ch; margin-inline: auto; }
.closing .note { margin-top: 18px; }

.foot { border-top: 1px solid var(--line); padding: 26px 0; font-size: 14px; color: var(--muted); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot .brand { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero, .feature, .invite-inner { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .hero h1 { max-width: 11ch; }
  .ui-card { transform: none; }
  .safe-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .hide-sm { display: none; }
  .top-nav { gap: 14px; }
  .btn { padding: 9px 13px; font-size: 14.5px; }
  .btn.big { width: 100%; }
  .cta-row { gap: 14px; }
  .cta-row .link { width: 100%; text-align: center; }
  .ui-items li { grid-template-columns: 30px minmax(0, 1fr) auto; row-gap: 6px; }
  .ui-items .pill { grid-column: 2 / 3; justify-self: start; }
  .ui-items .ui-amt { grid-row: 1; grid-column: 3; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
