/* Atria One marketing landing (light / white + muted blue) */

:root {
  --bg: #ffffff;
  --bg-tint: #f6f8fb;
  --text: #2a3344;
  --text-muted: #5c6678;
  --border: #e6eaf0;
  --primary: #5f7daf;
  --primary-hover: #4f6b96;
  --primary-soft: #eef2f8;
  --primary-line: #d8e0ec;
  --navy: #2c3545;
  --shadow: 0 1px 2px rgba(42, 51, 68, 0.05);
  --shadow-lg: 0 20px 48px -22px rgba(42, 51, 68, 0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --font: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: #fff;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.narrow {
  max-width: 720px;
  text-align: center;
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  line-height: 1.15;
}

.brand-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.brand-tagline {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-logo--footer {
  height: 26px;
}

.nav-list {
  display: flex;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
}

.nav-toggle:hover {
  background: var(--bg-tint);
}

.nav-toggle-icon {
  position: absolute;
  font-size: 1.25rem;
  color: var(--text);
  line-height: 1;
}

.nav-toggle-x {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-x {
  display: block;
}

.nav-mobile-cta {
  display: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav a {
    display: block;
    padding: 0.5rem 0;
  }

  .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }

  .btn-block {
    width: 100%;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(79, 107, 150, 0.18);
}

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

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-tint);
}

.btn-outline {
  background: var(--bg);
  color: var(--primary);
  border-color: var(--primary-line);
}

.btn-outline:hover {
  background: var(--primary-soft);
  color: var(--primary-hover);
  border-color: #c5d2e5;
}

.btn-lg {
  padding: 0.75rem 1.35rem;
  font-size: 1rem;
  border-radius: 11px;
}

.btn-on-dark {
  background: #fff;
  color: var(--primary);
  border: none;
  box-shadow: var(--shadow);
}

.btn-on-dark:hover {
  background: var(--bg);
  color: var(--primary-hover);
  box-shadow: 0 2px 8px rgba(42, 51, 68, 0.08);
}

/* Hero */

.hero {
  padding: 3rem 0 4rem;
  background: linear-gradient(180deg, #f9fafb 0%, var(--bg) 52%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem 3rem;
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: min(100%, 36rem);
    margin-inline: auto;
  }
}

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

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--navy);
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-stack-hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 28rem;
  line-height: 1.55;
}

.hero-stack-hint a {
  font-weight: 600;
  text-decoration: none;
}

.hero-stack-hint a:hover {
  text-decoration: underline;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-visual-glow {
  position: absolute;
  z-index: 0;
  inset: -12% -8% -8% -8%;
  background:
    radial-gradient(ellipse 68% 58% at 72% 42%, rgba(95, 125, 175, 0.07), transparent 58%),
    radial-gradient(ellipse 52% 48% at 18% 78%, rgba(95, 125, 175, 0.045), transparent 52%);
  pointer-events: none;
}

.browser-mock {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fcfcfd 0%, #f4f6f9 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.85) inset,
    0 22px 44px -24px rgba(42, 51, 68, 0.11),
    0 10px 20px -12px rgba(42, 51, 68, 0.06);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border);
}

.browser-traffic {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.12);
}

.browser-dot-close {
  background: #fb7185;
}

.browser-dot-min {
  background: #fbbf24;
}

.browser-dot-max {
  background: #4ade80;
}

