@font-face {
  font-family: "Guide Satoshi";
  src: url("https://fonts.cdnfonts.com/s/85546/Satoshi-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Guide Satoshi";
  src: url("https://fonts.cdnfonts.com/s/85546/Satoshi-Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Guide Oswald";
  src: url("https://fonts.gstatic.com/s/oswald/v57/TK3_WkUHHAIjg75cFRf3bXL8LICs1xZogUE.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --color-bg: #030304;
  --color-border: rgba(255, 255, 255, 0.14);
  --color-border-strong: rgba(255, 255, 255, 0.24);
  --color-text: #f4f1f4;
  --color-muted: #aaa2aa;
  --color-dim: #756d75;
  --color-accent: #ff315f;
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-padding: 40px 72px 28px;
  --max-width: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--color-bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 49, 95, 0.18), transparent 31rem),
    radial-gradient(circle at 24% 78%, rgba(135, 20, 58, 0.15), transparent 25rem),
    linear-gradient(135deg, #020203 0%, #080607 48%, #030304 100%);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 64% 38%, rgba(255, 49, 95, 0.2), transparent 20rem),
    radial-gradient(circle at 38% 64%, rgba(160, 18, 66, 0.13), transparent 18rem);
  filter: blur(28px);
  opacity: 0.78;
  animation: glow-drift 18s ease-in-out infinite alternate;
}

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

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: var(--page-padding);
  grid-template-rows: auto 1fr auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  min-height: 2rem;
}

.topbar-logo {
  display: inline-flex;
  width: clamp(10.5rem, 14vw, 13rem);
}

.topbar-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.domain,
.site-footer {
  color: var(--color-dim);
  font-size: 0.8rem;
}

.domain {
  transition: color 180ms ease;
}

.domain:hover {
  color: var(--color-text);
}

.hero {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.75rem);
  padding: clamp(1.5rem, 3.5vh, 3rem) 0 clamp(1.25rem, 3vh, 2.25rem);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 1.35rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--color-border-strong);
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h1 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(58px, 5.2vw, 78px);
  font-weight: 750;
  line-height: 0.92;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.lead {
  max-width: 39rem;
  margin: clamp(1.25rem, 2.5vw, 2rem) 0 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.secondary {
  max-width: 35rem;
  margin: 1rem 0 0;
  color: var(--color-dim);
  font-size: 0.95rem;
}

.product-side {
  position: relative;
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  width: clamp(330px, 31vw, 430px);
  gap: 0.9rem;
  align-self: center;
  justify-self: end;
}

.product-side::before {
  display: none;
}

.product-visual {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  aspect-ratio: 768 / 1376;
}

.product-screen {
  position: absolute;
  top: 6.5%;
  left: 14.35%;
  z-index: 1;
  width: 71.3%;
  height: 86.9%;
  border-radius: clamp(1.55rem, 3.2vw, 2.35rem);
  background: #05060a;
  overflow: hidden;
}

.product-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.product-frame {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 1.6rem 3.2rem rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 1.6rem rgba(255, 49, 95, 0.1));
  pointer-events: none;
  user-select: none;
}

.signal-panel {
  position: relative;
  grid-column: 1;
  max-width: 34rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--color-border);
}

.signal-panel::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 4.5rem;
  height: 1px;
  content: "";
  background: var(--color-accent);
}

.signal-panel p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.85rem;
  padding-bottom: 0.34rem;
  border-bottom: 1px solid rgba(255, 49, 95, 0.68);
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: border-color 180ms ease, color 180ms ease;
}

.contact-link::after {
  margin-left: 0.65rem;
  color: var(--color-accent);
  content: "->";
  font-weight: 700;
}

.contact-link:hover {
  border-color: var(--color-text);
  color: #ffffff;
}

.site-footer {
  min-height: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.7rem;
}

.footer-links a {
  color: var(--color-dim);
  transition: color 180ms ease;
}

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

.footer-links a:not(:last-child)::after {
  margin-left: 0.7rem;
  color: rgba(255, 255, 255, 0.18);
  content: "/";
}

.legal-shell {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: var(--page-padding);
}

.legal-header,
.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal-main {
  padding: clamp(3rem, 8vh, 6rem) 0 clamp(2rem, 5vh, 4rem);
}

.back-link {
  color: var(--color-dim);
  font-size: 0.82rem;
  transition: color 180ms ease;
}

.back-link:hover {
  color: var(--color-text);
}

