:root {
  --c-ink: #0b0f10;
  --c-teal: rgba(22, 171, 255, 1);
  --c-teal-weak: rgba(44, 87, 92, 0.18);
  --c-surface: rgba(255, 255, 255, 0.62);
  --c-surface-strong: rgba(255, 255, 255, 0.82);
  --c-border: rgba(0, 0, 0, 0.35);
  --c-shadow: rgba(0, 0, 0, 0.18);
  --c-night: #071b1f;

  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.25rem;
  --radius-pill: 999rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  --input-height: 3.125rem;

  --font-display: "Cinzel", ui-serif, Georgia, "Times New Roman", serif;
  --font-body:
    "Be Vietnam Pro",
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;

  --shadow-soft: 0 0.8rem 2rem var(--c-shadow);
  --shadow-field: 0 0.35rem 0.9rem rgba(0, 0, 0, 0.2);
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  color: var(--c-ink);
  font-family: var(--font-body);
}

#root {
  display: contents;
}

img,
picture {
  max-width: 100%;
}

.invalid-feedback {
  margin-top: var(--space-2);
  font-size: 0.8125rem;
}

.home__skip {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 1000;
}

.shell__page {
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.shell__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.shell__bg > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.shell__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(58% 48% at 50% 30%, rgba(255, 255, 255, 0.5), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.38));
}

.home__viewport {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-10) var(--space-4);
}

.home__container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.home__panel {
  width: min(100%, 68rem);
  border-radius: calc(var(--radius-lg) + 0.25rem);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.home__panelInner {
  padding: clamp(1.25rem, 2.6vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.8vw, 2.25rem);
}

.home__topRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.home__brand {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-width: min(100%, 34rem);
}

.home__mark {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: grid;
  place-items: center;
  box-shadow: 0 0.9rem 1.8rem rgba(0, 0, 0, 0.1);
}

.home__k {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.9rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.58);
  transform: translateY(-0.02em);
}

.home__brandText {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.home__title {
  margin: 0;
  font-weight: 900;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.82);
}

.home__subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.7);
  max-width: 62ch;
}

.home__nav {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.home__navLink {
  font-weight: 850;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.74);
  text-decoration: none;
  text-underline-offset: 0.25rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.55);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.home__navLink:hover {
  border-color: rgba(44, 87, 92, 0.32);
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-1px);
}

.home__navLink:active {
  transform: translateY(0px);
}

.home__navLink:focus-visible {
  outline: 3px solid rgba(44, 87, 92, 0.35);
  outline-offset: 3px;
}

.home__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.home__hero {
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border-radius: calc(var(--radius-lg) + 0.25rem);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.home__eyebrow {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(44, 87, 92, 0.9);
}

.home__headline {
  margin: var(--space-3) 0 0;
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.05;
  font-size: clamp(1.75rem, 3.3vw, 2.6rem);
  color: rgba(0, 0, 0, 0.88);
}

.home__lead {
  margin: var(--space-4) 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.72);
  max-width: 70ch;
}

.home__ctaRow {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.home__btnPrimary {
  height: 2.85rem;
  border-radius: var(--radius-pill);
  border: 0;
  padding: 0 1.2rem;
  background: linear-gradient(90deg, #2c575c, #a7c5c9);
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
  text-decoration: none;
}

.home__btnPrimary:hover {
  filter: saturate(1.03) brightness(1.02);
  transform: translateY(-1px);
  box-shadow: 0 1.1rem 2.2rem rgba(0, 0, 0, 0.2);
}

.home__btnPrimary:active {
  transform: translateY(0px);
}

.home__btnPrimary:focus-visible {
  outline: 3px solid rgba(44, 87, 92, 0.35);
  outline-offset: 4px;
}

.home__btnSecondary {
  height: 2.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(44, 87, 92, 0.35);
  padding: 0 1.2rem;
  background: rgba(255, 255, 255, 0.65);
  color: rgba(44, 87, 92, 0.95);
  font-weight: 900;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  text-decoration: none;
}

.home__btnSecondary:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(44, 87, 92, 0.5);
  transform: translateY(-1px);
}

.home__btnSecondary:active {
  transform: translateY(0px);
}

.home__btnSecondary:focus-visible {
  outline: 3px solid rgba(44, 87, 92, 0.35);
  outline-offset: 4px;
}

.home__stats {
  margin: var(--space-8) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.home__stat {
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.55);
  padding: 0.9rem 0.9rem;
}

.home__statNumber {
  margin: 0;
  font-weight: 950;
  font-size: 1.15rem;
  color: rgba(0, 0, 0, 0.82);
}

.home__statLabel {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.68);
}

.home__side {
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border-radius: calc(var(--radius-lg) + 0.25rem);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.64);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.home__sideTitle {
  margin: 0;
  font-weight: 950;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.82);
}

.home__sideList {
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.home__sideItem {
  display: grid;
  grid-template-columns: 0.9rem 1fr;
  gap: 0.75rem;
  align-items: start;
  color: rgba(0, 0, 0, 0.72);
  font-size: 0.95rem;
  line-height: 1.5;
}

.home__dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999rem;
  background: rgba(44, 87, 92, 0.85);
  margin-top: 0.4rem;
  box-shadow: 0 0 0 0.25rem rgba(44, 87, 92, 0.12);
}

.home__support {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.home__supportLink {
  font-weight: 900;
  color: var(--c-teal);
  text-decoration: none;
  text-decoration-color: rgba(44, 87, 92, 0.45);
  text-underline-offset: 0.25rem;
}

.home__supportLink:hover {
  text-decoration: underline;
}

.home__footer {
  margin-top: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.home__footerText {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.66);
}

.home__footerLinks {
  display: inline-flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.home__footerLink {
  font-size: 0.85rem;
  font-weight: 850;
  color: rgba(0, 0, 0, 0.68);
  text-decoration: none;
  text-underline-offset: 0.25rem;
}

.home__footerLink:hover {
  text-decoration: underline;
}

@media (min-width: 992px) {
  .home__layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }
  .home__hero,
  .home__side {
    height: 100%;
  }
}

@media (max-width: 575.98px) {
  .home__stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home__navLink,
  .home__btnPrimary,
  .home__btnSecondary {
    transition: none;
  }
}
