/* The public front door: what Convey is, on console blue, with a way in. */

.landing {
  display: grid;
  gap: clamp(56px, 9vw, 96px);
  max-width: calc(1080px + 2 * var(--gutter));
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 var(--gutter) calc(32px + var(--safe-bottom));
  grid-template-rows: auto auto auto auto 1fr;
}

.landing__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.landing__bar .button {
  min-height: 38px;
}

.landing__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}

.landing__pitch {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.landing__beta {
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.landing__title {
  max-width: 13ch;
  font-size: clamp(2.6rem, 6.4vw, 4.4rem);
  font-weight: 600;
  line-height: 1.02;
  text-wrap: balance;
}

.landing__lede {
  max-width: 34em;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.6;
}

.landing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 6px;
}

.landing__invite {
  color: var(--ink);
  text-underline-offset: 3px;
}

/* The still: a client's link, quiet enough to read as an illustration. */

.landing__still {
  margin: 0;
}

.still {
  display: grid;
  gap: 6px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: linear-gradient(180deg, var(--surface), var(--console-deep));
  box-shadow: var(--shadow-raised);
}

.still__studio {
  color: var(--ink-faint);
  font-size: 0.875rem;
}

.still__title {
  font-size: 1.9rem;
}

.still__meta {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.still__wave {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 84px;
  margin: 22px 0 10px;
}

.still__wave span {
  flex: 1;
  height: var(--h);
  border-radius: 2px;
  background: var(--wave);
}

.still__wave span[data-played] {
  background: var(--accent);
}

.still__pin {
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: var(--at);
  width: 2px;
  background: var(--comment);
}

.still__pin::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--comment);
}

.still__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--comment-soft);
  font-size: 0.95rem;
}

.still__note .icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--comment);
}

.still__note .numeric {
  margin-right: 6px;
  color: var(--comment);
  font-weight: 600;
}

/* How a project runs: the three stages, in order. */

.landing__subtitle {
  margin-bottom: 28px;
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  align-content: start;
  gap: 10px;
  padding-top: 18px;
  border-top: 2px solid var(--line-strong);
  counter-increment: step;
}

.steps h3 {
  font-size: 1.35rem;
}

.steps h3::before {
  content: counter(step);
  margin-right: 12px;
  color: var(--accent);
}

.steps p {
  color: var(--ink-soft);
  line-height: 1.6;
}

.landing__note {
  max-width: 40em;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.landing__footer {
  display: flex;
  align-self: end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .landing__hero, .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .landing__bar .button {
    padding: 0 1em;
  }

  .still {
    padding: 22px 18px;
  }
}

/* Terms and privacy: one readable column under the same bar and footer. */

.landing--document {
  gap: 48px;
  grid-template-rows: auto auto 1fr;
}

.legal {
  display: grid;
  gap: 14px;
  max-width: 40em;
  line-height: 1.65;
}

.legal__title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 600;
}

.legal__updated {
  margin-bottom: 12px;
  color: var(--ink-faint);
  font-size: 0.925rem;
}

.legal h2 {
  margin-top: 22px;
  font-size: 1.45rem;
}

.legal h3 {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 600;
}

.legal p, .legal li {
  color: var(--ink-soft);
}

.legal strong {
  color: var(--ink);
  font-weight: 600;
}

.legal ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
  list-style: disc;
}

.legal a, .landing__links a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.landing__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 20px;
}
