:root {
  --bg: #f8faf8;
  --surface: #ffffff;
  --surface-tint: #eef5f3;
  --ink: #162226;
  --muted: #4b5d63;
  --border: #d5e0dd;
  --accent: #1d5c57;
  --accent-hover: #144541;
  --accent-ink: #ffffff;
  --success-bg: #eaf6ef;
  --success-border: #8bc2a1;
  --success-ink: #15492c;
  --error-bg: #fdf0ef;
  --error-border: #dfa09b;
  --error-ink: #7a211b;
  --focus: #0f4c81;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(22, 34, 38, 0.06);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  border-radius: 8px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.125rem;
}

/* Header */
.site-header {
  background: rgba(248, 250, 248, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  height: 3px;
  border-radius: 99px;
  background: #ffffff;
  left: 6px;
  right: 6px;
}

.brand-mark::before {
  top: 9px;
}

.brand-mark::after {
  bottom: 9px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--accent-hover);
}

/* Hero */
.hero {
  padding: 2.25rem 0 2.5rem;
  background: linear-gradient(180deg, var(--surface-tint) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4.4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero-lede {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 54ch;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.55rem;
}

.hero-highlights li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink);
  font-weight: 500;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

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

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

.btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--surface-tint);
}

/* Signup card */
.signup-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.signup-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}

.signup-sub {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-field {
  margin-bottom: 0.95rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.optional-tag {
  font-weight: 400;
  color: var(--muted);
}

.form-field input[type="email"],
.form-field input[type="text"],
.form-field select {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  border: 1px solid #b9c8c4;
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
}

.form-field input::placeholder {
  color: #6b7d83;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1rem 0 1.15rem;
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0.15rem 0 0;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-row span {
  font-size: 0.95rem;
  font-weight: 500;
}

.hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-btn {
  width: 100%;
}

.form-status {
  margin-top: 0.9rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-ink);
}

.form-status.is-error {
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  color: var(--error-ink);
}

.privacy-note {
  margin: 0.95rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Sections */
.section {
  padding: 2.75rem 0;
}

.section-header {
  max-width: 60ch;
  margin-bottom: 1.65rem;
}

.section-header h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* Pricing */
.pricing-section {
  padding-top: 0.5rem;
}

.pricing-card {
  background: var(--surface-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card h2 {
  margin: 0 0 0.3rem;
  font-size: 1.35rem;
}

.price-headline {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.price-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Header navigation */
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

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

/* Comparison and guide pages */
.page-hero {
  padding: 2.25rem 0 2rem;
  background: linear-gradient(180deg, var(--surface-tint) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.prose {
  max-width: 74ch;
}

.prose h2 {
  margin: 2.25rem 0 0.65rem;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.prose p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose a {
  color: var(--accent);
  font-weight: 600;
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  margin: 1.25rem 0;
}

.app-card-highlight {
  background: var(--surface-tint);
  border-color: var(--accent);
}

.app-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.65rem;
}

.app-card-header h2,
.app-card-header h3 {
  margin: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.25rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
}

.comparison-table th,
.comparison-table td {
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.comparison-table th {
  background: var(--surface-tint);
  font-weight: 700;
  color: var(--ink);
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.price-checked {
  margin: 0.75rem 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--surface-tint);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

.related-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 2rem;
}

.related-box h2 {
  margin: 0 0 0.7rem;
  font-size: 1.15rem;
}

.related-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.related-links a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.related-links a:hover {
  text-decoration: underline;
}

.signup-band {
  max-width: 620px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.65rem 0 2.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-inner a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }

  .pricing-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
  }

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

@media (min-width: 880px) {
  .hero {
    padding: 3.25rem 0 3.5rem;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
