/* KasirMu landing page. Palet sama dengan aplikasi (pos-web/lib/theme/theme.dart, class C). */

@font-face { font-family: "Jakarta"; src: url(fonts/PlusJakartaSans-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(fonts/PlusJakartaSans-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(fonts/PlusJakartaSans-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(fonts/PlusJakartaSans-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(fonts/PlusJakartaSans-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }
/* Font cadangan yang ukurannya disamakan dengan Plus Jakarta Sans (dihitung dari metrik font): saat
   font asli selesai dimuat, jumlah baris tidak berubah sehingga tata letak tidak melompat (CLS). */
@font-face { font-family: "Jakarta Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Roboto"); font-weight: 400 500;
  size-adjust: 103.7%; ascent-override: 100.1%; descent-override: 21.4%; line-gap-override: 0%; }
@font-face { font-family: "Jakarta Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Roboto Bold"); font-weight: 600 800;
  size-adjust: 100%; ascent-override: 104%; descent-override: 22.2%; line-gap-override: 0%; }
@font-face { font-family: "Plex Mono"; src: url(fonts/IBMPlexMono-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(fonts/IBMPlexMono-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --canvas: #F4F5FA;
  --paper: #FFFEFB;
  --ink: #141726;
  --ink-soft: #5D6379;
  --ink-faint: #9AA0B4;
  --line: #E3E6EF;
  --white: #FFFFFF;
  --blue: #453EFE;
  --blue-deep: #2F28D6;
  --blue-tint: #EDECFF;
  --blue-light: #A9A6FF;
  --night: #11131F;
  --night-soft: #1D2033;
  --night-text: #A6ABC3;
  --accent: #FF7A45;
  --green: #0E9F6E;
  --green-tint: #DEF7EC;
  --amber: #B76E00;
  --amber-tint: #FFF2D6;
  --brand: linear-gradient(135deg, #5650FF, #3B34F0);
  --sans: "Jakarta", "Jakarta Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --r: 16px;
  --shadow: 0 1px 2px rgba(20, 23, 38, .04), 0 8px 24px rgba(20, 23, 38, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.6 var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
kbd {
  display: inline-block;
  font: 500 .75em/1 var(--mono);
  padding: .3em .45em;
  border-radius: 6px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  background: var(--white);
  color: var(--ink-soft);
}
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ------------------------------------------------------------------ brand */
.brand { display: inline-flex; align-items: center; gap: 10px; }
/* Logo = favicon.svg (huruf K KasirMu); "Mu" di wordmark biru (header terang), biru terang di footer gelap. */
.logo { display: block; width: 36px; height: 36px; border-radius: 8px; box-shadow: 0 4px 16px rgba(69, 62, 254, .4); }
.logo--sm { width: 30px; height: 30px; border-radius: 7px; }
.wordmark { font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.wordmark i { font-style: normal; color: var(--blue); }
.foot .wordmark i { color: var(--blue-light); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: 12px;
  font-weight: 700; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(69, 62, 254, .45); }
.btn--primary:hover { background: var(--blue-deep); box-shadow: 0 12px 28px rgba(69, 62, 254, .5); }
.btn--glass { background: rgba(255, 255, 255, .85); color: var(--ink); border-color: #DCD9FF; box-shadow: 0 6px 18px rgba(47, 40, 214, .08); }
.btn--glass:hover { background: #fff; border-color: var(--blue); }
.btn--ghost { color: var(--blue-deep); background: var(--blue-tint); height: 40px; padding: 0 18px; }
.btn--ghost:hover { background: #E2E0FF; }
.btn--light { background: #fff; color: var(--blue-deep); }
.btn--light:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(69, 62, 254, .1);
  color: var(--ink);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { color: var(--ink-soft); font-weight: 600; font-size: 15px; transition: color .15s; }
.nav__links a:not(.btn):hover { color: var(--blue); }
.nav__toggle { display: none; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  overflow: hidden;
  /* Lavender terang + pola titik halus (serasi dengan halaman masuk aplikasi). */
  background:
    radial-gradient(circle at 1px 1px, rgba(69, 62, 254, .1) 1.2px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(160deg, #F7F6FF 0%, #EEECFF 55%, #E6E4FF 100%);
  color: var(--ink);
  padding: 72px 0 128px;
}
.hero::after { /* memudar ke putih di bawah, menyambung ke strip */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .7));
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero__glow--a { width: 620px; height: 620px; right: -160px; top: -280px; background: rgba(69, 62, 254, .22); }
.hero__glow--b { width: 460px; height: 460px; left: -180px; bottom: -260px; background: rgba(255, 122, 69, .16); }
.hero__in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid #DCD9FF;
  color: var(--ink-soft);
  font-size: 13px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(47, 40, 214, .06);
}
/* Beranda: H1 berisi kata kunci ("Aplikasi kasir online …") tampil sebagai label kecil; slogan besar = .hero__title. */
.hero h1.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0; line-height: 1.6; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 122, 69, .2); }
.hero h1, .hero__title { margin-top: 22px; font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
/* Tanda baca Jakarta punya ruang kiri lebar; dirapatkan di judul besar. */
.pn { margin-left: -.1em; }
.hero h1 .hl, .hero__title .hl {
  background: linear-gradient(90deg, var(--blue) 0%, #6B65FF 55%, var(--blue-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 20px; font-size: 18px; color: var(--ink-soft); max-width: 520px; }
.lead--dark { color: var(--ink-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.chips li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.chips li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%230E9F6E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---- ilustrasi aplikasi */
.hero__art { position: relative; padding: 24px 0 72px 24px; }
.app {
  border-radius: 18px;
  background: var(--canvas);
  color: var(--ink);
  box-shadow: 0 40px 80px rgba(47, 40, 214, .18), 0 2px 6px rgba(20, 23, 38, .06), 0 0 0 1px rgba(69, 62, 254, .08);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-8deg) rotateX(3deg);
  transform-origin: left center;
}
.app__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #fff; border-bottom: 1px solid var(--line); }
.app__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.app__bar span { margin-left: 12px; padding: 3px 12px; border-radius: 6px; background: var(--canvas); color: var(--ink-soft); font-size: 11px; font-weight: 500; }
.app__body { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; padding: 14px; }
.search {
  display: flex; justify-content: space-between; align-items: center;
  height: 34px; padding: 0 10px 0 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink-soft); font-size: 11px;
}
.search kbd { font-size: 9px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.tile { display: flex; flex-direction: column; gap: 2px; padding: 9px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.tile--on { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.tile b { display: grid; place-items: center; height: 42px; border-radius: 8px; margin-bottom: 6px; font-size: 13px; font-weight: 800; }
.tile span { font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile em { font: 500 10.5px var(--mono); color: var(--ink-soft); font-style: normal; }
.t1 { background: #FFEDE4; color: #C2410C; }
.t2 { background: var(--blue-tint); color: var(--blue); }
.t3 { background: #E0F2FE; color: #0369A1; }
.t4 { background: var(--amber-tint); color: #8A5206; }
.t5 { background: #FCE7F3; color: #BE185D; }
.t6 { background: var(--green-tint); color: var(--green); }
.cart { display: flex; flex-direction: column; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.cart__h { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.cart__h span { color: var(--ink-faint); font-weight: 500; }
.line { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 11px; font-weight: 600; }
.line small { display: block; font: 400 10px var(--mono); color: var(--ink-faint); }
.line em { font: 500 11px var(--mono); font-style: normal; }
.cart__sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 12px; font-size: 11px; color: var(--ink-soft); }
.cart__sum strong { font-size: 17px; color: var(--ink); letter-spacing: -.02em; }
.cart__pay { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 10px; height: 36px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; }
.cart__pay kbd { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .25); color: #fff; font-size: 9px; }

.toast {
  position: absolute; left: -8px; bottom: 6px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  background: #fff; color: var(--ink);
  box-shadow: 0 18px 40px rgba(47, 40, 214, .16), 0 1px 3px rgba(20, 23, 38, .06);
  animation: float 6s ease-in-out infinite;
}
.toast__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green-tint); color: var(--green); font-weight: 800; }
.toast small { display: block; font-size: 11px; color: var(--ink-soft); }
.toast b { font: 500 14px var(--mono); }

.receipt {
  position: absolute; right: -28px; bottom: -100px;
  width: 190px;
  padding: 14px 14px 18px;
  background: var(--paper); color: var(--ink);
  font: 400 10.5px/1.5 var(--mono);
  box-shadow: 0 24px 48px rgba(47, 40, 214, .18);
  transform: rotate(4deg);
  -webkit-mask: radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) 0 100% / 12px 100% repeat-x;
          mask: radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) 0 100% / 12px 100% repeat-x;
  animation: float 7s ease-in-out -2s infinite;
}
.receipt__store { font: 700 13px var(--sans); text-align: center; }
.receipt__meta { text-align: center; color: var(--ink-soft); font-size: 9.5px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); margin-bottom: 6px; }
.receipt__row { display: flex; justify-content: space-between; }
.receipt__row--b { font-weight: 500; font-size: 12px; margin: 3px 0; }
.receipt__row--g { color: #0B7A55; }
.receipt__thx { margin-top: 8px; text-align: center; color: var(--ink-soft); font-size: 9.5px; }

/* Kartu "penjualan hari ini" yang melayang di kanan atas ilustrasi. */
.stat {
  position: absolute; right: -26px; top: -52px;
  width: 210px; padding: 14px 16px;
  border-radius: 16px;
  background: #fff; color: var(--ink);
  box-shadow: 0 18px 40px rgba(47, 40, 214, .16), 0 1px 3px rgba(20, 23, 38, .06);
  animation: float 6.5s ease-in-out -3s infinite;
}
.stat__top { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-weight: 600; color: var(--ink-soft); }
.stat__up { padding: 2px 8px; border-radius: 99px; background: var(--green-tint); color: #0B7A55; font-size: 11px; font-weight: 800; }
.stat strong { display: block; margin-top: 2px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.stat__bars { display: flex; align-items: flex-end; gap: 5px; height: 34px; margin-top: 8px; }
.stat__bars i { flex: 1; border-radius: 4px; background: var(--blue-tint); }
.stat__bars i:last-child { background: var(--blue); }
.stat__bars .h1 { height: 40%; } .stat__bars .h2 { height: 55%; } .stat__bars .h3 { height: 38%; }
.stat__bars .h4 { height: 66%; } .stat__bars .h5 { height: 58%; } .stat__bars .h6 { height: 80%; } .stat__bars .h7 { height: 100%; }

@keyframes float { 50% { translate: 0 -8px; } }

/* ------------------------------------------------------------------ strip */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__in > div { padding: 26px 24px; border-left: 1px solid var(--line); }
.strip__in > div:first-child { border-left: 0; padding-left: 0; }
.strip strong { display: block; font-size: 16px; }
.strip span { color: var(--ink-soft); font-size: 14px; }

/* ------------------------------------------------------------------ sections */
.section { padding: 104px 0; }
.section--tint { background: var(--canvas); }
.head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.head--left { margin: 0; text-align: left; }
.kicker { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.head h2, .split h2 { margin-top: 12px; font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.head p:not(.kicker) { margin-top: 16px; color: var(--ink-soft); font-size: 18px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 28px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #D3D7F5; }
.ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--blue-tint); color: var(--blue); margin-bottom: 20px; }
.ic svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }

/* ---- owner */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.ticks li b { color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l3 3 6-6.3' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat;
}
.dash { display: grid; gap: 14px; }
.dash__hero {
  padding: 22px 22px 14px;
  border-radius: 20px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 24px 48px rgba(69, 62, 254, .3);
}
.dash__hero small { display: block; font-size: 13px; font-weight: 600; opacity: .85; }
.dash__hero strong { display: block; margin-top: 4px; font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.up { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .16); font-size: 12px; font-weight: 600; }
.dash__chart { width: 100%; height: 110px; margin-top: 14px; }
.dash__days { display: flex; justify-content: space-between; font-size: 11px; opacity: .75; margin-top: 4px; }
.dash__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini, .stock { padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.mini small { display: block; color: var(--ink-soft); font-size: 13px; }
.mini b { display: block; margin-top: 2px; font-size: 22px; letter-spacing: -.02em; }
.stock p { font-weight: 700; margin-bottom: 8px; }
.stock__i { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.warn { font-style: normal; font-weight: 600; font-size: 12px; padding: 2px 10px; border-radius: 99px; background: var(--amber-tint); color: var(--amber); }

/* ---- restoran: ilustrasi layar dapur */
.split--rev { grid-template-columns: 1fr 1fr; }
.kds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; border-radius: 22px; background: var(--canvas); border: 1px solid var(--line); }
.kds__col { display: grid; gap: 10px; align-content: start; }
.kds__h { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; padding: 2px 4px; }
.kds .dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--new { background: var(--blue); }
.dot--cook { background: var(--amber); }
.kds__card { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); box-shadow: var(--shadow); }
.kds__col:last-child .kds__card { border-top-color: var(--amber); }
.kds__card--sm { opacity: .85; }
.kds__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.kds__top b { font-size: 17px; letter-spacing: -.02em; }
.kds__top span { font-size: 12px; font-weight: 800; color: var(--ink-soft); }
.kds__top .late { color: var(--amber); }
.kds__card p { font-size: 14px; font-weight: 600; margin: 4px 0; }
.kds__card em { font-style: normal; font-family: var(--mono); font-weight: 500; display: inline-block; width: 26px; }
.kds__note { display: inline-block; margin: 0 0 4px 26px; padding: 2px 8px; border-radius: 6px; background: var(--amber-tint); color: var(--amber); font-size: 12px; font-weight: 700; }
.kds__btn { margin-top: 10px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; }

/* ---- steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 30px 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; right: -20px; width: 20px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink-faint) 0 4px, transparent 4px 8px);
}
.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--night); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.steps h3 { font-size: 19px; font-weight: 700; }
.steps p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }

/* ---- faq */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
details { border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s; }
details[open] { box-shadow: var(--shadow); }
summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-weight: 700; font-size: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg); transition: transform .2s;
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { padding: 0 22px 20px; color: var(--ink-soft); }

/* ---- cta */
.cta { padding: 0 0 104px; }
.cta__in {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 52px 56px;
  border-radius: 28px;
  background: var(--brand);
  color: #fff;
}
.cta__in::before {
  content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255, 122, 69, .35); filter: blur(70px);
}
.cta__in > * { position: relative; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.cta p { margin-top: 10px; color: rgba(255, 255, 255, .8); font-size: 17px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- halaman Syarat & Ketentuan (syarat.html) */
.legal { background: var(--canvas); padding: 48px 0 72px; }
.legal--full { min-height: calc(100vh - 68px); } /* 404: tanpa footer */
.legal__in {
  width: min(780px, 100% - 32px); margin-inline: auto;
  padding: clamp(24px, 5vw, 48px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
}
.legal h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
.legal__date { margin-top: 8px; color: var(--ink-soft); font-size: 14px; }
.legal h2 { margin: 36px 0 12px; font-size: 20px; font-weight: 700; }
.legal p, .legal li { color: var(--ink-soft); }
.legal > .legal__in > p:not(.legal__date) { margin-top: 20px; }
.legal ol, .legal ul { margin: 0; padding-left: 22px; }
.legal li { margin: 6px 0; padding-left: 4px; }
.legal li > ul { margin-top: 6px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--blue); text-decoration: underline; }
.legal mark { background: var(--amber-tint); color: var(--amber); padding: 0 4px; border-radius: 4px; }
.foot a:not(.brand) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---- footer */
.foot { background: var(--night); color: var(--night-text); }
.foot__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 32px 0; font-size: 14px; }
.foot .wordmark { color: #fff; font-size: 18px; }

/* ------------------------------------------------------------------ reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .toast, .receipt { animation: none; }
}

/* ------------------------------------------------------------------ halaman solusi (warung, kafe & resto) */
.hero--page { padding: 48px 0 96px; }
.hero--page .hero__in { grid-template-columns: 1fr; max-width: 780px; }
/* Cahaya bawah ditambatkan ke atas: tinggi hero berubah saat font dimuat, jangan sampai ikut bergeser (CLS). */
.hero--page .hero__glow--b { bottom: auto; top: 160px; right: -160px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 13px; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: #fff; }
.plan { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 99px; vertical-align: 3px;
  background: var(--blue-tint); color: var(--blue-deep); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.prose p { margin-top: 16px; color: var(--ink-soft); font-size: 17px; }
.prose p b { color: var(--ink); }
.note { margin-top: 28px; text-align: center; color: var(--ink-soft); font-size: 14px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card--link { display: block; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card--link:hover { transform: translateY(-3px); border-color: var(--blue); text-decoration: none; }
.card--link .more { display: inline-block; margin-top: 16px; color: var(--blue); font-weight: 700; }
.inline-link { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 760px) {
  .cards--2 { grid-template-columns: 1fr; }
  .foot__in { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------------ harga paket */
.btn--outline { background: #fff; color: var(--blue-deep); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue); }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.price--hot { border: 2px solid var(--blue); }
.price__tag { position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: 99px;
  background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.price h3 { font-size: 21px; font-weight: 800; }
.price__desc { margin-top: 4px; color: var(--ink-soft); font-size: 14px; }
.price__amt { margin-top: 18px; font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.price__amt small { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); }
.price__note { margin-top: 4px; color: var(--ink-soft); font-size: 13px; }
.price .ticks { flex: 1; align-content: start; margin-top: 22px; gap: 12px; font-size: 15px; }
.price .btn { margin-top: 26px; }
.prices__foot { margin-top: 28px; text-align: center; color: var(--ink-soft); font-size: 14px; }
.price__desc { min-height: 3.2em; } /* 2 baris: baris harga ketiga kartu sejajar */
.prices__hint { display: none; }
/* Tablet & HP: kartu digeser ke samping (scroll-snap), kartu berikutnya mengintip */
@media (max-width: 980px) {
  .prices { display: flex; gap: 14px; margin-inline: -16px; padding: 18px 16px 26px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    overscroll-behavior-x: contain; scrollbar-width: none; }
  .prices::-webkit-scrollbar { display: none; }
  .price { flex: 0 0 min(84%, 360px); scroll-snap-align: start; padding: 26px 22px 22px; }
  .price__tag { left: 22px; }
  .price__desc { min-height: 0; }
  .price__amt { font-size: 34px; }
  .price .ticks { gap: 10px; font-size: 14.5px; }
  .prices__hint { display: block; margin-top: 2px; text-align: center; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
  .prices__foot { margin-top: 14px; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .hero__in, .split, .split--rev, .faq { grid-template-columns: 1fr; }
  .split--rev .kds { order: 2; }
  .hero { padding: 56px 0 72px; }
  .hero__art { max-width: 640px; }
  .app { transform: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .strip__in { grid-template-columns: repeat(2, 1fr); }
  .strip__in > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip__in > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .faq { gap: 32px; }
  .cta__in { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
}

@media (max-width: 760px) {
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 42px; height: 42px; padding: 0;
    border: 1px solid var(--line); border-radius: 10px;
    background: #fff; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(20, 23, 38, .08);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink); }
  .nav__login { margin-top: 16px; height: 46px; }

  .section { padding: 72px 0; }
  .cta { padding-bottom: 72px; }
  .head { margin-bottom: 40px; }
  .lead { font-size: 17px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__art { padding: 8px 0 56px; }
  .app__body { grid-template-columns: 1fr; }
  .cart { display: none; }
  .receipt { right: -6px; width: 160px; bottom: -6px; }
  .toast { left: 0; }
  .stat { right: -4px; top: -22px; width: 180px; padding: 12px 14px; }
  .stat strong { font-size: 19px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .kds { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .strip__in { grid-template-columns: 1fr; }
  .strip__in > div { border-left: 0; padding: 18px 0; }
  .strip__in > div + div { border-top: 1px solid var(--line); }
  .cta__in { padding: 36px 24px; border-radius: 22px; }
  .cta__btns, .cta__btns .btn { width: 100%; }
  .foot__in { flex-direction: column; align-items: flex-start; }
}

/* Pemberitahuan cookie (dibuat script.js hanya bila GTM aktif) */
.cookie {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin: 0 auto; padding: 16px 18px;
  display: flex; align-items: center; gap: 16px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 12px 32px rgba(20, 23, 38, .16);
}
.cookie p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.cookie__btns { display: flex; gap: 8px; flex: none; }
.cookie .btn { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.cookie .btn--primary { box-shadow: none; }
@media (max-width: 560px) {
  .cookie { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie__btns .btn { flex: 1; }
}
