:root {
  color-scheme: dark;
  --background: #08090b;
  --surface: #101216;
  --surface-2: #15181e;
  --text: #f5f5f6;
  --muted: #a5abb4;
  --subtle: #69717d;
  --line: #272c34;
  --orange: #ff9418;
  --orange-soft: #ffb13b;
  --red-orange: #ff5738;
  --green: #71df9a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 148, 24, 0.13), transparent 30%),
    linear-gradient(180deg, #090a0c 0%, #08090b 44%, #0c0d10 100%);
  color: var(--text);
  font-family: Inter, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

svg {
  width: 17px;
  height: 17px;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  position: fixed;
  z-index: -1;
  top: 0;
  bottom: 0;
  content: "";
  pointer-events: none;
}

.page-shell::before {
  left: 9%;
  border-left: 1px solid rgba(255, 255, 255, 0.035);
}

.page-shell::after {
  right: 9%;
  border-right: 1px solid rgba(255, 255, 255, 0.035);
}

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: grid;
  min-height: 84px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand,
.client-link,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand-logo {
  width: 50px;
  height: 35px;
  object-fit: contain;
}

.brand-name {
  display: grid;
  gap: 1px;
}

.brand-name strong {
  font-size: 0.92rem;
}

.brand-name small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 750;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.client-link,
.primary-action,
.secondary-action {
  min-height: 42px;
  justify-content: center;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 800;
}

.client-link {
  gap: 9px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: #d7d9de;
}

.client-link svg:first-child {
  color: var(--orange);
}

.client-link svg:last-child {
  color: var(--subtle);
}

.hero {
  display: grid;
  min-height: calc(100vh - 84px);
  min-height: calc(100svh - 84px);
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.72fr);
  align-items: center;
  gap: 80px;
  padding: 58px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--orange-soft);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: var(--orange);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.lead,
.contact-section p,
.included-grid p,
.plan-main p,
.legal-card p,
.verify-steps p,
.verify-note {
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: 1.04rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.primary-action,
.secondary-action {
  gap: 10px;
  padding: 0 17px;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.primary-action {
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #160c02;
}

.secondary-action {
  border: 1px solid var(--line);
  color: #d0d4da;
}

.primary-action.full {
  width: 100%;
}

.primary-action:hover,
.primary-action:focus-visible {
  border-color: var(--orange-soft);
  background: var(--orange-soft);
}

.secondary-action:hover,
.secondary-action:focus-visible,
.client-link:hover,
.client-link:focus-visible {
  border-color: #4c4038;
  background: var(--surface);
  color: var(--text);
}

.primary-action:focus-visible,
.secondary-action:focus-visible,
.client-link:focus-visible,
.site-nav a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #111318;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.panel-overlay {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.panel-overlay div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(8, 9, 11, 0.82);
  backdrop-filter: blur(10px);
}

.panel-overlay span,
.resource-box span,
.section-heading p {
  color: var(--subtle);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-overlay strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  font-size: 0.84rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-strip div {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 11px;
  padding: 18px;
  background: rgba(16, 18, 22, 0.94);
  color: #d5d8dd;
  font-size: 0.88rem;
  font-weight: 750;
}

.trust-strip svg,
.included-grid svg {
  color: var(--orange);
}

.plan-section,
.included-section,
.contact-section {
  padding: 88px 0 0;
}

.section-heading {
  display: grid;
  max-width: 700px;
  gap: 10px;
  margin-bottom: 28px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--orange-soft);
}

.plan-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(21, 24, 30, 0.96), rgba(13, 15, 19, 0.96));
}

.plan-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.plan-title span {
  display: block;
  font-size: 1.35rem;
  font-weight: 850;
}

.plan-title strong {
  color: var(--orange-soft);
  font-size: 1.05rem;
}

.plan-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.plan-features li {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  color: #dfe2e7;
  font-size: 0.9rem;
}

.plan-features svg {
  flex: 0 0 auto;
  color: var(--orange);
}

.plan-side {
  display: grid;
  align-content: end;
  gap: 14px;
}

.resource-box {
  min-height: 180px;
  padding: 20px;
  border: 1px solid rgba(255, 148, 24, 0.24);
  border-radius: 8px;
  background: rgba(255, 148, 24, 0.08);
}

.resource-box strong {
  display: block;
  margin-top: 12px;
  font-size: 1.35rem;
  line-height: 1.18;
}

.resource-box small {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.included-grid article {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 18, 22, 0.78);
}

.included-grid article::before,
.included-grid article::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.included-grid article::before {
  padding: 1px;
  background:
    conic-gradient(
      from var(--glow-angle, 0deg),
      transparent 0deg,
      transparent 252deg,
      rgba(255, 148, 24, 0.05) 282deg,
      rgba(255, 177, 59, 0.9) 318deg,
      rgba(255, 87, 56, 0.72) 342deg,
      transparent 360deg
    );
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  opacity: 0;
}

