/* Warna dan huruf template ini diatur di blok :root berikut. */
:root {
  --ground: #E10A17;
  --ink: #0A2C8F;
  --yellow: #FFD800;
  --white: #FFFFFF;
  --action: #E10A17;
  --action-ink: #FFFFFF;
  --font: 'Archivo', Arial, sans-serif;
  --sign: 'Alfa Slab One', Rockwell, Georgia, serif;
}

@font-face { font-family: 'Alfa Slab One'; font-weight: 400; font-display: swap; src: url('fonts/alfa-slab-one-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; }
.spanduk { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }

/* Mata ayam di sudut spanduk */
.mata {
  position: absolute; top: 10px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--white); border: 4px solid #B9BEC7;
}
.mata:first-child { left: 10px; }
.mata:nth-child(2) { right: 10px; }

.atas { position: relative; padding: 30px 16px 16px; background: var(--ground); color: var(--white); flex: 1 0 auto; display: flex; align-items: flex-end; }
h1 { font-family: var(--sign); font-weight: 400; line-height: 1; }
h1 b {
  display: block; font-weight: 400; color: var(--yellow);
  font-size: 33vw; line-height: .86; letter-spacing: -.02em;
  text-shadow: 5px 5px 0 var(--ink); /* taste-skill-ignore: blok huruf cat spanduk */
  animation: bentang .5s cubic-bezier(.2,.9,.3,1) both;
}
@keyframes bentang { from { opacity: 0; transform: scale(.96); } }
h1 span { display: block; margin-top: 16px; font-size: 26px; }

.harga { display: flex; background: var(--yellow); color: var(--ink); font-family: var(--sign); }
.harga li { flex: 1; padding: 10px 16px; font-size: 22px; line-height: 1.05; }
.harga li + li { background: var(--white); }
.harga b { display: block; font-size: 15px; font-weight: 400; }

.masuk { padding: 16px; background: var(--white); color: var(--ink); }
.form { display: grid; gap: 10px; }
label { font-weight: 700; }
#username {
  width: 100%; height: 58px; padding: 0 14px;
  border: 4px solid var(--ink); background: var(--white);
  font-family: var(--sign); font-size: 26px; letter-spacing: .04em;
}
.action { font-family: var(--sign); font-weight: 400; font-size: 22px; }
.alert { color: var(--ground); line-height: 1.25; }
.more { font-size: 16px; }
.more input { border: 3px solid var(--ink); }

@media (min-width: 760px) {
  .spanduk { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr auto; }
  .atas { grid-row: 1; padding: 48px; }
  h1 b { font-size: 21vw; text-shadow: 10px 10px 0 var(--ink); } /* taste-skill-ignore: blok huruf cat spanduk */
  h1 span { font-size: 4.4vw; margin-top: 28px; }
  .mata { width: 26px; height: 26px; border-width: 6px; top: 22px; }
  .mata:first-child { left: 22px; }
  .mata:nth-child(2) { right: 22px; }
  .harga { grid-column: 1 / -1; grid-row: 2; }
  .harga li { padding: 22px 48px; font-size: 44px; }
  .harga b { font-size: 24px; }
  .masuk { grid-row: 1; grid-column: 2; padding: 48px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
  label { font-size: 22px; }
  #username { height: 72px; font-size: 34px; }
  .action { font-size: 28px; padding: 20px; }
}

.sheet { color: var(--white); }
.sheet h1 { font-family: var(--sign); font-size: 46px; font-weight: 400; color: var(--yellow); text-shadow: 3px 3px 0 var(--ink); } /* taste-skill-ignore: blok huruf cat spanduk */
.facts div { padding: 10px 12px; background: var(--white); color: var(--ink); }
.sheet .action { background: var(--yellow); color: var(--ink); font-family: var(--sign); font-weight: 400; font-size: 20px; }
