/* selekta.kreasimaju.id: the app's "Title Block" world (design/tokens.css) as a one-sheet page. */
@font-face { font-family: Geist; src: url(/fonts/geist-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fonts/geist-mono-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #14171a; --panel: #1c2126; --raised: #232a30; --selected: #22303a; --line: #2c3238; --line-soft: #22282d;
  --ink: #d7dce0; --ink-strong: #eef2f4; --ink-muted: #96a0a8; --ink-faint: #8a939b;
  --accent: #7fa9c4; --accent-ink: #101417; --accent-soft: #22303a;
  --rev: #e3a33b; --rev-soft: #2a2418; --rev-text: #f0d9ae;
  --prod: #b8382f; --prod-text: #ef7a70; --local: #6fae8a; --warning: #d2c15c;
  --syn-keyword: #9db4c4; --syn-string: #a9bf92; --syn-number: #c9a882;
  --shadow: 0 24px 60px -20px rgb(5 7 9 / .7);
  --ui: Geist, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f6f7f5; --panel: #eceeeb; --raised: #ffffff; --selected: #dbe6ed; --line: #cdd2d0; --line-soft: #e2e5e2;
    --ink: #1f2428; --ink-strong: #0f1316; --ink-muted: #5a646c; --ink-faint: #6c757c;
    --accent: #3b6a8a; --accent-ink: #ffffff; --accent-soft: #dbe6ed;
    --rev: #a8670a; --rev-soft: #f6ead3; --rev-text: #7a4a05; --prod-text: #b23a31; --local: #2f7a52; --warning: #6f6400;
    --syn-keyword: #2f5d7c; --syn-string: #4c6b2c; --syn-number: #8a5a1c;
    --shadow: 0 24px 60px -24px rgb(30 40 48 / .35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--ui); -webkit-font-smoothing: antialiased; }
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); color: var(--ink-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2 { margin: 0; color: var(--ink-strong); font-weight: 600; }
p { margin: 0; }

.sheet { min-height: 100vh; margin: 16px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding-inline: 32px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 2px; font-weight: 600; font-size: 15px; transition: filter 120ms, transform 120ms; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn.big { min-height: 52px; font-size: 16px; }

.top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 16px 32px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink-strong); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; gap: 24px; flex: 1; font-size: 14px; }
.top nav a { color: var(--ink-muted); }
.top nav a:hover { color: var(--ink-strong); text-decoration: none; }

.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; padding-block: 88px 64px; align-items: end; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; max-width: 600px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-muted); max-width: 54ch; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.meta { font-size: 12px; color: var(--ink-faint); }

