/* Satu Lagi site: the app's colors (SatuLagi/Shared/Theme.swift). Always dark, like the app. */
:root {
  --bg: #0B0B0B;
  --text: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.6);
  --faint: rgba(255, 255, 255, 0.35);
  --line: rgba(255, 255, 255, 0.12);
  --orange: #FF6B35;
  --yellow: #FFD23F;
  --mint: #3BCEAC;
  --sky: #4CC9F0;
  --violet: #A177FF;
  --pink: #FF5DA2;
  color-scheme: dark;
}

/* Inter, served from this site: no request to Google Fonts. */
@font-face {
  font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration-color: var(--faint); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--text); }

.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }

header.top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
}
.logo {
  font-size: 13px; font-weight: 500; letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.5); text-decoration: none;
}
nav { display: flex; gap: 20px; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current] { color: var(--text); }

/* Home */
.hero { text-align: center; padding: 56px 0 24px; }
.hero h1 { font-size: clamp(40px, 9vw, 64px); line-height: 1.05; font-weight: 650; letter-spacing: -1.5px; }
.hero p { color: var(--muted); font-size: 19px; margin: 18px auto 0; max-width: 460px; }
.soon {
  display: inline-block; margin-top: 28px; padding: 10px 20px;
  border: 1px solid var(--line); border-radius: 12px; font-size: 15px; color: var(--muted);
}

.week { display: flex; justify-content: center; gap: 8px; margin: 48px 0 8px; }
.sq { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--faint); flex: none; }
.sq.done { background: var(--orange); border-color: var(--orange); }
.sq.today { border: 1.5px solid rgba(255, 255, 255, 0.7); animation: fill 3.2s ease-in-out infinite; }
@keyframes fill {
  0%, 35% { background: transparent; border-color: rgba(255, 255, 255, 0.7); transform: scale(1); }
  42% { transform: scale(0.88); }
  50%, 90% { background: var(--orange); border-color: var(--orange); transform: scale(1); }
  100% { background: transparent; border-color: rgba(255, 255, 255, 0.7); }
}
@media (prefers-reduced-motion: reduce) { .sq.today { animation: none; } }
.caption { text-align: center; color: var(--faint); font-size: 14px; }

.shots {
  display: flex; gap: 16px; margin: 64px -20px 0; padding: 0 20px 8px;
  overflow-x: auto; scroll-snap-type: x mandatory;
}
.shots img {
  width: 240px; height: auto; flex: none; border-radius: 20px;
  scroll-snap-align: center; border: 1px solid var(--line);
}
@media (min-width: 760px) { .shots { justify-content: center; overflow: visible; } }

.features { display: grid; gap: 28px; margin: 72px 0; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.features h2 { font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.features h2::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--dot); }
.features p { color: var(--muted); font-size: 16px; margin-top: 6px; }

/* Text pages */
.page { padding: 40px 0 24px; }
.page h1 { font-size: 36px; line-height: 1.15; font-weight: 650; letter-spacing: -0.8px; }
.page .date { color: var(--faint); font-size: 15px; margin-top: 8px; }
.page .lead { font-size: 19px; margin-top: 24px; }
.page h2 { font-size: 20px; font-weight: 600; margin-top: 40px; }
.page p, .page li { color: var(--muted); margin-top: 12px; }
.page ul { padding-left: 20px; }
.page strong { color: var(--text); font-weight: 600; }
.page details { border-top: 1px solid var(--line); padding: 16px 0; }
.page details:last-of-type { border-bottom: 1px solid var(--line); }
.page summary { cursor: pointer; font-weight: 600; list-style: none; }
.page summary::-webkit-details-marker { display: none; }
.page summary::after { content: "+"; float: right; color: var(--faint); }
.page details[open] summary::after { content: "–"; }
.page details p { margin-top: 8px; }
.faq { margin-top: 32px; }
.contact { margin-top: 48px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.contact p { margin-top: 4px; }

footer {
  border-top: 1px solid var(--line); margin-top: 64px; padding: 24px 0 48px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 14px; color: var(--faint);
}
footer nav { font-size: 14px; }
