@import "./brand.css";
h1,
h2,
h3,
.brand {
  font-family: var(--font-heading);
}
:root {
  --ink: var(--brand-text);
  --muted: var(--brand-text-secondary);
  --paper: var(--brand-canvas);
  --mint: var(--brand-primary-soft);
  --aqua: var(--brand-turquoise);
  --coral: var(--brand-focus);
  --line: var(--brand-border-strong);
  --shadow: 0 20px 60px rgba(22, 53, 47, 0.1);
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.55;
}
a {
  color: inherit;
}
header,
footer,
main {
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
}
header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 3;
  backdrop-filter: blur(16px);
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  text-decoration: none;
}
.brand {
  font-size: 1.2rem;
  text-decoration: none;
}
.button,
button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.button.small {
  padding: 9px 16px;
}
.hero {
  min-height: 600px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 8vw;
  padding-block: 90px;
}
.hero h1,
.form-shell h1,
.narrow h1,
.legal h1 {
  font: 700 clamp(2.7rem, 6vw, 5.8rem) / 0.98 var(--font-heading);
  letter-spacing: -0.05em;
  margin: 0.15em 0;
}
.lead {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--muted);
  max-width: 650px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-focus);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-art {
  aspect-ratio: 1;
  border-radius: 48% 52% 52% 48%;
  background: var(--mint);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-art span {
  position: absolute;
  border-radius: 50%;
  background: var(--aqua);
}
.hero-art span:nth-child(1) {
  width: 55%;
  height: 55%;
  left: 22%;
  top: 15%;
}
.hero-art span:nth-child(2) {
  width: 38%;
  height: 38%;
  right: -5%;
  bottom: 5%;
  background: var(--coral);
}
.hero-art span:nth-child(3) {
  width: 28%;
  height: 28%;
  left: 5%;
  bottom: 2%;
  background: var(--brand-water);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-block: 40px 100px;
}
.cards article,
.band,
form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.cards h2 {
  font: 700 1.55rem var(--font-heading);
}
footer p {
  color: var(--muted);
}
.cards p {
  color: var(--muted);
}
.form-shell > div > p {
  color: var(--muted);
}
.band {
  margin-bottom: 100px;
  background: var(--ink);
  color: white;
}
.band p {
  color: #cfe1dc;
}
.form-shell {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 7vw;
  padding-block: 70px;
}
.form-shell h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}
.steps {
  padding-left: 20px;
  color: var(--muted);
}
.steps li {
  padding: 5px;
}
.steps .active {
  font-weight: 800;
  color: var(--ink);
}
form {
  display: grid;
  gap: 18px;
}
.form-shell form h2 {
  font: 700 2rem var(--font-heading);
  margin-top: 0;
}
label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #b8c8c2;
  border-radius: 12px;
  padding: 13px;
  background: white;
  font: inherit;
  color: var(--ink);
}
textarea {
  min-height: 120px;
  resize: vertical;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.choice input {
  width: auto;
}
.notice {
  background: var(--mint);
  padding: 16px;
  border-radius: 14px;
}
.form-actions {
  display: flex;
  gap: 12px;
}
.narrow,
.legal {
  max-width: 760px;
  margin: auto;
  padding-block: 90px;
}
.narrow form {
  margin-block: 30px;
}
.legal h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}
.legal h2 {
  margin-top: 36px;
}
footer {
  padding-block: 50px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
}
footer small {
  grid-column: 1 / -1;
  color: var(--muted);
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  z-index: 9;
  background: white;
  padding: 10px;
}
@media (max-width: 850px) {
  header {
    position: static;
    padding-block: 18px;
    align-items: flex-start;
  }
  header nav {
    display: none;
  }
  .hero,
  .form-shell {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 60px;
  }
  .hero-art {
    max-width: 500px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  footer {
    grid-template-columns: 1fr;
  }
  footer nav {
    align-items: flex-start;
    flex-direction: column;
  }
}
.mobile-nav {
  display: none;
  position: relative;
}
.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 800;
}
.mobile-nav summary::-webkit-details-marker {
  display: none;
}
.mobile-nav nav {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: min(300px, calc(100vw - 48px));
  align-items: stretch;
  gap: 4px;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.mobile-nav nav a {
  padding: 10px 12px;
  border-radius: 10px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}
.mobile-nav nav a:focus-visible,
.mobile-nav nav a:hover {
  background: var(--mint);
}
#login-credentials,
#login-mfa {
  display: grid;
  gap: 18px;
}
#login-mfa[hidden],
#login-credentials[hidden] {
  display: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
