/* =============================================================
   akhirlab_ — styles.css
   Swiss editorial · light mode · responsive
   -------------------------------------------------------------
   01  Tokens              09  Pricing + urgency
   02  Reset + base        10  Add-ons
   03  Utilities           11  Estimator
   04  Navigation          12  Process + payment
   05  Hero                13  Case study
   06  Situation           14  FAQ / final CTA / footer
   07  Services            15  Dialog + mobile CTA
   08  Categories          16  Terms page
   -------------------------------------------------------------
   Breakpoints (min-width, mobile-first):
   480px gutter, 768px tablet layouts, 1024px desktop,
   1280px full navigation + 4-column pricing.
   ============================================================= */

/* ---------- 01. Tokens --------------------------------------- */
:root {
  /* Palette */
  --bg:         #F7F7F4;
  --paper:      #FFFFFF;
  --surface:    #EDEDE8;
  --ink:        #111318;
  --ink-2:      #3B3F47;
  --ink-3:      #60646C;
  --line:       #DCDCD6;
  --line-2:     #C9C9C2;
  --blue:       #315CFF;
  --blue-dark:  #2246D8;
  --blue-soft:  #EEF2FF;
  --green:      #16A36A;

  /* Radius: kontrol dan panel dipisahkan */
  --r-control:  8px;
  --r-panel:    12px;
  --r-chip:     6px;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 80px;
  --s-10: 96px;

  /* Layout */
  --wrap: 1248px;
  --gutter: 16px;
  --nav-h: 64px;
  --section-pad: 60px;
  --header-h: var(--nav-h);

  /* Elevation + layers */
  --shadow-dialog: 0 24px 64px rgba(17, 19, 24, .18);
  --z-mobile-cta: 40;
  --z-header: 50;
  --z-menu: 60;

  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (min-width: 480px) { :root { --gutter: 24px; --section-pad: 64px; } }
@media (min-width: 768px) { :root { --section-pad: 76px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --nav-h: 72px; --section-pad: 92px; } }

/* ---------- 02. Reset + base --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
strong { font-weight: 650; }
code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--surface);
  padding: 1px 5px;
  border-radius: var(--r-chip);
}

::selection { background: var(--blue); color: #fff; }

[hidden] { display: none !important; }

/* Scroll lock saat menu atau dialog terbuka */
.menu-open, .dialog-open { overflow: hidden; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

[id] { scroll-margin-top: calc(var(--nav-h) + 20px); }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--r-control) 0;
  font-size: 14px;
}
.skip:focus { left: 0; top: 0; }

/* ---------- 03. Utilities ------------------------------------ */
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.mono { font-family: var(--mono); }
.price {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.price--lg { font-size: clamp(1.35rem, 1.2rem + .8vw, 1.6rem); }
.arw { font-family: var(--mono); display: inline-block; transition: transform .15s ease; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-control);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover .arw { transform: translateX(3px); }
.btn--primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--paper); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

/* Cards */
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: 20px;
  transition: border-color .15s ease;
}
.card:hover { border-color: var(--line-2); }
.card h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); }
.card > p { color: var(--ink-2); font-size: 15px; }

.card__idx {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--blue);
}
.card__link:hover { text-decoration: underline; text-underline-offset: 3px; }

.card__price { font-size: 13.5px; color: var(--ink); white-space: nowrap; }

@media (min-width: 768px) { .card { padding: 24px; } }
@media (min-width: 1024px) { .card { padding: 28px; } }

/* Chips + tick lists */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--r-chip);
  padding: 4px 8px;
}

.tick li {
  border-top: 1px solid var(--line);
  padding: 9px 0;
  font-size: 14px;
  color: var(--ink-2);
}
.tick li:last-child { padding-bottom: 0; }

/* Sections */
.section { padding: var(--section-pad) 0; border-top: 1px solid var(--line); }

