:root {
  color-scheme: dark;
  --ink: #f7f8fb;
  --muted: #9ca7b7;
  --soft: #d7dde8;
  --line: rgba(255, 255, 255, 0.12);
  --paper: #f4f6f8;
  --dark: #07090f;
  --panel: #0e121b;
  --panel-2: #151b27;
  --scarlet: #d83b4a;
  --scarlet-dark: #a91f2e;
  --gold: #f2bd4d;
  --green: #3ed1a2;
  --blue: #4f9cff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--dark);
  color: var(--ink);
}

body.is-loading {
  overflow: hidden;
}

body.is-loading .site-header,
body.is-loading main,
body.is-loading .site-footer {
  opacity: 0;
}

body:not(.is-loading) .site-header,
body:not(.is-loading) main,
body:not(.is-loading) .site-footer {
  animation: pageReveal 520ms ease both;
}

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

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

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

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(7, 9, 15, 0.96), rgba(31, 12, 18, 0.96)),
    url("assets/roleplay-scene-background.png") center / cover;
  color: #fff;
  text-align: center;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.loading-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 15, 0.72);
}

.loading-screen img,
.loading-screen strong,
.loading-screen span,
.loading-track {
  position: relative;
  z-index: 1;
}

.loading-screen img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.4));
}

.loading-screen strong {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
}

.loading-screen span {
  color: rgba(247, 248, 251, 0.64);
  font-size: 0.92rem;
  font-weight: 800;
}

