/* genba.voltrus.id. Tokens are the voltrus.id set (voltrus-landing/public/css/tokens.css) so the product site
   reads as part of the Voltrus family: dark = :root, light = html[data-theme="light"] (the default). */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: oklch(0.17 0.008 85);
  --bg-raised: oklch(0.22 0.01 85);
  --bg-surface: oklch(0.27 0.01 85);
  --border: oklch(1 0 0 / 10%);
  --border-strong: oklch(1 0 0 / 18%);
  --text: oklch(0.96 0.008 85);
  --text-secondary: oklch(0.82 0.012 85);
  --text-muted: oklch(0.72 0.012 85);
  --accent: oklch(0.8 0.15 165);
  --accent-strong: oklch(0.87 0.15 165);
  --accent-dim: oklch(0.8 0.15 165 / 0.12);
  --accent-ink: oklch(0.25 0.04 165);
  --bad: oklch(0.72 0.14 27);
  --amber: oklch(0.82 0.14 85);
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius-card: 1.5rem;
  --radius: 0.9rem;
  --shadow-float: 0 1px 2px oklch(0 0 0 / 30%), 0 8px 24px -6px oklch(0 0 0 / 40%);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: oklch(0.975 0.008 85);
  --bg-raised: oklch(1 0 0);
  --bg-surface: oklch(0.955 0.01 85);
  --border: oklch(0.91 0.01 85);
  --border-strong: oklch(0.85 0.012 85);
  --text: oklch(0.22 0.012 85);
  --text-secondary: oklch(0.4 0.014 85);
  --text-muted: oklch(0.5 0.014 85);
  --accent: oklch(0.47 0.09 165);
  --accent-strong: oklch(0.4 0.09 165);
  --accent-dim: oklch(0.47 0.09 165 / 0.09);
  --accent-ink: oklch(1 0 0);
  --bad: oklch(0.52 0.17 27);
  --amber: oklch(0.52 0.12 70);
  --shadow-float: 0 1px 2px oklch(0.3 0.02 85 / 6%), 0 8px 24px -6px oklch(0.3 0.02 85 / 14%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--bg-raised); padding: 11px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---- header ---- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.top-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; min-height: 44px; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 16px; margin-right: auto; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand small { font-weight: 500; color: var(--text-muted); font-size: 13px; }
.links { display: flex; align-items: center; gap: 22px; }
.links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; }
.links a:hover { color: var(--text); }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: transparent; border: 1px solid transparent; color: var(--text-secondary); cursor: pointer;
}
.icon-btn:hover { background: var(--bg-surface); color: var(--text); }
.theme-toggle .sun { display: none; }
html:not([data-theme="light"]) .theme-toggle .sun { display: block; }
html:not([data-theme="light"]) .theme-toggle .moon { display: none; }
.burger { display: none; }
.drawer { display: none; border-top: 1px solid var(--border); padding: 8px 0 16px; }
.drawer a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); font-weight: 500; }
.drawer a:last-child { border-bottom: 0; }
.top[data-open] .drawer { display: block; }
@media (max-width: 900px) {
  .links { display: none; }
  .burger { display: inline-grid; }
  .top .btn-console { display: none; }
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px; font: inherit; font-weight: 650; font-size: 15px;
  text-decoration: none; border: 1px solid var(--border-strong); color: var(--text); background: var(--bg-raised);
  transition: transform 160ms var(--ease-out), background 160ms;
}
.btn:hover { color: var(--text); background: var(--bg-surface); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); color: var(--accent-ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* ---- type ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 650; color: var(--accent); }
.cp { /* checkpoint code chip, the site's section marker */
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; padding: 2px 9px; border-radius: 999px;
  border: 1.5px solid currentColor; font-variant-numeric: tabular-nums;
}
.h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin-top: 14px; }
.lead { color: var(--text-secondary); font-size: 18px; margin-top: 16px; max-width: 60ch; }
.muted { color: var(--text-muted); }
.small { font-size: 13px; }

section { scroll-margin-top: 80px; }
.sec { padding: 88px 0; }
.band { background: var(--bg-raised); border-block: 1px solid var(--border); }

