:root {
  color-scheme: light;
  --navy: #102f61;
  --navy-dark: #0a244d;
  --blue: #2787ff;
  --blue-soft: #edf5ff;
  --yellow: #ffc928;
  --orange: #ff8d2a;
  --ink: #14315d;
  --body: #5d6f8a;
  --line: #dbe6f5;
  --paper: #ffffff;
  --shadow: 0 10px 24px rgba(19, 49, 93, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #f7fbff;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: inherit;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.container {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.site-header {
  background: var(--navy);
  box-shadow: 0 6px 22px rgba(7, 27, 58, 0.22);
}

.top-strip {
  display: flex;
  justify-content: flex-end;
  padding: 7px 32px 0;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 10px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 3px solid #ffffff;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--navy-dark);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.45);
}

.brand-copy {
  display: grid;
  line-height: 0.9;
  text-transform: uppercase;
}

.brand-copy strong {
  color: var(--yellow);
  font-size: 1.15rem;
}

.brand-copy span {
  color: #ffffff;
  font-size: 1rem;
}

.search {
  display: flex;
  width: min(100%, 470px);
  height: 38px;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 14px;
  color: var(--ink);
  outline: 0;
}

.search button {
  border: 0;
  padding: 0 18px;
  background: var(--yellow);
  color: var(--navy-dark);
  font-weight: 900;
  cursor: pointer;
}

.main-nav {
  display: flex;
  gap: 2px;
  justify-content: center;
  overflow-x: auto;
  padding: 0 16px;
  background: var(--navy-dark);
}

.main-nav a {
  flex: 0 0 auto;
  padding: 11px 13px;
  color: #ffffff;
  font-size: 0.77rem;
  font-weight: 900;
  text-transform: uppercase;
}

.main-nav a:first-child {
  color: var(--yellow);
}

.coming-soon {
  min-height: calc(100vh - 165px);
  padding: 50px 0 36px;
  background: linear-gradient(180deg, #edf5ff 0%, #f7fbff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
  gap: 36px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #176bd6;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(39, 135, 255, 0.1);
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.15rem, 5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy p,
.preview-panels p,
.hero-preview p,
.join-card p,
.footer-inner p {
  color: var(--body);
  line-height: 1.65;
}

.hero-copy > p {
  max-width: 760px;
  margin: 16px 0 0;
  font-size: 1.05rem;
}

.notice {
  max-width: 560px;
  margin: 22px 0;
  padding: 15px 18px;
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(39, 135, 255, 0.1);
}

.preview-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 720px;
}

.preview-panels article,
.hero-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.preview-panels article {
  padding: 18px;
}

.preview-panels h2 {
  margin: 0 0 10px;
  color: #176bd6;
  font-size: 1rem;
}

.preview-panels p {
  margin: 0;
  font-size: 0.9rem;
}

.hero-preview {
  padding: 22px;
  text-align: center;
}

.preview-stack {
  position: relative;
  height: 285px;
}

.worksheet-sheet {
  position: absolute;
  display: grid;
  gap: 6px;
  width: 150px;
  height: 190px;
  padding: 13px;
  border: 4px solid #ffffff;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(20, 49, 93, 0.18);
}

.worksheet-sheet span {
  border-radius: 5px;
  background:
    linear-gradient(90deg, rgba(255, 201, 40, 0.55), transparent),
    repeating-linear-gradient(90deg, #dce8f7 0 8px, transparent 8px 17px);
}

.sheet-one {
  left: 12px;
  top: 18px;
  transform: rotate(-7deg);
}

.sheet-two {
  right: 4px;
  top: 8px;
  transform: rotate(7deg);
}

.sheet-three {
  left: 78px;
  top: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--navy);
  transform: rotate(-1deg);
}

.sheet-three strong {
  font-size: 3rem;
}

.sheet-three em {
  color: var(--body);
  font-style: normal;
  font-weight: 800;
}

.preview-badge {
  position: absolute;
  right: 22px;
  bottom: 26px;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
  box-shadow: var(--shadow);
}

.hero-preview p {
  margin: 0;
  font-weight: 800;
}

.join-band {
  padding: 28px 0 46px;
  background: #f7fbff;
}

.join-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 28px;
  border-radius: 8px;
  background: linear-gradient(120deg, #704eff, #1da1ff);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(39, 135, 255, 0.25);
}

.join-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.join-card p {
  margin: 10px 0 0;
  color: #ffffff;
}

.small-pill,
.join-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}

.small-pill {
  margin-bottom: 10px;
  padding: 7px 12px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.join-button {
  min-height: 46px;
  padding: 0 22px;
  background: var(--yellow);
  color: var(--navy);
  white-space: nowrap;
}

.join-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.join-stats span {
  min-height: 38px;
  padding: 11px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
}

.site-footer {
  padding: 30px 0;
  background: var(--navy-dark);
  color: #d8e6fb;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
  color: #a9bdd8;
}

@media (max-width: 920px) {
  .header-inner,
  .hero-grid,
  .join-card {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: stretch;
  }

  .search {
    width: 100%;
  }

  .hero-preview {
    max-width: 430px;
  }

  .join-stats,
  .preview-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .top-strip {
    justify-content: center;
    padding: 8px 16px 0;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .coming-soon {
    padding-top: 34px;
  }

  .preview-panels,
  .join-stats {
    grid-template-columns: 1fr;
  }

  .join-button {
    width: 100%;
  }

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