/* recoilsystems.app static rebuild. Colors and type match the live Wix site. */

:root {
  --orange: #f38a2d;
  --orange-2: #e67e22;
  --gold: #c5a059;
  --green: #75c575;
  --green-2: #8dec8d;
  --link: #94b2d1;
  --link-visited: #809ab4;
  --legal: #6e6e6e;
  --paper-link: #87bef5;
  --header-h: 82px;
}

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

html {
  background: #000;
}

body {
  margin: 0;
  background: #000;
  color: #75c575;
  font-family: "Wix Madefor Text", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

body.paper,
body.whitepaper {
  background: #fff;
  color: #000;
}

h1 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.skip {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 100;
  padding: 8px 12px;
  background: #fff;
  color: #116dff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--header-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(18px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  background: #000;
}

.logo {
  display: block;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

/* Dropdown menu (rallysite.com style). <details>/<summary>, works with JS off. Accent: #F5F97F. */
.menu {
  position: relative;
  margin-right: 4px;
}

.menu > summary {
  list-style: none;
}

.menu > summary::-webkit-details-marker {
  display: none;
}

.menu__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #2b3f39;
  border-radius: 0;
  background: transparent;
  color: #dfeeea;
  cursor: pointer;
  user-select: none;
  font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu__btn:hover,
.menu[open] > .menu__btn {
  border-color: #f5f97f;
  color: #fff;
}

.menu__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px #f5f97f, 0 0 0 4px rgba(245, 249, 127, 0.38);
}

.menu__icon {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 11px;
}

.menu__icon::before,
.menu__icon::after,
.menu__icon > span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}

.menu__icon::before { top: 0; }
.menu__icon > span { top: 4.75px; }
.menu__icon::after { top: 9.5px; }
.menu[open] .menu__icon::before { transform: translateY(4.75px) rotate(45deg); }
.menu[open] .menu__icon > span { opacity: 0; }
.menu[open] .menu__icon::after { transform: translateY(-4.75px) rotate(-45deg); }

.menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 60;
  display: flex;
  flex-direction: column;
  width: min(320px, calc(100vw - 32px));
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding: 8px 0;
  border: 1px solid #16302a;
  background: #08110e;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.menu__panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  color: #dfeeea;
  font: 400 14.5px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.menu__panel a:hover,
.menu__panel a:focus-visible {
  background: #0e1b17;
  color: #fbfdbe;
}

.menu__panel a:focus-visible {
  outline: 1px solid #f5f97f;
  outline-offset: -1px;
}

.menu__panel a[aria-current="page"] {
  color: #fff;
  box-shadow: inset 2px 0 0 #f5f97f;
}

