/* Signal.org replica — self-contained stylesheet (no external frameworks) */

@font-face {
  font-family: InterVariable;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter/InterVariable.woff2?v=4.1') format('woff2');
}

html {
  scroll-padding-top: 89px;
}

:root {
  --body-color: #1b1b1b;
  --blue: #2c6bed;
  --blue-dark: #1851B4;
  --family-static: Inter, SF Pro, Segoe UI, Roboto, Oxygen, Ubuntu, Helvetica Neue, Helvetica, Arial, sans-serif;
  --family-primary: InterVariable, var(--family-static);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--body-color);
  font-family: var(--family-primary);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; border: 0; }
ul, ol { margin: 0; }

a { color: #2942FF; text-decoration: none; }
a:hover { color: #1851B4; text-decoration: underline; }
ul, ol { list-style: none; padding-left: 0; }
a.no-underline { text-decoration: none; }

/* ---------- typography ---------- */
h1 { font-size: 60px; font-weight: 800; line-height: 64px; margin: 0 0 1rem; }
h2 { font-size: 40px; font-weight: 800; line-height: 44px; margin: 0 0 1rem; }
h3 { font-size: 28px; font-weight: 800; line-height: 32px; margin: 0 0 0.75rem; }
h4 { font-size: 20px; font-weight: 800; line-height: 24px; margin: 0 0 0.5rem; }

@media (max-width: 768px) {
  h1 { font-size: 40px; line-height: 44px; }
  h2 { font-size: 28px; line-height: 32px; }
  p.body1 { font-size: 16px; line-height: 22px; }
}

p { margin: 0 0 10px; font-size: 16px; font-weight: 400; line-height: 1.5; }

p.body1 { font-size: 20px; font-weight: 400; line-height: 28px; }
p.body2 { font-size: 16px; font-weight: 400; line-height: 22px; }

@media (max-width: 768px) {
  h1 { font-size: 40px; line-height: 44px; }
  h2 { font-size: 28px; line-height: 32px; }
  p.body1 { font-size: 16px; line-height: 22px; }
}

/* ---------- layout primitives (bulma-compatible subset) ---------- */
.container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
/* signal.org uses the classic Bulma container widths */
@media (min-width: 1024px) {
  .container { max-width: 960px; }
}
@media (min-width: 1216px) {
  .container { max-width: 1152px; }
}
@media (min-width: 1408px) {
  .container { max-width: 1344px; }
}

.section { padding: 3rem 1.5rem; }
@media (min-width: 1024px) {
  .section { padding: 3rem 3rem; }
}

.columns {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  margin-top: -0.75rem;
}
.columns.is-centered { justify-content: center; }
.column {
  flex: 1 1 0%;
  min-width: 0;
  padding: 0.75rem;
}
.columns > .is-narrow { flex: none; width: auto; }
.columns > .is-6, .columns > .is-half { flex: none; width: 50%; }
.columns > .is-one-third { flex: none; width: 33.3333%; }
.columns > .is-two-thirds { flex: none; width: 66.6667%; }
.columns > .is-two-fifths { flex: none; width: 40%; }
.columns > .is-three-fifths { flex: none; width: 60%; }

@media (max-width: 768px) {
  .column,
  .columns > .is-6, .columns > .is-half,
  .columns > .is-one-third, .columns > .is-two-thirds,
  .columns > .is-two-fifths, .columns > .is-three-fifths {
    flex-basis: 100%;
    width: 100%;
  }
}

.columns.is-desktop { }
@media (max-width: 1023px) {
  .columns.is-desktop { }
  .columns.is-desktop > .column {
    flex-basis: 100%;
    width: 100%;
  }
}

.has-text-centered { text-align: center; }
.has-text-right { text-align: right; }

.is-hidden { display: none !important; }
@media (max-width: 768px) {
  .is-hidden-mobile { display: none !important; }
}
@media (min-width: 769px) {
  .is-hidden-tablet { display: none !important; }
}
@media (min-width: 769px) and (max-width: 1023px) {
  .is-hidden-tablet-only { display: none !important; }
}
@media (max-width: 1023px) {
  .is-hidden-touch { display: none !important; }
}
@media (min-width: 1024px) {
  .is-hidden-desktop { display: none !important; }
}

html.is-clipped, html.is-clipped body { overflow: hidden; }

/* ---------- navbar (Bulma 1.0.4-compatible) ---------- */
.navbar {
  background-color: #fff;
  min-height: 3.25rem;
  position: relative;
  z-index: 30;
}
.navbar.is-fixed-top {
  left: 0;
  right: 0;
  top: 0;
  position: fixed;
}
.navbar > .container {
  display: block;
  min-height: 3.25rem;
  width: 100%;
}
.navbar-brand {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  margin: 0;
  order: 0;
}

@media (max-width: 1023px) {
  .navbar-brand {
    min-height: 3.25rem;
    padding-left: 18px;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .navbar-brand {
    margin-inline-start: -0.75rem;
    padding: 0px;
  }
}

.navbar-menu {
  display: none;
  background-color: #fff;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}
.navbar-menu.is-active { display: block; position: absolute; width: 100%; }
.navbar-item,
.navbar-link {
  color: var(--body-color);
  display: block;
  gap: 0.75rem;
  line-height: 1.5;
  padding: 0.5rem 0.75rem;
  position: relative;
}
.navbar-item a { display: flex; align-items: center; }
.navbar-end { justify-content: flex-end; }

/* burger: two bars that morph into an X (bulma 1.0.4) */
.navbar-burger {
  appearance: none;
  background: none;
  border: 0;
  color: rgb(66, 88, 255);
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  position: relative;
  vertical-align: top;
  width: 2.5rem;
  margin-inline-start: auto;
  margin-inline-end: 0.375rem;
  border-radius: 0.5em;
}
.navbar-burger span {
  background-color: currentColor;
  display: block;
  height: 2px;
  width: 20px;
  position: absolute;
  left: calc(50% - 10px);
  transform-origin: center;
  transition: background-color ease-in-out 0.15s, color ease-in-out 0.15s,
    opacity ease-in-out 0.15s, top ease-in-out 0.15s, transform ease-in-out 0.15s;
}
.navbar-burger span:nth-child(1) { top: 19px; }
.navbar-burger span:nth-child(2) { top: 19px; }
.navbar-burger span:nth-child(3) { bottom: 25px; }
.navbar-burger:hover { background-color: hsla(233, 100%, 63%, 0.1); }
.navbar-burger:active { background-color: hsla(233, 100%, 63%, 0.2); }
.navbar-burger.is-active span:nth-child(1) { transform: rotate(-45deg); }
.navbar-burger.is-active span:nth-child(2) { transform: rotate(45deg); }
.navbar-burger.is-active span:nth-child(3) { opacity: 0; }

/* mobile: menu items stack full-width */
@media (max-width: 1023px) {
  .navbar > .container { padding-left: 0; padding-right: 0; }
  .navbar-end { display: block; }
  .navbar-menu { border-top: 1px solid #ebeaeb; }
  .navbar-item { width: 100%; }
}

/* desktop */
@media (min-width: 1024px) {
  .navbar,
  .navbar-end,
  .navbar-menu {
    align-items: stretch;
    display: flex;
  }
  .navbar > .container {
    display: flex;
  }
  .navbar-item,
  .navbar-link {
    align-items: center;
    display: flex;
  }
  .navbar > .container { padding-left: 0; padding-right: 0; }
  .navbar-menu { flex-grow: 1; flex-shrink: 0; box-shadow: none; padding: 0; }
  .navbar-end { justify-content: flex-end; margin-inline-start: auto; }
  .navbar-burger { display: none; }
}

.signal-logo { height: 28px; vertical-align: middle; display: block; }

body.has-navbar-fixed-top { padding-top: 53px; }

.signal-navbar {
  border-bottom: 1px solid #ebeaeb;
}
.signal-navbar .navbar-item { font-size: 16px; }
.signal-navbar a.navbar-item:hover {
  background-color: inherit;
  color: var(--blue);
  text-decoration: none;
}

@media (min-width: 1024px) {
  body.has-navbar-fixed-top { padding-top: 89px; }
  .signal-navbar { padding: 16px 0; }
  .signal-logo { height: 44px; }
}

/* ---------- buttons ---------- */
.button {
  appearance: none;
  background-color: var(--blue);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  height: 2.5em;
  line-height: 1.5;
  padding: 0 1em;
  text-align: center;
  vertical-align: top;
  white-space: nowrap;
  user-select: none;
}
.button:hover {
  background-color: var(--blue-dark);
  color: #fff;
  text-decoration: none;
}
.button2 {
  background-color: #fff;
  border-radius: 8px;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 20px;
  line-height: 28px;
}
.button2:hover {
  background-color: #fff;
  border-color: var(--blue-dark);
  color: var(--blue-dark);
}
.button-white {
  background-color: #fff;
  color: #2C6BED;
  font-size: 20px;
  line-height: 28px;
  padding: 0 20px;
}
.button-white:hover {
  background-color: #fff;
  color: var(--blue-dark);
}
.is-link {
  background-color: var(--blue);
  box-shadow: none;
  color: #fff;
  font-weight: 600;
}
.is-link:hover { color: #fff; background-color: var(--blue-dark); }
/* .large-button — no extra styles on the real site; inherits .button (16px/600) */
.large-button { padding: 0 1em; }

/* ---------- modal ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow-y: auto;
}
.modal.is-active { display: block; }
.modal-background {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.86);
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 2rem auto;
  max-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}
.modal-card-head {
  align-items: center;
  background: #f5f5f5;
  border-bottom: 1px solid #dbdbdb;
  display: flex;
  padding: 1.25rem 1.5rem;
}
.modal-card-title {
  color: #363636;
  font-size: 1.25rem;
  font-weight: 700;
  flex: 1 1 auto;
  margin: 0;
}
.modal-card-body {
  background: #fff;
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
}
.modal-card-foot {
  background: #f5f5f5;
  border-top: 1px solid #dbdbdb;
  display: flex;
  padding: 1rem 1.5rem;
}

.delete, .modal-close {
  appearance: none;
  background: rgba(10,10,10,.2);
  border: 0;
  cursor: pointer;
  height: 24px;
  width: 24px;
  padding: 0;
  color: #fff;
}
.delete::before, .delete::after,
.modal-close::before, .modal-close::after {
  background: #fff;
  content: "";
  display: block;
  left: 50%;
  position: absolute;
  top: 50%;
}
.delete::before, .modal-close::before {
  height: 2px;
  width: 14px;
  margin-left: -7px;
  margin-top: -1px;
}
.delete::after, .modal-close::after {
  height: 14px;
  width: 2px;
  margin-left: -1px;
  margin-top: -7px;
}
.delete::before { transform: rotate(45deg); }
.delete::after { transform: rotate(-45deg); }
.modal-close.is-large { height: 32px; width: 32px; }

#language-selector-modal .modal-card,
.download .modal-card { width: auto; max-width: 800px; }
#language-selector-modal .delete {
  inset-inline-end: 20px;
  position: absolute;
  top: 20px;
}
#language-selector-modal .modal-card-body {
  display: flex;
  flex-wrap: wrap;
}
#language-selector-modal .navbar-item {
  display: inline-flex;
  width: 180px;
  font-size: 15px;
}
#language-selector-modal .navbar-item:hover { color: var(--blue); }
#language-selector-modal .modal-card-foot {
  background: #fff;
  padding-top: 0;
}

/* ---------- giving banner ---------- */
.giving-banner {
  background-color: #EDF6FB;
  padding-block: 0;
  position: relative;
}
.giving-banner-inner {
  align-items: center;
  display: flex;
  position: static;
}
@media (max-width: 399px) {
  .giving-banner-inner { flex-direction: column-reverse; }
}
.giving-banner-art {
  flex: none;
  margin-inline-end: -99px;
}
@media (max-width: 399px) {
  .giving-banner-art { margin-inline-end: 0; width: 228px; }
}
.giving-banner-text {
  margin: 0;
  padding-block: 1rem;
  z-index: 1;
}
@media (max-width: 399px) {
  .giving-banner-text { padding-block: 14px; text-align: center; }
}
.giving-banner-text a { color: #3B45FD; font-weight: 600; }

/* Bulma size modifiers used by the banner */
@media (min-width: 769px) {
  .is-size-5-tablet { font-size: 1.25rem; }
}

/* ---------- home hero ---------- */
.hero.hero-main {
  background-color: #9DBBF8;
  max-height: 760px;
}
@media (min-width: 1024px) {
  .hero.hero-main { max-height: 680px; }
}
.hero-main h1 { margin-bottom: 24px; }
@media (min-width: 1024px) {
  .hero-main { margin-bottom: 4rem; }
  .hero-main h1 { margin-top: 120px; }
}
.hero-main .hero-body { padding-bottom: 0; }
.hero-body { padding: 3rem 1.5rem; }
@media (min-width: 769px) {
  .hero-body { padding: 3rem 3rem; }
}

.hero-main .mobile-screenshots { position: relative; }
.hero-main .mobile-screenshots img {
  transform: rotate(22.5deg);
  width: 218px;
}
.hero-main .mobile-screenshots .screenshot1 {
  margin-left: -50px;
  margin-top: 55px;
}
.hero-main .mobile-screenshots .screenshot2 {
  margin-left: -32px;
  position: absolute;
  top: 0;
}
@media (min-width: 1024px) {
  .hero-main .mobile-screenshots .screenshot1 {
    margin-left: 0;
    margin-top: 46px;
    width: 320px;
  }
  .hero-main .mobile-screenshots .screenshot2 { width: 300px; }
}

/* ---------- why signal ---------- */
.why-signal h2 { margin-bottom: 16px; }
@media (max-width: 768px) {
  .section.why-signal { margin-bottom: -40px; }
}

/* ---------- information sections ---------- */
.section.information img { border-radius: 16px; }
.section.information h2 { margin-bottom: 32px; }
.section.information .columns { flex-direction: row-reverse; }

.animation-wrapper {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
@media (max-width: 1023px) {
  .animation-wrapper { justify-content: center; }
}
.animation-frame {
  background-color: #a5cad5;
  border-radius: 16px;
  padding: 16px;
}
.section.information img,
.section.information .animation-frame { width: 384px; }
.section.information .animation-frame img {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 769px) {
  .section.information img,
  .section.information .animation-frame { width: 680px; }
}

/* ---------- features grid ---------- */
.section.features { background-color: #F6F6F6; }
.section.features .box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.12), 0px 0px 2px rgba(0,0,0,0.08);
  height: 100%;
  padding: 30px;
}
.section.features h3 { color: #1b1b1b; margin-top: 18px; margin-bottom: 4px; }
.section.features img { width: 280px; margin: 0 auto; }
@media (min-width: 769px) {
  .section.features img { width: 370px; }
}

/* ---------- footer ---------- */
.footer {
  background-color: #3C3744;
  color: #E9E9E9;
  font-size: 16px;
  line-height: 22px;
  padding: 3rem 1.5rem 6rem;
}

.footer strong { display: block; margin-bottom: 12px; color: #E9E9E9; }
.footer a { color: #E9E9E9; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 0; }
.footer .column { margin-bottom: 20px; }
.footer .copyright { font-size: 14px; line-height: 20px; }
@media (max-width: 768px) {
  .footer { padding: 2rem 1rem; }
}

/* ---------- icons ---------- */
.icon {
  display: inline-flex;
  height: 16px;
  width: 16px;
  background-repeat: no-repeat;
}
.fa-icon {
  height: 1em;
  overflow: visible;
  vertical-align: -0.125em;
}
.icon > .fa-icon { height: 100%; width: 100%; }
.icon-external-link-alt { color: #000; height: 20px !important; }
.icon-globe { color: #000; }
.language-selector { display: inline-flex; align-items: center; }
.language-selector .icon { margin-inline-end: 4px; }
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 8px;
  border: 3px solid;
  border-color: currentColor transparent transparent;
  border-left: 0;
  border-right: 0;
  border-top-style: solid;
}

/* ---------- download page ---------- */
.download h2 { margin-bottom: 32px; }
.download h3 { margin-bottom: 24px; }
.download .button { margin: 15px 30px; }
.download .download-primary {
  font-weight: 600;
  text-align: center;
}
.download .download-primary:not(.button) { color: #2942FF; }
.download .download-primary:not(.button):hover { color: #1851B4; }
.download-window.columns {
  background-color: #9dbbf8;
  border-radius: 12px;
  height: 300px;
  margin: 0;
  margin-bottom: 25px;
}
.download-window .column { height: 100%; padding-bottom: 0; }
.download-window .download-window-wrapper {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
  margin: 0 auto;
}
.download .message { background: #f6f6f6; margin: 16px 0 24px; border-radius: 4px; }
.download .message-body { border: none; font-size: 14px; line-height: 20px; padding: 1.25em 1.5em; }
.download .modal-card-body { padding: 0; }
.download .modal-card-body pre {
  margin: 0;
  text-align: left;
  overflow-x: auto;
}
.download .modal-card-body code {
  font-family: Consolas, Menlo, monospace;
  font-size: 14px;
  line-height: 1.5;
  color: #1b1b1b;
  display: block;
  padding: 1.25rem 1.5rem;
}
.download .modal-card-head { flex-shrink: 0; }
.download .modal-card-body { flex: 1 1 auto; }

/* ---------- donate page ---------- */
.content p { font-size: 16px; font-weight: 400; line-height: 22px; margin-bottom: 10px; }
p.body1 { margin-bottom: 16px; }

.tabs ul {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
  white-space: nowrap;
}
.tabs.is-toggle ul {
  background: #f5f5f5;
  border: 1px solid #dbdbdb;
  border-radius: 6px;
  padding: 0.375rem;
}
.tabs.is-toggle li + li { margin-left: 0; }
.tabs li { flex: 1 1 auto; margin-bottom: 0; }
.tabs li a {
  align-items: center;
  border-radius: 4px;
  color: #4a4a4a;
  display: flex;
  justify-content: center;
  padding: 0.5em 1.1em;
}
.tabs.is-toggle li a:hover { background: rgba(0,0,0,.04); color: #363636; }
.tabs.is-toggle li.is-active a {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
  color: #363636;
}
.tabs.is-fullwidth { display: flex; }
.tabs.is-fullwidth ul { width: 100%; }
.tabs.is-small li a { font-size: 0.9rem; }

.separated-by-pipes li { display: inline-block; }
.separated-by-pipes li:not(:first-child) {
  margin-inline-start: 0.5em;
  padding-inline-start: 0.5em;
  border-inline-start: 1px solid #999;
}

/* ---------- security page ---------- */
.security-page p.body2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.security-page h2.subtitle { margin-top: 1.5rem; font-size: 24px; line-height: 30px; }
.security-page ul { list-style: disc; margin-left: 20px; }
.security-page li { margin-bottom: 8px; }

/* ---------- 404 ---------- */
.notfound {
  margin: 10px auto;
  max-width: 600px;
  text-align: center;
  padding: 60px 20px;
}
.notfound h1 { margin: 30px 0; font-size: 4em; line-height: 1; letter-spacing: -1px; }

/* ---------- misc ---------- */
.store-badge { box-sizing: content-box; height: 52px; padding: 13px; width: auto; }
.is-family-primary, .is-family-sans-serif { font-family: var(--family-primary) !important; }