.loading-track {
  width: min(280px, 74vw);
  height: 4px;
  overflow: hidden;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.loading-track div {
  width: 44%;
  height: 100%;
  background: linear-gradient(90deg, var(--scarlet), var(--gold));
  animation: loadingSweep 1100ms ease-in-out infinite;
}

body:not(.is-loading) .loading-screen {
  opacity: 0;
  visibility: hidden;
}

.site-header {
  position: fixed;
  top: 16px;
  right: clamp(14px, 4vw, 48px);
  left: clamp(14px, 4vw, 48px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 9, 15, 0.44);
  border-radius: 28px;
  color: var(--ink);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(22px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(7, 9, 15, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  overflow: hidden;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
}

.brand-mark img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding: 12px 14px;
  color: rgba(247, 248, 251, 0.78);
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  margin-left: 8px;
  background: #fff;
  color: #07090f;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.14);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 118px clamp(18px, 5vw, 72px) 32px;
  background:
    linear-gradient(105deg, rgba(7, 9, 15, 0.94) 0%, rgba(7, 9, 15, 0.78) 45%, rgba(95, 14, 23, 0.32) 100%),
    url("assets/roleplay-scene-background.png") center / cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.05fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: center;
  width: min(1220px, 100%);
  margin: 0 auto;
}

.hero-copy-block {
  max-width: 690px;
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(242, 189, 77, 0.34);
  background: rgba(242, 189, 77, 0.1);
  color: #ffdf8a;
  font-size: 0.82rem;
  font-weight: 900;
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 740px;
  margin: 20px 0 0;
  font-size: clamp(3.4rem, 7.4vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(247, 248, 251, 0.78);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions,
.application-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  font-weight: 900;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.button.primary {
  background: var(--scarlet);
  color: #fff;
}

.button.primary:hover {
  background: #ee5260;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  backdrop-filter: blur(12px);
}

.discord-button::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-right: 9px;
  background: url("assets/ohio-state-large.png") center / contain no-repeat;
}

.hero-note {
  margin: 16px 0 0;
  color: rgba(247, 248, 251, 0.56);
  font-size: 0.9rem;
  font-weight: 700;
}

.brand-showcase {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 560px;
  place-items: center;
  padding: clamp(22px, 4vw, 42px);
}

.showcase-art {
  width: min(820px, 138%);
  max-width: none;
  transform: translate(14px, 10px);
  filter: drop-shadow(0 40px 52px rgba(0, 0, 0, 0.52)) brightness(1.14) saturate(1.1);
}

.showcase-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(7, 9, 15, 0.48);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  border-radius: 8px;
}

.primary-card {
  right: 8px;
  bottom: 84px;
  min-width: min(320px, calc(100% - 44px));
}

.mini-card {
  top: 98px;
  left: 24px;
  display: block;
  min-width: 146px;
}

.showcase-card img {
  width: 54px;
  height: 54px;
  object-fit: cover;
}

.showcase-card span,
.showcase-card strong {
  display: block;
}

.showcase-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-card strong {
  margin-top: 4px;
  color: #fff;
  font-size: 1rem;
}

.mini-card strong {
  color: #ffdf8a;
  font-size: 1.52rem;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.browser-bar p {
  margin: 0 0 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  min-height: 430px;
}

.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.preview-sidebar strong {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.02rem;
}

.preview-sidebar span {
  padding: 10px 0;
  color: rgba(247, 248, 251, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
}

.preview-main {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
}

.preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.preview-topline p,
.preview-topline strong {
  display: block;
  margin: 0;
}

.preview-topline p {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-topline strong {
  margin-top: 5px;
  font-size: 1.55rem;
}

.status-dot {
  padding: 8px 10px;
  background: rgba(62, 209, 162, 0.12);
  color: #8dffd8;
  font-size: 0.78rem;
  font-weight: 900;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid div,
.call-board div,
.feature-grid article,
.department-grid article,
.rules-list div,
.gallery-grid button {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
}

.metric-grid div {
  min-height: 104px;
  padding: 16px;
}

.metric-grid span,
.call-board strong {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-grid strong {
  display: block;
  margin-top: 18px;
  font-size: 2rem;
}

.call-board {
  display: grid;
  gap: 10px;
}

.call-board div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 64px;
  padding: 14px;
}

.call-board p {
  margin: 0;
  color: var(--soft);
  font-weight: 800;
}

.call-code {
  display: inline-flex;
  justify-content: center;
  padding: 8px 0;
  background: rgba(216, 59, 74, 0.14);
  color: #ff8b96;
  font-weight: 900;
}

.stats-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1220px, 100%);
  margin: 34px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(7, 9, 15, 0.38);
  backdrop-filter: blur(18px);
  border-radius: 8px;
}

.stats-strip div {
  min-height: 88px;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stats-strip div:last-child {
  border-right: 0;
}

.stats-strip strong,
.stats-strip span {
  display: block;
}

.stats-strip strong {
  font-size: 1.55rem;
}

.stats-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: 88px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4.4vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
}

.section p {
  color: var(--muted);
  line-height: 1.7;
}

.logo-band {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: #10141e;
}

.logo-band span {
  display: grid;
  min-height: 86px;
  place-items: center;
  color: rgba(247, 248, 251, 0.5);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.035);
}

.platform-section {
  background: var(--paper);
  color: #10141e;
}

.platform-section .section-heading p,
.platform-section .feature-grid p {
  color: #667085;
}

.platform-section .eyebrow {
  color: var(--scarlet);
}

.verification-section {
  background:
    linear-gradient(135deg, rgba(7, 9, 15, 0.96), rgba(30, 12, 18, 0.92)),
    url("assets/roleplay-scene-background.png") center / cover;
  color: #fff;
}

.verification-section .section-heading,
.verification-grid,
.verification-callout {
  width: min(1220px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.verification-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.verification-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.065);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.verification-grid p,
.verification-callout p {
  color: rgba(247, 248, 251, 0.7);
}

.verification-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 9, 15, 0.54);
  border-radius: 8px;
  backdrop-filter: blur(16px);
}

.verification-callout strong {
  display: block;
  color: #ffdf8a;
  font-size: 1.1rem;
}

.verification-callout p {
  margin: 6px 0 0;
}

.verification-callout code {
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 4px;
}

.feature-grid,
.department-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article {
  min-height: 240px;
  padding: 24px;
  border-color: #dbe1ea;
  background: #fff;
}

.feature-number {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--scarlet);
  font-weight: 900;
}

.dark-band {
  background:
    linear-gradient(120deg, rgba(7, 9, 15, 0.96), rgba(14, 18, 27, 0.92)),
    url("assets/discord-regulations.png") center / cover;
  color: var(--ink);
}

.dark-band .section-heading,
.dark-band .department-grid {
  width: min(1220px, 100%);
  margin-right: auto;
  margin-left: auto;
}

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

.department-grid article {
  min-height: 210px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.department-grid p {
  color: rgba(247, 248, 251, 0.68);
}

.regulations-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
  background: #fff;
  color: #10141e;
}

.rules-copy {
  max-width: 720px;
}

.rules-copy .eyebrow {
  color: var(--scarlet);
}

.rules-copy p {
  color: #667085;
}

.regulations-section .button.secondary {
  border-color: #dbe1ea;
  background: #fff;
  color: #10141e;
}

.rules-list {
  display: grid;
  gap: 14px;
}

.rules-list div {
  padding: 20px;
  border-color: #dbe1ea;
  border-left: 5px solid var(--scarlet);
  background: #f7f9fc;
}

.rules-list strong,
.rules-list span {
  display: block;
}

.rules-list span {
  margin-top: 6px;
  color: #667085;
}

.gallery-section {
  background: var(--paper);
  color: #10141e;
}

.gallery-section .eyebrow {
  color: var(--scarlet);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-grid button {
  padding: 0;
  overflow: hidden;
  border-color: #dbe1ea;
  background: #fff;
  color: #10141e;
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.gallery-grid button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(16, 20, 30, 0.12);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid span {
  display: block;
  padding: 14px;
  font-size: 0.9rem;
  font-weight: 900;
}

.application-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #123a33, #1d232f 52%, #621924);
  color: #fff;
}

.application-copy {
  max-width: 720px;
}

.application-section p {
  color: rgba(247, 248, 251, 0.74);
}

.application-section .button.secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #07090f;
  color: #fff;
}

.site-footer span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.site-footer a {
  color: #ffdf8a;
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.legal-body {
  background:
    linear-gradient(135deg, rgba(7, 9, 15, 0.94), rgba(30, 12, 18, 0.92)),
    url("assets/roleplay-scene-background.png") center top / cover fixed;
}

.legal-hero {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 160px 0 54px;
}

.legal-hero h1 {
  max-width: 920px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
}

.legal-hero p {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(247, 248, 251, 0.76);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.legal-hero span {
  display: inline-flex;
  margin-top: 22px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 9, 15, 0.46);
  color: #ffdf8a;
  font-size: 0.88rem;
  font-weight: 900;
  border-radius: 999px;
  backdrop-filter: blur(14px);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 82px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 2px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 9, 15, 0.52);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.legal-toc a {
  padding: 11px 12px;
  color: rgba(247, 248, 251, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 6px;
}

.legal-toc a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.legal-card {
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(248, 250, 252, 0.96);
  color: #10141e;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  border-radius: 8px;
}

.legal-section {
  scroll-margin-top: 120px;
  padding: 30px 0;
  border-bottom: 1px solid #dbe1ea;
}

.legal-section:first-child {
  padding-top: 0;
}

.legal-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 14px;
  color: #10141e;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.08;
}

.legal-section p,
.legal-section li {
  color: #4c5868;
  line-height: 1.75;
}

.legal-section p {
  margin: 0 0 14px;
}

.legal-section ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.legal-section strong {
  color: #17202f;
}

.legal-callout {
  padding: 14px 16px;
  border-left: 4px solid var(--scarlet);
  background: #fff4f5;
  color: #7d202b !important;
  font-weight: 800;
}

.verification-actions,
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.intake-hero h1,
.account-hero h1 {
  max-width: 980px;
}

.intake-layout,
.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 82px;
  align-items: start;
}

.account-layout {
  grid-template-columns: 1fr;
}

.intake-form,
.intake-side,
.account-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(248, 250, 252, 0.96);
  color: #10141e;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  border-radius: 8px;
}

