/* Warna dan huruf template ini diatur di blok :root berikut. */
:root {
  --ground: #FFD60A;
  --ink: #0B0B0B;
  --action: #0B0B0B;
  --action-ink: #FFD60A;
  --font: 'Archivo', Arial, sans-serif;
  --big: 'Archivo Black', Impact, Arial, sans-serif;
}

@font-face { font-family: 'Archivo Black'; font-weight: 400; font-display: swap; src: url('fonts/archivo-black-400.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-weight: 500; font-display: swap; src: url('fonts/archivo-500.woff2') format('woff2'); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh; min-height: 100svh;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.45;
}
h1, h2, p, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
input, button { font: inherit; color: inherit; border-radius: 0; }
button { cursor: pointer; }
[hidden] { display: none; }
:focus-visible { outline: 3px solid var(--focus, currentColor); outline-offset: 2px; }

.alert { font-weight: 600; }
.trial { display: inline-block; padding: 10px 0; }
.more summary { cursor: pointer; padding: 10px 0; }
.more label { display: block; }
.more input { width: 100%; padding: 10px 12px; margin-top: 4px; }

/* Halaman setelah login: alogin, status, logout, error */
.sheet {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-height: 100vh; min-height: 100svh;
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
  padding: 32px 20px;
}
.sheet h1 { font-size: 44px; line-height: 1.02; }
.facts { display: grid; gap: 10px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; }
.facts dd { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.action {
  display: block;
  width: 100%;
  padding: 16px;
  border: 0;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  background: var(--action);
  color: var(--action-ink);
  transition: transform .15s ease;
}
.action:active { transform: translateY(1px); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

body { font-weight: 500; }
.papan { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding: 20px 16px; }
header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
h1 { font-family: var(--big); font-size: 26px; font-weight: 400; line-height: 1.05; letter-spacing: -.02em; }
.form { display: flex; flex-direction: column; flex: 1; margin-top: 32px; }
label { font-family: var(--big); font-size: 32px; line-height: 1.05; letter-spacing: -.02em; }
#username {
  width: 100%; margin-top: 18px; padding: 0 0 6px;
  border: 0; border-bottom: 9px solid var(--ink); background: transparent;
  font-family: var(--big); font-size: 16vw; line-height: 1.1; letter-spacing: -.03em;
  caret-color: var(--ink);
}
#username::placeholder { color: var(--ink); opacity: .28; }
#username:focus { outline: 0; border-bottom-width: 14px; padding-bottom: 1px; }
.alert { margin-top: 14px; padding: 10px 12px; background: var(--ink); color: var(--ground); line-height: 1.25; }
.more { margin-top: 14px; }
.more input { border: 3px solid var(--ink); background: transparent; }
.trial { align-self: flex-start; }
.action { margin-top: auto; font-family: var(--big); font-weight: 400; font-size: 24px; padding: 20px; }
.tarif { margin-top: 16px; }

@media (min-width: 760px) {
  .papan { padding: 40px 48px; }
  h1 { font-size: 40px; }
  .form { margin-top: 0; justify-content: center; }
  label { font-size: 56px; }
  .more { font-size: 19px; }
  #username { font-size: min(13vw, 190px); border-bottom-width: 14px; }
  #username:focus { border-bottom-width: 20px; }
  .action { margin-top: 28px; align-self: flex-start; padding: 24px 72px; font-size: 32px; }
  .tarif { font-size: 21px; max-width: 42em; }
}

.sheet h1 { font-family: var(--big); font-size: 42px; font-weight: 400; letter-spacing: -.03em; }
.facts div { padding-bottom: 8px; border-bottom: 4px solid var(--ink); }
.sheet .action { margin-top: 0; font-size: 19px; padding: 18px 12px; }
