@import url('./actions.css');

.public-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #f6fbff;
  font-size: 16px;
}

.public-page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.public-ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.public-ambient-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.9;
}

.public-ambient-orb-primary {
  top: -8rem;
  inset-inline-start: -4rem;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(57, 198, 170, 0.2), transparent 68%);
}

.public-ambient-orb-secondary {
  inset-inline-end: -10rem;
  bottom: 12%;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(87, 162, 255, 0.16), transparent 72%);
}

.public-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(142, 177, 193, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(142, 177, 193, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  opacity: 0.34;
}

.public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3.75rem;
}

.public-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
  color: inherit;
}

.public-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.public-brand-title {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.public-brand-subtitle {
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(190, 217, 228, 0.72);
}

.public-locale-toggle,
.public-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(135, 171, 189, 0.22);
  background: rgba(13, 27, 39, 0.72);
  color: #f6fbff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 18px 45px rgba(4, 11, 18, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.public-kicker,
.public-section-kicker,
.public-art-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(87, 222, 189, 0.28);
  background: rgba(22, 60, 70, 0.34);
  color: #a9f2dc;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-hero-title,
.public-section-title {
  margin: 0;
  font-size: clamp(3rem, 5.3vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #f8fcff;
}

.public-section-title {
  font-size: clamp(2.2rem, 3.3vw, 3.3rem);
}

.public-hero-body,
.public-section-body {
  max-width: 36rem;
  margin: 1.2rem 0 0;
  color: #b8cad4;
  font-size: 1.2rem;
  line-height: 1.8;
}

.public-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.public-trust-card,
.public-step-card,
.public-art-frame,
.public-auth-card,
.public-inline-note {
  border: 1px solid rgba(151, 183, 198, 0.14);
  background:
    linear-gradient(180deg, rgba(31, 53, 67, 0.3), rgba(10, 20, 30, 0.62)),
    rgba(7, 16, 24, 0.82);
  box-shadow:
    0 24px 60px rgba(3, 11, 18, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.public-trust-title,
.public-step-title,
.public-inline-note-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: #f8fcff;
}

.public-trust-body,
.public-step-body,
.public-inline-note-body {
  margin: 0.65rem 0 0;
  color: #a9bcc8;
  line-height: 1.8;
  font-size: 1.02rem;
}

@keyframes public-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1025px) {
  .public-page {
    font-size: 18px;
  }

  .public-brand-title {
    font-size: 1.6rem;
  }

  .public-brand-subtitle {
    font-size: 0.94rem;
  }

  .public-kicker,
  .public-section-kicker,
  .public-art-eyebrow {
    font-size: 0.92rem;
    padding: 0.48rem 0.92rem;
  }

  .public-hero-title {
    font-size: clamp(3.8rem, 5.8vw, 6.2rem);
  }

  .public-section-title {
    font-size: clamp(2.6rem, 3.6vw, 3.9rem);
  }

  .public-hero-body,
  .public-section-body {
    max-width: 34rem;
    font-size: 1.35rem;
    line-height: 1.72;
  }

  .public-step-title,
  .public-inline-note-title,
  .public-trust-title {
    font-size: 1.18rem;
  }

  .public-step-body,
  .public-inline-note-body,
  .public-trust-body {
    font-size: 1.08rem;
    line-height: 1.78;
  }
}

@media (max-width: 640px) {
  .public-page-shell {
    width: min(100% - 1.25rem, 100%);
    padding-top: 0.9rem;
    padding-bottom: 2.8rem;
  }

  .public-header {
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
  }

  .public-header-actions {
    width: auto;
    justify-content: center;
    flex-wrap: wrap;
  }

  .public-brand {
    justify-content: center;
  }

  .public-brand-copy {
    align-items: center;
    text-align: center;
  }

  .public-hero-title,
  .public-section-title {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .public-hero-cta-row {
    flex-direction: column;
  }

}
