/* Amber — vanilla mirror of main landing look */

:root {
  --background: #09090b;
  --foreground: #c6c7c6;
  --primary: #fc8d08;
  --border: #27272a;
  --radius: 1.5rem;
  --radius-btn: 0.75rem;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: var(--font-mono);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-sans);
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.25em;
}

a:hover {
  color: var(--primary);
}

/* Spotlight decoration (home) */
.spotlight-wrap {
  pointer-events: none;
  position: fixed;
  inset: 0;
  top: -8rem;
  z-index: 30;
  max-width: 72rem;
  margin: 0 auto;
  opacity: 0.55;
}

.spotlight-svg {
  width: 64rem;
  height: 150%;
  margin-left: -22rem;
  transform: rotate(32deg);
  opacity: 0;
  animation: spotlightIn 2s ease-in-out 0.15s forwards;
}

@media (min-width: 640px) {
  .spotlight-svg {
    margin-left: -8rem;
    width: 96rem;
    transform: rotate(12deg);
  }
}

@keyframes spotlightIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Particles canvas */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: -10;
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Header */
.site-header {
  width: 100%;
  z-index: 50;
  transition: position 0.7s ease, top 0.7s ease;
}

.site-header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.site-header.is-absolute {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}

@media (min-width: 640px) {
  .header-inner {
    padding: 0.5rem 1.5rem;
  }
}

.header-glass {
  position: relative; /* mobile menu positioning */
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.7s ease, border-color 0.7s ease, box-shadow 0.7s ease;
}

.header-glass::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 1.5rem;
  right: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.33) 10%,
    transparent
  );
}

@media (min-width: 640px) {
  .header-glass::before {
    left: 4rem;
  }
}

.nav-row {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.logo img {
  height: 4rem;
  width: auto;
  display: block;
}

.nav-desktop {
  display: none;
  align-items: center;
  margin-right: -1rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  padding: 0.5rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-mobile {
  display: block;
  position: relative;
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.menu-btn {
  cursor: pointer;
  padding: 0.25rem;
  color: #fff;
  background: none;
  border: none;
}

.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 21px;
}

.menu-icon span {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.35s ease, opacity 0.2s;
}

.site-header.menu-open .menu-icon span:nth-child(1) {
  transform: translateY(6.5px) rotate(-45deg);
}

.site-header.menu-open .menu-icon span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-icon span:nth-child(3) {
  transform: translateY(-6.5px) rotate(45deg);
}

.mobile-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  z-index: 40;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.site-header.menu-open .mobile-panel {
  max-height: 320px;
  opacity: 1;
  pointer-events: auto;
}

.mobile-panel ul {
  list-style: none;
}

.mobile-panel a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  color: #fff;
}

/* Page shell */
.page {
  display: grid;
  min-height: 100svh;
  padding: 4rem 1.5rem 0;
  align-items: start;
  justify-items: center;
  font-family: var(--font-sans);
}

@media (max-width: 48rem) {
  .page {
    padding: 1.5rem 1rem 0;
  }
}

.main {
  display: flex;
  flex-direction: column;
  gap: 8rem;
  width: 100%;
  max-width: 80rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: -9rem;
  padding-bottom: 6rem;
}

@media (min-width: 640px) {
  .hero {
    margin-top: -4rem;
    padding-bottom: 6rem;
  }
}

.hero h2 {
  font-size: clamp(1.75rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}

.text-gradient {
  background: linear-gradient(to bottom, #fbbf24, #b45309);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.crypto-wrap {
  position: relative;
  display: inline-block;
}

.glow-line-wrap {
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: min(60rem, 90vw);
  height: 4px;
}

.glow-line-wrap .bar {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #f59e0b,
    transparent
  );
  filter: blur(2px);
}

.glow-line-wrap .bar-thin {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #f59e0b,
    transparent
  );
}

.hero p {
  max-width: 60ch;
  margin: 1.5rem auto 0;
  line-height: 1.75;
}

.hero-cta {
  margin-top: 3rem;
}

.btn-shine {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  font-family: var(--font-sans);
  color: #fff;
  cursor: pointer;
  border: 1px solid rgba(252, 141, 8, 0.5);
  border-radius: var(--radius-btn);
  background: linear-gradient(
    110deg,
    rgba(252, 141, 8, 0.5) 0%,
    rgba(252, 141, 8, 0.95) 45%,
    rgba(252, 141, 8, 0.95) 55%,
    rgba(252, 141, 8, 0.5) 100%
  );
  background-size: 400% 100%;
  box-shadow: 0 10px 50px -12px rgba(234, 179, 8, 0.35);
  outline: 1.5px solid transparent;
  outline-offset: 4px;
  transition: border-color 0.35s, outline-color 0.35s;
  animation: shine 12s linear infinite;
  text-decoration: none;
}

.btn-shine:hover {
  border-color: var(--primary);
  outline-color: rgba(252, 141, 8, 0.5);
}

@keyframes shine {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -400% 0;
  }
}

