/* The public site. Layout only; every colour, size and radius comes from
   tokens.css, and it shares the app's components so a visitor sees the same
   product they are about to open. */

.mkt {
  background: var(--paper);
}

.mkt__main {
  min-height: calc(100vh - 68px - 72px);
}

.mkt__top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  padding: 10px 24px;
  background: var(--gold-bar);
  border-bottom: 1px solid var(--gold-line);
}

.mkt__brand {
  margin-right: auto;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.mkt__brand span {
  font-size: 13px;
  letter-spacing: 0.16em;
}

.mkt__nav {
  display: flex;
  gap: 20px;
}

.mkt__nav a {
  padding: 10px 0;
  font-size: var(--text-note);
  color: var(--ink-2);
  text-decoration: none;
}

.mkt__nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mkt__hero,
.mkt__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.mkt__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
  padding-top: 64px;
  padding-bottom: 64px;
}

.mkt__title {
  max-width: 16ch;
  font-size: clamp(38px, 5.4vw, 66px);
  letter-spacing: -0.025em;
}

.mkt__title--page {
  max-width: 24ch;
  font-size: clamp(34px, 4.4vw, 54px);
}

.mkt__lead {
  max-width: 54ch;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}

.mkt__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mkt__note {
  margin-top: 14px;
  font-size: var(--text-note);
  color: var(--ink-3);
}

.mkt__note--box {
  max-width: 620px;
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--info-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-control);
}

.mkt__panel {
  padding: 28px;
  background: var(--shell);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
}

.mkt__mark {
  display: block;
  width: clamp(96px, 10vw, 140px);
  height: auto;
  margin-bottom: 20px;
}

.mkt__panel--page {
  margin-top: 32px;
}

.mkt__panel-title {
  margin-bottom: 16px;
  font-size: 18px;
}

.mkt__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink-2);
}

.mkt__band {
  background: var(--shell);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.mkt__band .mkt__inner {
  padding-top: 56px;
  padding-bottom: 56px;
}

.mkt__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
}

.mkt__split--top {
  margin-top: 40px;
}

.mkt__heading {
  font-size: 26px;
}

.mkt__copy {
  max-width: 54ch;
  margin-top: 12px;
  color: var(--ink-2);
}

.mkt__steps {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mkt__steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  color: var(--ink-2);
}

.mkt__step {
  padding-bottom: 6px;
  border-bottom: 3px solid var(--gold);
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: var(--ink);
}

.mkt__features {
  padding-top: 64px;
  padding-bottom: 64px;
}

.mkt__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
  margin: 24px 0 0;
}

.mkt__facts > div {
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}

.mkt__facts dt {
  font-weight: 600;
}

.mkt__facts dd {
  max-width: 46ch;
  margin: 6px 0 0;
  color: var(--ink-2);
}

.mkt__plan {
  max-width: 560px;
  margin-top: 24px;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-card);
}

.mkt__plan-name {
  font-size: 22px;
}

.mkt__plan-price {
  margin-top: 8px;
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
}

.mkt__plan-price span {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--ink-2);
}

.mkt__plan-note {
  margin-top: 6px;
  font-size: var(--text-note);
  color: var(--ink-3);
}

.mkt__plan .mkt__list {
  margin-top: 20px;
  margin-bottom: 24px;
}

.mkt__closing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 48px;
  padding-bottom: 72px;
}

.mkt__page {
  padding-top: 56px;
  padding-bottom: 72px;
}

.mkt__page--narrow {
  max-width: 820px;
}

.mkt__kicker {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-control);
  background: var(--warn-surface);
  color: var(--ink);
  font-size: var(--text-note);
}

.mkt__draft {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-control);
  background: var(--warn-surface);
  font-size: var(--text-note);
  color: var(--ink-2);
}

.mkt__copy-block {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.mkt__copy-block h2 {
  margin-top: 14px;
  font-size: 20px;
}

.mkt__copy-block p {
  max-width: 68ch;
  color: var(--ink-2);
}

.mkt__answers {
  margin-top: 56px;
}

.mkt__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 24px;
  border-top: 1px solid var(--hairline);
}

.mkt__foot-line,
.mkt__foot-nav {
  font-size: var(--text-note);
  color: var(--ink-2);
}

.mkt__foot-nav {
  display: flex;
  gap: 18px;
}

@media (max-width: 880px) {
  .mkt__hero,
  .mkt__split,
  .mkt__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .mkt__hero {
    gap: 32px;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .mkt__title {
    max-width: none;
  }

  .mkt__nav {
    gap: 14px;
  }
}

.mkt__signin {
  padding: 10px 0;
  font-size: var(--text-note);
  color: var(--ink-2);
  text-decoration: none;
}

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