:root {
  --bg: #0f1419;
  --surface: #1a222d;
  --border: #2a3544;
  --text: #e8edf4;
  --muted: #8b9bb0;
  --accent: #c45c26;
  --accent-hover: #d96f35;
  --success: #3d9a6e;
  --max: 64rem;
  --max-narrow: 48rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 2rem, var(--max-narrow));
  margin-inline: auto;
}

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

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
}

.logo-mark {
  width: 2rem;
  height: 2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.nav a:not(.btn) {
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav a:not(.btn):hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

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

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

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent);
}

.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

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

.hero h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero .lead {
  margin: 1rem auto 0;
  max-width: 38rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.section {
  padding: 3rem 0;
}

.section-title {
  margin: 0;
  text-align: center;
  font-size: 1.75rem;
}

.section-subtitle {
  margin: 0.5rem auto 0;
  max-width: 36rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

.feature-card h3 {
  margin: 0;
  font-size: 1rem;
}

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

.pricing-table-wrap {
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.875rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.pricing-table th,
.pricing-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-top: 1px solid var(--border);
}

.pricing-table thead th {
  border-top: none;
  background: var(--surface);
}

.pricing-table th:not(:first-child),
.pricing-table td:not(:first-child) {
  text-align: center;
}

.pricing-table .pro-col {
  color: var(--accent);
}

.pricing-table .cell-included {
  font-weight: 600;
  color: var(--success);
}

.pricing-table .cell-included-pro {
  font-weight: 600;
  color: var(--accent);
}

.pricing-table .cell-limited {
  font-weight: 500;
  color: var(--accent);
}

.pricing-table .cell-excluded {
  font-weight: 300;
  color: var(--border);
}

.pricing-product-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .pricing-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .pricing-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.price-audience {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-table-four {
  min-width: 42rem;
}

.pricing-cards {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .pricing-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.price-card {
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  background: var(--surface);
  padding: 1.5rem;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent);
}

.price-card h3 {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.price-card .amount {
  margin: 0.5rem 0 0;
  font-size: 2.25rem;
  font-weight: 700;
}

.price-card .detail {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.price-card .btn {
  width: 100%;
  margin-top: 1.25rem;
}

.cta-band {
  margin: 3rem 0;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  border-radius: 1rem;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  padding: 2rem 1.5rem;
  text-align: center;
}

.cta-band h2 {
  margin: 0;
  font-size: 1.5rem;
}

.cta-band p {
  margin: 0.75rem auto 0;
  max-width: 32rem;
  color: var(--muted);
}

.cta-band .hero-actions {
  margin-top: 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.875rem;
}

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

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

.footer-links a:hover {
  color: var(--text);
}

.legal-page main {
  padding: 3rem 0 4rem;
}

.legal-page h1 {
  margin: 0;
  font-size: 2rem;
}

.legal-page .updated {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.legal-page section {
  margin-top: 2rem;
}

.legal-page h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.legal-page p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.legal-page p + p {
  margin-top: 0.75rem;
}

.legal-page a:not(.btn) {
  color: var(--accent);
}

.legal-page a:not(.btn):hover {
  text-decoration: underline;
}

.fine-print {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

.fine-print a {
  color: var(--accent);
}

.fine-print a:hover {
  text-decoration: underline;
}

/* Content pages (about, features, contact) */
.content-page main {
  padding: 2.5rem 0 4rem;
}

.content-page .page-hero {
  margin-bottom: 2.5rem;
}

.content-page .page-hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.content-page .page-hero .lead {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.content-page section {
  margin-top: 2.5rem;
}

.content-page h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.content-page p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.content-page p + p {
  margin-top: 0.75rem;
}

.content-page ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

.content-page li + li {
  margin-top: 0.35rem;
}

.content-page a:not(.btn) {
  color: var(--accent);
}

.content-page a:not(.btn):hover {
  text-decoration: underline;
}

/* Keep button labels readable on orange (content-page link color must not apply). */
.content-page a.btn-primary,
.content-page button.btn-primary {
  color: #fff;
}

.role-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

@media (min-width: 720px) {
  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.role-card {
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  background: var(--surface);
  padding: 1.5rem;
}

.role-card h3 {
  margin: 0;
  font-size: 1.125rem;
  color: var(--text);
}

.role-card .role-tag {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.role-card p {
  margin-top: 0.75rem;
}

.role-card ul {
  margin-top: 0.75rem;
}

.cta-inline {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  background: var(--surface);
  text-align: center;
}

.cta-inline p {
  margin-top: 0.5rem;
}

.cta-inline .hero-actions {
  justify-content: center;
  margin-top: 1rem;
}

.contact-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 50%, transparent);
  outline-offset: 1px;
}

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

.contact-status {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.contact-status--success {
  color: var(--success);
}

.contact-status--error {
  color: #e88a7a;
}

.contact-status--pending {
  color: var(--muted);
}

.nav-compact .nav {
  gap: 0.75rem 1rem;
}

@media (max-width: 640px) {
  .nav-compact .nav a:not(.btn) {
    font-size: 0.8125rem;
  }
}

.faq-group {
  margin-top: 2rem;
}

.faq-group h2 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  color: var(--text);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  background: var(--surface);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 0.875rem 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
}

.news-entry {
  margin-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.news-entry:last-of-type {
  border-bottom: none;
}

.news-date {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

.news-entry h2 {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.25rem;
  color: var(--text);
}

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

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.trust-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--text);
}

.trust-card p {
  margin: 0;
}

.trust-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

.diagram-text {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.625rem;
  border: 1px dashed var(--border);
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
