:root {
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --paper: #fff;
  --wash: #f9fafb;
  --blue: #2563eb;
  --navy: #1e3a8a;
  --cyan: #0ea5e9;
  --lime: #dbeafe;
  --orange: #f59e0b;
  --shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    400 16px/1.65 Inter,
    system-ui,
    sans-serif;
}
a {
  color: inherit;
}
img,
svg {
  display: block;
}
.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 99;
  background: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}
.skip:focus {
  top: 12px;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(228, 231, 236, 0.8);
}
.nav__inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--blue);
  font: 800 20px/1 Inter, sans-serif;
  letter-spacing: -0.03em;
}
.brand__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background: url("/assets/crewnivo-mark.svg") center / contain no-repeat;
}
.brand__name > span:first-child {
  color: var(--navy);
}
.brand__name > span:last-child {
  color: var(--blue);
}
.nav__links,
.nav__actions {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav__links a,
.text-link {
  text-decoration: none;
  color: #475467;
  font-weight: 600;
  font-size: 14px;
}
.nav__links a:hover,
.text-link:hover {
  color: var(--blue);
}
.lang {
  display: flex;
  padding: 3px;
  background: #f2f4f7;
  border-radius: 9px;
}
.lang a {
  padding: 4px 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: #667085;
  border-radius: 6px;
}
.lang .active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.12);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition:
    0.2s transform,
    0.2s box-shadow,
    0.2s background;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--dark {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(19, 42, 87, 0.2);
}
.btn--light {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn--lime {
  background: #fff;
  color: var(--blue);
}
.btn--large {
  min-height: 52px;
  padding: 13px 22px;
  font-size: 15px;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 82px;
  background: linear-gradient(180deg, #eff6ff 0, #f9fafb 72%, #fff 100%);
}
.hero:before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 50%;
  right: -180px;
  top: -180px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 72px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}
.eyebrow:before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}
h1,
h2,
h3 {
  font-family: Inter, sans-serif;
  margin: 0;
  letter-spacing: -0.045em;
}
h1 {
  max-width: 720px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.02;
}
h1 em {
  font-style: normal;
  color: var(--blue);
}
h2 {
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.08;
}
h3 {
  font-size: 21px;
  line-height: 1.25;
}
.hero__lead {
  max-width: 600px;
  margin: 24px 0 30px;
  font-size: 18px;
  color: #475467;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  color: #667085;
  font-size: 13px;
}
.proof span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.proof i {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf7d7;
  color: #46721b;
  font-style: normal;
  font-weight: 900;
}
.app-window {
  position: relative;
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 16px;
}
.app-window:before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border-radius: 28px;
  background: var(--navy);
  z-index: -1;
}
.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 18px;
}
.app-title {
  font-size: 13px;
  font-weight: 800;
}
.live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #087443;
  font-weight: 700;
}
.live:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 4px #d1fadf;
}
.app-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.stat {
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.stat strong {
  display: block;
  font:
    800 23px Inter,
    sans-serif;
}
.stat small {
  color: #667085;
}
.team {
  margin-top: 12px;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  overflow: hidden;
}
.person {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid #f3f4f6;
}
.person:last-child {
  border: 0;
}
.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dbeafe;
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
}
.person b,
.person small {
  display: block;
}
.person b {
  font-size: 13px;
}
.person small {
  color: #98a2b3;
  font-size: 11px;
}
.timer {
  font: 800 12px Inter;
  color: #344054;
}
.pulse-card {
  padding: 13px 14px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1e3a8a;
  box-shadow: none;
}
.pulse-card small {
  color: #3b82f6;
}
.pulse-card strong {
  display: block;
  margin-top: 4px;
  font: 800 19px Inter;
}
.section {
  padding: 100px 0;
}
.section--wash {
  background: var(--wash);
}
.section--navy {
  background: #1e3a8a;
  color: #fff;
}
.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}
.section-head p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.section--navy .section-head p {
  color: #c6d0e4;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pillar {
  min-height: 285px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  position: relative;
  overflow: hidden;
}
.pillar__num {
  font: 800 12px Inter;
  color: var(--blue);
  letter-spacing: 0.1em;
}
.pillar h3 {
  margin: 54px 0 12px;
}
.pillar p {
  margin: 0;
  color: var(--muted);
}
.pillar:after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  right: -25px;
  top: -25px;
  background: var(--tint, #eaf0ff);
}
.workflow {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}
.workflow__steps {
  display: grid;
  gap: 12px;
}
.flow {
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
}
.flow span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #fff;
  color: var(--blue);
  font-weight: 800;
}
.flow p {
  margin: 5px 0 0;
  color: #b9c5db;
  font-size: 14px;
}
.privacy-note {
  margin-top: 18px;
  padding: 18px;
  border-left: 3px solid var(--lime);
  background: rgba(255, 255, 255, 0.05);
  color: #d9e0ed;
  font-size: 14px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature {
  padding: 26px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
}
.feature__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #edf3ff;
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 26px;
}
.feature p {
  margin: 9px 0 0;
  color: var(--muted);
}
.feature--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: linear-gradient(135deg, #eef4ff, #f6fbf1);
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: start;
}
.tag {
  padding: 8px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dce3eb;
  font-size: 13px;
  font-weight: 700;
  color: #475467;
}
.pricing-intro {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 44px;
}
.pricing-intro p {
  max-width: 500px;
  color: var(--muted);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.plan--featured {
  border: 2px solid var(--blue);
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.13);
  position: relative;
}
.plan__badge {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 5px 9px;
  background: #eaf0ff;
  color: var(--blue);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.plan__name {
  font-weight: 800;
  color: #475467;
}
.price {
  margin: 24px 0 8px;
  font: 800 42px/1 Inter;
}
.price small {
  font: 500 13px Inter;
  color: var(--muted);
}
.plan > p {
  color: var(--muted);
  min-height: 52px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  display: grid;
  gap: 10px;
}
.plan li {
  position: relative;
  padding-left: 23px;
  font-size: 14px;
}
.plan li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #159455;
  font-weight: 900;
}
.plan .btn {
  margin-top: auto;
}
.pricing-note {
  margin: 22px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.faq {
  max-width: 800px;
  margin: auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 34px 22px 0;
  font-weight: 800;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: "+";
  position: absolute;
  right: 4px;
  font-size: 22px;
  color: var(--blue);
}
.faq details[open] summary:after {
  content: "−";
}
.faq details p {
  margin: -6px 0 22px;
  color: var(--muted);
}
.cta {
  padding: 50px;
  border-radius: 32px;
  background: linear-gradient(120deg, #2563eb, #1d4ed8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  position: relative;
}
.cta:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 45px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  right: -80px;
  top: -100px;
}
.cta p {
  margin: 10px 0 0;
  color: #ccd6e8;
}
.cta .btn {
  position: relative;
  z-index: 1;
  flex: none;
}
.footer {
  padding: 42px 0;
  background: #111827;
  color: #aab7cf;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}
.footer .brand {
  color: #fff;
}
.footer .brand__name > span:first-child {
  color: #fff;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__links a {
  font-size: 13px;
  text-decoration: none;
}
.footer__links a:hover {
  color: #fff;
}
.footer small {
  grid-column: 1/-1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}
.menu-button {
  display: none;
  border: 0;
  background: #f2f4f7;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  font-size: 20px;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 960px) {
  .nav__links {
    display: none;
  }
  .hero__grid,
  .workflow {
    grid-template-columns: 1fr;
  }
  .hero__grid {
    gap: 55px;
  }
  .app-window {
    max-width: 640px;
  }
  .pillars,
  .plans {
    grid-template-columns: 1fr;
  }
  .pillar {
    min-height: auto;
  }
  .pillar h3 {
    margin-top: 32px;
  }
  .workflow {
    gap: 44px;
  }
  .pricing-intro {
    display: block;
  }
  .plan > p {
    min-height: 0;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature--wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .menu-button {
    display: block;
  }
  .nav__actions .btn {
    display: none;
  }
  .nav__actions {
    gap: 10px;
  }
  .nav.open .nav__links {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(16, 24, 40, 0.08);
  }
}
@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1160px);
  }
  .hero {
    padding: 64px 0 68px;
  }
  .section {
    padding: 72px 0;
  }
  h1 {
    font-size: 44px;
  }
  .hero__lead {
    font-size: 16px;
  }
  .app-window {
    padding: 9px;
  }
  .app-window:before {
    inset: 15px -10px -15px 10px;
  }
  .pulse-card {
    position: static;
    width: auto;
    margin-top: 10px;
  }
  .app-stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat:last-child {
    grid-column: span 2;
  }
  .person {
    grid-template-columns: auto 1fr;
  }
  .timer {
    grid-column: 2;
  }
  .pillars {
    gap: 12px;
  }
  .pricing-intro {
    margin-bottom: 30px;
  }
  .cta {
    padding: 34px 26px;
    display: block;
  }
  .cta .btn {
    margin-top: 22px;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .footer small {
    grid-column: auto;
  }
  .proof {
    display: grid;
    gap: 10px;
  }
  .hero__actions .btn {
    width: 100%;
  }
}

.legal-page {
  background: var(--wash);
}
.legal {
  max-width: 820px;
  padding: 72px 0 96px;
}
.legal h1 {
  margin-bottom: 12px;
  font-size: clamp(36px, 6vw, 58px);
}
.legal__updated {
  margin-bottom: 42px;
  color: var(--muted);
}
.legal section {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.legal h2 {
  margin-bottom: 12px;
  font-size: 22px;
}
.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.75;
}
.legal ul {
  padding-left: 20px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn {
    transition: none;
  }
}

/* Keep the dashboard mockup stable across browsers and viewport sizes. */
.app-window {
  transform: none;
  box-shadow: var(--shadow);
}
.app-window:before {
  display: none;
}
.pulse-card {
  position: static;
  width: auto;
  margin-top: 10px;
}
@media (max-width: 620px) {
  .app-window {
    box-shadow: var(--shadow);
  }
}
