:root {
  color: #10244f;
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --navy: #10244f;
  --blue: #1558b5;
  --blue-dark: #0e4693;
  --sky: #e8f1fd;
  --pale: #f5f8fc;
  --line: #d9e3f0;
  --muted: #52627b;
  --green: #087462;
  --amber: #9a5700;
  --red: #a53a31;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--navy);
  line-height: 1.6;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.45rem;
  font-size: clamp(2.55rem, 5vw, 4.65rem);
  font-weight: 790;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
}

h3 {
  font-size: 1.27rem;
}

.shell {
  width: min(calc(100% - 3rem), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background: #ffffff;
  color: var(--navy);
  font-weight: 750;
  box-shadow: 0 4px 18px #10244f33;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #2d73cf;
  outline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid #dfe7f1;
  background: rgb(255 255 255 / 96%);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 790;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  border-radius: 11px;
  box-shadow: 0 6px 14px #10244f1f;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  margin-left: auto;
}

nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-inline: 0.15rem;
  color: #40516a;
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--blue);
  border-radius: 0.75rem;
  background: var(--blue);
  color: #ffffff;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 25px #1558b52a;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  box-shadow: 0 12px 27px #1558b53d;
  transform: translateY(-1px);
}

.button-small {
  min-height: 42px;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(5rem, 9vw, 8.5rem);
  background:
    radial-gradient(circle at 85% 12%, #dbeaff 0, #dbeaff00 32%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 82%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#1558b507 1px, transparent 1px),
    linear-gradient(90deg, #1558b507 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  gap: clamp(3rem, 6vw, 6.5rem);
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 2rem;
  color: #40516a;
  font-size: clamp(1.06rem, 1.6vw, 1.2rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.hero-actions p {
  max-width: 260px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.day-preview {
  position: relative;
  margin: 0;
  padding: 1.2rem;
  border: 1px solid #cfdbeb;
  border-radius: 1.35rem;
  background: #ffffff;
  box-shadow: 0 28px 70px #10244f1e, 0 3px 12px #10244f12;
}

.day-preview::after {
  position: absolute;
  z-index: -1;
  inset: 10% -5% -5% 7%;
  border-radius: 1.8rem;
  background: #1558b518;
  content: "";
  transform: rotate(3deg);
}

.preview-toolbar,
.preview-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.preview-toolbar {
  padding: 0.25rem 0.2rem 1.1rem;
}

.preview-toolbar > div {
  display: flex;
  flex-direction: column;
}

.preview-kicker {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-toolbar strong {
  font-size: 1.05rem;
}

.sample-label {
  padding: 0.3rem 0.55rem;
  border-radius: 100px;
  background: #edf3fb;
  color: #40516a;
  font-size: 0.66rem;
  font-weight: 750;
}

.preview-date {
  margin-inline: -1.2rem;
  padding: 0.65rem 1.4rem;
  border-block: 1px solid #dce5f0;
  background: #f6f9fd;
  font-size: 0.82rem;
}

.preview-date span {
  color: var(--blue);
  font-weight: 800;
}

.coverage-list {
  display: grid;
  gap: 0.7rem;
  padding-block: 1rem 0.4rem;
}

.coverage {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) minmax(125px, auto);
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 0.8rem;
  background: #ffffff;
}

.coverage time {
  color: #40516a;
  font-size: 0.8rem;
  font-weight: 780;
}

.coverage > div {
  min-width: 0;
}

.coverage strong,
.coverage > div span {
  display: block;
}

.coverage strong {
  overflow: hidden;
  font-size: 0.85rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coverage > div span {
  color: var(--muted);
  font-size: 0.68rem;
}

.coverage p {
  margin: 0;
  color: #40516a;
  font-size: 0.64rem;
  line-height: 1.35;
}

.coverage p span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
  font-weight: 800;
}

.coverage-open {
  border-left-color: var(--red);
  background: #fffafa;
}

.coverage-open p span {
  color: var(--red);
}

.coverage-waiting {
  border-left-color: var(--amber);
  background: #fffcf7;
}

.coverage-waiting p span {
  color: var(--amber);
}

.coverage-assigned {
  border-left-color: var(--green);
  background: #f8fdfa;
}

.coverage-assigned p span {
  color: var(--green);
}

figcaption {
  padding: 0.4rem 0.15rem 0;
  color: #66758c;
  font-size: 0.7rem;
  line-height: 1.45;
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-heading > p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.workflow {
  background: #ffffff;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-grid li {
  position: relative;
  min-width: 0;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: #ffffff;
  box-shadow: 0 12px 30px #10244f0a;
}

.workflow-grid li.featured-step {
  border-color: #acc7eb;
  background: #f7faff;
  box-shadow: 0 18px 42px #1558b517;
}

.step-number {
  position: absolute;
  top: 1.45rem;
  right: 1.5rem;
  color: #8ca2bd;
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.step-icon {
  display: grid;
  width: 48px;
  height: 48px;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-bottom: 1.35rem;
  padding: 10px;
  border-radius: 13px;
  background: var(--sky);
}

.step-icon span {
  border: 2px solid var(--blue);
  border-radius: 3px;
}

.step-icon span:first-child {
  grid-column: 1 / -1;
}

.publish-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.publish-icon span {
  height: 6px;
  border: 0;
  background: var(--blue);
}

.publish-icon span:nth-child(1) {
  width: 100%;
}

.publish-icon span:nth-child(2) {
  width: 75%;
}

.publish-icon span:nth-child(3) {
  width: 50%;
}

.cover-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-icon span {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
}

.cover-icon span:nth-child(2) {
  width: 8px;
  height: 8px;
  opacity: 0.55;
}

.workflow-grid h3 {
  margin-bottom: 0.85rem;
}

.workflow-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.workflow-grid .step-note {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #d7e4f5;
  color: #40516a;
  font-size: 0.78rem;
  font-weight: 620;
}

.roles {
  background: var(--pale);
}

.roles-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.roles-heading {
  margin-bottom: 0;
}

.role-list {
  display: grid;
  gap: 0.85rem;
}

.role-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  padding: 1.35rem;
  border: 1px solid #dce5f0;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 8px 24px #10244f09;
}

.role-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 800;
}

.role-list h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.role-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.demo {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.demo-card {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 1.5rem;
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 25px 60px #10244f26;
}

.demo-card::after {
  position: absolute;
  right: -60px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border: 60px solid #ffffff0c;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.demo-card > * {
  position: relative;
  z-index: 1;
}

.demo-card > div {
  max-width: 710px;
}

.demo-card .eyebrow {
  color: #89c2ff;
}

.demo-card h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.demo-card p:last-child {
  margin-bottom: 0;
  color: #d4e0f0;
}

.button-light {
  flex: 0 0 auto;
  border-color: #ffffff;
  background: #ffffff;
  color: var(--navy);
  box-shadow: none;
}

.button-light:hover {
  border-color: #e6effa;
  background: #e6effa;
  color: var(--navy);
}

.demo-card .button:focus-visible {
  outline-color: #ffffff;
  box-shadow: 0 0 0 6px #1558b5;
}

.site-footer {
  border-top: 1px solid #dce5f0;
  background: #f8fafd;
}

.footer-inner {
  min-height: 130px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  margin-right: auto;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.footer-inner > a:last-child {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 750;
}

@media (max-width: 980px) {
  .header-inner {
    gap: 1.2rem;
  }

  nav {
    gap: 1.1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .day-preview {
    width: min(100%, 700px);
  }

  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-grid .featured-step {
    grid-column: 1 / -1;
  }

  .roles-layout {
    grid-template-columns: 1fr;
  }

  .roles-heading {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 1rem;
  }

  .shell {
    width: min(calc(100% - 2rem), var(--shell));
  }

  .header-inner {
    min-height: 72px;
    flex-wrap: wrap;
    padding-block: 0.75rem;
  }

  .brand {
    font-size: 0.93rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .header-inner nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

  .header-inner > .button {
    margin-left: auto;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions p {
    max-width: 330px;
  }

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

  .workflow-grid .featured-step {
    grid-column: auto;
  }

  .demo-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.6rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding-block: 2rem;
  }

  .footer-inner p {
    text-align: left;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.25rem, 12vw, 3.15rem);
  }

  .header-inner {
    column-gap: 0.65rem;
  }

  .brand span {
    max-width: 112px;
    white-space: normal;
    line-height: 1.05;
  }

  .button-small {
    min-height: 40px;
    padding-inline: 0.8rem;
    font-size: 0.8rem;
  }

  .coverage {
    grid-template-columns: 43px minmax(0, 1fr);
  }

  .coverage p {
    grid-column: 2;
  }

  .preview-date {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }

  .sample-label {
    max-width: 95px;
    text-align: center;
  }

  .role-list article {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