.browser-bar {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.browser-lock-icon {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: #22c55e;
}

.browser-url {
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.browser-path {
  color: #94a3b8;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-spacer {
  width: 24px;
  flex-shrink: 0;
}

.browser-viewport {
  margin: 0;
  background: #fff;
  line-height: 0;
}

.browser-viewport img {
  width: 100%;
  display: block;
}

/* Sections */

.section {
  padding: 4rem 0;
}

.section-tint {
  background: var(--bg-tint);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--navy);
}

.section-lead {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

/* Platform band */

.platform-band {
  padding: 3.5rem 0;
  color: var(--text);
  background: linear-gradient(175deg, #fafbfd 0%, #f3f5f9 42%, #eceff5 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.platform-band .eyebrow {
  color: var(--primary);
}

.platform-editorial {
  max-width: 960px;
  margin-inline: auto;
}

.platform-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.platform-header .section-title {
  color: var(--navy);
}

.platform-lede {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.platform-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 800px) {
  .platform-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 1.75rem;
  }
}

.platform-col {
  margin: 0;
}

.platform-col-title {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-hover);
}

.platform-col p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Capabilities: spec sheet (not cards) */

.cap-intro {
  max-width: 560px;
  margin: 0 auto 2rem;
  text-align: center;
}

.cap-spec {
  margin: 0;
  max-width: 880px;
  margin-inline: auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cap-spec-row {
  display: grid;
  grid-template-columns: minmax(180px, 34%) 1fr;
  gap: 1.25rem 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.cap-spec-row:last-child {
  border-bottom: none;
}

@media (max-width: 640px) {
  .cap-spec-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

.cap-spec dt {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.cap-spec dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.cap-icon-fa {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 9px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  color: var(--primary);
  font-size: 0.9375rem;
}

/* Workflow */

.workflow-section {
  padding: 4rem 0 4.5rem;
  background: var(--bg);
}

.workflow-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.75rem;
}

.workflow-lead {
  margin-top: 0.5rem;
}

.workflow-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.workflow-track::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, #e8ecf2, #dde3ec, #d2dae6, #c8d2df);
  border-radius: 1px;
  z-index: 0;
}

@media (max-width: 900px) {
  .workflow-track {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .workflow-track::before {
    top: 0;
    bottom: 0;
    left: 1.35rem;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, #e8ecf2, #dde3ec, #d2dae6, #c8d2df);
  }
}

.workflow-step {
  position: relative;
  z-index: 1;
  padding: 0 1rem 1rem;
  text-align: center;
}

@media (max-width: 900px) {
  .workflow-step {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 1.25rem;
    text-align: left;
    padding: 1.25rem 0 1.25rem 0.25rem;
    border-bottom: 1px solid var(--border);
  }

  .workflow-step:last-child {
    border-bottom: none;
  }

  .workflow-step .workflow-marker {
    grid-row: 1 / -1;
  }

  .workflow-step h3 {
    grid-column: 2;
    margin-top: 0;
  }

  .workflow-step p {
    grid-column: 2;
  }
}

.workflow-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--primary-soft);
  border: 2px solid var(--primary-line);
  color: var(--primary-hover);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 0 6px var(--bg);
}

@media (max-width: 900px) {
  .workflow-marker {
    margin: 0;
  }
}

.workflow-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--navy);
}

.workflow-step p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 15rem;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .workflow-step p {
    max-width: none;
    margin-inline: 0;
  }
}

/* Integrations */

.integration-intro {
  max-width: 720px;
  margin-bottom: 2.25rem;
}

.integration-deck {
  margin-top: 0.5rem;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .integration-grid {
    grid-template-columns: 1fr;
  }
}

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

.integration-card-wide {
  grid-column: 1 / -1;
}

.integration-card-title {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.integration-card ul {
  margin: 0 0 0.85rem;
  padding: 0 0 0 1.1rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.integration-inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
}

.integration-inline-list li {
  padding: 0.35rem 0.75rem;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-hover);
}

.integration-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Assurance */

.assurance-strip {
  padding: 2.75rem 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.assurance-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 2.5rem;
}

.assurance-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.assurance-text {
  margin: 0;
  flex: 1;
  min-width: min(100%, 280px);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* CTA band */

.cta-band {
  background: linear-gradient(155deg, #f2f5fa 0%, #e8edf5 38%, #dfe6f0 100%);
  color: var(--navy);
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.cta-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  letter-spacing: -0.02em;
}

.cta-text {
  margin: 0;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.cta-band .btn-on-dark {
  flex-shrink: 0;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(79, 107, 150, 0.15);
}

.cta-band .btn-on-dark:hover {
  background: var(--primary-hover);
  color: #fff;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem 3rem;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-intro .section-title {
  text-align: left;
}

.contact-intro .section-lead {
  text-align: left;
}

.contact-note {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

.contact-form {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 520px) {
  .form-row.two {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #b4c0d4;
  box-shadow: 0 0 0 3px rgba(95, 125, 175, 0.12);
}

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

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-status {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.form-status.success {
  color: #15803d;
  font-weight: 500;
}

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

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  background: var(--bg-tint);
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--navy);
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-top {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-top:hover {
  color: var(--primary);
}
