@import url("./tokens.css?v=2");

* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: #0c1115;
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.65;
}
a {
  color: #efbe84;
  text-underline-offset: 4px;
}
a:hover {
  color: #ffe0b5;
}
a:focus-visible {
  outline: 2px solid #efbe84;
  outline-offset: 5px;
}
h1, h2, h3 {
  color: #f5eee2;
  line-height: 1.15;
  text-wrap: balance;
}
h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.035em;
}
h2 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.025em;
}
h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}
p {
  margin: 0 0 18px;
}
strong {
  color: var(--text-primary);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0;
}
figcaption {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
kbd, code {
  padding: 2px 6px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.9em;
  background: var(--bg-input);
}
.site-width {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px;
}
.site-brand {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.site-header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 0.9rem;
}
.site-header nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding-block: 8px;
}
.site-header nav a:hover, .site-header nav a[aria-current="page"] {
  color: #efbe84;
}
.site-skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--bg-card);
}
.site-skip:focus {
  top: 12px;
}
.site-kicker {
  margin-bottom: 20px;
  color: #efbe84;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-lead {
  max-width: 650px;
  margin-top: 22px;
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.7;
}
.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid #596772;
  border-radius: 6px;
  background: rgba(12, 22, 32, 0.8);
  color: #edf4f8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.site-button:hover {
  border-color: #efbe84;
  color: #fff8ec;
}
.site-button-primary {
  border-color: #e3a465;
  background: #c7792d;
  color: #18110b;
}
.site-button-primary:hover {
  background: #df9140;
  color: #18110b;
}
.site-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  border-top: 1px solid var(--border-color);
  padding-block: 26px;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}
.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}
.site-footer a:hover {
  color: #efbe84;
}

/* Public introduction. The operational app keeps its own compact layout. */
.signal-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background:
    linear-gradient(90deg, rgba(5, 9, 13, 0.92) 0%, rgba(5, 9, 13, 0.68) 37%, rgba(5, 9, 13, 0.14) 72%),
    linear-gradient(180deg, rgba(5, 9, 13, 0.18) 0%, rgba(5, 9, 13, 0.72) 100%),
    url("/assets/torch-signal-coast.png?v=1") center right / cover no-repeat;
}
.signal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 74% 35%, rgba(240, 142, 61, 0.2), transparent 18rem),
    linear-gradient(180deg, transparent 66%, rgba(5, 9, 13, 0.82));
}
.signal-stage {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 78svh;
  padding: 42px clamp(20px, 6vw, 76px) 24px;
  align-items: center;
}
.signal-mark {
  width: 100%;
  max-width: 620px;
  min-width: 0;
}
.signal-mark .site-kicker {
  margin-bottom: 18px;
  color: rgba(239, 190, 132, 0.82);
  font-size: 0.78rem;
}
.signal-mark h1 {
  font-size: 4.7rem;
  font-weight: 760;
  letter-spacing: normal;
  line-height: 0.95;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}
.signal-line {
  max-width: 520px;
  margin: 26px 0 0;
  color: rgba(235, 226, 214, 0.9);
  font-size: 1.2rem;
  line-height: 1.55;
}
.signal-whisper {
  max-width: 500px;
  margin: 16px 0 0;
  color: rgba(162, 177, 192, 0.9);
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}
.signal-mark .site-actions {
  gap: 12px;
}
.signal-mark .site-button {
  min-width: 148px;
  min-height: 42px;
  border-color: rgba(189, 210, 224, 0.28);
  background: rgba(12, 22, 32, 0.72);
  backdrop-filter: blur(8px);
}
.signal-mark .site-button:hover {
  border-color: rgba(239, 190, 132, 0.54);
  background: rgba(22, 34, 45, 0.86);
}
.signal-mark .site-button-primary {
  border-color: rgba(255, 190, 105, 0.68);
  background:
    linear-gradient(180deg, rgba(255, 237, 188, 0.18), rgba(255, 255, 255, 0)),
    #c7792d;
  box-shadow:
    0 0 24px rgba(227, 126, 43, 0.22),
    inset 0 0 2px rgba(255, 226, 174, 0.6);
  color: #fff8ec;
}
.signal-mark .site-button-primary:hover {
  border-color: rgba(255, 210, 136, 0.82);
  background-color: #df9140;
  background-image: linear-gradient(180deg, rgba(255, 237, 188, 0.18), rgba(255, 255, 255, 0));
  box-shadow:
    0 0 34px rgba(238, 148, 58, 0.34),
    inset 0 0 2px rgba(255, 236, 190, 0.75);
}
.signal-after {
  position: relative;
  z-index: 1;
  padding: 0 clamp(20px, 6vw, 76px) 30px;
}
.signal-story {
  max-width: 710px;
  margin: 0;
  border-left: 1px solid rgba(239, 190, 132, 0.48);
  padding-left: 18px;
  color: rgba(221, 230, 236, 0.72);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}