.section-head { margin-bottom: 32px; }
.section-head .label { display: block; }
.section-head h2 {
  margin-top: 10px;
  max-width: 26ch;
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  letter-spacing: -0.03em;
}
.section-head .lede {
  margin-top: 12px;
  max-width: 62ch;
  color: var(--ink-2);
  font-size: 1rem;
}

@media (min-width: 768px) {
  .section-head {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    column-gap: 32px;
    margin-bottom: 48px;
  }
  .section-head .label { grid-row: 1 / span 2; padding-top: 9px; }
  .section-head h2 { grid-column: 2; margin-top: 0; }
  .section-head .lede { grid-column: 2; }
}
@media (min-width: 1024px) { .section-head { grid-template-columns: 248px minmax(0, 1fr); } }

/* Reveal on scroll — hanya aktif setelah app.js selesai init.
   Tanpa JavaScript (atau bila app.js gagal), konten tetap terlihat. */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
}
.reveal-ready [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- 04. Navigation ----------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(247, 247, 244, .9);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--nav-h);
}

.brand {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.brand__u { color: var(--blue); }

.nav__links { display: none; gap: 28px; }
.nav__links a {
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav__links a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--blue); }

.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__cta { display: none; }
.nav__cta-full { display: none; }
.nav__cta-short { display: inline; }

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--r-control);
  cursor: pointer;
}
.nav__toggle:hover { border-color: var(--ink); }
.bars { display: grid; gap: 5px; width: 18px; }
.bars span { display: block; height: 1.5px; background: var(--ink); }
.nav__toggle[aria-expanded="true"] .bars span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .bars span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (min-width: 768px) { .nav__cta { display: inline-flex; } }
@media (min-width: 1280px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
  .nav__cta-short { display: none; }
  .nav__cta-full { display: inline; }
}

/* Menu mobile — native dialog sheet */
.mnav {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: auto;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - var(--nav-h));
  max-height: calc(100dvh - var(--nav-h));
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  overflow-y: auto;
  z-index: var(--z-menu);
}
.mnav::backdrop { background: rgba(17, 19, 24, .35); }
.mnav[open] { animation: menuIn .18s ease-out; }
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.mnav__inner { display: flex; flex-direction: column; padding-block: 16px 32px; }
.mnav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.mnav__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--r-control);
  font-family: var(--mono);
  cursor: pointer;
}
.mnav__close:hover { border-color: var(--ink); }
.mnav__links { display: flex; flex-direction: column; }
.mnav__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mnav__links a::after { content: "→"; font-family: var(--mono); font-size: 16px; color: var(--ink-3); }
.mnav .btn { margin-top: 24px; }

/* ---------- 05. Hero ----------------------------------------- */
.hero { padding: 40px 0 var(--section-pad); overflow: hidden; }

.hero__grid { display: grid; gap: 40px; }

.hero__lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}

.hero h1 {
  font-size: clamp(2.25rem, 1.4rem + 5vw, 4.5rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.04;
}
.hero__dot { color: var(--blue); }

.hero__sub {
  max-width: 50ch;
  color: var(--ink-2);
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
}

.hero__actions { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.hero__actions .btn { flex: 1 1 auto; }
@media (min-width: 480px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { flex: 0 1 auto; }
}

.hero__mono {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  width: 100%;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: 20px;
}

.panel__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; }
.dot--green { background: var(--green); box-shadow: 0 0 0 3px rgba(22, 163, 106, .15); }
.dot--blue { background: var(--blue); box-shadow: 0 0 0 3px rgba(49, 92, 255, .15); }

.panel__rows { border-top: 1px solid var(--line); }
.prow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.prow__k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; }
.prow__v { font-size: 14px; color: var(--ink-3); text-align: right; }

.panel__foot { display: flex; flex-direction: column; gap: 2px; }

@media (min-width: 1024px) {
  .hero { padding-top: 64px; }
  .hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
  }
  .hero__lead { grid-column: 1 / span 7; }
  .hero__panel { grid-column: 9 / span 4; }
}

