@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=Source+Serif+4:wght@400;600&display=swap");

:root {
  --primary-color: #2f6f6d;
  --text-color: #111827;
  --muted-text: #516062;
  --background: #eef5f4;
  --surface: #ffffff;
  --surface-muted: #f6f9f8;
  --border: #d7e4e1;
  --max-width: 1120px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 72px;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text-color);
  background: radial-gradient(circle at top, #ffffff 0%, var(--background) 50%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  padding-left: 20px;
  margin: 12px 0 0;
}

li {
  margin-bottom: 10px;
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -100px;
  background: var(--primary-color);
  color: #ffffff;
  padding: var(--space-1) var(--space-2);
  border-radius: 999px;
  z-index: 10;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3) 0;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 700;
  display: block;
}

.brand-tagline {
  color: var(--muted-text);
  font-size: 0.95rem;
  font-family: "Source Serif 4", serif;
}

.site-nav {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted-text);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--primary-color);
}

.hero {
  padding: var(--space-6) 0;
}

.hero-content {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--muted-text);
  margin-bottom: var(--space-2);
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 0 0 var(--space-2);
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--muted-text);
  margin: 0 0 var(--space-3);
  font-family: "Source Serif 4", serif;
}

.hero-body {
  margin: 0 0 var(--space-4);
  max-width: 520px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-color);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.button.ghost {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: none;
}

.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.section {
  padding: var(--space-6) 0;
}

.section-muted {
  background: var(--surface-muted);
}

.section-lede {
  margin: 12px 0 var(--space-4);
  color: var(--muted-text);
  max-width: 640px;
}

.grid {
  display: grid;
  gap: var(--space-3);
}

.grid-2 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
  box-shadow: var(--shadow);
}

.frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.frame-nav {
  display: flex;
  gap: var(--space-1);
  padding: var(--space-2);
  border-bottom: 1px solid var(--border);
  background: var(--surface-muted);
}

.frame-tab {
  border: 1px solid transparent;
  background: transparent;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-family: inherit;
  color: var(--muted-text);
  cursor: pointer;
}

.frame-tab.is-active {
  border-color: rgba(47, 111, 109, 0.35);
  background: #ffffff;
  color: var(--text-color);
  box-shadow: var(--shadow);
}

.frame-panel {
  padding: var(--space-4);
  display: grid;
  gap: var(--space-2);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(47, 111, 109, 0.12);
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 600;
}

.steps {
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-3);
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
}

.cta {
  background: linear-gradient(135deg, rgba(47, 111, 109, 0.12), #ffffff);
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-4) 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  align-items: flex-start;
  color: var(--muted-text);
  font-size: 0.95rem;
}

.footer-note {
  margin: 0;
  font-weight: 600;
}

.footer-meta {
  font-family: "Source Serif 4", serif;
}

@media (min-width: 768px) {
  .header-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
