:root {
  --bg: #f7f9fc;
  --bg-strong: #eef3f8;
  --surface: #ffffff;
  --surface-ink: #0f1724;
  --ink: #142033;
  --muted: #5f6d7d;
  --soft: #dbe4ed;
  --line: #cbd7e3;
  --navy: #0d1b2e;
  --navy-2: #132a45;
  --teal: #20c7a0;
  --amber: #f3bd35;
  --magenta: #d85c82;
  --blue: #2f7eea;
  --danger: #b4233a;
  --success: #0f8f68;
  --shadow: 0 20px 60px rgba(16, 31, 53, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: calc(var(--max) + 56px);
  margin: 0 auto;
  padding: 16px 28px;
  background: rgba(247, 249, 252, 0.92);
  border-bottom: 1px solid rgba(203, 215, 227, 0.75);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--surface-ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  border-radius: var(--radius);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a,
.footer-links a,
.language-link {
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover,
.language-link:hover {
  color: var(--surface-ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.language-link {
  color: var(--muted);
  font-weight: 750;
  font-size: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 760;
  font-size: 0.96rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button[disabled],
.button[aria-busy="true"] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button:focus,
input:focus,
select:focus,
.link-button:focus {
  outline: 3px solid rgba(47, 126, 234, 0.25);
  outline-offset: 2px;
}

.button-primary {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.button-primary:hover {
  background: #256fd2;
}

.button-ghost {
  color: var(--navy);
  background: #ffffff;
  border-color: var(--line);
}

.button-ghost:hover {
  border-color: var(--blue);
}

.button-plain {
  color: var(--ink);
  background: transparent;
  border-color: transparent;
  min-height: 40px;
  padding: 0 10px;
}

.button-small {
  min-height: 38px;
  padding: 0 15px;
  font-size: 0.9rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(520px, 1.17fr);
  gap: 46px;
  align-items: center;
  width: 100%;
  max-width: calc(var(--max) + 56px);
  margin: 0 auto;
  padding: 70px 28px 48px;
}

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

.section-label {
  margin: 0 0 14px;
  color: #176f62;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--surface-ink);
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lede {
  margin: 24px 0 0;
  color: #344256;
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
}

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

.hero-media,
.screenshot-frame {
  overflow: hidden;
  background: var(--navy);
  border: 1px solid #1d3554;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img,
.screenshot-frame img {
  width: 100%;
}

.hero-media {
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.section {
  width: 100%;
  max-width: calc(var(--max) + 56px);
  margin: 0 auto;
  padding: 68px 28px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.media-copy h2,
.waitlist-panel h2,
.legal-document h1,
.confirmation-card h1 {
  margin: 0;
  color: var(--surface-ink);
  font-size: 2.35rem;
  line-height: 1.14;
  letter-spacing: 0;
}

.section-heading p:not(.section-label),
.media-copy p,
.waitlist-panel p,
.legal-intro {
  color: var(--muted);
  font-size: 1.04rem;
}

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

.feature-card,
.workflow-grid article,
.phase-steps article,
.faq-grid article {
  min-height: 190px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--navy);
  background: #d9f7ef;
  border: 1px solid #afeadc;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 850;
}

.feature-card:nth-child(2n) .feature-icon {
  background: #fff0c8;
  border-color: #f6d77b;
}

.feature-card:nth-child(3n) .feature-icon {
  background: #fde5ee;
  border-color: #f2b2c8;
}

.feature-card-wide {
  grid-column: 1 / -1;
  min-height: 0;
}

.feature-card h3,
.workflow-grid h3,
.phase-steps h3,
.faq-grid h3 {
  margin: 0 0 10px;
  color: var(--surface-ink);
  font-size: 1.08rem;
  line-height: 1.28;
}

.feature-card p,
.workflow-grid p,
.phase-steps p,
.faq-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.media-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  align-items: center;
  background: var(--bg-strong);
  max-width: none;
}

.media-section > * {
  max-width: var(--max);
}

.media-copy {
  justify-self: end;
  width: min(470px, 100%);
  padding-left: 28px;
}

.screenshot-frame {
  margin-right: 28px;
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 28px;
  color: #344256;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 50%;
}

.phase-steps,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.workflow-grid span,
.phase-steps span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 850;
}

.waitlist-section {
  padding-top: 48px;
}

.waitlist-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 34px;
  align-items: start;
  padding: 36px;
  color: #ffffff;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.waitlist-panel h2,
.waitlist-panel .section-label {
  color: #ffffff;
}

.waitlist-panel .section-label {
  color: var(--teal);
}

.waitlist-panel p {
  color: #bfd0e2;
}

.waitlist-form {
  padding: 22px;
  background: #102641;
  border: 1px solid #27415f;
  border-radius: var(--radius);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.waitlist-form.is-submitting {
  border-color: rgba(47, 126, 234, 0.75);
  box-shadow: 0 0 0 3px rgba(47, 126, 234, 0.16);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-full {
  grid-column: 1 / -1;
}

.waitlist-form label {
  display: block;
}

.waitlist-form label span {
  display: block;
  margin-bottom: 7px;
  color: #dbe8f5;
  font-size: 0.9rem;
  font-weight: 720;
}

.waitlist-form em {
  color: #91a6bd;
  font-style: normal;
  font-weight: 520;
}

.waitlist-form input[type="email"],
.waitlist-form input[type="text"],
.waitlist-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  color: #ffffff;
  background: #0b1c31;
  border: 1px solid #365371;
  border-radius: var(--radius);
}

.privacy-check {
  display: flex;
  gap: 10px;
  margin: 16px 0;
  color: #c9d8e7;
  font-size: 0.9rem;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.privacy-check span {
  display: inline;
  margin: 0;
  color: #c9d8e7;
  font-weight: 500;
}

.privacy-check a {
  color: #ffffff;
  font-weight: 760;
}

.form-hint {
  margin: 12px 0 0;
  color: #91a6bd;
  font-size: 0.86rem;
  line-height: 1.45;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 12px;
  color: #dbe8f5;
  font-size: 0.94rem;
}

.form-status:not(:empty) {
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
}

.form-status.is-error {
  color: #ffb9c4;
  background: rgba(255, 87, 116, 0.11);
  border-color: rgba(255, 185, 196, 0.24);
}

.form-status.is-loading {
  color: #dbe8f5;
  background: rgba(47, 126, 234, 0.16);
  border-color: rgba(126, 177, 255, 0.32);
}

.form-status.is-success {
  color: #9ff2d4;
  background: rgba(45, 176, 140, 0.13);
  border-color: rgba(159, 242, 212, 0.28);
}

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

.legal-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 28px 80px;
}

.legal-document,
.confirmation-card {
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16, 31, 53, 0.08);
}

.legal-document h2 {
  margin: 34px 0 10px;
  color: var(--surface-ink);
  font-size: 1.3rem;
  line-height: 1.25;
}

.legal-document p {
  color: #3f4f63;
}

.confirmation-shell {
  min-height: 54vh;
  display: flex;
  align-items: center;
}

.confirmation-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.site-footer {
  max-width: calc(var(--max) + 56px);
  margin: 0 auto;
  padding: 34px 28px 46px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
}

.footer-main p,
.risk-note,
.copyright {
  color: var(--muted);
}

.footer-main p {
  max-width: 560px;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  color: var(--ink);
  font-weight: 700;
}

.link-button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.risk-note {
  margin: 24px 0 0;
  font-size: 0.92rem;
}

.copyright {
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
  color: #ffffff;
  background: #081523;
  border: 1px solid #24405d;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin: 4px 0 0;
  color: #c9d8e7;
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(8, 21, 35, 0.58);
}

.cookie-dialog {
  width: min(620px, 100%);
  padding: 28px;
  color: var(--ink);
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-dialog h2 {
  margin: 0 0 10px;
  color: var(--surface-ink);
  font-size: 1.45rem;
}

.toggle-row {
  display: flex;
  gap: 12px;
  margin: 16px 0;
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
}

.toggle-row input {
  margin-top: 4px;
  flex-shrink: 0;
}

.cookie-dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1040px) {
  .hero,
  .media-section,
  .waitlist-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 46px;
  }

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

  .hero-media {
    transform: none;
  }

  .media-copy {
    justify-self: start;
    width: auto;
    max-width: 760px;
    padding: 0 28px;
  }

  .screenshot-frame {
    margin: 0 28px;
  }

  .feature-grid,
  .workflow-grid,
  .phase-steps,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
    padding: 14px 18px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    gap: 16px;
    white-space: nowrap;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero,
  .section,
  .legal-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .hero-lede {
    font-size: 1.04rem;
  }

  .section-heading h2,
  .media-copy h2,
  .waitlist-panel h2,
  .legal-document h1,
  .confirmation-card h1 {
    font-size: 1.9rem;
  }

  .feature-grid,
  .workflow-grid,
  .phase-steps,
  .faq-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .media-copy,
  .screenshot-frame {
    padding: 0;
    margin: 0 18px;
  }

  .waitlist-panel,
  .legal-document,
  .confirmation-card {
    padding: 24px;
  }

  .footer-main,
  .cookie-banner {
    display: block;
  }

  .cookie-actions {
    justify-content: flex-start;
    margin-top: 14px;
  }
}

@media (max-width: 440px) {
  .brand span {
    font-size: 0.98rem;
  }

  .button {
    width: 100%;
  }

  .header-actions .button {
    width: auto;
  }

  .hero-actions {
    display: block;
  }

  .hero-actions .button + .button {
    margin-top: 10px;
  }

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

  .privacy-check {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}
