@font-face {
  font-family: "Excon";
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/excon-500.woff2") format("woff2");
}

@font-face {
  font-family: "Excon";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/excon-700.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bs-primary: #b4f44a;
  --on-primary: #08090b;
  --bg: #101115;
  --panel: #191a20;
  --raised: #25272e;
  --raised-hover: #2e3038;
  --panel-2: #1f2027;
  --edge: #040405;
  --text: #eef0f3;
  --soft: #c3c7ce;
  --muted: #8b8f98;
  --red: var(--bs-primary);
  --orange: var(--bs-primary);
  --line: #26272e;
  --gutter: 20px;
}

@supports (color: oklch(from red l c h)) {
  :root {
    --on-primary: oklch(from var(--bs-primary) clamp(0, (0.68 - l) * 1000, 1) 0 0);
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: 40px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --gutter: 28px;
  }
}

@media (max-width: 359.98px) {
  :root {
    --gutter: 24px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 500 17px/1.6 "Excon", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #fff;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

p,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}


.site-brand {
  position: relative;
  display: inline-block;
  flex: none;
}

.topbar {
  display: flex;
  justify-content: center;
  padding-top: calc(18px + env(safe-area-inset-top));
}

.topbar img {
  height: 30px;
  width: auto;
  filter: drop-shadow(0 2px 0 var(--edge)) drop-shadow(0 1px 0 var(--edge));
}

@media (min-width: 768px) {
  .topbar {
    padding-top: clamp(64px, 11svh, 150px);
  }
  .topbar img {
    height: 40px;
    filter: drop-shadow(0 1.5px 0 var(--edge)) drop-shadow(0 1.5px 0 var(--edge));
  }
}

.landing-head {
  padding: clamp(28px, 6svh, 56px) 0 40px;
  text-align: center;
}

@media (min-width: 768px) {
  .landing-head {
    padding-top: clamp(32px, 6svh, 72px);
  }
}

.landing-head h1 {
  font-size: clamp(28px, calc(1.375rem + 1.5vw), 40px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.landing-tagline {
  max-width: 760px;
  margin: 8px auto 0;
  color: rgb(222 226 230 / 0.75);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-wrap: balance;
}

.landing-text {
  margin: 0 auto 48px;
  padding: 32px;
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 4px 0 var(--edge);
  color: rgb(222 226 230 / 0.75);
  font-size: 14px;
  line-height: 1.65;
}

.landing-text > :last-child {
  margin-bottom: 0;
}

.landing-text p,
.landing-text ul,
.landing-text ol,
.landing-text blockquote {
  margin: 0 0 1rem;
}

.landing-text :is(h1, h2, h4, h5, h6) {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.landing-text h1 {
  font-size: 1.25rem;
}

.landing-text > :is(h1, h2):not(:first-child) {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.landing-text h3 {
  margin: 16px 0 4px;
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0;
}

.landing-text :is(h1, h2) + h3 {
  margin-top: 0;
}

.landing-text ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.landing-text ol {
  padding-left: 1.2rem;
  list-style: decimal;
}

.landing-text li + li {
  margin-top: 6px;
}

.landing-text :is(strong, b) {
  color: var(--text);
}

.landing-text a {
  color: var(--text);
  font-weight: 700;
}

.landing-text a:hover {
  color: var(--orange);
}

.landing-text blockquote {
  padding-left: 16px;
  border-left: 3px solid var(--line);
}

.landing-text img {
  height: auto;
  border-radius: 12px;
}

@media (max-width: 767.98px) {
  .landing-head {
    padding-bottom: 28px;
  }
  .landing-tagline {
    font-size: 1.125rem;
  }
  .landing-text {
    padding: 20px;
  }
}

.plain-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 46px max(var(--gutter), env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  border-top: 1px solid var(--line);
  text-align: center;
}

.plain-footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 960px;
  margin: 0 auto 60px;
}

.plain-footer-links a {
  padding: 15px 14px;
  border-radius: 14px;
  background: var(--raised);
  box-shadow: 0 4px 0 var(--edge);
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: box-shadow 0.08s, transform 0.08s;
}

@media (hover: hover) {
  .plain-footer-links a {
    transition: background 0.15s, box-shadow 0.08s, transform 0.08s;
  }
}

.plain-footer-links a:hover,
.plain-footer-links a:active,
.plain-footer-links a.is-going {
  background: var(--bs-primary);
  box-shadow: 0 4px 0 color-mix(in srgb, var(--bs-primary) 45%, #000);
  color: var(--on-primary);
}

.plain-footer-links a:active,
.plain-footer-links a.is-going {
  transform: translateY(4px);
  box-shadow: 0 0 0 color-mix(in srgb, var(--bs-primary) 45%, #000);
}

.plain-footer p {
  max-width: 820px;
  margin: 0 auto 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.plain-footer-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.plain-footer-end nav {
  display: flex;
  gap: 20px;
}

.plain-footer-end a {
  color: var(--muted);
  text-decoration: none;
}

.plain-footer-end a:hover {
  color: var(--orange);
}

@media (max-width: 767.98px) {
  .plain-footer {
    padding-top: 34px;
  }
  .plain-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 48px;
  }
  .plain-footer-end {
    margin-top: 52px;
  }
  .plain-footer-links a {
    padding: 14px 12px;
    font-size: 16px;
  }
  .plain-footer {
    padding-bottom: calc(48px + env(safe-area-inset-bottom));
  }
  .plain-footer-end {
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    text-align: center;
  }
  .plain-footer-end nav {
    justify-content: center;
  }
  .plain-footer-end nav {
    gap: 22px;
  }
  .plain-footer-end a {
    color: #fff;
  }
}

.text-logo {
  display: inline-block;
  color: #fff;
  font-family: "Excon", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.text-logo b {
  color: var(--bs-primary);
  font-weight: inherit;
}

.landing-go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 14px 28px;
  border-radius: 14px;
  background: var(--bs-primary);
  box-shadow: 0 5px 0 color-mix(in srgb, var(--bs-primary) 45%, #000);
  color: var(--on-primary);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.08s, box-shadow 0.08s, filter 0.15s;
}

.landing-go:hover {
  color: var(--on-primary);
  filter: brightness(1.06);
}

.landing-go:active {
  transform: translateY(5px);
  box-shadow: 0 0 0 color-mix(in srgb, var(--bs-primary) 45%, #000);
}

.landing-go svg {
  transition: transform 0.2s;
}

.landing-go:hover svg {
  transform: translateX(3px);
}
