/* Gaya bersama halaman "segera hadir".
   Semua warna dari tokens.css (salinan prototype/css/tokens.css); tema gelap lewat :root[data-theme="dark"]. */

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--sofs-sunlit-amber); color: var(--sofs-on-amber); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
h1, p, dl, dd { margin: 0; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.cs { position: relative; min-height: 100%; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }

/* Strip empat warna di bawah tepi atas, segmen solid tanpa blending */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); height: 4px; flex: none; position: relative; z-index: 4; }
.strip i { display: block; transform-origin: left center; }
.strip i:nth-child(1) { background: var(--sofs-delph-blue); }
.strip i:nth-child(2) { background: var(--sofs-moss-green); }
.strip i:nth-child(3) { background: var(--sofs-sunlit-amber); }
.strip i:nth-child(4) { background: var(--sofs-royal-maroon); }

.gutter { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 480px) {
  .gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* Merek: mark 2×2 berwarna + wordmark SOFS + nama lengkap */
.brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.brand-mark { width: 42px; height: auto; flex: none; }
.brand-word { height: 19px; width: auto; flex: none; color: var(--color-heading); }
.brand-name { font-size: var(--text-xs); font-weight: 600; line-height: 1.3; color: var(--color-muted); max-width: 12em; }

.lead { font-size: var(--text-lead); line-height: 1.62; max-width: 62ch; text-wrap: pretty; color: var(--color-ink-2); }

/* Fitur yang hadir saat rilis */
.sched { display: grid; border-top: 1px solid var(--color-rule); }
.sched div { display: grid; grid-template-columns: 10.5rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--color-rule); align-items: baseline; }
.sched dt { font-weight: 700; font-size: var(--text-sm); color: var(--color-accent-2-ink); }
.sched dd { font-weight: 500; font-size: 0.9375rem; }
@media (max-width: 420px) {
  .sched div { grid-template-columns: 1fr; gap: 2px; }
}

/* Tombol tema: pola btn-secondary btn-icon di header prototype */
.cs-theme {
  position: absolute;
  z-index: 5;
  top: calc(4px + 16px + env(safe-area-inset-top, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
  display: inline-grid;
  place-items: center;
  min-width: var(--sofs-control-h);
  min-height: var(--sofs-control-h);
  padding: 0 var(--space-sm);
  border: 2px solid var(--sofs-border);
  border-radius: var(--sofs-radius-md);
  background: var(--sofs-surface-raised);
  color: var(--sofs-ink);
  cursor: pointer;
}
.cs-theme:hover { border-color: var(--sofs-ink); }
.cs-theme svg { width: 22px; height: 22px; display: block; }
