/* ORQADOS marketing site — light-first, brand-aligned with the ORQADOS SaaS design tokens
   (navy #0f1a33, gold #b8892f, warm-white surfaces, dark-navy text). Self-contained: the
   marketing site never imports the SaaS app's runtime, only shares brand primitives. */

:root {
  --navy: #0f1a33;
  --navy-2: #16233f;
  --navy-strong: #0a1226;
  --gold: #b8892f;
  --gold-soft: #c9a24b;
  --bg: #f5f7fa;
  --bg-2: #eef1f6;
  --white: #ffffff;
  --text: #141b2d;
  --text-2: #55607a;
  --border: #e3e7ee;
  --ok: #1f8a5b;
  --warn: #b9791f;
  --info: #2f6fed;
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1120px;
  --shadow: 0 10px 30px rgba(20, 27, 45, 0.08);
  --shadow-sm: 0 2px 10px rgba(20, 27, 45, 0.06);
  --font:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}
:focus-visible {
  outline: 2px solid var(--info);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 0.12s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-lg {
  padding: 14px 26px;
  font-size: 16px;
}
.btn-primary {
  background: var(--gold);
  color: #23180a;
}
.btn-primary:hover {
  background: var(--gold-soft);
}
.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}
.btn-ghost {
  color: var(--navy);
  background: var(--bg-2);
}
.btn-ghost:hover {
  background: #e3e7ef;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 250, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-emblem {
  width: 34px;
  height: 34px;
}
.nav-wordmark {
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--navy);
  font-size: 18px;
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: 8px;
  flex: 1;
}
.nav-links a {
  color: var(--text-2);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover {
  color: var(--navy);
}
.nav-cta {
  display: flex;
  gap: 10px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 16px 24px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.nav-mobile a {
  padding: 10px 4px;
  color: var(--text);
  font-weight: 500;
}
.nav-mobile .btn {
  margin-top: 6px;
}

/* Hero */
.hero {
  padding: 72px 0 32px;
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(15, 26, 51, 0.06), transparent 60%), var(--bg);
}
.hero-inner {
  max-width: 820px;
}
.eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 12.5px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
}
.lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-2);
  margin-top: 20px;
  max-width: 680px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-note {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 15px;
}
.hero-figure {
  margin-top: 44px;
}

/* Product mock */
.mock {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.mock-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cdd3de;
}
.mock-title {
  margin-left: 8px;
  font-size: 13px;
  color: var(--text-2);
  font-weight: 600;
}
.mock-body {
  display: grid;
  grid-template-columns: 200px 1fr;
}
.mock-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-right: 1px solid var(--border);
  background: var(--white);
}
.mock-navitem {
  font-size: 13.5px;
  color: var(--text-2);
  padding: 8px 10px;
  border-radius: 8px;
}
.mock-navitem.is-active {
  color: var(--navy);
  font-weight: 600;
  background: var(--bg-2);
  box-shadow: inset 3px 0 0 var(--navy);
}
.mock-main {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.mock-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  background: var(--white);
}
.mock-card b {
  font-size: 22px;
  color: var(--navy);
}
.mock-card small {
  display: block;
  color: var(--text-2);
  font-size: 12px;
  margin-top: 2px;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--text);
}
.chip {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.chip-info {
  background: rgba(47, 111, 237, 0.12);
  color: var(--info);
}
.chip-warn {
  background: rgba(185, 121, 31, 0.14);
  color: var(--warn);
}
.chip-ok {
  background: rgba(31, 138, 91, 0.12);
  color: var(--ok);
}

/* Sections */
.section {
  padding: 76px 0;
}
.section-alt {
  background: var(--bg-2);
}
.section-navy {
  background: linear-gradient(180deg, var(--navy), var(--navy-strong));
  color: #eaeefb;
}
.section-navy .section-title {
  color: #fff;
}
.section-navy .section-lede {
  color: #c3cbe4;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-wrap: balance;
}
.section-lede {
  color: var(--text-2);
  font-size: 18px;
  margin-top: 14px;
  max-width: 760px;
}
.section-close {
  margin-top: 26px;
  font-size: 19px;
  color: var(--text);
}
.section-note {
  margin-top: 22px;
  color: var(--text-2);
  font-size: 14px;
}
.center-narrow {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.center-narrow .section-lede,
.center-narrow .hero-actions {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

/* Grid + cards */
.grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.card h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 6px;
}
.card p {
  color: var(--text-2);
  font-size: 14.5px;
}
.card-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.card-dark h3 {
  color: #fff;
}
.card-dark p {
  color: #c3cbe4;
}

/* Problem */
.problem-grid {
  margin-top: 30px;
}
.line-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
}

/* Modules */
.module {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.module-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(184, 137, 47, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
}
.module h3 {
  font-size: 20px;
  color: var(--navy);
  margin: 14px 0 10px;
  line-height: 1.25;
}
.module-audience {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.module ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.module li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  font-size: 14.5px;
}
.module li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.split-copy p {
  color: var(--text-2);
  font-size: 16px;
  margin-top: 16px;
}
.tree {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.tree-root {
  font-weight: 700;
  color: var(--navy);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.tree ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tree li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
}
.pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill-org {
  background: rgba(31, 138, 91, 0.12);
  color: var(--ok);
}
.pill-bu {
  background: rgba(47, 111, 237, 0.12);
  color: var(--info);
}
.pill-user {
  background: rgba(184, 137, 47, 0.14);
  color: var(--gold);
}
.knowledge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.knowledge-list span {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.steps li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.steps h3 {
  color: var(--navy);
  font-size: 17px;
  margin-bottom: 6px;
}
.steps p {
  color: var(--text-2);
  font-size: 14.5px;
}

/* Use cases */
.usecase {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.usecase-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.usecase p {
  color: var(--text);
  font-size: 15px;
  margin-top: 12px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 34px 0 30px;
  text-align: left;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.price-card h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 10px;
}
.price-card p,
.price-card li {
  color: var(--text-2);
  font-size: 14.5px;
}
.price-card ul {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.price-core {
  border-top: 3px solid var(--gold);
}

/* Final CTA */
.cta-final {
  background: linear-gradient(180deg, var(--navy), var(--navy-strong));
  color: #fff;
  text-align: center;
}
.cta-final h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.2;
}
.cta-final .hero-actions {
  justify-content: center;
  margin-top: 26px;
}
.link-quiet {
  color: #c3cbe4;
  text-decoration: underline;
  font-size: 15px;
}

/* Demo form */
.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-wide {
  grid-column: 1 / -1;
}
.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.field .opt {
  color: var(--text-2);
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--info);
}
.form-status {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-2);
}
.form-status.is-ok {
  color: var(--ok);
}
.form-status.is-err {
  color: #c8322e;
}

/* Footer */
.footer {
  background: var(--navy-strong);
  color: #c3cbe4;
  padding: 44px 0 26px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer .nav-wordmark {
  color: #fff;
}
.footer-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #8b97b8;
  margin-top: 4px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.footer-links a {
  color: #c3cbe4;
  font-size: 14px;
}
.footer-links a:hover {
  color: #fff;
}
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: #8b97b8;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }
  .nav-mobile[data-open="true"] {
    display: flex;
  }
  .grid-3,
  .steps,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .module-grid {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mock-body {
    grid-template-columns: 1fr;
  }
  .mock-side {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .mock-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .section {
    padding: 56px 0;
  }
  .grid-2,
  .grid-3,
  .steps,
  .pricing-grid,
  .demo-form {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 48px 0 20px;
  }
  .footer-inner {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
