*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

html {
  background: #f7f7f5;
}

body {
  display: flex;
  flex-direction: column;
  isolation: isolate;
  height: 100dvh;
  overflow: hidden;
  background: transparent;
  color: #050505;
  font-family: Menlo, ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 14px;
  line-height: 1.5;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background:
    radial-gradient(480px 320px at 10% 16%, rgba(5, 5, 5, 0.045), transparent 72%),
    radial-gradient(560px 360px at 90% 10%, rgba(5, 5, 5, 0.035), transparent 74%),
    radial-gradient(520px 340px at 76% 90%, rgba(255, 255, 255, 0.85), transparent 70%),
    #f7f7f5;
}

body::after {
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(5, 5, 5, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(5, 5, 5, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 50% 42%, transparent 0 18%, #000 78%);
  mask-image: radial-gradient(circle at 50% 42%, transparent 0 18%, #000 78%);
}

.mkt-header {
  flex: none;
  z-index: 2;
  background: rgba(247, 247, 245, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px rgba(5, 5, 5, 0.06);
}

.mkt-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 28px;
}

.mkt-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.mkt-brand__logo {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.mkt-brand__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mkt-login,
.mkt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 12px 16px;
  border: none;
  border-radius: 999px;
  background: #050505;
  color: #f7f7f5;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.mkt-login::before,
.mkt-btn::before {
  content: "";
  box-sizing: content-box;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border: 2px solid rgba(212, 212, 212, 0.65);
  border-radius: 50%;
  background: #fff;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.mkt-login:hover,
.mkt-btn:hover {
  background: #fff;
  color: #050505;
  box-shadow: 0 1px 4px rgba(5, 5, 5, 0.12);
}

.mkt-login:hover::before,
.mkt-btn:hover::before {
  background: #2ebd5a;
  border-color: rgba(46, 189, 90, 0.55);
}

.mkt-login:focus-visible,
.mkt-btn:focus-visible,
.mkt-brand:focus-visible,
.mkt-popup__close:focus-visible,
.mkt-popup__link:focus-visible,
.mkt-popup__copy:focus-visible,
.mkt-popup__copy-all:focus-visible,
.mkt-popup__save:focus-visible {
  outline: 2px solid #050505;
  outline-offset: 3px;
}

.mkt-popup {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: 20px;
  background: #fcfcfb;
  color: #050505;
  box-shadow: 0 24px 64px rgba(5, 5, 5, 0.18);
  overflow: auto;
}

.mkt-popup::backdrop {
  background: rgba(5, 5, 5, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.mkt-popup__panel {
  position: relative;
  padding: 28px 28px 32px;
}

.mkt-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #80808045;
  border-radius: 50%;
  background: transparent;
  color: #050505;
  cursor: pointer;
}

.mkt-popup__close::before,
.mkt-popup__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: currentColor;
}

.mkt-popup__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mkt-popup__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mkt-popup__close:hover {
  background: rgba(5, 5, 5, 0.06);
}

.mkt-popup__head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 22px;
}

.mkt-popup__logo {
  display: block;
  width: 32px;
  height: 32px;
}

.mkt-popup__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.mkt-popup__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mkt-popup__tab {
  display: flex;
  align-items: stretch;
  min-height: 52px;
  border: 1px solid #80808045;
  border-radius: 12px;
  background: #fcfcfb;
  color: #050505;
  overflow: hidden;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.mkt-popup__main {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  background: #fcfcfb;
  color: #050505;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.mkt-popup__main:hover {
  background: #050505;
  color: #f7f7f5;
}

.mkt-popup__link {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding: 0 10px 0 12px;
  overflow: hidden;
  color: inherit;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mkt-popup__link.is-copied {
  color: #2ebd5a;
  text-decoration: none;
}

.mkt-popup__arrow {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
  align-self: center;
  margin-right: 10px;
  color: rgba(5, 5, 5, 0.55);
}

.mkt-popup__main:hover .mkt-popup__arrow {
  color: rgba(247, 247, 245, 0.7);
}

.mkt-popup__copy {
  display: grid;
  place-items: center;
  width: 40px;
  flex: none;
  padding: 0;
  border: none;
  border-left: 1px solid #80808045;
  border-radius: 0;
  background: #fcfcfb;
  color: rgba(5, 5, 5, 0.55);
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.mkt-popup__copy:hover {
  background: #e4e4e2;
}

.mkt-popup__copy svg {
  display: block;
  width: 16px;
  height: 16px;
  transform: scaleX(-1);
}

.mkt-popup__wide {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.mkt-popup__lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  padding: 10px 10px 10px 12px;
}

.mkt-popup__lead-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mkt-popup__tab--wide .mkt-popup__link {
  padding: 0;
}

.mkt-popup__tor {
  display: block;
  width: 28px;
  height: 28px;
  flex: none;
}

.mkt-popup__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(5, 5, 5, 0.45);
}

.mkt-popup__main:hover .mkt-popup__note {
  color: rgba(247, 247, 245, 0.55);
}

.mkt-popup__copy-all,
.mkt-popup__save {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  background: #050505;
  color: #f7f7f5;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.mkt-popup__copy-all {
  margin-top: 16px;
}

.mkt-popup__save {
  margin-top: 8px;
}

.mkt-popup__copy-all:hover,
.mkt-popup__save:hover {
  background: #fff;
  color: #050505;
  box-shadow: 0 1px 4px rgba(5, 5, 5, 0.12);
}

.mkt-popup__copy-all svg,
.mkt-popup__save svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
}

.mkt-popup__copy-all svg {
  transform: scaleX(-1);
}

.mkt-popup__copy-all.is-copied,
.mkt-popup__save.is-saved {
  color: #2ebd5a;
}

.mkt-board {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  min-height: 0;
  margin: 0 auto;
  padding: 20px 28px 24px;
}

.mkt-panel {
  border: none;
  border-radius: 22px;
  background: transparent;
  box-shadow: none;
}

.mkt-hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: center;
  height: calc(100% - 56px);
  min-width: 0;
  min-height: 0;
  padding: 28px 32px;
}

.mkt-hero__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.mkt-hero__print {
  display: flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 10px;
}

.mkt-hero__line {
  margin: 0;
}

.mkt-hero__phrase {
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.mkt-hero__phrase.is-typing::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-left: 2px;
  background: currentColor;
  vertical-align: -0.08em;
  animation: caret-blink 0.75s steps(1) infinite;
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mkt-hero__phrase.is-typing::after {
    content: none;
  }
}

.mkt-hero__title {
  max-width: 100%;
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.mkt-hero__text {
  max-width: 62ch;
  margin: 0;
}

.mkt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.mkt-hero__status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(5, 5, 5, 0.55);
}

.mkt-hero__status li + li::before {
  content: "·";
  margin: 0 0.75em;
  color: rgba(5, 5, 5, 0.28);
}

.mkt-hero__status b {
  font-weight: 700;
  color: #050505;
}

.mkt-hero__live {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

.mkt-hero__pulse {
  position: relative;
  flex: none;
  width: 10.5px;
  height: 10.5px;
  border-radius: 50%;
  background: #2ebd5a;
}

.mkt-hero__pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #2ebd5a;
  animation: hero-pulse 1.6s ease-out infinite;
}

@keyframes hero-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }

  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mkt-hero__pulse::after {
    animation: none;
  }
}

.mkt-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  justify-content: center;
  gap: 32px;
  height: calc(100% - 56px);
  min-width: 0;
  padding: 28px 24px;
  border: none;
  border-radius: 22px;
  background: rgba(251, 251, 250, 0.22);
  box-shadow: 0 14px 36px rgba(5, 5, 5, 0.08);
  color: #050505;
  text-align: center;
}

.mkt-feature__icon {
  display: block;
  width: 240px;
  height: 240px;
  color: #050505;
}

.mkt-feature__text {
  margin: 0;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-align: center;
}

.mkt-tiles {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mkt-tiles > li {
  display: flex;
  min-width: 0;
}

.mkt-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  min-height: 200px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.mkt-tile:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

a.mkt-tile {
  flex: 1;
  width: 100%;
}

a.mkt-tile:hover {
  background: rgba(255, 255, 255, 0.55);
}

a.mkt-tile:focus-visible {
  outline: 2px solid #050505;
  outline-offset: 3px;
}

.mkt-tile__icon {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  color: #050505;
}

.mkt-feature .mkt-tile__icon {
  width: 120px;
  height: 120px;
}

li:nth-child(2) .mkt-tile__icon {
  width: 32px;
  height: 32px;
}

.mkt-tile__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

@media (max-width: 980px) {
  body {
    height: auto;
    min-height: 100dvh;
    overflow: auto;
  }

  .mkt-board {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 16px;
  }

  .mkt-hero,
  .mkt-feature {
    height: auto;
    align-self: stretch;
  }
}

@media (max-width: 640px) {
  .mkt-header__inner {
    padding: 14px 16px;
  }

  .mkt-brand__logo {
    width: 28px;
    height: 28px;
  }

  .mkt-brand__name {
    font-size: 15px;
  }

  .mkt-login,
  .mkt-btn {
    padding: 11px 12px;
    font-size: 13px;
  }

  .mkt-popup__panel {
    padding: 22px 16px 20px;
  }

  .mkt-popup__tabs {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .mkt-hero {
    padding: 22px 18px;
  }

  .mkt-tiles {
    grid-template-columns: 1fr;
  }

  .mkt-tile:hover {
    transform: none;
  }
}