:root {
  color-scheme: light;
  --ink: #111316;
  --muted: #5f6773;
  --line: #d9dee5;
  --panel: #f6f8fb;
  --accent: #0f8b6f;
  --accent-dark: #08604d;
  --warn: #b45309;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #eef2f6;
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.brand,
.store-link,
.actions,
.invite-form {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
}

.mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
}

.store-link {
  height: 36px;
  padding: 0 14px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 150px);
  padding: 48px 0 28px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 28px;
  letter-spacing: 0;
}

.summary,
.unlock p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

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

button,
.secondary-button {
  height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.primary-button {
  color: var(--white);
  background: var(--accent);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
  border-color: var(--line);
}

.signal-panel,
.unlock {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.signal-panel {
  padding: 22px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--muted);
}

.panel-head strong {
  color: var(--accent-dark);
}

.ticker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ticker-grid div,
.signal-list div {
  padding: 14px;
  border-radius: 6px;
  background: var(--panel);
}

.ticker-grid span,
.signal-list span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.ticker-grid strong,
.signal-list b {
  display: block;
  font-size: 16px;
}

.signal-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.unlock {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
}

.invite-form {
  gap: 10px;
  flex-wrap: wrap;
}

.invite-form input {
  width: min(360px, 100%);
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  text-transform: uppercase;
}

.invite-form button {
  color: var(--white);
  background: var(--ink);
}

.status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.status strong {
  color: var(--ink);
}

.status.error {
  color: var(--warn);
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 32px;
  }

  h1 {
    font-size: 46px;
  }

  .signal-panel {
    order: -1;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: 38px;
  }

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

  .invite-form button,
  .primary-button,
  .secondary-button {
    width: 100%;
    justify-content: center;
  }
}
