/* Legal preview: readable text pages, using the existing brand. */
.legal-page { max-width: 860px; padding-block: 64px 88px; overflow-wrap: anywhere; }
.legal-page h1 { font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.08; margin-bottom: 32px; }
.legal-page h2 { font-size: 1.4rem; line-height: 1.3; margin-bottom: 16px; }
.legal-page .eyebrow { color: var(--muted); }
.legal-page section { margin-top: 40px; }
.legal-page p, .legal-page address { font-size: 1rem; line-height: 1.8; margin-bottom: 16px; }
.legal-page address { font-style: normal; }
.legal-notice { padding: 20px; border: 1px solid var(--border); border-left: 3px solid #9bbddf; }
.legal-page a, .pricing-disclosure a, .site-footer p a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.footer-links { flex-wrap: wrap; }
.site-footer p { overflow-wrap: anywhere; }
@media (max-width: 640px) { .legal-page { padding-block: 40px 56px; } }
.feature-details { margin-top: 48px; }
.feature-details h3 { font-size: 1.5rem; }
.feature-details dl { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 48px; }
.feature-details dl > div { padding: 20px 0; border-bottom: 1px solid var(--border); }
.feature-details dt { font-weight: 600; margin-bottom: 6px; }
.feature-details dd { margin: 0; color: var(--muted); line-height: 1.65; }
.feature-details > p { color: var(--muted); margin-top: 24px; }
@media (max-width: 640px) { .feature-details dl { grid-template-columns: 1fr; } }
.demo-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.demo-choice { appearance: none; min-height: 44px; padding: 10px 16px; font: inherit; color: var(--ink); background: transparent; border: 1px solid var(--border); border-radius: 999px; cursor: default; }
.demo-choice.feature-highlight { color: white; background: var(--blue); border-color: var(--blue); }
.demo-choice:focus-visible { outline: 3px solid var(--blue-focus); outline-offset: 3px; }
.feature-demo-layout { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); align-items: center; gap: 40px; }
.feature-demo-copy h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; }
.feature-demo-copy p { color: var(--muted); line-height: 1.7; }
.feature-demo-copy .demo-note { font-size: .85rem; margin-top: 24px; }
.feature-demo-device { margin: 0; min-width: 0; text-align: center; }
.feature-demo-device img { width: 100%; height: auto; aspect-ratio: 1079 / 818; object-fit: contain; background: var(--dark); border-radius: 12px; }
.feature-demo-device figcaption { color: var(--muted); font-size: .8rem; margin-top: 12px; }
@media (max-width: 700px) {
 .feature-demo-layout { grid-template-columns: 1fr; gap: 20px; }
 .demo-choices { flex-wrap: nowrap; overflow-x: auto; padding: 5px 4px 12px; }
 .demo-choice { flex-shrink: 0; }
 .feature-demo-device { width: min(100%, 290px); margin-inline: auto; }
 .feature-demo-device img { aspect-ratio: 255 / 538; }
}
@font-face {
  font-family: "Space Grotesk";
  src: url("assets/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #306192;
  --blue-hover: #224d79;
  --blue-focus: #4879aa;
  --dark: #171b22;
  --dark-panel: #202731;
  --dark-text: #eef2f6;
  --dark-muted: #b6c0cb;
  --canvas: #f4f6f8;
  --surface: #ffffff;
  --ink: #20262e;
  --wordmark: #25303f;
  --muted: #536171;
  --border: #dce4ec;
  --radius: 18px;
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

img,
picture {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 100;
  transform: translateY(-180%);
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(12, 17, 23, 0.18);
  transition: transform 180ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--blue-focus);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 27, 34, 0.96);
  border-bottom: 1px solid rgba(238, 242, 246, 0.08);
}

.header-inner {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--dark-text);
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 44px;
}

.brand-name {
  font-size: 1.13rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--dark-text);
  text-transform: lowercase;
}

.site-nav .nav-register { width: auto; flex-shrink: 0; min-height: 44px; padding: 10px 16px; font-size: 0.95rem; }
@media (max-width: 480px) {
  .header-inner:has(.nav-register) { gap: 8px; }
  .header-inner:has(.nav-register) .brand-name { display: none; }
  .site-nav:has(.nav-register) { gap: 4px; }
  .site-nav .nav-register { padding-inline: 12px; font-size: 0.91rem; }
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(6px, 1.4vw, 18px);
}

