/* Construct Lifecycle — marketing site styles
   Palette and type from Construct LC Design System v1.0 */

/* Inter (variable, latin subset), self-hosted: no third-party requests. SIL OFL 1.1, see assets/fonts/OFL-Inter.txt */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #062B55;
  --blue: #1479C9;
  --blue-light: #39A8F0;
  --gray: #6B7075;
  --gray-light: #F3F5F7;
  --border: #D9DEE3;
  --white: #FFFFFF;
  --ink: #0F1E33;
  --success: #18864B;
  --measure: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: 40px; line-height: 48px; }
h2 { font-size: 32px; line-height: 40px; }
h3 { font-size: 24px; line-height: 32px; }
h4 { font-size: 20px; line-height: 28px; font-weight: 600; }
p { margin: 0 0 16px; }
.lede { font-size: 20px; line-height: 30px; color: var(--gray); max-width: 38em; }
.muted { color: var(--gray); }
.small { font-size: 14px; line-height: 20px; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 700; }
.brand img { height: 52px; width: auto; }
.brand:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 15px; }
.nav a { color: var(--navy); }
.nav a:hover { color: var(--blue); text-decoration: none; }
.nav .btn { margin-left: 8px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--white); } /* .nav a would otherwise turn button text navy (3.1:1) */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px; border-radius: 6px;
  font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #1068AD; }
.btn-outline { border-color: var(--border); color: var(--navy); background: var(--white); }
.btn-outline:hover { border-color: var(--navy); }
.btn-on-navy { border-color: rgba(255,255,255,.35); color: var(--white); background: transparent; }
.btn-on-navy:hover { border-color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 88px 0 72px;
}
.hero h1 { max-width: 16em; }
.hero .lede { color: rgba(255,255,255,.78); margin-top: 20px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* The lifecycle rail — the one structural device on the page */
.rail { margin-top: 72px; }
.rail-caption { font-size: 14px; line-height: 20px; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.rail-track {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.rail-track li {
  position: relative;
  padding-top: 16px;
  font-size: 14px; line-height: 20px; font-weight: 600;
  letter-spacing: .02em;
  color: rgba(255,255,255,.88);
}
.rail-track li::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 6px; border-radius: 1px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  opacity: calc(.42 + var(--i) * .08);
}
.rail-track li span { display: block; font-weight: 400; color: rgba(255,255,255,.55); letter-spacing: 0; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-light); }
.section-head { max-width: 40em; margin-bottom: 44px; }
.section-head p { margin-top: 12px; color: var(--gray); font-size: 18px; line-height: 28px; }

/* Stages list: a true sequence, laid out as a two-column definition list */
.stages {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px;
  margin: 0; padding: 0;
}
.stages > div {
  display: grid; grid-template-columns: 40px 1fr; gap: 0 16px;
  padding: 20px 0; border-top: 1px solid var(--border);
}
.stages .n { font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.stages dt { font-weight: 600; font-size: 18px; line-height: 26px; }
.stages dd { margin: 4px 0 0; color: var(--gray); }

/* Answers list (the design north star questions) */
.answers {
  columns: 2; column-gap: 48px;
  list-style: none; margin: 0; padding: 0;
  font-size: 18px; line-height: 28px; font-weight: 500; color: var(--navy);
}
.answers li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--border); }


