:root {
  --ink: #10233f;
  --splash: #1c7af0;
  --deep: #0d4cb5;
  --ice: #f4faff;
  --cheek: #fff6ea;
  --tongue: #ff6b93;
  --line: 4px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  background: #2b8eef;
  color: var(--ink);
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--tongue);
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--ice);
  border-bottom: var(--line) solid var(--ink);
}

.mast-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px 22px;
  flex-wrap: wrap;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 56px;
  height: auto;
  display: block;
}

.brand span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong {
  font-family: "Boogaloo", "Comic Sans MS", cursive;
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 0.9;
}

.brand small {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--deep);
}

.mast nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-left: auto;
}

.mast nav a:not(.mast-x) {
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 3px solid transparent;
}

.mast nav a:not(.mast-x):hover {
  color: var(--deep);
  border-bottom-color: var(--tongue);
}

.mast-x {
  text-decoration: none;
  line-height: 1;
}

section {
  padding: 64px 0 84px;
  scroll-margin-top: 96px;
}

#hero {
  padding-top: 42px;
  background: radial-gradient(ellipse 100% 85% at 50% 0%, #e9f7ff 0%, #9fd4ff 28%, #49a0f8 62%, #2179e6 100%);
}

#about {
  background: #f3f8ff;
  border-top: var(--line) solid var(--ink);
}

#howtobuy {
  background:
    radial-gradient(ellipse 46% 52% at 100% 0%, #fff8e8 0%, rgba(255, 248, 232, 0) 68%),
    #e5f4ff;
  border-top: var(--line) solid var(--ink);
}

#community {
  background: linear-gradient(180deg, #1a3d8f 0%, #2a206e 100%);
  border-top: var(--line) solid var(--ink);
}

.hero-name {
  container-type: inline-size;
  padding-bottom: 28px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.kicker img {
  width: 20px;
  height: auto;
  display: block;
}

.name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 18px;
}

.hero-name h1 {
  margin: 0;
  display: inline-block;
  max-width: 100%;
  font-family: "Boogaloo", "Comic Sans MS", cursive;
  font-size: clamp(2rem, 11vw, 6.4rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--deep);
}

@supports (-webkit-text-stroke: 1px #10233f) {
  .hero-name h1 {
    font-size: clamp(2rem, 11cqi, 7rem);
    line-height: 1.05;
    padding: 0.04em 0.08em 0.08em 0;
    color: #fff;
    -webkit-text-stroke: 0.045em var(--ink);
    paint-order: stroke fill;
    text-shadow: 0.1em 0.1em 0 #1460c8;
  }
}

.ticker {
  margin: 0 0 0.45em;
  padding: 7px 12px;
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
}

.hero-rule {
  width: 104px;
  height: 8px;
  margin-top: 16px;
  background: var(--splash);
  box-shadow: 4px 4px 0 var(--ink);
}

.strip {
  display: flex;
  align-items: center;
  gap: 40px;
}

.strip .caption {
  flex: 1;
  min-width: 0;
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.stack .caption {
  width: min(640px, 100%);
}

.frame {
  width: min(532px, 100%);
  margin: 0;
  background: #fff;
  border: var(--line) solid var(--ink);
  padding: 12px;
  box-shadow: 8px 8px 0 var(--ink);
}

.strip .frame {
  flex: none;
}

.frame img {
  width: 100%;
  height: auto;
  display: block;
}

.caption {
  container-type: inline-size;
  background: #fff;
  border: var(--line) solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 28px 26px 30px;
}

.caption h2 {
  margin: 0 0 14px;
  font-family: "Boogaloo", "Comic Sans MS", cursive;
  font-size: clamp(1.7rem, 10cqi, 3.6rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--deep);
  text-shadow: 2px 2px 0 var(--ink);
}

.caption p {
  margin: 0;
  max-width: 62ch;
  font-size: 1.08rem;
  font-weight: 600;
}

.caption p + p {
  margin-top: 14px;
}

.text-link {
  color: var(--deep);
  font-weight: 800;
}

.steps {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 3px solid var(--ink);
}

.steps h3 {
  margin: 0 0 2px;
  font-family: "Boogaloo", "Comic Sans MS", cursive;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}

.steps p {
  font-size: 1rem;
  font-weight: 600;
}

.chip {
  flex: none;
  width: 58px;
  background: var(--ice);
  border: 3px solid var(--ink);
  padding: 8px;
  box-shadow: 3px 3px 0 var(--ink);
}

.chip img {
  width: 100%;
  height: auto;
  display: block;
}

.ca-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 12px;
  background: var(--cheek);
  border: 3px solid var(--ink);
}

.ca-line span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ca-line code {
  flex: 1 1 180px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.btn {
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
  line-height: 1.1;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn:disabled,
.btn[disabled] {
  transform: none;
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: 4px 4px 0 var(--ink);
}

footer {
  background: #0c1c4d;
  color: #e7f3ff;
  border-top: var(--line) solid var(--ink);
  padding: 28px 0 32px;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.foot img {
  width: 28px;
  height: auto;
  display: block;
}

.foot p {
  font-size: 0.95rem;
  font-weight: 700;
}

.foot .fine {
  flex-basis: 100%;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c5ddff;
}

@media (max-width: 1020px) {
  .strip {
    flex-direction: column;
    align-items: center;
  }

  .strip .caption {
    flex: none;
    width: min(640px, 100%);
  }

  #community .frame {
    order: -1;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(1120px, calc(100% - 32px));
  }

  .mast nav {
    margin-left: 0;
    width: 100%;
  }

  section {
    padding: 48px 0 64px;
  }

  .caption {
    padding: 22px 18px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .btn:hover {
    transition: none;
    transform: none;
  }
}