@media (max-width: 850px) {
  header {
    align-items: center;
    position: sticky;
  }
  .mobile-nav {
    display: block;
  }
  .mobile-nav nav {
    display: flex;
    flex-direction: column;
  }
  .mobile-nav[open] summary {
    background: var(--mint);
  }
}
@media (max-width: 520px) {
  header,
  footer,
  main {
    padding-inline: 18px;
  }
  .hero {
    padding-block: 42px;
  }
  .hero h1,
  .form-shell h1,
  .narrow h1,
  .legal h1 {
    font-size: clamp(2.4rem, 15vw, 4rem);
  }
  .cards article,
  .band,
  form {
    padding: 22px;
    border-radius: 18px;
  }
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .form-actions .button {
    width: 100%;
  }
}
[hidden] {
  display: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand img {
  object-fit: contain;
}
.hero h1,
.form-shell h1,
.narrow h1,
.legal h1 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.hero-art {
  border-radius: 36px;
  background: var(--mint);
  display: grid;
  place-items: center;
}
.hero-art::after {
  content: "";
  width: 48%;
  height: 72%;
  background: url("/brand-symbol.svg") center / contain no-repeat;
  z-index: 1;
}
.hero-art span {
  opacity: 0.18;
}
.hero-art span:nth-child(1) {
  left: 45%;
  top: -20%;
}
.docs-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 170px;
  gap: clamp(24px, 3vw, 48px);
  max-width: 1500px;
  margin: auto;
  padding-block: 36px 100px;
}
.docs-sidebar {
  position: sticky;
  top: 106px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 12px;
}
.docs-home {
  display: block;
  font: 700 1.4rem var(--font-heading);
  text-decoration: none;
  margin-bottom: 24px;
}
.docs-search-label {
  font-size: 0.82rem;
  margin-bottom: 6px;
}
.docs-sidebar input {
  padding: 10px 12px;
}
.docs-sidebar nav {
  display: block;
  margin-top: 20px;
}
.docs-sidebar nav section {
  margin: 22px 0;
}
.docs-sidebar nav h2,
.docs-toc h2 {
  font: 700 0.82rem var(--font-body);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 9px;
}
.docs-sidebar nav a,
.docs-toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.93rem;
}
.docs-sidebar nav a[hidden],
.docs-sidebar nav section[hidden],
.docs-no-results[hidden] {
  display: none;
}
.docs-sidebar nav a:hover,
.docs-sidebar nav a[aria-current] {
  background: var(--mint);
  color: var(--ink);
  font-weight: 700;
}
.docs-article {
  min-width: 0;
}
.docs-breadcrumb {
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  gap: 8px;
}
.docs-article h1 {
  font: 700 clamp(2.4rem, 4vw, 3.7rem) / 1.08 var(--font-heading);
  letter-spacing: -0.035em;
  margin: 16px 0;
}
.docs-description {
  color: var(--muted);
  font-size: 1.16rem;
  margin-bottom: 30px;
}
.docs-video {
  margin: 28px 0 40px;
}
.docs-video h2 {
  font-size: 1.05rem;
}
.docs-video-frame,
.docs-video-pending {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #163d45;
  color: white;
}
.docs-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.docs-video-pending {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px;
}
.docs-video-pending span {
  font-size: 2rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex: none;
}
.docs-video-pending p {
  max-width: 360px;
  margin: 6px 0 0;
  color: #d2e5e6;
}
.docs-prose {
  font-size: 1.03rem;
  line-height: 1.72;
}
.docs-prose h2 {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 42px;
  scroll-margin-top: 110px;
}
.docs-prose h3 {
  margin-top: 30px;
  scroll-margin-top: 110px;
}
.docs-prose li {
  margin: 8px 0;
}
.docs-prose a {
  color: var(--brand-primary);
  text-underline-offset: 3px;
}
.docs-prose blockquote {
  margin: 22px 0;
  padding: 10px 20px;
  border-left: 4px solid var(--aqua);
  background: var(--mint);
}
.docs-prose code {
  background: var(--mint);
  border-radius: 4px;
  padding: 2px 5px;
  overflow-wrap: anywhere;
}
.docs-prose pre {
  overflow: auto;
  padding: 18px;
  background: #163d45;
  color: white;
  border-radius: 12px;
}
.docs-prose pre code {
  background: none;
  padding: 0;
}
.docs-toc {
  display: block;
  position: sticky;
  top: 106px;
  align-self: start;
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.docs-toc a {
  color: var(--muted);
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}
.docs-adjacent {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.docs-adjacent a {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none;
}
@media (max-width: 1120px) {
  .docs-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .docs-toc {
    display: none;
  }
}
@media (max-width: 720px) {
  .docs-shell {
    display: block;
    padding-block: 22px 70px;
  }
  .docs-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px;
  }
  .docs-sidebar nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }
  .docs-video-pending {
    aspect-ratio: auto;
    min-height: 220px;
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 420px) {
  .docs-sidebar nav {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1150px) {
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  .mobile-nav nav {
    display: flex;
    flex-direction: column;
  }
}