/* ---------- Project management spine ---------- */
.spine { border: 1px solid var(--border); background: var(--white); padding: 24px 28px 8px; }
.spine-stages {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px;
  font-size: 13px; line-height: 18px; font-weight: 600; color: var(--navy);
  padding-bottom: 14px; border-bottom: 2px solid var(--navy);
}
.spine-stages span { position: relative; padding-top: 12px; }
.spine-stages span::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}
.spine-threads { list-style: none; margin: 0; padding: 0; }
.spine-threads li {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  position: relative;
}
.spine-threads li:last-child { border-bottom: 0; }
.spine-threads strong { font-weight: 600; color: var(--navy); }
.spine-threads span { color: var(--gray); }
.spine-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 36px; }
.spine-foot h4 { margin-bottom: 8px; }
@media (max-width: 900px) {
  .spine-stages { grid-template-columns: repeat(4, 1fr); row-gap: 12px; }
  .spine-threads li { grid-template-columns: 1fr; gap: 4px; }
  .spine-foot { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .spine { padding: 20px 20px 4px; }
  .spine-stages { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Plans ---------- */
.plans {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--border);
}
.plan { padding: 36px 32px 40px; border-right: 1px solid var(--border); }
.plan:last-child { border-right: 0; }
.plan:first-child { padding-left: 0; }
.plan.featured { background: var(--gray-light); padding-left: 32px; }
.plan h3 { display: flex; align-items: baseline; gap: 12px; }
.plan .tag { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--navy); background: #F59E0B; padding: 2px 10px; border-radius: 999px; vertical-align: middle; } /* amber pill, 6.6:1 */
.plan .who { color: var(--gray); margin-top: 6px; min-height: 48px; }
.plan .price { margin-top: 24px; display: flex; align-items: baseline; gap: 6px; }
.plan .price .amt { font-size: 40px; line-height: 48px; font-weight: 700; letter-spacing: -0.02em; }
.plan .price .per { color: var(--gray); }
.plan .price .amt-text { font-size: 28px; line-height: 48px; }
.plan .annual { margin-top: 2px; color: var(--gray); font-size: 14px; line-height: 20px; }
.plan .btn { margin-top: 24px; width: 100%; }
.plan ul { list-style: none; margin: 28px 0 0; padding: 0; }
.plan li { padding: 8px 0 8px 26px; position: relative; border-top: 1px solid var(--border); }
.plan li::before {
  content: ""; position: absolute; left: 4px; top: 15px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue);
}
.plan li.dim { color: var(--gray); }
.plan li.dim::before { background: var(--border); }
.plan li .soon { color: var(--gray); white-space: nowrap; }
.plan .group { font-weight: 600; margin-top: 20px; }
.plans-note { margin-top: 28px; color: var(--gray); font-size: 14px; line-height: 20px; max-width: 48em; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.contact .big { font-size: 24px; line-height: 32px; font-weight: 600; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--border); }
.contact-list li:last-child { border-bottom: 1px solid var(--border); }
.contact-list strong { display: block; font-weight: 600; }
.contact-list a { color: #1068AD; } /* 5.3:1 on the gray section */

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 48px 0 40px; font-size: 14px; line-height: 20px; }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: start; }
.site-footer img { height: 40px; width: 40px; border-radius: 8px; }
.site-footer a { color: var(--white); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }

/* ---------- Legal pages ---------- */
.legal { max-width: 44em; padding: 64px 24px 96px; margin: 0 auto; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--gray); margin-bottom: 40px; }
.legal h2 { font-size: 24px; line-height: 32px; margin: 40px 0 12px; }
.legal h3 { font-size: 18px; line-height: 26px; margin: 24px 0 8px; font-weight: 600; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal address { font-style: normal; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .rail-track { grid-template-columns: repeat(4, 1fr); row-gap: 20px; }
  .plans { grid-template-columns: 1fr; border-top: 0; }
  .plan, .plan:first-child, .plan.featured { padding: 32px 0; border-right: 0; border-top: 1px solid var(--border); }
  .plan.featured { background: transparent; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .stages { grid-template-columns: 1fr; }
  .answers { columns: 1; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  h1 { font-size: 32px; line-height: 40px; }
  h2 { font-size: 26px; line-height: 34px; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 56px 0; }
  .nav { gap: 16px; }
  .nav .hide-sm { display: none; }
  .rail-track { grid-template-columns: repeat(2, 1fr); }
  .plan .price .amt { font-size: 32px; line-height: 40px; }
}

/* ---------- Wide screens ----------
   Scale the whole design proportionally (type, spacing, controls and content width together)
   so large monitors aren't a narrow column of small text. Laptops (< 1600px) are unchanged. */
@media (min-width: 1600px) { html { zoom: 1.1; } :root { --measure: 1180px; } }
@media (min-width: 1900px) { html { zoom: 1.2; } :root { --measure: 1200px; } }
@media (min-width: 2400px) { html { zoom: 1.4; } :root { --measure: 1240px; } }
@media (min-width: 3200px) { html { zoom: 1.8; } :root { --measure: 1240px; } }