.intake-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-section-title {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-top: 10px;
}

.form-section-title:first-of-type {
  padding-top: 0;
}

.form-section-title span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  background: var(--scarlet);
  color: #fff;
  font-weight: 900;
  border-radius: 8px;
}

.form-section-title h2 {
  margin: 0;
  color: #10141e;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.05;
}

.form-section-title p,
.intake-side p,
.intake-side span,
.account-card p {
  color: #667085;
}

.intake-form label {
  display: grid;
  gap: 8px;
  color: #17202f;
  font-size: 0.92rem;
  font-weight: 900;
}

.intake-form input,
.intake-form select,
.intake-form textarea {
  width: 100%;
  border: 1px solid #dbe1ea;
  background: #fff;
  color: #10141e;
  padding: 13px 14px;
  font: inherit;
  font-weight: 700;
  border-radius: 8px;
}

.intake-form textarea {
  resize: vertical;
}

.checkbox-line {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 900;
}

.form-status.is-pending {
  color: #667085;
}

.form-status.is-success {
  color: #16734f;
}

.form-status.is-error {
  color: #a91f2e;
}

.intake-side {
  position: sticky;
  top: 108px;
  padding: 24px;
}

.intake-side img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 8px;
}

.intake-side h2 {
  margin: 22px 0 12px;
  color: #10141e;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.intake-side div {
  margin-top: 20px;
  padding: 16px;
  border-left: 4px solid var(--scarlet);
  background: #fff4f5;
  border-radius: 6px;
}