.hero-shot { display: flex; justify-content: flex-end; }
.win { width: 100%; max-width: 640px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); box-shadow: var(--shadow); font-size: 12px; overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; background: var(--panel); border-bottom: 1px solid var(--line); color: var(--ink-muted); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.win-bar span { margin-left: 12px; }
.win-body { display: grid; grid-template-columns: 170px 1fr; }
.tree { background: var(--panel); border-right: 1px solid var(--line); padding: 8px 0; color: var(--ink-muted); }
.tree div { padding: 3px 12px 3px calc(12px + var(--d, 0) * 12px); display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.tree .strong { color: var(--ink-strong); }
.tree .sel { color: var(--ink-strong); background: var(--selected); }
.tree .gap { margin-top: 8px; }
.tag { font-size: 10px; padding: 0 4px; border-radius: 2px; border: 1px solid; }
.tag.prod { background: var(--prod); border-color: var(--prod); color: #fff; }
.tag.local { color: var(--local); }
.work { min-width: 0; padding-bottom: 40px; }
.sql { padding: 12px 14px; line-height: 20px; font-size: 12px; }
.work .sql { border-bottom: 1px solid var(--line); }
.sql b { color: var(--syn-keyword); font-weight: 400; }
.sql s { color: var(--syn-string); text-decoration: none; }
.sql u { color: var(--syn-number); text-decoration: none; }
.grid { border-collapse: collapse; width: 100%; font-size: 11.5px; }
.grid th { text-align: left; font-weight: 500; color: var(--ink-faint); background: var(--panel); padding: 4px 10px; border-bottom: 1px solid var(--line); }
.grid td { padding: 3px 10px; border-bottom: 1px solid var(--line-soft); }
.grid .r { text-align: right; }
.grid .null { color: var(--ink-faint); }
.grid .cloud { background: var(--rev-soft); color: var(--rev-text); outline: 1px dashed var(--rev); outline-offset: -2px; }
.win-status { display: flex; border-top: 1px solid var(--line); background: var(--panel); }
.win-status > span { flex: 1; padding: 8px 12px; color: var(--ink-muted); font-size: 11px; }

.tb { display: flex; flex-wrap: wrap; font-size: 10.5px; }
.tb span { display: flex; flex-direction: column; padding: 4px 10px; border-left: 1px solid var(--line); color: var(--ink-strong); }
.tb em { font-style: normal; color: var(--ink-faint); letter-spacing: .1em; }
.tb .env { background: var(--prod); color: #fff; font-weight: 600; padding-inline: 12px; }
.tb .env em { color: #fff; opacity: .8; font-weight: 400; }

.zones { display: flex; justify-content: space-between; border-top: 1px solid var(--line); max-width: none; }
.zones span, .zone { font-size: 11px; font-weight: 500; letter-spacing: .1em; color: var(--ink-faint); }
.zones span { padding: 6px 0; }

.features { display: flex; flex-direction: column; gap: 96px; padding-block: 72px 24px; }
.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 48px 64px; align-items: center; }
.feat.flip .copy { order: 2; }
.copy { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.copy h2 { font-size: 34px; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.copy p { color: var(--ink-muted); line-height: 1.6; }
@media (max-width: 860px) { .feat.flip .copy { order: 0; } }

.fig { width: 100%; max-width: 540px; border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow); }
.confirm { background: var(--raised); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.confirm strong { font-size: 15px; color: var(--ink-strong); }
.confirm .code { font-size: 12.5px; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); }
.confirm .code b { color: var(--syn-keyword); font-weight: 400; }
.confirm p { font-size: 13px; color: var(--ink-muted); }
.prodtext { color: var(--prod-text); font-weight: 600; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--ink-muted); }
.input { height: 30px; display: flex; align-items: center; padding: 0 8px; background: var(--bg); border: 1px solid var(--accent); border-radius: 2px; color: var(--ink-strong); font-size: 13px; }
.acts { display: flex; gap: 8px; justify-content: flex-end; }
.acts .b { height: 30px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 2px; font-size: 13px; }
.acts .danger { background: var(--prod); border-color: var(--prod); color: #fff; opacity: .5; font-weight: 600; }
.review { background: var(--bg); overflow: hidden; }
.revbar { padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--rev-soft); color: var(--rev-text); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.revbar .mono { font-size: 12px; }
.review .sql { line-height: 21px; }
.review .in { padding-left: 16px; }
.review .sp { margin-top: 8px; }
.plan { background: var(--bg); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.node { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--ink-strong); padding: 6px 10px; border: 1px solid var(--line); }
.node span + span { color: var(--ink-muted); }
.node.child { margin-left: 24px; }
.node.slow { border-color: var(--warning); }
.node.slow span + span { color: var(--warning); }
.plan p { font: 12px/1.5 var(--ui); color: var(--ink-muted); margin-top: 8px; }

.engines { padding-block: 72px; }
.cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-block: 1px solid var(--line); }
.cells div { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; box-shadow: -1px 0 0 var(--line); }
.cells strong { font-size: 20px; font-weight: 600; color: var(--ink-strong); }
.cells span:last-child { font-size: 13px; color: var(--ink-muted); }
.extras { list-style: none; margin: 0; padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 14px; color: var(--ink-muted); }

.download { border-top: 1px solid var(--line); background: var(--panel); }
.dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px 64px; padding-block: 80px; }
.dl h2 { font-size: 40px; line-height: 1.08; letter-spacing: -0.025em; }
.dl dl { margin: 16px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; font-size: 13px; }
.dl dt { color: var(--ink-faint); }
.dl dd { margin: 0; }
.pick { display: flex; flex-direction: column; gap: 16px; }
.pick fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.arch { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 2px; cursor: pointer; position: relative; }
.arch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.arch strong { font-size: 16px; color: var(--ink-strong); }
.arch span { font-size: 12px; color: var(--ink-muted); }
.arch:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.arch:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.for-x86_64 { display: none; }
.pick:has([value="x86_64"]:checked) .for-x86_64 { display: inline-flex; }
.pick:has([value="x86_64"]:checked) .for-aarch64 { display: none; }
.pick ol { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-muted); }

.foot { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; margin-top: auto; }
.legal { flex: 999 1 320px; padding: 16px 32px; font-size: 13px; color: var(--ink-muted); display: flex; align-items: center; }
.foot .tb { font-size: 11px; }
.foot .tb span { padding: 8px 16px; gap: 2px; }

@media (max-width: 760px) {
  .sheet { margin: 8px; }
  .wrap, .top { padding-inline: 16px; }
  .top { gap: 12px 16px; }
  .top .btn { margin-left: auto; }
  .top nav { order: 3; flex-basis: 100%; gap: 20px; }
  .hero-shot { display: none; }
  .hero { padding-block: 48px 40px; }
  .features { gap: 64px; padding-block: 48px 16px; }
  .legal { padding-inline: 16px; }
}
