/* Halaman pembeli. tokens.css tidak disentuh: itu milik /admin dan aplikasi desktop.
   Warna, ukuran, dan jarak di bawah diambil dari file Figma Agentory (UI8), bukan dikira-kira. */
@font-face { font-family: "Halant"; src: url("/static/fonts/halant-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/static/fonts/geist-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/static/fonts/geist-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/static/fonts/geist-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap; }
/* Accent script: "Stay With Me" by Origin Type. The bundled terms cover personal use only and
   price unlicensed commercial use at up to 100x the fee; the owner was shown that and chose to
   ship it. Swapping back is this block plus the --script value — nothing else names the family.
   Caveat (SIL OFL) stays as the fallback so the page never renders in a system cursive. */
@font-face { font-family: "Stay With Me"; src: url("/static/fonts/stay-with-me.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/static/fonts/caveat-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #f0ede4;          /* BG/Primary */
  --bg-soft: #e6ded5;     /* BG/Secondary */
  --bg-card: #ffffff;     /* BG/White */
  --bg-dark: #242424;     /* BG/Dark */
  --text: #242424;        /* Text/Primary */
  --text-soft: #4d4c4a;   /* Text/Secondary */
  --accent: #ff5608;      /* Text/Accent */
  --stroke: #aca6a0;      /* Stroke/Primary */
  --stroke-soft: #f0efef; /* Stroke/Soft */
  --radius: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Geist", "Inter", system-ui, sans-serif;
  /* Halant stays loaded for one job only: the wordmark. Everywhere else it was what
     made the page read like a magazine instead of like someone selling to you. */
  --wordmark: "Halant", Georgia, serif;
  --script: "Stay With Me", "Caveat", "Segoe Script", cursive;
  --shadow-dark: 0 1px .5px rgba(36,36,36,.15), 0 4px 2px rgba(36,36,36,.15),
                 0 10px 5px rgba(36,36,36,.15), 0 27px 14px rgba(36,36,36,.15);
}

* { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
body { font: 400 16px/1.5 var(--sans); color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }

/* layout */
.section { max-width: 1440px; margin: 0 auto; padding: 120px 80px; }
.section + .section { padding-top: 0; }
.stack { display: grid; gap: 24px; }
.center { text-align: center; justify-items: center; }

/* type */
.eyebrow { font-size: 16px; }
.eyebrow::before { content: "// "; color: var(--accent); }
/* Type roles, set once:
     script   — hero headline, accent words, step numbers. Short, large, and there for feel.
     Geist    — every heading that has to be read rather than felt.
     Inter    — body, buttons, lists, small print.
     Halant   — the wordmark, and nothing else.
   The script's floor is 40px, not 36 — handwriting thins out faster as it shrinks. */
.h1 { font: 400 clamp(40px, 4.6vw, 60px)/1.05 var(--script); letter-spacing: 0;
  max-width: 872px; }
.h2 { font: 600 clamp(30px, 3.4vw, 42px)/1.15 var(--display); letter-spacing: -0.02em;
  max-width: 674px; }
.h3 { font: 500 20px/1.35 var(--display); letter-spacing: -0.01em; }
/* 0.9em is measured, not guessed: Stay With Me's caps run 74/100px against Halant's 67, so at
   equal size the script sits taller. It also carries a 15% descender the serif does not, which
   is why line-height stays at 1 — anything tighter clipped the tail of the g. */
.h2 em { color: var(--accent); font-style: normal;
  font-family: var(--script); font-weight: 400; font-size: .9em;
  letter-spacing: 0; line-height: 1; }
/* The h1 is already script, so its accent only changes colour — resizing it here would make
   one word of the same face mysteriously larger than its neighbours. */
.h1 em { color: var(--accent); font-style: normal; }
.lead { color: var(--text-soft); max-width: 702px; }
.small { font-size: 14px; color: var(--text-soft); }
strong { font-weight: 500; }

/* icons: one exported file each, recoloured through a mask so it follows the text */
.icon { display: inline-block; flex: none; background: currentColor;
  -webkit-mask: var(--icon) center/contain no-repeat; mask: var(--icon) center/contain no-repeat; }
.icon-tick { width: 20px; height: 20px; --icon: url("/static/icons/tick.svg"); }
.icon-arrow { width: 6.25px; height: 11.25px; --icon: url("/static/icons/arrow-right.svg"); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border: 1px solid transparent; border-radius: var(--radius-md);
  font: 500 16px var(--sans); cursor: pointer; background: var(--bg-card); color: var(--text);
  text-decoration: none; white-space: nowrap; }
.btn-line { border-color: var(--stroke-soft); }
.btn-line:hover { border-color: var(--stroke); }
.btn-dark { background: var(--bg-dark); color: #fff; box-shadow: var(--shadow-dark); }
.btn-dark:hover { background: #000; }
.btn-soft { background: var(--bg); padding: 12px 24px; border-radius: var(--radius-sm); }
.btn-soft:hover { background: var(--bg-soft); }
.btn-sm { padding: 6px 12px; font-size: 14px; border-color: var(--stroke); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn:focus-visible, input:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { display: grid; gap: 48px; justify-items: center; text-align: center; }
.hero-copy { display: grid; gap: 32px; justify-items: center; }
.hero-copy > .stack { gap: 20px; justify-items: center; }
.pill { background: var(--bg-card); border: 1px solid var(--stroke-soft); border-radius: 99px;
  padding: 8px 20px; box-shadow: 0 2px 2px rgba(108,106,106,.1), 0 7px 4px rgba(108,106,106,.09),
  0 17px 5px rgba(108,106,106,.05); }
/* The photograph is the one from the Figma file; the glass cards sit on top of it, as there. */
.showcase { border-radius: var(--radius); padding: 64px 24px; position: relative; overflow: hidden;
  display: flex; gap: 8px; justify-content: center; align-items: stretch; flex-wrap: wrap;
  width: 100%; background: #cfc3b4 url("/static/img/hero.webp") center/cover no-repeat; }
.showcase > * { position: relative; z-index: 1; }
.shelf { display: grid; gap: 12px; align-content: start; width: 228px; padding: 24px; }
.shelf .thumb { border-radius: 12px; height: 88px; border: 1px solid rgba(255,255,255,.18);
  display: grid; place-items: center; font-size: 11px; color: rgba(255,255,255,.65); }
.shelf .thumb--photo { background: linear-gradient(135deg, #6f6355, #a3927e); }
.shelf .thumb--video { background: linear-gradient(135deg, #2f2a24, #584c3e); }
.shelf .arrow-down { justify-self: center; color: rgba(255,255,255,.6); font-size: 16px; }
.glass { background: rgba(0,0,0,.8); border: 1px solid rgba(255,255,255,.2); border-radius: 20px;
  color: #fff; text-align: left; }
.glass-head, .glass-foot { display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 24px; }
.glass-head { border-bottom: 1px solid rgba(255,255,255,.1); }
.glass-foot { border-top: 1px solid rgba(255,255,255,.1); }
.glass-steps { list-style: none; margin: 0; padding: 24px; display: grid; gap: 16px; }
.glass-steps li { display: flex; align-items: center; gap: 8px; }
.glass-steps .icon { color: #7cffb2; }
.mono { font-family: ui-monospace, Consolas, monospace; }

/* section header: title left (567px), paragraph right (523px), baselines aligned at the bottom */
.split-header { display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; width: 100%; }
.split-header > .stack { gap: 16px; max-width: 567px; }
.split-header > .lead { max-width: 523px; }

/* cards */
.card { background: var(--bg-card); border: 1px solid var(--stroke-soft);
  border-radius: var(--radius); padding: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* media card: image 340 tall, then 32 to the text, then 8 between title and body */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; width: 100%; }
.media-card { display: grid; gap: 32px; align-content: start; }
.media-card figure { margin: 0; height: 340px; border-radius: var(--radius); overflow: hidden;
  position: relative; display: grid; place-items: center; padding: 20px; }
.media-card figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Shots: the Figma photograph, with the same 13.5px blur mask and dark tint the file lays over
   it, then a glass card on top. The photo is a band of the source, cropped in make_images.py. */
.shot { background-size: cover; background-position: center; background-color: #cfc3b4; }
.shot::after { content: ""; position: absolute; inset: 0;
  backdrop-filter: blur(13.5px); -webkit-backdrop-filter: blur(13.5px); }
/* Only the first frame carries a dark tint in the file (384:1570); the third has no mask at
   all (384:1674). Blurring all three equally is what made them read as one flat texture. */
.shot--a { background-image: url("/static/img/card-a.webp"); }
.shot--a::after { background: rgba(0,0,0,.2); }
.shot--b { background-image: url("/static/img/card-b.webp"); }
.shot--c { background-image: url("/static/img/card-c.webp"); }
.shot--c::after { backdrop-filter: none; -webkit-backdrop-filter: none; }
.glass-mini { position: relative; z-index: 1; width: 100%; max-width: 320px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px; padding: 12px; backdrop-filter: blur(13.5px);
  -webkit-backdrop-filter: blur(13.5px); }

/* the inner widget, at the template's own numbers */
.widget { background: #fff; border: 1px solid #ebebeb; border-radius: 9px; padding: 15px;
  display: grid; gap: 12px; box-shadow: 0 23px 32px -9px rgba(10,13,20,.15); text-align: left; }
.widget h4 { font: 500 12px/1.25 var(--sans); letter-spacing: -0.006em; margin: 0; color: var(--text); }
.widget hr { border: 0; border-top: 1px solid #ebebeb; margin: 0; width: 100%; }
.wrow { display: flex; align-items: center; gap: 8px; font-size: 10.5px; line-height: 1.15;
  color: var(--text-soft); }
.wrow .amount { margin-left: auto; font-weight: 500; color: var(--text); white-space: nowrap; }
.wrow.off { color: #7a7a7a; text-decoration: line-through; }
.wrow .box { width: 13.5px; height: 13.5px; flex: none; border: 1px solid #c9c9c9;
  border-radius: 3px; }
.wrow .box.on { background: var(--accent); border-color: var(--accent); }
.wnote { font: 500 12px var(--sans); color: #fb3748; margin: 0; }
.bar { height: 6px; border-radius: 3px; background: #ebebeb; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent); }
.media-card .stack { gap: 8px; }
.h5 { font: 500 22px/1.3 var(--display); letter-spacing: -0.02em; }

/* before / after */
.shift { display: grid; gap: 0; width: 100%; }
.shift > div { display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding: 24px 0; border-top: 1px solid var(--stroke); }
.shift .was { color: var(--text-soft); }
.shift .now { font-weight: 500; }
.shift .now::before { content: "\2192  "; color: var(--accent); }

/* fit: who it is and is not for */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; }
.fit .ticks .icon { color: var(--accent); }
.fit .nots .icon { color: var(--stroke); }

/* pricing: full-bleed photograph behind the section, cards float on it as in the file */
.pricing-band { position: relative; overflow: hidden;
  background: #cfc3b4 url("/static/img/pricing.webp") center/cover no-repeat; }
.pricing-band::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,0) 12%); }
.pricing-band > * { position: relative; }

/* pricing: the outer card is white, the panel inside it carries the colour */
.pricing { display: grid; gap: 56px; justify-items: center; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
/* text-align is reset here on purpose: the pricing header is centred, the cards are not. */
.price-card { background: var(--bg-card); border: 1px solid var(--stroke-soft);
  border-radius: var(--radius); padding: 8px 8px 24px; display: grid; gap: 32px;
  align-content: start; text-align: left; }
.price-panel { background: var(--bg); border-radius: var(--radius-md); padding: 24px;
  display: grid; gap: 24px; align-content: start; }
.price-card--lead .price-panel { background: var(--bg-soft); }
.price-head { display: grid; gap: 12px; }
.price-name { font: 500 20px/1.35 var(--display); }
.price-name::before { content: "// "; color: var(--accent); }
/* The price stays in the sans: a handwritten number reads charming, and charming is
   not what you want the moment someone is deciding whether to part with money. */
.price { font: 600 clamp(32px, 3vw, 44px)/1.1 var(--display); letter-spacing: -0.03em; }
/* nowrap: without it "/3 bulan" splits and "bulan" lands alone on the next line. */
.price span { font: 400 16px/1.5 var(--sans); white-space: nowrap; }
.price-note { font-weight: 500; }
.ticks { list-style: none; margin: 0; padding: 0 16px; display: grid; gap: 16px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; }
.ticks .icon { margin-top: 2px; }   /* a wrapped item should hang from its first line */

/* reels: what comes out is 9:16, so the page shows it at 9:16 */
.reel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; width: 100%; }
.reel { margin: 0; position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius);
  overflow: hidden; background: #242424; }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Caption sits at the top: the browser's own video controls own the bottom strip, and the
   two collided there — the label was unreadable behind the play bar. */
.reel figcaption { position: absolute; inset: 0 0 auto; padding: 12px 12px 24px; color: #fff;
  font-size: 13px; background: linear-gradient(180deg, rgba(0,0,0,.75), rgba(0,0,0,0)); }

/* before / after: the photo that went in beside the video that came out */
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center;
  width: 100%; max-width: 620px; margin-inline: auto; }
.ba-arrow { font-size: 28px; color: var(--accent); line-height: 1; }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.quote { margin: 0; background: var(--bg-card); border: 1px solid var(--stroke-soft);
  border-radius: var(--radius); padding: 32px; display: grid; gap: 24px; align-content: space-between; }
.quote blockquote { margin: 0; font: 400 20px/1.45 var(--display); }
.quote figcaption { color: var(--text-soft); font-size: 14px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-no { font: 400 46px/1 var(--script); letter-spacing: 0; color: var(--accent); }

/* faq: 405px of heading on the left, 733px of accordion on the right */
.faq-split { display: grid; grid-template-columns: 405px 733px; gap: 40px;
  justify-content: space-between; width: 100%; }
.faq-split > .stack { gap: 16px; align-content: start; }
.faq { max-width: 733px; }
details { border-top: 1px solid var(--stroke); padding: 24px 0; }
details summary { font: 500 20px/1.35 var(--display); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 24px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); }
details[open] summary::after { content: "\2212"; }
details p { color: var(--text-soft); margin-top: 16px; }

/* forms */
form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--text-soft); }
input { font: inherit; padding: 12px; border: 1px solid var(--stroke);
  border-radius: var(--radius-sm); background: var(--bg-card); color: var(--text); width: 100%; }
.error { color: #b42318; font-size: 14px; }
.auth { max-width: 26rem; }

/* dashboard */
.license { display: grid; gap: 12px; }
.license + .license { margin-top: 24px; }
.keybox { font: 500 20px/1.4 ui-monospace, Consolas, monospace; padding: 12px;
  background: var(--bg-soft); border-radius: var(--radius-sm); word-break: break-all; }
.devices { list-style: none; padding: 0; display: grid; gap: 8px; }
.devices li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px;
  border: 1px solid var(--stroke-soft); border-radius: var(--radius-sm); }
.devices li .small { margin-right: auto; }
#toast { position: fixed; bottom: 20px; right: 20px; padding: 12px 20px; background: var(--bg-dark);
  color: #fff; border-radius: var(--radius-sm); max-width: calc(100vw - 40px); }
#toast.error { background: #b42318; }

/* chrome */
.topbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 1440px;
  margin: 0 auto; padding: 24px 80px; }
.topbar .brand { font: 400 24px var(--wordmark); margin-right: auto; text-decoration: none; }
.topbar nav { display: flex; gap: 8px; align-items: center; }
footer { border-top: 1px solid var(--stroke); max-width: 1440px; margin: 0 auto;
  padding: 40px 80px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  color: var(--text-soft); font-size: 14px; }
footer nav { display: flex; gap: 16px; margin-left: auto; }

@media (max-width: 1240px) {
  .faq-split { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 1180px) {
  .section { padding: 96px 40px; }
  .topbar, footer { padding-inline: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split-header { flex-direction: column; align-items: flex-start; gap: 24px; }
}
@media (max-width: 900px) {
  .grid-3, .price-grid, .media-grid, .fit, .quotes { grid-template-columns: 1fr; }
  .shift > div { grid-template-columns: 1fr; gap: 8px; }
  .showcase { padding: 32px 20px; }
  .media-card figure { height: 240px; }
}
@media (max-width: 760px) {
  .reel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .section { padding: 64px 20px; }
  .topbar, footer { padding-inline: 20px; }
  .steps { grid-template-columns: 1fr; }
  footer nav { margin-left: 0; }
  /* An ad landing page has one job on a phone; two in-page anchors are not it, and four
     buttons wrapped the bar onto a second row with the CTA broken across two lines. */
  .topbar .skip-sm { display: none; }
  /* One row, always: the wordmark shrinks, Masuk drops its pill and reads as a link, and only
     the CTA stays a button. Two rows put the buttons under the logo with nothing to align to. */
  .topbar { padding-block: 14px; flex-wrap: nowrap; gap: 8px; }
  .topbar .brand { font-size: 19px; }
  .topbar nav { flex: none; }
  .topbar .btn-sm:not(.btn-dark) { background: none; border-color: transparent;
    padding-inline: 6px; }

  /* Footer links were one wrapping row, so "Syarat & Ketentuan" broke across two lines while
     its neighbours did not. A 2x2 grid with unbreakable labels lines them up instead. */
  footer { flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 32px; }
  footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; width: 100%; }
  footer nav a { white-space: nowrap; }
  /* Thumb-sized targets: full width, stacked, in the reading order they were written. */
  .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .actions .btn { width: 100%; }
  .hero-copy { gap: 24px; }
  .h1 { font-size: 40px; line-height: 1.1; }
  .ba { gap: 12px; }
  .ba-arrow { font-size: 20px; }
}