.nav-link,
.nav-login {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 14px;
  color: rgba(238, 242, 246, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-link:hover,
.nav-login:hover {
  color: var(--dark-text);
  background: rgba(238, 242, 246, 0.07);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 19px;
  font: inherit;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

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

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

.button-secondary {
  background: transparent;
  color: var(--dark-text);
  border-color: rgba(238, 242, 246, 0.22);
}

.button-secondary:hover {
  background: rgba(238, 242, 246, 0.07);
  border-color: rgba(238, 242, 246, 0.34);
}

:focus-visible {
  outline: 3px solid var(--blue-focus);
  outline-offset: 4px;
}

.site-header :focus-visible,
.hero :focus-visible {
  outline-color: #9bbddf;
}

.hero {
  position: relative;
  overflow: clip;
  background: var(--dark);
  color: var(--dark-text);
  isolation: isolate;
}

.hero-grid {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  min-height: clamp(680px, calc(100svh - var(--header-height)), 850px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.34fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding-block: clamp(76px, 10vw, 132px) clamp(70px, 8vw, 112px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--dark-muted);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.25rem, 4.5vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  font-weight: 600;
  text-wrap: balance;
}

.hero-description {
  margin: 26px 0 0;
  max-width: 500px;
  color: var(--dark-muted);
  font-size: clamp(1.08rem, 1.35vw, 1.25rem);
  line-height: 1.58;
  letter-spacing: -0.015em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  margin: 18px 0 0;
  color: rgba(182, 192, 203, 0.78);
  font-size: 0.91rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(56vw, 740px);
  min-width: 0;
  margin: 0;
  margin-right: clamp(-34px, -2.6vw, -10px);
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: min(68vh, 680px);
  object-fit: contain;
  object-position: center right;
  background: var(--dark);
}

.hero-caption {
  margin: 14px 0 0;
  color: rgba(182, 192, 203, 0.72);
  font-size: 0.82rem;
  text-align: right;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.features {
  background: var(--canvas);
  padding-block: clamp(82px, 10vw, 132px);
}

.section-heading {
  max-width: 780px;
  margin: 0 0 clamp(34px, 5vw, 58px);
}

.section-heading .eyebrow,
.features .eyebrow,
.workflow .eyebrow,
.closing .eyebrow {
  color: var(--blue);
}

.section-heading h2,
.workflow h2,
.closing h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 600;
  text-wrap: balance;
}

.section-heading p,
.workflow p,
.closing p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature {
  min-width: 0;
  padding: clamp(26px, 4vw, 42px) clamp(20px, 3vw, 34px);
  background: transparent;
  border-right: 1px solid var(--border);
}

.feature:last-child {
  border-right: 0;
}

.feature-index {
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.feature h3,
.workflow-step h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.22rem, 1.6vw, 1.5rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.feature p,
.workflow-step p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.workflow {
  background: var(--surface);
  padding-block: clamp(78px, 9vw, 124px);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(34px, 5vw, 56px);
  background: var(--border);
  border: 1px solid var(--border);
}

.workflow-step {
  min-width: 0;
  padding: clamp(26px, 3.5vw, 38px);
  background: var(--surface);
}

.workflow-step::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 28px;
  background: var(--blue);
}

.closing {
  background: var(--canvas);
  padding: clamp(80px, 10vw, 130px) 0;
}

.closing-inner {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(28px, 6vw, 72px);
  padding-top: clamp(34px, 5vw, 54px);
  border-top: 1px solid var(--border);
}

.closing .button-secondary {
  color: var(--ink);
  border-color: var(--border);
}

.closing .button-secondary:hover {
  background: #edf4fb;
  border-color: #cbd9e6;
}

.site-footer {
  background: var(--surface);
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer-inner {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  min-height: 96px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 20px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--blue);
}

@media (max-width: 980px) {
  :root {
    --header-height: 74px;
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .site-nav {
    gap: 2px;
  }

  .nav-link:not(.nav-login) {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 46px;
    padding-block: clamp(58px, 10vw, 88px) clamp(42px, 8vw, 72px);
  }

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

  .hero-title {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 760px);
    justify-self: center;
    margin-right: 0;
  }

  .hero-image {
    max-height: 520px;
    object-position: center;
  }

  .hero-caption {
    text-align: left;
  }

  .feature-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .closing-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 18px;
  }

  html {
    scroll-behavior: auto;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-name {
    font-size: 1.03rem;
  }

  .nav-login {
    padding-inline: 12px;
    font-size: 0.91rem;
  }

  .hero-grid {
    padding-block: 48px 46px;
    gap: 34px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 13vw, 3rem);
    line-height: 0.98;
    letter-spacing: -0.058em;
  }

  .hero-description {
    margin-top: 22px;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 28px;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-image {
    max-height: 360px;
  }

  .features,
  .workflow,
  .closing {
    padding-block: 64px;
  }

  .section-heading h2,
  .workflow h2,
  .closing h2 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .feature {
    padding-inline: 0;
  }

  .feature-grid {
    border-bottom: 0;
  }

  .workflow-grid {
    border-inline: 0;
  }

  .workflow-step {
    padding-inline: 0;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .button:hover {
    transform: none;
  }
}

/* Pricing: one company plan, not a tier comparison wall. */
.hero-price { color: var(--dark-muted); }
.hero-price strong { color: var(--dark-text); font-weight: 500; }
.pricing { padding-block: 90px; background: var(--surface); scroll-margin-top: 30px; }
.pricing .eyebrow { color: var(--blue); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 40px; }
.price-base { padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--canvas); }
.price-base h3,.price-option h3 { font-size: 24px; margin: 0; letter-spacing: -.03em; }
.price-amount { font-size: 72px; font-weight: 600; line-height: 1.1; letter-spacing: -.055em; margin: 18px 0; }
.price-amount span,.price-extra span { font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.price-includes { padding-left: 20px; margin: 24px 0 30px; line-height: 2; }
.price-options { display: grid; align-content: start; }
.price-option { padding: 28px 0; border-bottom: 1px solid var(--border); }
.price-option:first-child { padding-top: 8px; }
.price-option p { color: var(--muted); max-width: 440px; }
.price-option .price-extra { color: var(--ink); font-size: 36px; font-weight: 600; margin: 12px 0; letter-spacing: -.03em; }
.pricing-status { font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.pricing-example { padding-top: 26px; margin-top: 32px; border-top: 1px solid var(--border); }
.pricing-disclosure,.secondary-features { font-size: 14px; color: var(--muted); max-width: 780px; }
@media (max-width: 720px) {
 .pricing { padding-block: 64px; }
 .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
 .price-base { padding: 24px; }
 .price-amount { font-size: 64px; }
}
