:root {
  --rlly-ink: #312e81;
  --rlly-indigo: #4f46e5;
  --rlly-indigo-dark: #3730a3;
  --rlly-amber: #f59e0b;
  --rlly-cream: #fff7e6;
  --rlly-paper: #fbfaf7;
  --rlly-rule: #c7cbe8;
  --rlly-gray: #626779;
  --rlly-text: #1f2333;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(245, 158, 11, 0.15), transparent 26rem),
    linear-gradient(145deg, var(--rlly-paper) 0%, #eef0ff 100%);
  color: var(--rlly-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-name {
  color: var(--rlly-ink);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.05;
}

.brand-tagline {
  color: var(--rlly-gray);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-link {
  border: 1px solid rgba(79, 70, 229, 0.28);
  border-radius: 999px;
  color: var(--rlly-ink);
  font-weight: 700;
  padding: 10px 16px;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.app-link:hover,
.app-link:focus-visible {
  background: var(--white);
  border-color: var(--rlly-indigo);
}

.hero {
  max-width: 790px;
  padding: clamp(72px, 12vw, 132px) 0 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 999px;
  background: rgba(255, 247, 230, 0.78);
  color: var(--rlly-indigo-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 8px 12px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rlly-amber);
}

h1 {
  max-width: 820px;
  margin: 0;
  color: var(--rlly-ink);
  font-size: clamp(3rem, 9vw, 6.8rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.95;
}

.hero-copy {
  max-width: 710px;
  margin: 26px 0 0;
  color: #3f4358;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease,
    transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--rlly-indigo);
  border: 1px solid var(--rlly-indigo);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--rlly-indigo-dark);
}

.button-secondary {
  background: var(--white);
  border: 1px solid var(--rlly-rule);
  color: var(--rlly-ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--rlly-indigo);
}

.signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.signal {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--rlly-rule);
  border-radius: 8px;
  padding: 20px;
}

.signal h2 {
  margin: 0 0 8px;
  color: var(--rlly-ink);
  font-size: 1.02rem;
}

.signal p {
  margin: 0;
  color: #4b5065;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid rgba(79, 70, 229, 0.22);
  color: var(--rlly-gray);
  font-size: 0.92rem;
  padding: 22px 0;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-shell {
    min-height: auto;
    padding-bottom: 36px;
  }

  .site-header {
    align-items: flex-start;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    justify-content: center;
    width: 100%;
  }

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

@media (max-width: 480px) {
  .site-header {
    flex-direction: column;
  }

  .app-link {
    align-self: flex-start;
  }
}