.signal-story strong {
  color: #f6dab2;
}
.signal-scroll {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  margin: auto clamp(20px, 6vw, 76px) max(8px, env(safe-area-inset-bottom)) 20px;
  padding-block: 10px;
  font-size: 0.9rem;
  text-decoration: none;
}
.site-section {
  padding-block: 90px;
  border-bottom: 1px solid #33414a80;
}
.site-section:last-child {
  border-bottom: 0;
}
.signal-audio {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 52px;
}
.signal-audio p:not(.site-kicker), .signal-features p, .signal-steps p {
  color: var(--text-secondary);
}
.site-screenshot {
  overflow: hidden;
  border: 1px solid #46535d;
  border-radius: 8px;
  background: var(--bg-input);
  box-shadow: 0 24px 60px #0004;
}
.site-screenshot a {
  display: block;
}
.site-screenshot a:focus-visible {
  outline-offset: -4px;
}
.site-screenshot figcaption {
  padding: 0 16px 14px;
}
.signal-features, .signal-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.signal-features {
  margin-top: 46px;
}
.signal-features article {
  border-top: 2px solid #c7792d70;
  padding-top: 24px;
}
.signal-features a, .signal-steps a {
  font-size: 0.9rem;
}
.signal-steps {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.signal-steps li {
  counter-increment: step;
}
.signal-steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 18px;
  color: #efbe84;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}
.signal-invite {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.signal-invite .site-actions {
  flex-shrink: 0;
  margin: 0;
}
.signal-invite h2 {
  margin-bottom: 12px;
}
.signal-invite p {
  max-width: 620px;
  color: var(--text-secondary);
  margin: 0;
}

/* Static guides: shared navigation, readable text, ordinary anchor links. */
.help-header {
  border-bottom: 1px solid var(--border-color);
}
.help-intro {
  padding-block: 64px 44px;
}
.help-intro .site-lead {
  margin-bottom: 0;
}
.help-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 64px;
  padding-bottom: 80px;
  align-items: start;
}
.help-nav {
  position: sticky;
  top: 24px;
}
.help-nav-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.help-nav a {
  display: block;
  padding: 9px 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
}
.help-nav a:hover, .help-nav a[aria-current="page"] {
  color: #efbe84;
}
.help-nav hr {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 20px 0;
}
.help-content {
  min-width: 0;
  max-width: 790px;
  color: var(--text-secondary);
}
.help-content section {
  padding-block: 32px;
  border-top: 1px solid var(--border-color);
}
.help-content h2 {
  font-size: 1.65rem;
}
.help-content h3 {
  margin-top: 26px;
}
.help-content li {
  padding-left: 5px;
  margin-bottom: 12px;
}
.help-content ol, .help-content ul {
  padding-left: 23px;
}
.help-content .site-screenshot {
  margin-block: 28px;
}
.help-note {
  margin-block: 24px;
  padding: 16px 20px;
  border-left: 3px solid #c7792d;
  background: #19232b;
  color: #c6cdce;
}
.help-note p:last-child {
  margin-bottom: 0;
}
.help-routes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 36px;
}
.help-route {
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: #141c22;
  text-decoration: none;
  color: var(--text-secondary);
}
.help-route strong {
  display: block;
  margin-bottom: 8px;
  color: #efbe84;
  font-size: 1.1rem;
}
.help-route:hover {
  border-color: #efbe84;
  color: var(--text-primary);
}
.help-terms {
  margin: 0;
}
.help-terms dt {
  margin-top: 22px;
  color: #f5eee2;
  font-weight: 650;
}
.help-terms dd {
  margin: 6px 0 0;
}
.help-next {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .signal-audio {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .signal-audio > div {
    max-width: 650px;
  }
  .signal-invite {
    align-items: start;
    flex-direction: column;
    gap: 24px;
  }
  .help-layout {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 32px;
  }
}
@media (max-width: 760px) {
  .signal-hero {
    background:
      linear-gradient(180deg, rgba(5, 9, 13, 0.48) 0%, rgba(5, 9, 13, 0.86) 48%, rgba(5, 9, 13, 0.96) 100%),
      url("/assets/torch-signal-coast.png?v=1") 66% center / cover no-repeat;
  }
  .signal-stage {
    min-height: 70svh;
    padding-top: 32px;
    align-items: end;
  }
  .signal-mark, .signal-whisper, .signal-story {
    max-width: 330px;
  }
  .signal-mark h1 {
    font-size: 3.1rem;
  }
  .signal-line {
    font-size: 1.04rem;
  }
  .signal-mark .site-actions {
    flex-direction: column;
  }
  .signal-mark .site-button {
    width: 100%;
  }
}
@media (max-width: 560px) {
  .signal-mark h1 {
    font-size: 2.55rem;
  }
}
@media (max-width: 640px) {
  .site-width {
    width: calc(100% - 40px);
  }
  .site-header {
    padding-block: 16px;
    gap: 12px;
  }
  .site-header nav {
    gap: 16px;
    font-size: 0.85rem;
  }
  .site-brand {
    font-size: 0.95rem;
  }
  .site-section {
    padding-block: 52px;
  }
  .signal-features, .signal-steps {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 30px;
  }
  .signal-features article {
    padding-top: 20px;
  }
  .site-footer {
    align-items: start;
    flex-direction: column;
  }
  .site-footer nav {
    gap: 10px 18px;
  }
  .help-intro {
    padding-block: 40px 28px;
  }
  .help-layout {
    display: block;
    padding-bottom: 40px;
  }
  .help-nav {
    position: static;
    margin-bottom: 30px;
  }
  .help-nav a {
    padding-block: 12px;
  }
  .help-routes {
    grid-template-columns: 1fr;
  }
  .help-content section {
    padding-block: 26px;
  }
}
