:root {
  --primary: #2f827f;
  --primary-dark: #256663;
  --primary-light: #e0f2f1;
  --secondary: #e8b86d;
  --secondary-dark: #c58a32;
  --bg-body: #f3f4f6;
  --bg-surface: #ffffff;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --border: #d1d5db;
  --radius: 20px;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

img, video {
  max-width: 100%;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover,
button:hover,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
}

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

.site-header .site-brand,
.site-header .site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header {
  padding: 1rem 1.5rem;
}

.site-brand {
  gap: 0.75rem;
}

.site-logo {
  width: 42px;
  height: 42px;
  display: inline-block;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.site-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.site-tagline {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.site-nav {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-left: auto;
}

.site-nav a {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--bg-surface);
}

main {
  flex: 1;
}

.section,
.hero {
  padding: 3rem 1.5rem;
}

.section-inner,
.hero-copy,
.hero-panel {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--secondary-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 3vw, 3.7rem);
  line-height: 1.05;
}

.hero p {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: white;
}

.button-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border);
}

.hero-panel {
  padding: 2rem;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-panel h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.hero-panel p {
  margin: 1rem 0 0;
  color: var(--text-secondary);
}

.hero-list {
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.hero-list dt {
  font-weight: 700;
}

.hero-list dd {
  margin: 0.25rem 0 0;
  color: var(--text-secondary);
}

.section {
  background: var(--bg-body);
}

.section:nth-of-type(even) {
  background: #ffffff;
}

.section-label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--secondary-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 2vw, 2.5rem);
}

.section p {
  max-width: 72ch;
  color: var(--text-secondary);
}

.problem-list,
.galaxie-list {
  margin: 1.5rem 0 0;
  padding-left: 1.35rem;
}

.problem-list li,
.galaxie-list li {
  margin-bottom: 0.85rem;
}

.problem-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 0;
}

.problem-table th,
.problem-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.problem-table th {
  font-weight: 700;
  background: var(--bg-surface);
}

@media (max-width: 768px) {
  .problem-table th,
  .problem-table td {
    display: block;
    width: 100%;
  }
  .problem-table tr {
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
  }
  .problem-table th {
    background: var(--primary-light);
    font-size: 0.9rem;
  }
}

.section-grid,
.feature-lists,
.steps-grid,
.pricing-grid,
.faq-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
}

.card,
.step-card,
.pricing-card,
.faq-item,
.feature-block {
  padding: 1.8rem;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.card h3,
.step-card h3,
.pricing-card .pricing-title,
.feature-block h3,
.faq-item h3 {
  margin-top: 0;
}

.step-card {
  display: grid;
  gap: 1rem;
}

.step-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
}

.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-lists {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-block-secondary {
  background: linear-gradient(180deg, #fff8e1 0%, #f8f0d8 100%);
}

.feature-block ul,
.faq-item ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.feature-block ul li {
  margin-bottom: 0.75rem;
}

.section-split {
  padding-top: 0;
}

.section-highlight {
  background: linear-gradient(180deg, #f3fbfb 0%, #ffffff 100%);
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.5rem;
}

.pricing-card {
  text-align: center;
}

.pricing-card .pricing-title {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.pricing-value {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
  color: var(--text-primary);
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.signup-form {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-notice {
  margin: 1.5rem 0;
}

.checkbox-label {
  display: grid;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.checkbox-label input {
  width: auto;
  margin-right: 0.5rem;
}

.site-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  background: white;
}

.site-footer nav {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.site-footer nav a {
  color: var(--text-secondary);
  text-decoration: underline;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: var(--primary);
}

@media (min-width: 840px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .section-grid {
    grid-template-columns: minmax(0, 1fr) 1.2fr;
    align-items: center;
  }

  .hero-panel {
    margin-top: 1rem;
  }
}

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

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 2.3rem;
  }
}