/* ---- hero ---- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.hero-grid.solo { grid-template-columns: minmax(0, 760px); }
.hero h1 { font-size: clamp(34px, 4.1vw, 50px); font-weight: 800; letter-spacing: -0.035em; margin-top: 18px; }
.hero .lead { font-size: 19px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .note { margin-top: 16px; }

/* ---- screenshots ---- */
.shot { margin: 0; }
.shot .frame { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--bg-raised); box-shadow: var(--shadow-float); }
.shot.phone .frame { border-radius: 26px; border-width: 6px; border-color: oklch(0.25 0.01 85); }
.shot figcaption { font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.stack { position: relative; }
.stack .shot.phone { position: absolute; right: -12px; bottom: -36px; width: 30%; min-width: 120px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .stack { margin-bottom: 40px; }
  .stack .shot.phone { right: 8px; bottom: -32px; }
}

/* ---- how it works: the patrol route ---- */
.route { list-style: none; padding: 0; margin: 44px 0 0; position: relative; display: grid; gap: 0; }
.route li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding-bottom: 34px; }
.route li:last-child { padding-bottom: 0; }
.route li::before { /* dashed path between checkpoints */
  content: ""; position: absolute; left: 27px; top: 44px; bottom: 0; border-left: 2px dashed color-mix(in srgb, var(--accent) 45%, transparent);
}
.route li:last-child::before { display: none; }
.node {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--accent); color: var(--accent); font-weight: 800; font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.band .node { background: var(--bg-raised); }
.route li:last-child .node { background: var(--accent); color: var(--accent-ink); }
.route h3 { font-size: 19px; font-weight: 750; margin-top: 4px; }
.route p { color: var(--text-secondary); margin-top: 6px; max-width: 64ch; }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 56px; align-items: start; }
.how-grid .side { position: sticky; top: 96px; display: grid; gap: 16px; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } .how-grid .side { position: static; } }

/* ---- features ---- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split h3, .feature h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; }
.feature p.body, .split p.body { color: var(--text-secondary); margin-top: 14px; font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--text-secondary); }
.checks svg { margin-top: 3px; color: var(--accent); }
.phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 18px; align-items: start; }
.feature + .feature { margin-top: 96px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.flip > :first-child { order: 0; }
}

.flags { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 12px; margin-top: 24px; }
.flag { padding: 16px 18px; border-radius: var(--radius); background: var(--bg-surface); }
.flag b { display: block; font-size: 15px; }
.flag span { color: var(--text-secondary); font-size: 14px; }
.manual { margin-top: 18px; color: var(--text-secondary); }

.setup { columns: 2 320px; column-gap: 40px; margin-top: 24px; }
.setup li { break-inside: avoid; margin-bottom: 12px; }

/* ---- who / need ---- */
.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 36px; border-top: 1px solid var(--border); }
.who > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--border); }
.who > div:nth-child(odd) { border-right: 1px solid var(--border); }
.who > div:nth-child(even) { padding-left: 24px; }
.who h3 { font-size: 18px; font-weight: 750; }
.who p { color: var(--text-secondary); margin-top: 6px; }
@media (max-width: 700px) {
  .who { grid-template-columns: 1fr; }
  .who > div, .who > div:nth-child(even) { padding: 20px 0; border-right: 0; }
}
.need { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; margin-top: 24px; }
.need div { padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); }
.need b { display: block; }
.need span { color: var(--text-secondary); font-size: 15px; }

/* ---- faq ---- */
.faq { margin-top: 32px; border-top: 1px solid var(--border); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 650; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg);
  transition: transform 200ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--text-secondary); max-width: 72ch; }

/* ---- closing ---- */
.closing { border-radius: var(--radius-card); padding: 56px; background: var(--bg-raised); border: 1px solid var(--border); }
.closing p { color: var(--text-secondary); margin-top: 14px; max-width: 62ch; font-size: 17px; }
@media (max-width: 700px) { .closing { padding: 32px 22px; } .sec { padding: 64px 0; } }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--border); padding: 36px 0 48px; margin-top: 40px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot nav a { color: var(--text-secondary); text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; min-height: 44px; }
.foot nav a:hover { color: var(--text); }

/* ---- legal / support pages ---- */
.doc { max-width: 760px; padding: 56px 24px 24px; margin: 0 auto; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.doc .updated { color: var(--text-muted); font-size: 14px; margin-top: 10px; }
.doc h2 { font-size: 21px; font-weight: 750; margin-top: 40px; }
.doc p, .doc li { color: var(--text-secondary); }
.doc p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0 0; }
.doc li { margin-top: 6px; }
.doc strong { color: var(--text); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); }
.doc th { color: var(--text); font-weight: 650; }
.doc td { color: var(--text-secondary); }
.table-scroll { overflow-x: auto; }
.callout { margin-top: 24px; padding: 18px 20px; border-radius: var(--radius); background: var(--accent-dim); color: var(--text); }
.callout p { color: var(--text); margin-top: 0; }
.how-grid.solo { grid-template-columns: minmax(0, 1fr); }
.split:has(> :only-child) { grid-template-columns: minmax(0, 760px); }
.node { font-size: 18px; }
/* Narrow screens: the data table becomes a list (name, contents, source). */
@media (max-width: 600px) {
  .doc thead { display: none; }
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc tr { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .doc td { border: 0; padding: 2px 0; }
  .doc td:first-child { color: var(--text); font-weight: 650; }
  .doc td:last-child { font-size: 14px; color: var(--text-muted); }
  html[lang="id"] .doc td:last-child::before { content: "Sumber: "; }
  html[lang="en"] .doc td:last-child::before { content: "Source: "; }
}
