:root {
  color-scheme: light dark;
  --brand: #0bbccf;
  --accent: #087e8c;
  --canvas: #f4ede0;
  --surface: #fffaf0;
  --text: #302b21;
  --muted: #6f685d;
  --border: rgba(97, 82, 61, 0.2);
  --shadow: 0 18px 50px rgba(48, 43, 33, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  line-height: 1.7;
  background: var(--canvas);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--text);
  color: var(--surface);
}

.skip-link:focus {
  top: 16px;
}

.site-header,
.site-footer,
main {
  width: min(760px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: var(--brand);
  color: #002f34;
  font-size: 14px;
  font-weight: 900;
}

nav {
  display: flex;
  gap: 16px;
  font-size: 14px;
  font-weight: 650;
}

main {
  padding-bottom: 48px;
}

.hero,
.card {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  padding: clamp(24px, 7vw, 48px);
  background:
    radial-gradient(circle at 90% 10%, rgba(11, 188, 207, 0.2), transparent 34%),
    var(--surface);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.3;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 9vw, 52px);
  letter-spacing: -0.03em;
}

h2 {
  margin: 40px 0 16px;
  font-size: 24px;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

p,
ul {
  margin-block: 0 16px;
}

.lead {
  max-width: 34rem;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.card {
  margin-top: 16px;
  padding: 24px;
}

.card > :last-child,
.legal-section > :last-child {
  margin-bottom: 0;
}

.contact-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.contact-link:hover {
  background: #075f69;
}

.note,
.updated {
  color: var(--muted);
  font-size: 14px;
}

.legal-section {
  padding-block: 8px;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: 0;
}

.site-footer {
  padding-block: 0 32px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .card {
    border-radius: 18px;
  }

  .card {
    padding: 20px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #18c7d3;
    --canvas: #070a08;
    --surface: #111713;
    --text: #f8f5ed;
    --muted: #b7b2a8;
    --border: rgba(255, 255, 255, 0.14);
    --shadow: none;
  }

  .contact-link {
    color: #001f22;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