.included-grid article::after {
  display: none;
  opacity: 0;
}

.included-grid svg {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  margin-bottom: 26px;
}

.included-grid h3,
.included-grid p {
  position: relative;
  z-index: 1;
}

.included-grid p {
  margin-bottom: 0;
  font-size: 0.93rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  margin: 88px 0 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101216;
}

.contact-section p:last-child {
  max-width: 700px;
  margin-bottom: 0;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  display: grid;
  min-height: 78px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 74px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.68rem;
}

.footer-links {
  display: inline-flex;
  justify-content: center;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.system-status {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  color: var(--green);
  font-weight: 700;
}

.system-status i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.site-footer > span:last-child {
  text-align: right;
}

.legal-main,
.verify-main {
  padding: 72px 0 0;
}

.legal-hero {
  max-width: 780px;
  padding-bottom: 32px;
}

.legal-hero h1,
.verify-card h1 {
  font-size: 52px;
}

.legal-hero small {
  display: block;
  margin-top: 18px;
  color: var(--subtle);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.72rem;
}

.legal-card {
  max-width: 900px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 18, 22, 0.84);
}

.legal-card h2 {
  margin: 34px 0 10px;
  font-size: 1.25rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  margin-bottom: 0;
}

.verify-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: 34px;
}

.verify-card,
.verify-steps article,
.discord-widget-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 18, 22, 0.86);
}

.verify-card {
  padding: 34px;
}

.verify-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 148, 24, 0.28);
  border-radius: 8px;
  background: rgba(255, 148, 24, 0.1);
  color: var(--orange);
}

.verify-icon svg {
  width: 27px;
  height: 27px;
}

.verify-action {
  margin-top: 28px;
}

.verify-note {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 0.86rem;
}

.verify-result {
  max-width: 680px;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 750;
}

.verify-result-joined,
.verify-result-already {
  border: 1px solid rgba(113, 223, 154, 0.28);
  background: rgba(113, 223, 154, 0.08);
  color: var(--green);
}

.verify-result-error {
  border: 1px solid rgba(255, 87, 56, 0.32);
  background: rgba(255, 87, 56, 0.08);
  color: #ff9b88;
}

.verify-note strong {
  color: var(--orange-soft);
}

.verify-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.verify-steps article {
  min-height: 190px;
  padding: 22px;
}

.verify-steps span {
  color: var(--orange-soft);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.verify-steps h2 {
  margin: 12px 0 8px;
  font-size: 1.15rem;
}

.verify-steps p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.discord-widget-card {
  padding: 22px;
}

.discord-widget-card p {
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.72;
}

.discord-widget-card iframe {
  width: 100%;
  max-width: 350px;
  height: 420px;
  border-radius: 8px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-panel {
    max-width: 620px;
  }

  .hero-panel img {
    aspect-ratio: 16 / 10;
  }

  .trust-strip,
  .included-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-card,
  .contact-section,
  .verify-main,
  .verify-steps {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 34px);
  }

  .site-header {
    min-height: 74px;
  }

  .brand-logo {
    width: 42px;
    height: 29px;
  }

  .brand-name small,
  .client-link span,
  .client-link svg:last-child {
    display: none;
  }

  .hero {
    padding: 46px 0 58px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 27px;
  }

  .lead {
    font-size: 0.97rem;
  }

  .hero-actions,
  .primary-action,
  .secondary-action,
  .contact-actions {
    width: 100%;
  }

  .panel-overlay,
  .trust-strip,
  .plan-features,
  .included-grid {
    grid-template-columns: 1fr;
  }

  .plan-section,
  .included-section {
    padding-top: 66px;
  }

  .plan-card,
  .contact-section {
    padding: 20px;
  }

  .plan-title {
    display: grid;
  }

  .included-grid article {
    min-height: 190px;
  }

  .contact-section {
    margin-top: 66px;
  }

  .site-footer {
    min-height: 88px;
    grid-template-columns: 1fr auto;
  }

  .site-footer .system-status {
    display: none;
  }

  .footer-links {
    justify-content: flex-end;
    gap: 10px;
    font-size: 0.64rem;
  }

  .legal-main,
  .verify-main {
    padding-top: 48px;
  }

  .legal-hero h1,
  .verify-card h1 {
    font-size: 36px;
  }

  .legal-card,
  .verify-card,
  .verify-steps article {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .system-status i {
    animation: pulse 2.2s ease-in-out infinite;
  }

  .included-grid article::before {
    animation: border-trace 5.6s linear infinite;
    opacity: 1;
  }

  .included-grid article:nth-child(2)::before {
    animation-delay: -1.85s;
  }

  .included-grid article:nth-child(3)::before {
    animation-delay: -3.7s;
  }

  @property --glow-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
  }

  @keyframes border-trace {
    to {
      --glow-angle: 360deg;
    }
  }

  @keyframes pulse {
    50% {
      opacity: 0.38;
    }
  }
}
