:root {
  --ink: #18212b;
  --muted: #5c6773;
  --line: #dbe2ea;
  --surface: #fffdf8;
  --surface-alt: #f2f6fb;
  --surface-soft: #fff3e6;
  --brand: #1463e2;
  --brand-deep: #0f4cb1;
  --coral: #f07f4f;
  --gold: #f0b541;
  --shadow: 0 20px 60px rgba(24, 33, 43, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--surface);
}

body {
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

main {
  overflow: hidden;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid rgba(219, 226, 234, 0.8);
}

.header-row,
.footer-row,
.hero-content,
.signal-grid,
.intro-grid,
.split-feature,
.standards-grid,
.cta-block {
  display: grid;
}

.header-row {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}

.brand {
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: #31404f;
  font-size: 0.96rem;
  font-weight: 600;
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(24, 33, 43, 0.78) 0%, rgba(24, 33, 43, 0.5) 42%, rgba(24, 33, 43, 0.16) 100%),
    linear-gradient(180deg, rgba(24, 33, 43, 0.08) 0%, rgba(24, 33, 43, 0.56) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  gap: 16px;
  padding-top: 108px;
  padding-bottom: 88px;
  max-width: 640px;
  color: #ffffff;
}

.eyebrow {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.kicker {
  margin: 0;
  color: var(--brand);
  font-size: 0.84rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.accent-blue {
  color: var(--brand);
}

.accent-coral {
  color: var(--coral);
}

.accent-gold {
  color: #b77900;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 4.9rem;
  line-height: 0.92;
  font-weight: 400;
  max-width: 10ch;
}

h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 3.2rem;
  line-height: 0.98;
  font-weight: 400;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 700;
}

.hero-copy,
.feature-copy p,
.standard p,
.step p,
.faq-list p,
.footer-copy,
.lead {
  margin: 0;
  color: inherit;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--brand);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--brand-deep);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
}

.btn-ghost {
  background: #ffffff;
  border-color: var(--line);
  color: var(--ink);
}

.signal-band {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.signal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 22px 0;
}

.signal-label,
.signal-value {
  margin: 0;
}

.signal-label {
  color: var(--muted);
  font-size: 0.92rem;
}

.signal-value {
  font-size: 1.02rem;
  font-weight: 700;
}

.section {
  padding: 88px 0;
}

.section-contrast {
  background: var(--surface-alt);
}

.section-soft {
  background: var(--surface-soft);
}

.section-cta {
  padding-top: 36px;
}

.section-heading {
  display: grid;
  gap: 12px;
}

.section-heading.narrow {
  max-width: 44rem;
}

.intro-grid {
  gap: 34px;
}

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

.step,
.standard,
.success-card,
.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.step,
.standard,
.success-card,
.card,
.cta-block {
  padding: 24px;
}

.step-number {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 800;
}

.step p,
.standard p,
.feature-copy p,
.lead,
.footer-copy {
  color: var(--muted);
}

.split-feature {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: center;
  gap: 36px;
}

.split-feature.reverse {
  grid-template-columns: minmax(320px, 480px) minmax(0, 1fr);
}

.feature-copy {
  display: grid;
  gap: 18px;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  display: grid;
  gap: 10px;
  font-weight: 600;
}

.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.standards-grid {
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.faq-wrap {
  display: grid;
  gap: 28px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: #ffffff;
}

.faq-list summary {
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin-top: 12px;
}

.cta-block {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  background: #17202a;
  color: #ffffff;
  border-radius: 8px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 44px;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.account-stack {
  display: grid;
  gap: 18px;
}

.auth-card,
.dashboard-card,
.blocked-card,
.account-aside {
  padding: 24px;
}

.card-intro,
.dashboard-header,
.account-section-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.card-intro {
  flex-direction: column;
}

.auth-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.auth-form label {
  font-size: 0.92rem;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.inline-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
}

.inline-status[data-tone="error"] {
  color: #b44226;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.role-chip,
.status-pill.small {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f6f9fc;
  color: #31404f;
  font-size: 0.88rem;
  font-weight: 700;
}

.account-section {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.list-stack {
  display: grid;
  gap: 12px;
}

.list-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.list-item-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.list-item h4 {
  margin: 0;
  font-size: 1rem;
}

.list-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.detail-kicker {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 0.82rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.detail-copy {
  font-size: 0.92rem;
}

.empty-state {
  background: #fbfcfe;
}

.footer-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 8px;
}

.footer-copy {
  max-width: 28rem;
}

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

.footer-links a {
  text-decoration: none;
  color: #3c4f61;
  font-weight: 600;
}

.shell,
.center-shell {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 40px;
}

.center-shell {
  min-height: 100vh;
  display: grid;
  align-items: center;
}

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

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.nav a,
.footer a {
  text-decoration: none;
}

.hero.compact {
  position: static;
  min-height: auto;
  display: block;
  padding: 48px 0 8px;
}

.hero.compact .lead {
  max-width: 42rem;
}

.grid2,
.grid3 {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

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

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

.card p {
  margin: 12px 0 18px;
}

.ops {
  color: #3c4f61;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 1100px) {
  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.8rem;
  }

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

@media (max-width: 860px) {
  .header-row,
  .footer-row,
  .cta-block,
  .split-feature,
  .split-feature.reverse,
  .account-layout,
  .signal-grid,
  .steps,
  .grid2,
  .grid3 {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: 560px;
  }

  .hero-content {
    max-width: 100%;
    padding-top: 84px;
    padding-bottom: 54px;
  }

  h1 {
    font-size: 3.3rem;
    max-width: 11ch;
  }

  h2 {
    font-size: 2.45rem;
  }
}

@media (max-width: 560px) {
  .container,
  .shell,
  .center-shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    position: static;
  }

  .header-row {
    padding: 18px 0;
  }

  .site-nav {
    gap: 12px;
  }

  .hero {
    min-height: 500px;
  }

  .hero-content {
    padding-top: 48px;
    padding-bottom: 32px;
  }

  h1 {
    font-size: 2.72rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .button,
  .auth-actions .btn,
  .nav-cta {
    width: 100%;
  }

  .dashboard-header,
  .account-section-heading,
  .list-item-header {
    flex-direction: column;
  }
}
