@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap");

:root {
  --bg: #f3f5f4;
  --bg-soft: #e8ecea;
  --surface: #fafbfa;
  --text: #1a2220;
  --text-muted: #5a6662;
  --border: #d4dbd7;
  --accent: #0f6e6a;
  --accent-hover: #0b5754;
  --accent-soft: rgba(15, 110, 106, 0.1);
  --max: 42rem;
  --max-wide: 56rem;
  --radius: 0.5rem;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Source Serif 4", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, var(--bg-soft), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(15, 110, 106, 0.06), transparent 50%),
    var(--bg);
}

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

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

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header__inner,
.site-footer__inner,
.page {
  width: min(100% - 2rem, var(--max-wide));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem 0;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

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

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

main {
  flex: 1;
  padding: 2.5rem 0 4rem;
}

.page--narrow {
  width: min(100% - 2rem, var(--max));
}

.page--home {
  padding-top: 2rem;
}

.hero {
  max-width: 32rem;
  padding: 2rem 0 1rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero__lead {
  margin: 0 0 2rem;
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 28rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.store-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}

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

.legal-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.65rem;
}

.updated {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 2.25rem 0 0.75rem;
  color: var(--text);
}

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

.legal-body p,
.legal-body li {
  color: var(--text);
}

.legal-body p {
  margin: 0 0 1rem;
}

.legal-body ul,
.legal-body ol {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
}

.legal-body li {
  margin-bottom: 0.4rem;
}

.legal-body li::marker {
  color: var(--accent);
}

.note {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.contact-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-list strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 0;
  margin-top: auto;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
}

.site-footer__nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
}

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

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

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

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

  .nav {
    gap: 0.25rem 0.9rem;
  }

  main {
    padding: 1.75rem 0 3rem;
  }

  .hero {
    padding-top: 0.5rem;
  }
}
