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

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #1e3a5f;
  --accent-soft: #e8eef5;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 1px 3px rgb(15 23 42 / 6%), 0 12px 40px rgb(15 23 42 / 8%);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(960px, 92vw);
  margin-inline: auto;
}

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

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.section-lead {
  margin: -0.5rem auto 2rem;
  max-width: 40rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 1rem 0;
  background: rgb(255 255 255 / 92%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff !important;
}

.nav-cta:hover {
  background: #152a45;
}

@media (max-width: 720px) {
  .site-nav a:not(.nav-cta):not([href="#faq"]) {
    display: none;
  }
}

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

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

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 18ch;
  margin-inline: auto;
}

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

.tagline {
  margin: 0 0 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

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

.btn-primary:hover {
  background: #152a45;
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
}

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

/* Stats */
.stats {
  padding: 0 0 3rem;
}

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

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.stat span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Problem */
.problem {
  padding: 3.5rem 0;
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.problem h2,
.solution h2,
.platform h2,
.features h2,
.differentiation h2 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.problem p {
  color: var(--text-muted);
}

.pull-quote {
  margin: 0;
  padding: 1.5rem;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.pull-quote p {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
}

.pull-quote footer {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.quote-row {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.quote-row blockquote {
  margin: 0;
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.quote-row p {
  margin: 0;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
}

/* Solution */
.solution {
  padding: 3.5rem 0;
}

.solution-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

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

.solution-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.solution-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Product screenshots */
.product {
  padding: 3.5rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.product-wrap {
  width: min(1024px, 94vw);
}

.product h2 {
  margin: 0 0 0.5rem;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.screenshot-grid {
  display: grid;
  gap: 2.5rem;
}

.screenshot-card {
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
  width: fit-content;
  max-width: 100%;
}

.screenshot-card img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.screenshot-card figcaption {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

/* Platform stages */
.platform {
  padding: 3.5rem 0;
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.stages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.stage-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.stage-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}

.stage-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.stage-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Features */
.features {
  padding: 3.5rem 0;
}

.features h2 {
  text-align: center;
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

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

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

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

/* Differentiation */
.differentiation {
  padding: 3.5rem 0;
  background: var(--accent);
  color: #fff;
}

.differentiation h2 {
  color: #fff;
}

.differentiation p {
  color: rgb(255 255 255 / 82%);
}

.check-list {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
  color: rgb(255 255 255 / 90%);
}

.check-list li {
  margin-bottom: 0.5rem;
}

.diff-panel {
  padding: 2rem;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--radius);
}

.diff-label {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: rgb(255 255 255 / 80%);
}

.diff-highlight {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* FAQ */
.faq {
  padding: 3.5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.faq h2 {
  margin: 0 0 0.5rem;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 42rem;
  margin-inline: auto;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

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

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

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

.faq-item summary:hover {
  background: var(--accent-soft);
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.faq-item p a {
  font-weight: 500;
}

/* Contact */
.contact {
  padding: 3.5rem 0 4rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.contact-inner {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
  }
}

.contact-intro h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-intro p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

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

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

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

.contact-form .btn {
  justify-self: start;
  border: none;
  cursor: pointer;
}

.contact-form .btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-status {
  margin: 0;
  font-size: 0.95rem;
}

.contact-status--success {
  color: #166534;
}

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

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

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

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.form-consent {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Legal pages */
.legal-page {
  padding: 2.5rem 0 4rem;
}

.legal-content {
  max-width: 42rem;
}

.legal-content h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal-meta {
  margin: 0 0 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.35rem;
}

.legal-back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