@media (max-width: 520px) {
  .menu__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .menu__icon::before,
  .menu__icon::after,
  .menu__icon > span { transition: none; }
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(148px, 1fr) auto minmax(148px, 1fr);
  align-items: center;
  column-gap: 12px;
  row-gap: 4px;
  min-height: 57px;
  margin: 0;
  padding: 8px 8px 8px 12px;
  background: #fff;
  color: #000;
  font-family: "Wix Madefor Text", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-meta {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 20px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 8px;
  color: #000;
  font-weight: 400;
  text-decoration: underline;
}

.footer-social {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
}

@media (max-width: 700px) {
  .site-footer {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: 8px;
    padding-top: 12px;
    padding-right: max(20px, env(safe-area-inset-right));
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    padding-left: max(20px, env(safe-area-inset-left));
  }

  .footer-meta,
  .footer-social {
    grid-column: 1;
    justify-self: center;
    max-width: 100%;
    min-width: 0;
  }

  .footer-meta {
    justify-content: center;
    row-gap: 8px;
  }

  .footer-meta p {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: break-word;
  }

  .site-footer .footer-meta a {
    min-height: 44px;
    font-size: 14px;
  }

  .footer-social {
    justify-content: center;
    gap: 12px;
  }
}

.site-footer .footer-social a {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 999px;
  color: #000;
  text-decoration: none;
}

.site-footer .footer-social a svg {
  display: block;
  width: 22px;
  height: 22px;
}

.site-footer .footer-social a:hover,
.site-footer .footer-social a:focus {
  color: #fff;
  background: #000;
}

.site-footer .footer-social a:focus {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.site-footer .footer-social a:focus:not(:focus-visible) {
  outline: none;
}

/* Marketing column */

.copy {
  padding: 20px 64px 48px 52px;
  font-size: 18px;
  line-height: 1.6;
}

.copy p,
.copy li,
.copy h1.title {
  margin: 0 0 0.95em;
}

.copy a {
  color: var(--link);
  font-weight: 700;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.copy a:visited {
  color: var(--link-visited);
}

.title {
  color: var(--orange);
  font-weight: 700;
}

.subhead {
  color: var(--orange-2);
  font-weight: 700;
}

.label {
  color: var(--gold);
  font-weight: 700;
}

.green {
  color: var(--green);
}

.w100 { font-weight: 400; } /* live computed 100; open Madefor Text starts at 400 */
.w400 { font-weight: 400; }
.w500 { font-weight: 500; }
.w700 { font-weight: 700; }

.legal {
  color: var(--legal);
  font-weight: 400;
}

.stray {
  color: #000;
}

.copy.tight p {
  margin-bottom: 0.35em;
}

.page-tall {
  min-height: 1720px;
}

.page-mid {
  min-height: 1020px;
}

.about-copy,
.contact-copy,
.outreach-copy {
  font-size: 16px;
  font-weight: 500;
}

.about-copy .label,
.about-copy .green,
.about-copy li {
  font-weight: 500;
}

.about-copy ul {
  margin: 0 0 0.95em;
  padding-left: 1.3em;
}

.about-copy li {
  color: var(--green);
}

.mrt-copy {
  font-family: Inter, "Wix Madefor Text", sans-serif;
  font-size: 16px;
}

.mrt-copy .label {
  font-weight: 700;
}

/* Homepage background. One portrait video, full-bleed cover at every width. */

.hero {
  position: relative;
  min-height: 1060px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video,
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.hero-poster {
  display: none;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.58) 46%,
    rgba(0, 0, 0, 0.68) 100%
  );
}

.hero .copy {
  position: relative;
  z-index: 1;
  max-width: 1320px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .hero-poster {
    display: block;
  }
}

/* home-2 */

.home2 {
  position: relative;
  background: #111 url("/assets/bg-home-2.jpg") center top / cover no-repeat;
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
}

.home2-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

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

.home2-upper,
.home2-lower {
  position: relative;
  z-index: 1;
}

.home2-inner {
  width: 100%;
  padding: 28px 48px 10px;
  font-size: 25.04px;
  line-height: 1.35;
}

.home2-inner .title {
  font-size: 27.32px;
  line-height: 1.6;
  margin: 0 0 0.45em;
}

.slab {
  margin: 0 0 22px;
  padding: 14px 22px 8px;
  background-color: rgba(0, 0, 0, 0.72);
  background-image: linear-gradient(rgba(255, 220, 0, 0.14), rgba(255, 220, 0, 0.14));
}

.home2 .label {
  font-weight: 400;
}

.home2 a {
  color: var(--link);
  font-weight: 300;
  text-decoration: underline;
}

.home2 .legal {
  text-align: right;
  font-weight: 400;
}

.home2-lower {
  padding: 8px 56px 36px;
  font-size: 23.41px;
  line-height: 1.6;
  color: var(--green-2);
}

.home2-lower .title {
  font-size: 27.32px;
}

.home2-lower .label {
  color: var(--gold);
  font-weight: 400;
}

.home2-lower a {
  font-weight: 400;
}

.home2-lower .entity {
  margin-top: 1.4em;
  color: var(--legal);
  text-align: right;
  font-weight: 400;
}

@media (max-width: 1439px) {
  .home2-inner {
    padding: 10px 8px 4px;
    font-size: calc(25.04 * 100vw / 1440);
  }

  .home2-inner .title {
    font-size: calc(27.32 * 100vw / 1440);
  }

  .home2-inner .slab {
    margin-bottom: 8px;
    padding: 4px 6px;
  }
}

@media (max-width: 750px) {
  .home2-lower {
    padding: 8px 16px 28px;
    font-size: 16px;
  }

  .home2-lower .title {
    font-size: 16px;
  }
}

/* home-1 code style */

.code-wrap {
  padding: 28px 36px 80px;
}

.code-container {
  background: #1a1a1a;
  border: 1px solid #333;
  padding: 40px;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  line-height: 1.6;
  color: #d1d1d1;
  word-wrap: break-word;
}

.code-container .comment { color: #6a9955; font-style: italic; }
.code-container .separator { color: #444; display: block; white-space: pre-wrap; margin: 10px 0; }
.code-container .key { color: #fff; font-weight: 700; }
.code-container .string { color: #ffb86c; }
.code-container .indent { padding-left: 24px; margin-bottom: 10px; }
.code-container .cta-link {
  color: #ffff00;
  text-decoration: none;
  font-weight: 700;
  border: 1px dashed #ffff00;
  padding: 6px 12px;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  margin: 10px 0;
  background: rgba(255, 255, 0, 0.05);
}
.code-container .cta-link:hover {
  background: #ffff00;
  color: #000;
  border-style: solid;
}
.code-container .legal-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 11px;
  color: #555;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* blackround */

.ticker {
  margin: 0;
  padding: 8px 2px 28px;
  color: #3e3e3e;
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  font-size: min(18px, calc(18 * 100vw / 1440));
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* legal + white paper */

.legal-doc,
.paper-doc {
  padding: 28px 48px 64px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
  color: #000;
}

.legal-doc {
  font-family: "Wix Madefor Display", "Wix Madefor Text", sans-serif;
}

.legal-doc .kicker {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}

.legal-doc p,
.legal-doc h1,
.paper-doc p,
.paper-doc h1,
.paper-doc li {
  margin: 0 0 0.55em;
  overflow-wrap: anywhere;
}

.legal-doc a {
  color: #000;
  font-weight: 400;
  text-decoration: underline;
}

.paper-doc {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.25;
}

.paper-doc strong {
  font-weight: 700;
}

.paper-doc a {
  color: var(--paper-link);
  font-weight: 400;
  text-decoration: underline;
}

.paper-doc ul {
  margin: 0 0 0.55em;
  padding-left: 1.25em;
}

/* sound timer */

.timer-app {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: calc(100vh - var(--header-h));
  padding: 20px 0 40px;
  overflow: visible;
  background: #000;
  color: #fff;
  font-family: monospace, monospace;
  text-align: center;
}

.flash-layer {
  position: fixed;
  inset: 0;
  background: #fff;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.05s;
  z-index: 60;
}

.timer-title {
  margin: 0;
  color: #00ff00;
  font-family: monospace, monospace;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
}

.timer-meta {
  display: flex;
  gap: 20px;
  margin: 10px 0 20px;
}

.timer-meta .lbl {
  color: #888;
  font-size: 14px;
}

.timer-meta .val {
  font-size: 24px;
  color: #fff;
}

.main-time {
  position: sticky;
  top: var(--header-h);
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 10px 0;
  background: #000;
  border-bottom: 1px solid #333;
  color: #00ff00;
  font-size: clamp(48px, 18vw, 90px);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.timer-btn {
  width: 85%;
  margin: 0 0 15px;
  padding: 25px;
  border-radius: 15px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.timer-start {
  border: 0;
  background: #007aff;
  color: #fff;
  font-size: 22px;
}

.timer-connect {
  border: 1px solid #555;
  background: #333;
  color: #aaa;
  font-size: 18px;
}

.timer-status {
  min-height: 1.2em;
  margin-top: 10px;
  color: #ff4444;
  font-size: 14px;
}

.timer-table-wrap {
  width: 90%;
  margin-top: 20px;
}

.timer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
}

.timer-table th {
  padding: 10px;
  border-bottom: 2px solid #333;
  color: #888;
  font-weight: 400;
}

.timer-table th:first-child { text-align: left; }
.timer-table th:nth-child(2) { text-align: center; }
.timer-table th:last-child { text-align: right; }

.missing {
  padding: 80px 24px;
  color: #75c575;
  font-size: 18px;
}

@media (max-width: 750px) {
  .copy {
    padding: 14px 16px 36px;
    font-size: 15.6px;
  }

  .about-copy,
  .contact-copy,
  .outreach-copy {
    font-size: 15px;
  }

  .mrt-copy {
    font-size: 16px;
  }

  .hero {
    min-height: 0;
  }

  .legal-doc,
  .paper-doc {
    padding: 18px 16px 48px;
  }

  .paper-doc {
    font-size: 14.6px;
  }

  .code-wrap {
    padding: 16px 12px 48px;
  }

  .code-container {
    padding: 20px;
    font-size: 11px;
  }

  .code-container .indent { padding-left: 12px; }
  .code-container .cta-link { font-size: 10px; padding: 4px 8px; }

  .nav-panel {
    width: calc(100% - 28px);
    margin: 92px 14px 0 auto;
  }

  .page-tall {
    min-height: 1500px;
  }
}