/* Services */
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.section-lead {
  text-align: center;
  max-width: 48rem;
  margin: 0.75rem auto 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

.service-card {
  position: relative;
  border-radius: var(--radius-btn);
  overflow: hidden;
  background: var(--background);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 12.5%;
  width: 50%;
  height: 1px;
  background: linear-gradient(
    270deg,
    transparent,
    rgba(255, 255, 255, 0.2) 10%,
    transparent
  );
}

.service-card-inner {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-btn);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100%;
  transition: border-color 0.2s;
}

@media (min-width: 640px) {
  .service-card-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 1rem;
  }
}

.service-card:hover .service-card-inner {
  border-color: rgba(252, 141, 8, 0.25);
}

.service-card .icon {
  color: var(--primary);
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .service-card h3 {
    font-size: 1.125rem;
  }
}

.service-card .desc {
  font-size: 0.875rem;
  opacity: 0.5;
}

/* About */
.about {
  text-align: center;
  margin-bottom: 12rem;
}

.badge {
  display: inline-block;
  border: 1px solid rgba(252, 141, 8, 0.5);
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #fff;
}

.about h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.about p {
  max-width: 48rem;
  margin: 0.75rem auto 1.5rem;
}

/* Footer */
.site-footer {
  display: none;
  position: relative;
  max-width: 64rem;
  margin: 1.5rem auto 6rem;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .site-footer {
    display: block;
  }
}

.no-comet .site-footer .comet {
  display: none;
}

.site-footer .comet {
  display: block;
  margin-bottom: 3rem;
  margin-left: 3rem;
  mix-blend-mode: lighten;
  user-select: none;
}

@media (min-width: 640px) {
  .site-footer .comet {
    margin-left: 6rem;
  }
}

.footer-bar {
  position: relative;
  background: rgba(9, 9, 11, 0.9);
  border-radius: var(--radius-btn);
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
  .footer-bar {
    border: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
  }
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-row span {
  font-size: 0.875rem;
}

.footer-row a {
  padding: 0.5rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Inner pages */
.page-inner {
  min-height: 100vh;
  padding: 5rem 1.25rem 3rem;
  position: relative;
  z-index: 10;
}

.card-form {
  max-width: 36rem;
  margin: 2.5rem auto;
  padding: 1.25rem;
  border-radius: var(--radius-btn);
}

.card-form h1,
.card-form h2 {
  text-align: center;
  color: #fff;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card-form .sub {
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: rgba(9, 9, 11, 0.9);
  color: #fff;
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  opacity: 0.5;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.35);
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  height: 3rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(252, 141, 8, 0.6);
  background: rgba(252, 141, 8, 0.8);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 40px -12px rgba(234, 179, 8, 0.35);
  transition: background 0.2s;
}

.btn-submit:hover {
  background: rgba(252, 141, 8, 0.65);
}

.form-msg {
  text-align: center;
  font-size: 1rem;
}

.form-msg.ok {
  color: #22c55e;
}

.form-msg.err {
  color: #ef4444;
}

/* Privacy prose */
.prose-page {
  max-width: 56rem;
  margin: 2.5rem auto;
  padding: 1.25rem;
}

.prose-page h1 {
  font-size: 2.25rem;
  color: #fff;
  text-align: center;
  margin-bottom: 0.75rem;
}

.prose-page .meta {
  text-align: center;
  color: #9ca3af;
  margin-bottom: 2rem;
}

.prose-page section {
  margin-bottom: 1.5rem;
}

.prose-page h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 1.5rem 0 1rem;
}

.prose-page h3 {
  font-size: 1.125rem;
  color: #e5e5e5;
  margin: 1rem 0 0.5rem;
}

.prose-page p,
.prose-page li {
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.prose-page ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.prose-page li {
  margin-bottom: 0.35rem;
}
