:root {
  --background: #f7f8fc;
  --surface: #ffffff;
  --text: #182033;
  --muted: #5f687a;
  --accent: #5546e8;
  --accent-dark: #4133c7;
  --border: #e3e6ef;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent);
}

.hero,
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  max-width: 760px;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero-copy,
.section > p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button,
.idea-button {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.primary,
.idea-button {
  border-color: var(--accent);
  color: white;
  background: var(--accent);
}

.primary:hover,
.idea-button:hover {
  background: var(--accent-dark);
}

.secondary {
  color: var(--text);
  background: var(--surface);
}

.section {
  border-top: 1px solid var(--border);
}

.idea-button {
  margin-top: 1rem;
}

.idea-output {
  min-height: 2rem;
  font-weight: 700;
}

footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

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

  nav {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  .hero,
  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
