:root {
  --prj-radius-large: 28px;
  --prj-radius-medium: 20px;
  --prj-outline: 2px solid #111111;
}

.prj-page {
  background: var(--bg);
  color: var(--text);
}

.prj-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 112px;
  padding-bottom: 120px;
}

.prj-section {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.prj-section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}

.prj-section-header p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.5;
}

.prj-hero {
  padding-top: 120px;
}

.prj-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.prj-eyebrow {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.prj-hero-subtitle {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 680px;
}

.prj-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-cta,
.waitlist-button {
  min-height: 48px;
}

.hero-cta.prj-outline,
.waitlist-button.prj-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.hero-cta.prj-outline:hover,
.hero-cta.prj-outline:focus-visible,
.waitlist-button.prj-outline:hover,
.waitlist-button.prj-outline:focus-visible {
  background: var(--surface);
  border-color: var(--text);
  color: var(--text);
}

.prj-hero-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--muted);
}

.prj-feature-grid,
.prj-roadmap-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.prj-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: var(--prj-radius-medium);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.02);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.05);
}

.prj-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.4;
}

.prj-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.prj-flow-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
  counter-reset: prj-steps;
}

.prj-flow-steps li {
  position: relative;
  padding: 24px 24px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: var(--prj-radius-medium);
  border: 1px solid var(--border);
  background: #ffffff;
}

.prj-flow-steps li::before {
  counter-increment: prj-steps;
  content: counter(prj-steps);
  position: absolute;
  top: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.prj-flow-steps h3 {
  margin: 0;
  font-size: 1.15rem;
}

.prj-flow-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.prj-mockup-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prj-device {
  margin: 0;
  position: relative;
  border-radius: var(--prj-radius-large);
  border: 1px solid var(--border);
  padding: 18px;
  background: radial-gradient(circle at 30% 20%, rgba(148, 163, 184, 0.12), transparent 65%), #ffffff;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
}

.prj-device-shell {
  position: relative;
  border-radius: calc(var(--prj-radius-large) - 4px);
  background: linear-gradient(180deg, #f9fafb 0%, #eef2f7 100%);
  padding: 16px;
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.18),
    inset 0 18px 32px rgba(148, 163, 184, 0.12);
}

.prj-device-screen {
  border-radius: calc(var(--prj-radius-large) - 14px);
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.prj-device-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.prj-form {
  display: grid;
  gap: 24px;
  padding: 36px;
  border-radius: var(--prj-radius-large);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 32px 72px rgba(15, 23, 42, 0.08);
}

.prj-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prj-field label {
  font-weight: 600;
  font-size: 0.95rem;
}

.prj-field input,
.prj-field textarea {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 18px;
  font: inherit;
  color: var(--text);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.prj-field input:focus-visible,
.prj-field textarea:focus-visible {
  border-color: var(--button-bg);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.12);
  outline: none;
}

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

.prj-submit {
  justify-content: center;
}

.prj-form-hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.prj-waitlist-note {
  margin: 0;
  max-width: 640px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.prj-form-feedback {
  margin: 0;
  font-size: 0.95rem;
  min-height: 1.2em;
}

.prj-form-feedback.is-success {
  color: #166534;
}

.prj-form-feedback.is-error {
  color: #b91c1c;
}

.prj-tier-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prj-tier {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  border-radius: var(--prj-radius-medium);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.08);
}

.prj-tier header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prj-tier-emoji {
  font-size: 2rem;
}

.prj-tier h3 {
  margin: 0;
  font-size: 1.25rem;
}

.prj-tier-price {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.prj-tier-result {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

.prj-tier-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.prj-tier ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
}

.prj-tier ul li {
  position: relative;
  padding-left: 18px;
}

.prj-tier ul li::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
}

.prj-tier .waitlist-button {
  justify-content: center;
  width: 100%;
}

.prj-sponsor-legal {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.prj-legal-links {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.prj-legal-links a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.prj-faq-items {
  display: grid;
  gap: 16px;
}

.prj-faq-items details {
  border: 1px solid var(--border);
  border-radius: var(--prj-radius-medium);
  padding: 20px 24px;
  background: #ffffff;
  transition: box-shadow 0.2s ease;
}

.prj-faq-items details[open] {
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.08);
}

.prj-faq-items summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.prj-faq-items p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.prj-footer {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  padding: 0 32px 120px;
}

.prj-footer-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  border-radius: var(--prj-radius-medium);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--muted);
}

.prj-footer-label {
  font-weight: 600;
  color: var(--text);
}

.prj-footer-logos {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prj-footer-logo {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.prj-mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border);
  box-shadow: 0 -18px 40px rgba(15, 23, 42, 0.12);
  gap: 12px;
  z-index: 999;
}

.prj-mobile-cta-bar .waitlist-button {
  flex: 1;
  justify-content: center;
}

.prj-mobile-cta-bar .waitlist-button {
  min-height: 48px;
}

.prj-mobile-cta-bar .prj-outline {
  min-height: 48px;
}

.hero-cta:focus-visible,
.waitlist-button:focus-visible {
  outline: var(--prj-outline);
  outline-offset: 3px;
}

@media (max-width: 1200px) {
  .prj-feature-grid,
  .prj-roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prj-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prj-mockup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .prj-main {
    gap: 96px;
  }

  .prj-section {
    gap: 36px;
  }

  .prj-form {
    padding: 28px;
  }
}

@media (max-width: 767px) {
  .prj-main {
    gap: 80px;
  }

  .prj-section {
    padding: 0 24px;
  }

  .prj-hero {
    padding-top: 96px;
  }

  .prj-feature-grid,
  .prj-mockup-grid,
  .prj-tier-grid {
    grid-template-columns: 1fr;
  }

  .prj-roadmap-grid {
    grid-template-columns: 1fr;
  }

  .prj-flow-steps {
    gap: 16px;
  }

  .prj-flow-steps li {
    padding: 64px 20px 20px;
  }

  .prj-flow-steps li::before {
    width: 40px;
    height: 40px;
    left: 20px;
    top: 20px;
  }

  .prj-form {
    padding: 24px;
  }

  .prj-footer-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .prj-mobile-cta-bar {
    display: flex;
  }

  .prj-page {
    padding-bottom: 96px;
  }
}

@media (max-width: 520px) {
  .prj-hero-ctas {
    flex-direction: column;
  }

  .hero-cta,
  .hero-cta.prj-outline {
    width: 100%;
    justify-content: center;
  }

  .prj-form {
    padding: 20px;
  }
}
