:root {
  --bg: #1b1e22;
  --paper: #262c33;
  --ink: #e8edf1;
  --muted: #a6b0ba;
  --line: #7a8795;
  --accent: #a7bfd4;
  --success: #8fb0a1;
  --error: #c58f82;
  --rule: rgba(122, 135, 149, 0.3);
  --field-border: rgba(122, 135, 149, 0.44);
  --pending-bg: rgba(167, 191, 212, 0.12);
  --link: #d6dee6;
  --link-hover: #c6d7e5;
  --link-subtle: #7f8892;
  --shadow: rgba(0, 0, 0, 0.34);
  --max: 42rem;
  --space-unit: 1.25rem;
  --font-body: "Manrope Variable", "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  --font-display: "Manrope Variable", "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: linear-gradient(to bottom, #22272d, var(--bg));
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
}

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

.site-shell {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 3.5rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-unit);
  text-align: center;
}

.masthead {
  text-align: center;
}

.masthead h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
}

.site-nav {
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin: 0;
  padding: 0.85rem 1rem;
}

.site-nav a {
  color: var(--ink);
  font-family: var(--font-display);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.section-body a:hover,
.section-body a:focus-visible {
  color: var(--accent);
}

.site-nav li:not(:last-child)::after {
  content: "|";
  margin-left: 0.9rem;
  color: var(--muted);
}

.content-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-unit);
}

.section-rule {
  width: 100%;
  height: 1px;
  background: var(--rule);
}

.content-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.section-body {
  font-size: 1.03rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-unit);
  text-align: center;
  font-weight: 500;
}

.section-body > * {
  margin: 0;
}

.section-body ul,
.section-body ol {
  padding: 0;
  list-style-position: inside;
}

.section-body strong {
  letter-spacing: 0.04em;
}

.section-body a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.section-body a:visited,
.page-card a:visited,
.policy-return a:visited,
.site-footer a:visited,
.video-disclosure a:visited {
  color: var(--link);
}

.contact-form {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-unit);
}

.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-field {
  display: block;
  margin: 0;
}

.contact-field span {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--field-border);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  text-align: left;
}

.contact-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}

.cta-link {
  display: inline-block;
  padding: 0.8rem 1.3rem;
  border: 1.5px solid var(--line);
  background: var(--paper);
  box-shadow: 0.35rem 0.35rem 0 var(--shadow);
  font-family: var(--font-display);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  line-height: 1.3;
  font-weight: 700;
  transition: transform 140ms ease, box-shadow 140ms ease, color 140ms ease;
}

.cta-link:hover,
.cta-link:focus-visible {
  color: var(--accent);
  transform: translate(-0.1rem, -0.1rem);
  box-shadow: 0.45rem 0.45rem 0 rgba(0, 0, 0, 0.12);
}

.cta-emphasis {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.contact-submit {
  cursor: pointer;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.form-status {
  min-height: 0;
  margin: 0;
  padding: 0;
  max-width: 100%;
  color: var(--muted);
  opacity: 0;
  transform: translateY(0.25rem);
  transition: opacity 140ms ease, transform 140ms ease;
}

.form-status.is-visible {
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--rule);
  opacity: 1;
  transform: translateY(0);
}

.form-status.is-pending {
  color: var(--ink);
  background: var(--pending-bg);
}

.form-status.is-success {
  color: var(--ink);
  border-color: rgba(54, 86, 72, 0.35);
  background: rgba(54, 86, 72, 0.1);
}

.form-status.is-error {
  color: var(--ink);
  border-color: rgba(138, 52, 38, 0.35);
  background: rgba(138, 52, 38, 0.1);
}

.contact-rule {
  margin: 0;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #11161d;
  border: 2px solid var(--line);
  box-shadow: 0.5rem 0.5rem 0 var(--shadow);
  margin: 0;
  overflow: hidden;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame--deferred {
  padding: 0;
}

.video-launch {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.56);
}

.video-launch-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: min(100% - 2rem, 18rem);
  padding: 0.8rem 1.3rem;
  border: 1.5px solid var(--line);
  background: rgba(38, 44, 51, 0.92);
  box-shadow: 0.35rem 0.35rem 0 var(--shadow);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  line-height: 1.3;
  font-weight: 700;
}

.video-launch:hover .video-launch-label,
.video-launch:focus-visible .video-launch-label {
  color: var(--accent);
  transform: translate(calc(-50% - 0.1rem), calc(-50% - 0.1rem));
  box-shadow: 0.45rem 0.45rem 0 rgba(0, 0, 0, 0.12);
}

.video-launch:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: -1px;
}

.video-disclosure {
  margin: -0.45rem 0 0;
  color: var(--link-subtle);
  font-size: 0.82rem;
}

.video-disclosure a,
.video-disclosure a:visited {
  color: var(--link-subtle);
}

.video-disclosure a:hover,
.video-disclosure a:focus-visible {
  color: var(--muted);
}

.page-card,
.policy-card {
  width: 100%;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0.5rem 0.5rem 0 var(--shadow);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-unit);
}

.page-card > *,
.policy-card > * {
  margin: 0;
}

.page-card h2,
.policy-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: 0.03em;
  font-weight: 700;
}

.page-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.page-card ul,
.policy-card ul {
  margin: 0;
  padding-left: 1.35rem;
  list-style-position: outside;
}

.page-card li + li,
.policy-card li + li {
  margin-top: 0.45rem;
}

.page-details {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.page-details dt {
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.page-details dd {
  margin: 0.35rem 0 0;
}

.page-inline-list {
  margin: 0;
  padding-left: 1.2rem;
}

.page-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.section-body .cta-link + .cta-link {
  margin-left: 0.65rem;
}

.policy-return {
  margin: 0;
  text-align: center;
}

.policy-return a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

.site-footer {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: center;
  color: var(--link-subtle);
  font-size: 0.82rem;
}

.site-footer-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.site-footer-list li:not(:last-child)::after {
  content: "|";
  margin-left: 0.5rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--link-subtle);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.page-card a,
.page-card a:visited {
  color: var(--link);
}

.page-card a:hover,
.page-card a:focus-visible,
.policy-return a:hover,
.policy-return a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--muted);
}

.site-footer-note {
  margin: 0;
  color: var(--link-subtle);
}

@media (max-width: 40rem) {
  .site-shell {
    width: min(calc(100% - 1.25rem), var(--max));
    padding-top: 2.4rem;
  }

  .site-nav ul {
    gap: 0.5rem;
  }

  .site-nav li:not(:last-child)::after {
    margin-left: 0.5rem;
  }

  .video-launch-label {
    min-width: min(100% - 2rem, 14rem);
  }

  .page-link-row {
    flex-direction: column;
  }

  .section-body .cta-link + .cta-link {
    margin-left: 0.5rem;
  }

  .site-footer {
    width: min(calc(100% - 1.25rem), var(--max));
  }
}
