:root {
  --ink: #243746;
  --slate: #526775;
  --blue: #3e6f8c;
  --coral: #a94f3d;
  --brass: #d3a34a;
  --teal: #3f7778;
  --soft-blue: #bfd8e6;
  --cloud: #f5f8fa;
  --white: #ffffff;
  --line: #cbd9e1;
  --focus: #183f58;
  --display: "Manrope", "Segoe UI", Arial, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

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

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand-link {
  display: inline-block;
  width: 238px;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.footer-links a,
.text-link {
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

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

.button-small {
  min-height: 42px;
  padding: 8px 16px;
}

.button-primary {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

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

.button-outline {
  color: var(--ink);
  background: var(--white);
  border-color: var(--ink);
}

.button-outline:hover {
  color: var(--white);
  background: var(--ink);
}

.button-product {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.button-product:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  min-height: min(690px, calc(100svh - 120px));
  position: relative;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 10px solid var(--soft-blue);
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("assets/simplesteward-dashboard.png");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-shape {
  position: absolute;
  inset: 0 auto 0 0;
  width: 66%;
  background: rgba(245, 248, 250, 0.97);
  clip-path: polygon(0 0, 87% 0, 100% 50%, 87% 100%, 0 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: grid;
  align-items: center;
  min-height: inherit;
}

.hero-copy {
  min-width: 0;
  width: min(600px, 53%);
  padding: 70px 0 84px;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.95;
}

.hero-line {
  margin: 24px 0 12px;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
}

.hero-support {
  max-width: 560px;
  margin: 0;
  color: var(--slate);
  font-size: 1.12rem;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

.text-link {
  color: var(--ink);
}

.build-note {
  max-width: 540px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 28px 0 0;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.45;
}

.build-note span {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  background: var(--brass);
  transform: rotate(45deg);
}

.hero-caption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 3;
  margin: 0;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(36, 55, 70, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-band {
  padding: 86px 0 0;
  background: var(--white);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
  padding-bottom: 70px;
}

.product-identity {
  position: sticky;
  top: 118px;
}

.product-identity img {
  width: min(100%, 460px);
}

.product-copy h2,
.section-heading h2,
.story-layout h2,
.contact-layout h2,
.error-page h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}

.product-copy > p {
  max-width: 700px;
  margin: 24px 0 30px;
  color: var(--slate);
  font-size: 1.18rem;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.workflow-list span {
  position: relative;
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 14px 16px 14px 34px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.workflow-list span:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.workflow-list span::before {
  content: "";
  position: absolute;
  left: 12px;
  width: 9px;
  height: 9px;
  background: var(--brass);
  transform: rotate(45deg);
}

.product-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.product-actions p {
  margin: 0;
  color: var(--slate);
  font-size: 0.94rem;
}

.product-button-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.status-strip {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 22px 26px;
  color: var(--white);
  background: var(--coral);
  border-radius: 4px 4px 0 0;
}

.status-strip strong {
  font-family: var(--display);
}

.capabilities-band {
  padding: 96px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.capability-grid article {
  min-width: 0;
  padding: 26px;
  background: var(--cloud);
  border: 1px solid var(--line);
  border-top: 4px solid var(--soft-blue);
  border-radius: 4px;
}

.capability-grid article:nth-child(2),
.capability-grid article:nth-child(5) {
  border-top-color: var(--brass);
}

.capability-grid article:nth-child(3),
.capability-grid article:nth-child(6) {
  border-top-color: var(--teal);
}

.capability-grid h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1.25;
}

.capability-grid p {
  margin: 0;
  color: var(--slate);
  font-size: 0.96rem;
}

.capabilities-link {
  margin: 28px 0 0;
}

.approach {
  padding: 96px 0;
  background: var(--cloud);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--slate);
  font-size: 1.1rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 54px;
}

.principles article {
  padding-top: 22px;
  border-top: 4px solid var(--soft-blue);
}

.principles article:nth-child(2) {
  border-top-color: var(--brass);
}

.principles article:nth-child(3) {
  border-top-color: var(--teal);
}

.principles article:nth-child(4) {
  border-top-color: var(--coral);
}

.principle-number {
  color: var(--blue);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 800;
}

.principles h3 {
  min-height: 58px;
  margin: 14px 0 10px;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.25;
}

.principles p {
  margin: 0;
  color: var(--slate);
  font-size: 0.96rem;
}

.story-band {
  padding: 96px 0;
  color: var(--white);
  background: var(--ink);
  border-left: 12px solid var(--brass);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
}

.story-layout h2 {
  color: var(--white);
}

.eyebrow-light {
  color: #e9bf70;
}

.story-copy {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.story-copy p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.story-copy .motto {
  margin: 34px 0 0;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
}

.contact-band {
  padding: 84px 0;
  background: var(--soft-blue);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
}

.contact-layout h2 {
  max-width: 820px;
  font-size: clamp(2.25rem, 4vw, 3.8rem);
}

.contact-layout p:last-child {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--slate);
}

.site-footer {
  padding: 38px 0;
  color: var(--slate);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto auto;
  align-items: center;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-brand img {
  width: 42px;
}

.footer-brand span {
  display: grid;
}

.footer-brand strong {
  color: var(--ink);
  font-family: var(--display);
}

.footer-brand small {
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-inner > p {
  margin: 0;
  font-size: 0.85rem;
  white-space: nowrap;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background: var(--cloud);
}

.error-content {
  max-width: 680px;
  padding-left: 28px;
  border-left: 8px solid var(--brass);
}

.error-content p {
  color: var(--slate);
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 220px 1fr auto;
    gap: 18px;
  }

  .brand-link {
    width: 210px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a:nth-child(2) {
    display: none;
  }

  .hero-shape {
    width: 77%;
  }

  .hero-copy {
    width: 64%;
  }

  .product-layout,
  .story-layout {
    grid-template-columns: 1fr;
  }

  .product-identity {
    position: static;
  }

  .product-identity img {
    width: min(460px, 100%);
  }

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

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

  .principles h3 {
    min-height: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 72px;
    grid-template-columns: 1fr auto;
  }

  .brand-link {
    width: 190px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 610px;
  }

  .hero-image {
    background-position: 62% center;
  }

  .hero-shape {
    width: 100%;
    background: rgba(245, 248, 250, 0.94);
    clip-path: polygon(0 0, 100% 0, 100% 82%, 88% 100%, 0 100%);
  }

  .hero-copy {
    width: 100%;
    padding: 58px 8px 100px 0;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 18vw, 5.2rem);
  }

  .hero-support {
    max-width: 520px;
  }

  .hero-caption {
    right: 14px;
    bottom: 12px;
  }

  .button-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-band,
  .capabilities-band,
  .approach,
  .story-band,
  .contact-band {
    padding-top: 68px;
  }

  .product-layout {
    gap: 40px;
    padding-bottom: 54px;
  }

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

  .workflow-list span:nth-child(odd) {
    border-right: 0;
  }

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

  .product-actions,
  .status-strip,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .status-strip {
    margin: 0 -14px;
    border-radius: 0;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .story-band {
    padding-bottom: 68px;
    border-left-width: 7px;
  }

  .contact-band {
    padding-bottom: 68px;
  }

  .contact-layout {
    gap: 28px;
  }

  .contact-layout .button {
    justify-self: start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .footer-inner > p {
    grid-column: auto;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .header-inner .button {
    min-height: 40px;
    padding-inline: 12px;
  }

  .brand-link {
    width: 164px;
  }

  .hero {
    min-height: 650px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14.5vw, 3.55rem);
  }

  .hero-line {
    font-size: 1.55rem;
  }

  .hero-support {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .header-inner .button,
  .text-link {
    width: auto;
  }

  .contact-layout .button {
    justify-self: stretch;
  }
}

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

  .button {
    transition: none;
  }
}
