/* Bubbletech — minimal static site */
:root {
  --bg: #0c0e12;
  --surface: #141820;
  --text: #e8eaef;
  --text-muted: #9aa3b2;
  --accent: #3d9cf0;
  --accent-hover: #5eb0f5;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 10px;
  --max: 42rem;
  --space: 1.25rem;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

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

.skip {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius);
}

.skip:focus {
  left: var(--space);
  top: var(--space);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

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

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent);
}

nav.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

nav.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  padding: 0.35rem 0;
}

nav.site-nav a:hover,
nav.site-nav a[aria-current="page"] {
  color: var(--text);
}

main {
  padding: 2.5rem 0 3.5rem;
}

footer.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

footer.site-footer p {
  margin: 0 0 0.5rem;
}

footer.site-footer a {
  color: var(--text-muted);
}

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

.hero {
  margin-bottom: 2.75rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.lead {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 36ch;
}

.section {
  margin-bottom: 2.25rem;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.section p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.section p:last-child {
  margin-bottom: 0;
}

.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.card-list li {
  margin: 0;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
}

.card-list strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.card-list span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cta-row {
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.25rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-hover);
  color: var(--bg);
}

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

.button-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
}

.button-ghost:hover {
  background: var(--surface);
  color: var(--accent-hover);
}

.page-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-intro {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.legal {
  font-size: 0.9375rem;
}

.legal h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal ul {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
}

.legal ul {
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.35rem;
}

.note {
  padding: 1rem 1.1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-card {
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-card dl {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.contact-card dt {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

.contact-card dd {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  color: var(--text);
}

.contact-card dd a {
  word-break: break-word;
}

.hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.mt-lg {
  margin-top: 1.75rem;
}

@media (min-width: 480px) {
  .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
  }
}
