:root {
  --ink: #17121f;
  --muted: #62596f;
  --purple: #5a2d82;
  --purple-dark: #2f1746;
  --purple-soft: #f2ecf8;
  --line: #e7dfef;
  --surface: #ffffff;
  --surface-soft: #faf8fc;
  --success: #1f7a4d;
  --shadow: 0 24px 70px rgba(32, 18, 48, 0.14);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.7;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  padding: 0 clamp(16px, 5vw, 64px);
  background: transparent;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(231, 223, 239, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(32, 18, 48, 0.12);
  backdrop-filter: blur(16px);
}

.brand-link img {
  width: 148px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 8px;
}

.site-nav a:hover {
  background: var(--purple-soft);
  color: var(--purple);
}

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  white-space: nowrap;
  border: 1px solid var(--purple);
  border-radius: 8px;
  padding: 8px 16px;
  color: #fff;
  background: var(--purple);
  font-weight: 800;
}

.login-link:hover {
  background: var(--purple-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

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

.hero-section {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 92px) clamp(20px, 6vw, 80px);
  color: #fff;
  background:
    radial-gradient(circle at 85% 16%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #241036 0%, #5a2d82 58%, #7a4da1 100%);
}

.hero-inner {
  display: grid;
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  max-width: 1180px;
  min-height: 520px;
  margin: 0 auto;
}

.hero-split {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.hero-centered {
  max-width: 880px;
  text-align: center;
}

.hero-centered .hero-media {
  display: none;
}

.hero-symbol {
  width: 54px;
  margin-bottom: 18px;
}

.hero-centered .hero-symbol {
  margin-right: auto;
  margin-left: auto;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-centered .hero-copy p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.hero-media {
  min-height: 360px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.hero-media.brand-mark {
  display: grid;
  place-items: center;
  padding: 44px;
}

.hero-media.brand-mark img {
  width: min(320px, 78%);
  min-height: auto;
  object-fit: contain;
}

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 1180px;
  margin: 28px auto 0;
}

.hero-controls button {
  min-width: 92px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  padding: 8px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.hero-controls button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.section,
.value-section,
.trust-section,
.final-cta {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 6vw, 80px);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.compact {
  margin: 0 0 24px;
  text-align: start;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 12px 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.tile,
.steps article,
.login-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.tile {
  min-height: 260px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(40, 25, 55, 0.08);
}

.tile span {
  color: var(--purple);
  font-weight: 900;
}

.tile p,
.steps p,
.trust-section p,
.final-cta p,
.login-panel p {
  margin: 0;
  color: var(--muted);
}

.value-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 80px);
  background: var(--surface-soft);
}

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

.value-list p {
  margin: 0;
  border-right: 4px solid var(--purple);
  border-radius: 8px;
  padding: 18px 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(40, 25, 55, 0.06);
}

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

.steps article {
  min-height: 180px;
  padding: 26px;
}

.steps strong {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--purple);
  font-size: 24px;
}

.trust-section {
  max-width: none;
  color: #fff;
  background: #1f1230;
  text-align: center;
}

.trust-section .eyebrow {
  color: #d9c9ea;
}

.trust-section p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.final-cta {
  color: #fff;
  background: linear-gradient(135deg, #5a2d82 0%, #2f1746 100%);
  text-align: center;
}

.final-cta p {
  max-width: 720px;
  margin: 16px auto 26px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(20px, 6vw, 80px);
  color: rgba(255, 255, 255, 0.76);
  background: #160d22;
}

.site-footer img {
  width: 150px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--purple);
  border-radius: 8px;
  padding: 10px 18px;
  color: #fff;
  background: var(--purple);
  font-weight: 800;
  cursor: pointer;
}

.button:hover {
  background: var(--purple-dark);
}

.button-light {
  border-color: #fff;
  color: var(--purple-dark);
  background: #fff;
}

.button-light:hover {
  color: #fff;
  background: transparent;
}

.button-secondary {
  color: var(--purple);
  background: #fff;
}

.button-secondary:hover {
  color: #fff;
}

.public-login-entry {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: var(--surface-soft);
}

.login-panel {
  width: min(480px, 100%);
  padding: 34px;
  box-shadow: var(--shadow);
}

.login-panel img {
  width: 170px;
  margin-bottom: 34px;
}

.login-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.2;
}

.login-panel .button {
  margin-top: 24px;
}

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

.checkbox-row {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
}

.checkbox-row input {
  width: auto;
}

.form-actions,
.item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 900px) {
  .site-footer,
  .login-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    top: 10px;
    padding: 0 12px;
  }

  .header-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .brand-link {
    grid-column: 1;
    grid-row: 1;
  }

  .login-link {
    grid-column: 3;
    grid-row: 1;
    padding: 8px 12px;
  }

  .nav-toggle {
    display: inline-block;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .site-header.nav-open .site-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-split,
  .value-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-media,
  .hero-media img,
  .hero-media video {
    min-height: 220px;
  }

  .tile-grid,
  .steps,
  .form-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .site-nav a {
    padding: 6px 8px;
  }

  .brand-link img {
    width: 126px;
  }

  .login-link {
    min-height: 38px;
    padding: 6px 10px;
    font-size: 14px;
  }

  .hero-section,
  .section,
  .value-section,
  .trust-section,
  .final-cta {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .login-panel,
  .public-login-entry {
    padding: 18px;
  }
}