/* ---------- 06. Project situation ----------------------------- */
.situations {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}
@media (min-width: 768px) { .situations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }

/* ---------- 07. Services ------------------------------------- */
.services { display: grid; grid-template-columns: 1fr; gap: 16px; }
.service h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.3rem); }
.service .tick { margin-top: 2px; }
.service__note {
  font-size: 13px;
  color: var(--ink-3);
  border-left: 2px solid var(--blue);
  padding-left: 12px;
  margin-top: 4px;
}

@media (min-width: 768px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .service:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1280px) {
  .services { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .service--wide { grid-column: span 3; }
  .service:not(.service--wide) { grid-column: span 2; }
  .service:last-child { grid-column: span 2; }
}

/* ---------- 08. Project categories --------------------------- */
.cats { display: grid; grid-template-columns: 1fr; gap: 24px; }
.cat h3 { font-size: 1rem; letter-spacing: -0.01em; }
.cat ul { border-top: 1px solid var(--ink); margin-top: 12px; }
.cat li {
  font-size: 14px;
  color: var(--ink-2);
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 480px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .cats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- 09. Pricing + urgency ---------------------------- */
.prices { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }

.plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: 22px;
  transition: border-color .15s ease;
}
.plan:hover { border-color: var(--line-2); }

.plan--featured { background: var(--ink); border-color: var(--ink); }
.plan--featured:hover { border-color: var(--ink); }

.plan__head { display: flex; flex-direction: column; gap: 6px; }
.plan__k {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.plan__name { font-size: 1.15rem; }
.plan__price { font-size: clamp(1.75rem, 1.5rem + 1.2vw, 2.1rem); line-height: 1.15; }
.plan__desc { font-size: 14px; color: var(--ink-2); }

.plan__list { display: flex; flex-direction: column; }
.plan__list li {
  font-size: 14px;
  color: var(--ink-2);
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.plan__foot { margin-top: auto; padding-top: 4px; }

.plan--featured .plan__name,
.plan--featured .plan__price { color: #fff; }
.plan--featured .plan__k { color: rgba(255, 255, 255, .55); }
.plan--featured .plan__desc,
.plan--featured .plan__list li { color: rgba(255, 255, 255, .74); }
.plan--featured .plan__list li { border-top-color: rgba(255, 255, 255, .16); }
.plan--featured .card__link { color: #fff; }

@media (min-width: 768px) { .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1280px) { .prices { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.factors {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.urgency {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
}
.urgency__cell { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.urgency__cell:last-of-type { border-bottom: 0; }
.urgency__k { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.urgency__v { font-size: 1.35rem; margin-top: 6px; }
.urgency__note {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding: 14px 20px;
  font-size: 13.5px;
  color: var(--ink-3);
}
@media (min-width: 640px) {
  .urgency { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .urgency__cell { border-right: 1px solid var(--line); border-bottom: 0; }
  .urgency__cell:last-of-type { border-right: 0; }
}

/* ---------- 10. Add-ons -------------------------------------- */
.addons { display: grid; grid-template-columns: 1fr; gap: 32px; }
.addon-group h3 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.addons ul { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.addon {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.addon__name { font-size: 14.5px; color: var(--ink-2); min-width: 0; }
.addon__price { font-family: var(--mono); font-size: 13px; white-space: nowrap; margin-left: auto; }

@media (min-width: 768px) { .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .addons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.callout {
  display: grid;
  gap: 10px;
  margin-top: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: 22px 24px;
}
.callout .label { display: block; }
.callout p:last-child { font-size: 15px; color: var(--ink-2); max-width: 80ch; }
@media (min-width: 768px) {
  .callout { grid-template-columns: 140px minmax(0, 1fr); gap: 24px; align-items: start; }
}

/* ---------- 11. Estimator ------------------------------------ */
.estimator { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.estimator__form { min-width: 0; }

.fieldset { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
.fieldset:last-of-type { margin-bottom: 0; }
.fieldset legend {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 0;
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.legend__idx { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--blue); }

.opts { display: grid; grid-template-columns: 1fr; gap: 10px; }

.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  font-size: 15px;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color .12s ease, background-color .12s ease, color .12s ease;
}
.opt:hover { border-color: var(--line-2); color: var(--ink); }
.opt > span { min-width: 0; }

.opt input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  border: 1.5px solid var(--ink-3);
  border-radius: 50%;
  transition: border-color .12s ease, background-color .12s ease;
}
.opt input[type="checkbox"] { border-radius: 5px; }
.opt input[type="radio"]:checked {
  border-color: var(--blue);
  background-image: radial-gradient(circle at center, var(--blue) 0 4px, transparent 4.5px);
}
.opt input[type="checkbox"]:checked {
  border-color: var(--blue);
  background-color: var(--blue);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'><path d='M1 4l2.5 2.5L9 1' fill='none' stroke='white' stroke-width='1.6'/></svg>");
}
.opt:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--ink); }
.opt:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }

.estimator__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 32px;
}
.estimator__jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--blue);
}
.estimator__jump:hover { text-decoration: underline; text-underline-offset: 3px; }

.estimator__noscript {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--surface);
  border-radius: var(--r-control);
  font-size: 14px;
  color: var(--ink-2);
  max-width: 72ch;
}

@media (min-width: 768px) { .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .estimator { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
  .estimator__form { grid-column: 1 / span 7; }
  .estimator__result { grid-column: 8 / span 5; }
  .estimator__jump { display: none; }
}
/* Sticky hanya saat viewport cukup tinggi untuk memuat panel */
@media (min-width: 1024px) and (min-height: 720px) {
  .estimator__result { position: sticky; top: calc(var(--nav-h) + 24px); }
}

/* Result card */
.result {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: 22px;
  min-width: 0;
}
.result__head { display: flex; flex-direction: column; gap: 8px; }
.result__range {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.result__meta { margin: 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.result__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.result__row dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex: 0 0 auto;
}
.result__row dd { margin: 0; font-size: 14px; text-align: right; min-width: 0; overflow-wrap: break-word; }

.result__note { font-size: 13.5px; color: var(--ink-3); }

/* ---------- 12. Process + payment ---------------------------- */
.steps { display: grid; grid-template-columns: 1fr; }
.step { padding: 22px 0; border-top: 1px solid var(--ink); }
.step__idx { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--blue); }
.step h3 { font-size: 1.1rem; margin: 10px 0 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); max-width: 52ch; }

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
  .step { padding: 24px 0; }
}
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.pay { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
.pay__card {
  background: var(--surface);
  border-radius: var(--r-panel);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pay__card h3 { font-size: 1rem; }
.pay__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(17, 19, 24, .14);
  font-size: 14px;
  color: var(--ink-2);
}
.pay__row .mono { font-size: 13.5px; color: var(--ink); }
.pay__note { margin-top: 20px; font-size: 14px; color: var(--ink-3); }
@media (min-width: 768px) { .pay { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }

/* ---------- 13. Case study ----------------------------------- */
.case { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.case__info { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.case__visual { min-width: 0; }
.case h3 { font-size: clamp(1.3rem, 1.15rem + .8vw, 1.6rem); letter-spacing: -0.025em; }
.case__desc { color: var(--ink-2); font-size: 15.5px; max-width: 60ch; }
.case__sub { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.case__block { display: flex; flex-direction: column; gap: 8px; }
.case__note { font-size: 13.5px; color: var(--ink-3); max-width: 60ch; }

.case__more summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--blue);
}
.case__more summary::-webkit-details-marker { display: none; }
.case__more summary::after { content: "+"; font-family: var(--mono); font-size: 16px; }
.case__more[open] summary::after { content: "–"; }
.case__more summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.case__more .case__features { margin-top: 12px; }
.case__features { display: grid; grid-template-columns: 1fr; gap: 0 24px; }
.case__features .tick li { font-size: 14px; }

@media (min-width: 480px) { .case__features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .case { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
}

/* Wireframe mock */
.mock {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  overflow: hidden;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}
.mock__bar .sq { width: 8px; height: 8px; border: 1px solid var(--ink-3); }
.mock__url { margin-left: 8px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.mock__body { display: grid; grid-template-columns: 1fr; min-height: 260px; }
.mock__side { display: none; }
.mock__main { display: flex; flex-direction: column; gap: 16px; padding: 16px; min-width: 0; }

.sk { height: 6px; background: var(--surface); border-radius: 2px; }
.sk.w30 { width: 30%; } .sk.w40 { width: 40%; } .sk.w50 { width: 50%; }
.sk.w60 { width: 60%; } .sk.w70 { width: 70%; } .sk.w80 { width: 80%; } .sk.w100 { width: 100%; }

.kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  padding: 10px;
  min-width: 0;
}
.kpi .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--ink-3); }
.kpi .v { font-family: var(--mono); font-size: 15px; }

.chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 96px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}
.chart i { flex: 1; background: var(--blue); opacity: .85; }
.chart i:nth-child(even) { opacity: .3; }

.mock__rows { display: flex; flex-direction: column; }
.mock__rows > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.mock__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.mock__status .dot { width: 6px; height: 6px; flex: 0 0 6px; }
.mock__caption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-3);
}

@media (min-width: 640px) {
  .mock__body { grid-template-columns: 88px minmax(0, 1fr); }
  .mock__side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 12px;
    border-right: 1px solid var(--line);
  }
}

/* ---------- 14. FAQ / final CTA / footer ---------------------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 56px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 24px;
  text-align: center;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--ink-3);
}
.faq details[open] summary::after { content: "–"; color: var(--blue); }
.faq details[open] summary { color: var(--blue); }
.faq .ans { max-width: 72ch; padding: 0 24px 24px 0; font-size: 15px; color: var(--ink-2); }

.cta {
  background: var(--ink);
  color: #fff;
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--ink);
}
.cta__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.cta__lead { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.cta .label { color: rgba(255, 255, 255, .55); }
.cta h2 { font-size: clamp(1.9rem, 1.4rem + 3vw, 3.4rem); letter-spacing: -0.04em; }
.cta__copy { max-width: 52ch; color: rgba(255, 255, 255, .74); }
.cta__mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: rgba(255, 255, 255, .6); }
.cta__side { display: flex; flex-direction: column; min-width: 0; }
.cta__side span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
@media (min-width: 1024px) {
  .cta__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
  .cta__lead { grid-column: 1 / span 7; }
  .cta__side { grid-column: 9 / span 4; }
}

.footer { padding: 64px 0 40px; }
.footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; }
.footer__brand .brand { font-size: 20px; }
.footer__brand p { color: var(--ink-2); font-size: 14.5px; max-width: 34ch; }
.footer__brand .mono { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.footer__col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.footer__col h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.footer__col a { font-size: 14.5px; color: var(--ink-2); padding: 6px 0; min-height: 36px; }
.footer__col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.footer__legal {
  grid-column: 1 / -1;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
  max-width: 92ch;
}
.footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 379px) { .footer__grid { grid-template-columns: 1fr; } }
@media (min-width: 768px) {
  .footer { padding-top: 80px; }
  .footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / span 6; }
  .footer__col { grid-column: span 2; }
}

/* ---------- 15. Dialog + mobile CTA --------------------------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-mobile-cta);
  display: none;
  background: rgba(247, 247, 244, .95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
}
.mobile-cta .btn { width: 100%; }

@media (max-width: 767px) {
  .mobile-cta { display: block; }
  .mobile-cta.is-hidden { display: none; }
  body { padding-bottom: var(--cta-bar-h, calc(68px + env(safe-area-inset-bottom))); }
  .dialog-open .mobile-cta, .menu-open .mobile-cta { display: none; }
}

/* Dialog konsultasi */
.dialog {
  width: min(600px, calc(100vw - 32px));
  max-height: 88vh;
  max-height: min(88dvh, 760px);
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-dialog);
}
.dialog::backdrop { background: rgba(17, 19, 24, .5); }
.dialog[open] { animation: pop .16s ease-out; }
@keyframes pop {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.dialog__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  max-height: inherit;
  overflow-y: auto;
}
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dialog__title { font-size: 1.25rem; }
.dialog__copy { font-size: 14px; color: var(--ink-2); }
.dialog__close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--r-control);
  font-family: var(--mono);
  cursor: pointer;
}
.dialog__close:hover { border-color: var(--ink); }
.dialog textarea {
  width: 100%;
  min-height: 180px;
  max-height: 40dvh;
  padding: 14px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.65;
  resize: vertical;
}
.dialog textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.dialog__actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.dialog__hint { font-size: 12.5px; color: var(--ink-3); }

@media (min-width: 480px) { .dialog__inner { padding: 24px; } }
@media (max-height: 640px) {
  .dialog textarea { min-height: 120px; }
  .dialog__inner { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 16. Terms page ----------------------------------- */
.terms-hero { padding: 48px 0 8px; }
.terms-hero .label { display: block; }
.terms-hero h1 {
  font-size: clamp(2rem, 1.5rem + 2.6vw, 3.4rem);
  letter-spacing: -0.04em;
  margin: 16px 0 20px;
}
.terms-hero .lede { max-width: 68ch; color: var(--ink-2); }

.terms { padding: 40px 0 var(--section-pad); }

/* Daftar isi mobile/tablet: disclosure */
.toc-mobile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  margin-bottom: 32px;
}
.toc-mobile summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 15px;
}
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary::after { content: "+"; font-family: var(--mono); color: var(--ink-3); }
.toc-mobile[open] summary { border-bottom: 1px solid var(--line); }
.toc-mobile[open] summary::after { content: "–"; color: var(--blue); }
.toc-mobile nav { display: flex; flex-direction: column; padding: 8px 18px 14px; }
.toc-mobile .toc__item {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.toc-mobile .toc__item:last-child { border-bottom: 0; }

/* Daftar isi desktop: sidebar sticky */
.terms__toc {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--ink);
  padding-top: 10px;
  max-height: calc(100dvh - var(--nav-h) - 48px);
  overflow-y: auto;
}
.toc__item {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  padding: 7px 0;
}
.toc__item:hover { color: var(--blue); }

.terms__body { min-width: 0; }
.terms__body section { padding: 28px 0; border-top: 1px solid var(--line); }
.terms__body section:first-child { border-top: 0; padding-top: 0; }
.terms__body h2 { display: flex; gap: 14px; font-size: 1.2rem; margin-bottom: 12px; }
.terms__body h2 .n { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--blue); padding-top: 3px; }
.terms__body p { font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 70ch; }
.terms__body p + p { margin-top: 12px; }
.terms__body ul { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 12px; }
.terms__body ul li {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--r-chip);
  padding: 4px 8px;
}
.terms__body ul.plain { display: block; }
.terms__body ul.plain li {
  position: relative;
  border: 0;
  border-radius: 0;
  padding: 7px 0 7px 20px;
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink-2);
}
.terms__body ul.plain li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink-3);
}

@media (min-width: 1024px) {
  .terms { padding-top: 48px; }
  .terms__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
  .toc-mobile { display: none; }
  .terms__toc { display: flex; position: sticky; top: calc(var(--nav-h) + 24px); }
}