.intake-side strong,
.intake-side span {
  display: block;
}

.intake-side strong {
  color: #7d202b;
}

.account-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: clamp(22px, 4vw, 42px);
}

.account-avatar {
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  overflow: hidden;
  background: #10141e;
  border-radius: 8px;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-card h2 {
  margin: 0;
  color: #10141e;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.96;
}

.account-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.account-facts span {
  display: block;
  min-height: 82px;
  padding: 14px;
  background: #f4f6f8;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 8px;
}

.account-facts strong {
  display: block;
  margin-top: 8px;
  color: #10141e;
  font-size: 0.88rem;
  text-transform: none;
}

.account-card .button.secondary {
  border-color: #dbe1ea;
  background: #fff;
  color: #10141e;
}

.member-tools {
  margin-top: 26px;
  padding: clamp(22px, 4vw, 40px);
  background:
    linear-gradient(135deg, rgba(207, 30, 45, 0.08), transparent 42%),
    #10141e;
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.member-tools-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.member-tools-heading h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 0.98;
}

.member-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.member-tool-card {
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.member-tool-card span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 28px;
  background: var(--scarlet);
  color: #fff;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.member-tool-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.member-tool-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.intake-form .button:disabled,
.account-card .button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.image-modal {
  width: min(1100px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #fff;
  box-shadow: var(--shadow);
}

.image-modal::backdrop {
  background: rgba(6, 8, 13, 0.82);
}

.image-modal button {
  display: block;
  margin: 0 0 12px auto;
  border: 0;
  background: var(--scarlet);
  color: #fff;
  padding: 10px 14px;
  font-weight: 900;
}

.image-modal img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

@keyframes loadingSweep {
  0% {
    transform: translateX(-120%);
  }

  50% {
    transform: translateX(90%);
  }

  100% {
    transform: translateX(260%);
  }
}

@keyframes pageReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1060px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .product-shell {
    width: min(760px, 100%);
  }

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

  .logo-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intake-layout {
    grid-template-columns: 1fr;
  }

  .intake-side {
    position: static;
  }

  .account-facts {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 9, 15, 0.96);
    border-radius: 22px;
    box-shadow: var(--shadow);
    flex-direction: column;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .feature-grid,
  .verification-grid,
  .regulations-section,
  .application-section {
    display: grid;
    grid-template-columns: 1fr;
  }

  .verification-callout {
    display: grid;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    right: 10px;
    left: 10px;
    min-height: 62px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand small {
    font-size: 0.66rem;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .brand-showcase {
    min-height: 360px;
    padding: 18px;
  }

  .showcase-art {
    width: min(470px, 128%);
  }

  .showcase-card {
    right: 14px;
    bottom: 14px;
    min-width: calc(100% - 28px);
    padding: 12px;
  }

  .showcase-card img {
    width: 46px;
    height: 46px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .dashboard-preview {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: none;
  }

  .preview-main {
    padding: 16px;
  }

  .metric-grid,
  .stats-strip,
  .department-grid,
  .gallery-grid,
  .logo-band {
    grid-template-columns: 1fr;
  }

  .call-board div {
    grid-template-columns: 1fr;
  }

  .stats-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-hero {
    padding-top: 128px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .account-card {
    grid-template-columns: 1fr;
  }

  .account-avatar {
    width: 92px;
    height: 92px;
  }

  .member-tools-heading {
    display: grid;
  }

  .member-tool-grid {
    grid-template-columns: 1fr;
  }

  .member-tool-card {
    min-height: auto;
  }
}
