/* Fonts are served from here, so opening this page contacts nobody else. */
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0100-0130, U+0132-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1E9F, U+2C60-2C7F;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("fonts/big-shoulders-display-latin-ext-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0100-0130, U+0132-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1E9F, U+2C60-2C7F;
}

:root {
  --bg: #110d0c;
  --surface: #1a1513;
  --line: #2a221f;
  --text: #f4ede6;
  --text-2: #c9bcb1;
  --muted: #a39589;
  --faint: #8f8279;
  --accent: #f2b045;
  --accent-hover: #ffd08a;
  --on-accent: #1a1208;
  --font-display: "Big Shoulders Display", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.wordmark {
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.languages {
  display: flex;
}

.languages button {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--faint);
  font: 700 14px var(--font-body);
  cursor: pointer;
}

.languages button[aria-pressed="true"] {
  color: var(--text);
  text-decoration: underline 2px var(--accent);
  text-underline-offset: 6px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.hero-text {
  display: flex;
  flex: 999 1 520px;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.kicker {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.lede {
  max-width: 520px;
  margin: 0;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.primary {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0 28px;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font: 700 18px var(--font-body);
  text-decoration: none;
  cursor: pointer;
}

.primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.primary:disabled {
  opacity: 0.6;
  cursor: progress;
}

.note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.room-card {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 20px;
  border-radius: 14px;
  background: var(--surface);
}

.card-label {
  color: var(--muted);
  font-size: 14px;
}

.room-code {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1em;
}

.card-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.destination {
  font-size: 18px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.destination-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}

.steps ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 24px 0 56px;
  list-style: none;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.step-number {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
}

.step-body {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
}

.prose {
  max-width: 680px;
  padding-top: 48px;
  padding-bottom: 64px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
}

.prose h1 {
  margin-bottom: 24px;
  color: var(--text);
  font-size: 48px;
}

.prose h2 {
  margin: 32px 0 8px;
  color: var(--text);
  font-size: 20px;
}

.prose p,
.prose ul {
  margin: 0 0 12px;
}