.legal-kicker {
  margin: 0 0 1rem;
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.legal-title {
  max-width: 12ch;
  margin: 0;
  color: var(--color-text);
  font-size: clamp(2.7rem, 8vw, 5.75rem);
  font-weight: 750;
  line-height: 0.94;
}

.legal-intro {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.help-jump-links,
.help-contact-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.help-jump-links {
  margin-top: 2rem;
}

.help-jump-links a,
.help-contact-grid a {
  display: flex;
  min-height: 4.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: rgba(15, 13, 18, 0.88);
  transition: border-color 180ms ease, background 180ms ease;
}

.help-jump-links a {
  align-items: center;
  justify-content: space-between;
  font-weight: 650;
}

.help-jump-links a span {
  color: var(--color-accent);
}

.help-jump-links a:hover,
.help-contact-grid a:hover {
  border-color: rgba(255, 49, 95, 0.55);
  background: rgba(42, 17, 29, 0.85);
}

.help-faq-list details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.help-faq-list summary {
  padding: 1rem 1.2rem 1rem 0;
  color: var(--color-text);
  font-weight: 600;
  cursor: pointer;
}

.help-faq-list details p {
  max-width: 60rem;
  margin: 0 0 1.1rem;
}

.help-contact-grid {
  margin-top: 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.help-contact-grid a {
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
}

.help-contact-grid span {
  color: var(--color-muted);
  overflow-wrap: anywhere;
}

.legal-section[id] {
  scroll-margin-top: 1.5rem;
}

.legal-content {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--color-border);
}

.legal-section {
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section h2 {
  margin: 0 0 0.65rem;
  color: var(--color-text);
  font-size: 1rem;
  letter-spacing: 0;
}

.legal-section p,
.legal-section li {
  color: var(--color-muted);
  font-size: 0.96rem;
}

.legal-section p {
  margin: 0.5rem 0 0;
}

.legal-section ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}

.legal-note {
  color: var(--color-dim);
}

.legal-footer {
  display: grid;
  align-items: start;
  gap: 0.9rem 2rem;
  grid-template-columns: 1fr auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-dim);
  font-size: 0.8rem;
}

.legal-footer .footer-links {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: center;
  max-width: min(100%, 46rem);
  line-height: 1.8;
}

.legal-footer > span:first-child {
  grid-column: 1;
  grid-row: 2;
}

.legal-footer > span:last-child {
  grid-column: 2;
  grid-row: 2;
  text-align: right;
}

@keyframes glow-drift {
  from {
    transform: translate3d(-1.5rem, 0, 0) scale(1);
  }

  to {
    transform: translate3d(1.5rem, -1rem, 0) scale(1.04);
  }
}

@media (max-width: 820px) {
  .hero {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .product-side {
    grid-column: auto;
    grid-row: auto;
    width: min(100%, 25rem);
    justify-self: start;
  }

  .signal-panel {
    grid-column: auto;
    max-width: 30rem;
  }
}

@media (max-width: 560px) {
  :root {
    --page-padding: 28px 20px;
  }

  .site-header,
  .site-footer,
  .legal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .legal-footer .footer-links,
  .legal-footer > span:first-child,
  .legal-footer > span:last-child {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    text-align: left;
  }

  .legal-title {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .help-jump-links,
  .help-contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  .topbar-logo {
    width: clamp(9rem, 48vw, 10.75rem);
  }

  .eyebrow {
    margin-bottom: 1.2rem;
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .lead {
    font-size: 1.02rem;
  }

  .product-side {
    width: min(100%, 21.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Public help/legal pages share the guide's visual language, not its marketing layout. */
body:has(.legal-shell) {
  --color-bg: #08090b;
  --color-border: #29292f;
  --color-text: #f2f0eb;
  --color-muted: #b5b4bc;
  --color-dim: #a6a4ae;
  --color-accent: #75183f;
  background: var(--color-bg);
  font-family: "Guide Satoshi", Arial, sans-serif;
}
body:has(.legal-shell)::before { display: none; }
.legal-shell {
  width: min(100%, 1120px);
  padding: 0 clamp(20px, 5vw, 64px) 28px;
}
.legal-header {
  min-height: 86px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  flex-direction: row;
  align-items: center;
}
.legal-header .topbar-logo,
.legal-header .topbar-logo img { width: 44px; height: 44px; flex: 0 0 44px; }
.legal-header .back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-text);
  text-align: center;
}
.legal-main { padding: clamp(42px, 7vw, 80px) 0 56px; }
.legal-kicker { color: var(--color-muted); letter-spacing: .16em; }
.legal-title {
  max-width: none;
  font-family: "Guide Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.legal-intro { max-width: 70ch; line-height: 1.7; }
.help-jump-links { gap: 12px; margin-top: 32px; }
.help-jump-links a,
.help-contact-grid a {
  background: transparent;
  border-radius: 8px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.help-jump-links a:hover,
.help-contact-grid a:hover { background: #141419; border-color: #75183f; }
.help-jump-links a span { color: var(--color-muted); }
.legal-content { margin-top: 48px; }
.legal-section { padding: 28px 0; }
.legal-section h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.3; }
.legal-section p,
.legal-section li { max-width: 78ch; font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
.legal-section p + p { margin-top: 14px; }
.legal-section a { text-decoration: underline; text-underline-offset: 4px; }
.help-faq-list summary { padding: 20px 12px 20px 0; line-height: 1.6; }
.help-faq-list details[open] { padding-bottom: 12px; }
.help-faq-list details[open] summary { color: var(--color-text); }
.legal-footer { color: var(--color-muted); padding-top: 24px; }
.legal-shell :is(a, summary):focus-visible { outline: 2px solid var(--color-text); outline-offset: 5px; }
@media (max-width: 560px) {
  .legal-header .back-link { max-width: 75%; font-size: .8rem; padding: 8px 12px; }
  .legal-content { margin-top: 32px; }
  .legal-section { padding: 24px 0; }
}
