:root {
  color-scheme: light;
  --navy: #0b2939;
  --ink: #172c37;
  --teal: #0b7185;
  --mint: #4ad1af;
  --paper: #fbfcfa;
  --pale: #eff6f5;
  --line: #d8e5e4;
  --muted: #596e78;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  outline-offset: 4px;
}

::selection {
  background: var(--mint);
  color: var(--navy);
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 0.75rem;
  left: 1rem;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  background: var(--paper);
  color: var(--ink);
}

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 92px;
  padding: 1.35rem clamp(1.25rem, 5vw, 5rem);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand-mark {
  display: block;
  width: 1.3rem;
  height: 1.3rem;
  border-top: 3px solid var(--mint);
  border-left: 3px solid var(--mint);
}

.header-links {
  display: flex;
  gap: clamp(1.25rem, 3vw, 3rem);
  margin-left: auto;
  padding-right: clamp(1.5rem, 4vw, 4rem);
}

.header-links a,
.header-access {
  font-size: 0.9rem;
  font-weight: 600;
}

.header-links a {
  color: #c3d2d7;
  transition: color 180ms ease;
}

.header-links a:hover,
.header-links a:focus-visible {
  color: var(--mint);
}

.header-access {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
}

.header-access span,
.button span,
.text-link span,
.inline-link span {
  display: inline-block;
  transition: transform 180ms ease;
}

.header-access:hover span,
.button:hover span,
.inline-link:hover span {
  transform: translate(3px, -3px);
}

.text-link:hover span {
  transform: translateY(4px);
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 780px;
  min-height: 100svh;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42%;
  border-left: 1px solid rgba(216, 229, 228, 0.12);
  content: "";
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.75rem);
  width: 100%;
  max-width: 1620px;
  margin: 0 auto;
  padding: 116px clamp(1.25rem, 5vw, 5rem) 90px;
}

.eyebrow {
  margin: 0 0 1.8rem;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow,
.closing .eyebrow {
  color: var(--mint);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(4.3rem, 7.6vw, 8.4rem);
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 0.96;
}

.hero h1 span {
  color: var(--mint);
}

.hero-summary {
  max-width: 570px;
  margin: clamp(2rem, 5vh, 3.5rem) 0 0;
  color: #c9d7da;
  font-size: clamp(1.08rem, 1.5vw, 1.33rem);
  line-height: 1.55;
}

.hero-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
  margin-top: 2.35rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  padding: 0.9rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

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

.button-accent {
  background: var(--mint);
  color: var(--navy);
}

.button-accent:hover {
  background: #7fe3c9;
}

.text-link,
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.3rem;
  font-size: 0.91rem;
  font-weight: 700;
}

.text-link {
  color: #e6f1ee;
}

.hero-document {
  position: relative;
  justify-self: center;
  width: min(100%, 470px);
  margin: 0;
  transform: rotate(3.5deg);
}

.hero-document::before {
  position: absolute;
  top: 6%;
  right: -6%;
  z-index: -1;
  width: 96%;
  height: 91%;
  border: 1px solid rgba(74, 209, 175, 0.55);
  content: "";
}

.document-frame {
  height: min(64vh, 600px);
  min-height: 465px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 38px 70px rgba(0, 0, 0, 0.23);
}

.document-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-document figcaption {
  margin-top: 1rem;
  color: #aec2c9;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-align: right;
}

.hero-norms {
  position: absolute;
  right: clamp(1.25rem, 5vw, 5rem);
  bottom: 1.5rem;
  left: clamp(1.25rem, 5vw, 5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.3rem, 3vw, 3rem);
  border-top: 1px solid rgba(216, 229, 228, 0.22);
  padding-top: 1.25rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.norms-future {
  margin-left: auto;
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.section {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 5vw, 5rem);
}

.section-heading,
.workflow-steps,
.method-inner,
.feature-list,
.scope-note,
.future-inner,
.closing-inner {
  max-width: 1360px;
  margin-right: auto;
  margin-left: auto;
}

.section-heading h2,
.method h2,
.future h2,
.closing h2 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.6rem);
  letter-spacing: -0.075em;
  line-height: 1.04;
}

.section-heading > p:last-child {
  max-width: 600px;
  margin: 1.45rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.26rem);
  line-height: 1.5;
}

.workflow {
  background: var(--paper);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: clamp(4rem, 7vw, 7rem);
  padding: 0;
  list-style: none;
}

.workflow-steps li {
  min-height: 210px;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.step-number,
.feature-index {
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 700;
}

.workflow-steps h3 {
  margin: 3.3rem 0 0.8rem;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  letter-spacing: -0.035em;
}

.workflow-steps p {
  max-width: 230px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

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

.method-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 9vw, 10rem);
}

