:root {
  color-scheme: light;
  --ink: #162235;
  --muted: #5d6a7c;
  --navy: #102a43;
  --navy-deep: #0b1f33;
  --accent: #087f77;
  --accent-dark: #05635d;
  --surface: #ffffff;
  --surface-soft: #f4f7fa;
  --line: #dce4ec;
  --notice: #fff7db;
  --notice-line: #d7a928;
  --max-width: 72rem;
  --content-width: 49rem;
  --radius: 0.75rem;
  --shadow: 0 0.75rem 2rem rgba(16, 42, 67, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 18rem;
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--navy);
}

a:focus-visible {
  outline: 0.2rem solid #35a7a0;
  outline-offset: 0.2rem;
  border-radius: 0.15rem;
}

h1,
h2,
h3 {
  color: var(--navy-deep);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 19ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2.1rem, 4vw, 2.75rem);
}

h2 {
  margin: 3rem 0 1rem;
  font-size: clamp(1.45rem, 2.5vw, 1.8rem);
}

h3 {
  margin: 2rem 0 0.5rem;
  font-size: 1.12rem;
}

p,
ul,
ol,
dl {
  margin-top: 0;
  margin-bottom: 1.2rem;
}

li + li {
  margin-top: 0.45rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-180%);
  border-radius: 0.35rem;
  color: var(--surface);
  background: var(--navy-deep);
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner,
.footer-inner,
.page-shell {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  flex: 0 0 auto;
  color: var(--navy-deep);
  font-size: 1.14rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.primary-nav,
.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.primary-nav a:not(.button),
.footer-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a[aria-current="page"] {
  color: var(--navy-deep);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 0.14rem;
  text-underline-offset: 0.4rem;
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.05rem;
  border: 1px solid var(--accent);
  border-radius: 0.45rem;
  color: #ffffff;
  background: var(--accent);
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.button:hover {
  border-color: var(--accent-dark);
  color: #ffffff;
  background: var(--accent-dark);
}

.button-small {
  min-height: 2.4rem;
  padding: 0.58rem 0.82rem;
  font-size: 0.9rem;
}
.launch-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-deep);
  background: var(--notice);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.page-shell {
  padding-block: clamp(2.75rem, 6vw, 5rem);
}

.content-page {
  max-width: var(--content-width);
}

.about-page h1 {
  max-width: 18ch;
  font-size: clamp(2.3rem, 4vw, 3.35rem);
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lede {
  max-width: 43rem;
  margin-bottom: 1.75rem;
  color: #3e4e62;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
}

.product-line {
  margin-bottom: 1.25rem;
  color: var(--navy-deep);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  letter-spacing: -0.01em;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  margin: 1.25rem 0 0;
}

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

.workflow li {
  position: relative;
  min-height: 8.2rem;
  margin: 0;
  padding: 2.8rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  counter-increment: workflow;
  font-weight: 700;
  line-height: 1.35;
}

.workflow li::before {
  position: absolute;
  top: 0.8rem;
  left: 1rem;
  color: var(--accent-dark);
  content: counter(workflow, decimal-leading-zero);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.draft-notice {
  margin: 0 0 2.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--notice-line);
  border-left-width: 0.35rem;
  border-radius: 0.5rem;
  background: var(--notice);
}

.draft-notice strong {
  color: #5a4300;
}

.meta {
  color: var(--muted);
  font-size: 0.94rem;
}

.legal-content h2 {
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}

.legal-content h2:first-of-type {
  border-top: 0;
}

.details {
  display: grid;
  grid-template-columns: minmax(9rem, 0.38fr) minmax(0, 1fr);
  margin: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
}

.details dt,
.details dd {
  margin: 0;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.details dt {
  padding-right: 1rem;
  color: var(--muted);
  font-weight: 700;
}

.details dd {
  font-weight: 650;
}

.redirect-panel {
  max-width: 38rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.redirect-panel h1 {
  max-width: none;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: #c5d0dc;
  background: var(--navy-deep);
}

.footer-inner {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.92rem;
}

.footer-nav a {
  color: #e0e8ef;
}

.footer-nav a:hover {
  color: #ffffff;
}

.placeholder {
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.94em;
}

@media (max-width: 58rem) {
  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 38rem) {
  .header-inner,
  .footer-inner,
  .page-shell {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  .header-inner {
    min-height: 4rem;
    gap: 0.75rem;
  }

  .primary-nav {
    flex-wrap: nowrap;
    gap: 0.4rem 0.75rem;
  }

  .primary-nav a {
    padding-block: 0.25rem;
  }

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

  .workflow li {
    min-height: 0;
  }

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

  .details dt {
    padding-bottom: 0.15rem;
    border-bottom: 0;
  }

  .details dd {
    padding-top: 0.15rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1.5rem;
  }
}

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