/* todoli.lat — four services, each band in that service's own colours. */
:root {
  --ink: #17181c;
  --soft: #5b5e66;
  --page: #ffffff;
  --gutter: clamp(20px, 5vw, 72px);
  --measure: 34rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Hahmlet", "Apple SD Gothic Neo", "Noto Serif KR", serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 28px var(--gutter) 0;
}
.mark { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.switch { display: flex; gap: 20px; font-size: 0.9375rem; }
.switch a { text-decoration: none; color: var(--soft); }
.switch a:hover { text-decoration: underline; }
.switch a[aria-current] { color: var(--ink); font-weight: 600; }

.intro { padding: clamp(56px, 11vw, 136px) var(--gutter) clamp(48px, 8vw, 96px); }
.intro h1 {
  margin: 0 0 28px;
  max-width: 13em;
  font-size: clamp(2.25rem, 6.2vw, 4.5rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
}
.intro p { max-width: var(--measure); color: var(--soft); }

/* Each band is one service. The colours are that service's, not this page's. */
.band { background: var(--bg); color: var(--fg); }
.band-sazoo { --bg: #1b1a3a; --fg: #f3e9cf; --name: #e8c56b; }
.band-flyer { --bg: #f2553a; --fg: #1f0c06; --name: #1f0c06; }
.band-lunar { --bg: #2456d6; --fg: #ffffff; --name: #ffffff; }
.band-pori  { --bg: #ffd98a; --fg: #4a2a12; --name: #4a2a12; }

.band-in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
  padding: clamp(48px, 8vw, 104px) var(--gutter);
}
.band h2 {
  margin: 0;
  color: var(--name);
  font-size: clamp(2.25rem, 5.6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.band h2 a { text-decoration: none; }
.band h2 a:hover { text-decoration: underline; text-decoration-thickness: 0.06em; }

.band-text { max-width: var(--measure); }
.band-text .what { margin-bottom: 14px; font-size: 1.25rem; font-weight: 600; line-height: 1.5; }
.band-text .go { margin-top: 28px; }
.band-text .go a {
  display: inline-block;
  padding: 12px 22px;
  border: 2px solid currentColor;
  font-weight: 600;
  text-decoration: none;
}
.band-text .go a:hover { background: var(--fg); color: var(--bg); }
.band-text .langs { margin-top: 32px; font-size: 0.875rem; opacity: 0.8; }
.lang-list { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 4px; font-size: 0.9375rem; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 40px;
  padding: 44px var(--gutter) 60px;
  font-size: 0.9375rem;
  color: var(--soft);
}
.foot strong { color: var(--ink); font-weight: 600; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }

@media (max-width: 760px) {
  .band-in { grid-template-columns: minmax(0, 1fr); }
}
