:root {
  --bg: radial-gradient(
    circle at top left,
    rgba(122, 93, 126, 0.55),
    rgba(90, 70, 120, 0.65) 40%,
    rgba(60, 50, 100, 0.85)
  );

  --card: rgba(255, 255, 255, 0.92);
  --card-strong: #fff;
  --text: #111;
  --sub: rgba(60, 60, 67, 0.7);
  --sub-strong: rgba(60, 60, 67, 0.82);
  --hair: rgba(60, 60, 67, 0.12);
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius: 24px;

  --blue: #0a84ff;
  --green: #34c759;
  --orange: #ff9f0a;
  --red: #ff3b30;

  --chip: rgba(118, 118, 128, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Roboto, Helvetica, Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

.public-shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 16px 40px;
}

.public-shell.narrow {
  max-width: 920px;
}

.public-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-bottom: 18px;
  background: rgba(244, 240, 248, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-radius: 0 0 18px 18px;
}

.public-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 8px 12px;
}

.public-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.4px;
  text-decoration: none;
  min-width: 0;
}

.public-topbar .btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.public-brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-shrink: 0;
}

.public-brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  display: block;
}

.public-brand-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-topbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.public-content {
  width: 100%;
}

.public-footer {
  margin-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.5;
}

.public-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 6px;
}

.public-footer-brand img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.public-footer-tagline {
  margin-bottom: 8px;
  opacity: 0.92;
}

.public-footer-links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.92;
}

.public-footer-links a:hover {
  text-decoration: underline;
}

.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 750;
  font-size: 14px;
  transition: transform 0.08s ease, opacity 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: 0;
}

.btn:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

.btn {
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-card,
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-card {
  padding: 24px;
  margin-bottom: 16px;
}

.hero-main {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
}

.card {
  padding: 18px;
  margin-bottom: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 132, 255, 0.10);
  border: 1px solid rgba(10, 132, 255, 0.16);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.hero-title {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.9px;
}

.hero-title span {
  color: var(--blue);
}

.hero-text {
  margin-top: 14px;
  color: var(--sub);
  font-size: 17px;
  line-height: 1.5;
  max-width: 60ch;
}

.card-title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.35px;
}

.card-text,
p,
li {
  color: var(--sub);
  font-size: 15px;
  line-height: 1.6;
}

.list {
  margin: 12px 0 0;
  padding-left: 18px;
}

.section {
  margin-top: 18px;
}

.section-head {
  margin-bottom: 12px;
}

.section-kicker {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-title {
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 950;
  letter-spacing: -0.6px;
  line-height: 1.02;
}

.section-sub {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.5;
  max-width: 60ch;
}

.msg {
  margin: 0 auto 14px;
  max-width: 560px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.msg.ok {
  border-color: rgba(52, 199, 89, 0.35);
  color: #208a45;
}

.msg.err {
  border-color: rgba(255, 59, 48, 0.35);
  color: #d93025;
}

@media (max-width: 760px) {
  .public-shell {
    padding: 14px 14px 32px;
  }

  .public-topbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-topbar-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .public-brand {
    font-size: 20px;
  }
}