.method h2 {
  max-width: 790px;
}

.method-detail {
  align-self: end;
  border-top: 2px solid var(--teal);
  padding-top: 1.5rem;
}

.method-detail p {
  margin: 0 0 1.3rem;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.inline-link {
  margin-top: 1rem;
  color: var(--teal);
}

.available {
  background: var(--paper);
}

.feature-list {
  margin-top: 4.5rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(230px, 0.78fr) minmax(300px, 1fr);
  align-items: baseline;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding: 1.65rem 0 1.8rem;
}

.feature-row:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-row h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -0.045em;
}

.feature-row p {
  max-width: 490px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.scope-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.future {
  background: #e9f2f0;
}

.future-inner {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 9vw, 10rem);
}

.future-intro p:last-child {
  max-width: 385px;
  margin: 1.55rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.6;
}

.future-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.future-list li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  align-items: baseline;
  gap: 1rem;
  border-top: 1px solid #cbdedb;
  padding: 1.1rem 0;
  font-size: clamp(1.12rem, 1.8vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.future-list li:last-child {
  border-bottom: 1px solid #cbdedb;
}

.future-list span {
  color: var(--teal);
  font-size: 0.81rem;
  letter-spacing: 0;
}

.closing {
  padding: clamp(6rem, 13vw, 12rem) clamp(1.25rem, 5vw, 5rem);
  background: var(--navy);
  color: #fff;
}

.closing-inner {
  max-width: 1360px;
}

.closing h2 {
  max-width: 980px;
}

.closing-inner > p:not(.eyebrow) {
  max-width: 700px;
  margin: 1.7rem 0 0;
  color: #c9d7da;
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
  line-height: 1.6;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem clamp(1.25rem, 5vw, 5rem);
  background: var(--navy);
  border-top: 1px solid rgba(216, 229, 228, 0.15);
  color: #a9c2c7;
  font-size: 0.8rem;
}

.site-footer a:hover {
  color: var(--mint);
}

@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .hero-enter {
    animation: hero-arrive 750ms both cubic-bezier(0.22, 1, 0.36, 1);
  }

  .hero-copy .hero-enter:nth-child(2) { animation-delay: 90ms; }
  .hero-copy .hero-enter:nth-child(3) { animation-delay: 170ms; }
  .hero-copy .hero-enter:nth-child(4) { animation-delay: 240ms; }
  .hero-document.hero-enter { animation-delay: 190ms; }
}

@keyframes hero-arrive {
  from { opacity: 0; translate: 0 20px; }
  to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .has-js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .has-js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(4.3rem, 7vw, 6.8rem);
  }

  .document-frame {
    height: min(54vh, 540px);
    min-height: 410px;
  }

  .workflow-steps {
    gap: 0.8rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 74px;
  }

  .header-links {
    display: none;
  }

  .header-access {
    font-size: 0.82rem;
  }

  .hero {
    min-height: 0;
  }

  .hero::before {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding-top: 135px;
    padding-bottom: 8.5rem;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 13vw, 6rem);
  }

  .hero-summary {
    max-width: 560px;
    margin-top: 2rem;
  }

  .hero-document {
    width: min(78%, 390px);
    justify-self: center;
  }

  .document-frame {
    height: 390px;
    min-height: 0;
  }

  .hero-norms {
    gap: 1rem 1.6rem;
    font-size: 0.76rem;
  }

  .norms-future {
    margin-left: 0;
  }

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

  .workflow-steps li {
    min-height: 180px;
  }

  .workflow-steps h3 {
    margin-top: 2.5rem;
  }

  .method-inner,
  .future-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .feature-row {
    grid-template-columns: 3.5rem 1fr;
    gap: 0.3rem 1rem;
  }

  .feature-row p {
    grid-column: 2;
  }
}

@media (max-width: 500px) {
  .brand {
    font-size: 1.05rem;
  }

  .hero-inner {
    gap: 3rem;
  }

  .hero h1 {
    font-size: clamp(3.65rem, 14vw, 4.9rem);
  }

  .hero-actions,
  .closing-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.4rem;
  }

  .hero-document {
    width: 80%;
  }

  .document-frame {
    height: 325px;
  }

  .hero-norms {
    bottom: 1.1rem;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 3.5rem;
  }

  .workflow-steps li {
    min-height: 0;
    padding: 1.3rem 0 1.55rem;
  }

  .workflow-steps h3 {
    margin: 1.2rem 0 0.35rem;
  }

  .workflow-steps p {
    max-width: 100%;
  }

  .feature-row {
    grid-template-columns: 2.6rem 1fr;
  }

  .future-list li {
    grid-template-columns: 2rem 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
