@font-face {
  font-family: "Becker";
  src: url("/fonts/Becker.woff2") format("woff2");
  font-display: swap;
}

:root {
  --tone-0: #ffffff;
  --tone-100: #d5d5d5;
  --tone-200: #a8a8a8;
  --tone-300: #7a7a7a;
  --tone-400: #3c3c3c;
  --tone-500: #1c1c1c;
  --tone-600: #0d0d0d;
  --tone-700: #050505;
  --tone-accent: #d8b64a;
  --site-font: "Becker", "Segoe UI Variable Text", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
  font-size: 19px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--tone-0);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #111111 0%, #050505 100%);
  font-family: var(--site-font);
}

a {
  color: var(--tone-100);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus {
  color: var(--tone-0);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.16);
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.site-nav .nav-link {
  color: #f2f2f2 !important;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.active {
  color: #ffffff !important;
}

main {
  display: block;
}

.page-shell {
  padding: 2rem 0 3rem;
}

.hero-panel,
.content-panel,
.support-panel,
.info-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.9), rgba(10, 10, 10, 0.92));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hero-panel {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem;
  border-radius: 32px;
  background: url("/images/waronomy_website_header.jpg") center/cover no-repeat;
  min-height: 360px;
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--tone-200);
  font-size: 0.94rem;
  font-family: var(--site-font);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-title,
.page-title {
  margin: 0;
  font-family: var(--site-font);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.94;
}

.hero-logo {
  display: block;
  width: min(100%, 540px);
  height: auto;
  margin-top: 0;
}

.hero-copy,
.content-panel p,
.support-panel p,
.address-placeholder,
.hero-note,
.info-card p {
  color: var(--tone-accent);
  font-size: 1.22rem;
  line-height: 1.75;
}

.hero-copy {
  max-width: 46rem;
  margin: 1.4rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 0.95rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: #111111;
  color: var(--tone-0);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.action-link.secondary {
  background: transparent;
  color: var(--tone-100);
}

.hero-note {
  margin-top: 1.8rem;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.section-grid-single {
  grid-template-columns: 1fr;
}

.screenshots-section {
  margin-top: 1.5rem;
}

.screenshots-header {
  margin-bottom: 1rem;
}

.screenshots-header h2 {
  margin: 0;
  color: var(--tone-0);
  font-size: 1.38rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screenshot-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.screenshot-tab {
  min-width: 120px;
  padding: 0.72rem 1.1rem;
  border: 1px solid rgba(246, 220, 115, 0.42);
  border-radius: 0;
  background: rgba(10, 10, 10, 0.82);
  color: var(--tone-200);
  font-family: var(--site-font);
  font-size: 0.94rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.screenshot-tab:hover,
.screenshot-tab:focus,
.screenshot-tab.is-active {
  border-color: #f6dc73;
  color: var(--tone-0);
  background: linear-gradient(180deg, rgba(58, 46, 18, 0.95), rgba(16, 16, 16, 0.95));
}

.screenshot-panel[hidden] {
  display: none;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.screenshot-card {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 220px;
  padding: 1.5rem;
  border: 1px solid #f6dc73;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.9), rgba(10, 10, 10, 0.92));
  box-shadow:
    0 0 0 3px #c89d28,
    0 0 0 6px #8a6a16,
    0 24px 60px rgba(0, 0, 0, 0.28);
  color: var(--tone-200);
  font-family: var(--site-font);
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screenshot-trigger {
  cursor: pointer;
}

.screenshot-filled {
  padding: 0;
}

.screenshot-filled img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.screenshot-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 1.5rem;
  border: 1px solid rgba(246, 220, 115, 0.45);
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.9), rgba(10, 10, 10, 0.92));
  color: var(--tone-200);
  font-family: var(--site-font);
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1050;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  width: min(99vw, 1800px);
  height: 98vh;
  margin: 1vh auto;
}

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.lightbox-stage img {
  max-width: 98%;
  max-height: 98%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.86);
  color: var(--tone-0);
  font-family: var(--site-font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 52px;
  height: 52px;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-nav {
  min-width: 88px;
  min-height: 52px;
  padding: 0.9rem 1rem;
}

.info-card,
.support-panel {
  padding: 1.8rem;
  border-radius: 24px;
}

.info-card h2,
.content-panel h2,
.support-panel h2 {
  margin-bottom: 0.9rem;
  color: var(--tone-0);
  font-size: 1.38rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.content-panel {
  padding: 2.25rem;
  border-radius: 28px;
}

.content-panel + .content-panel,
.support-panel + .support-panel {
  margin-top: 1.25rem;
}

.page-title {
  margin-bottom: 1.1rem;
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.policy-list {
  padding-left: 1.2rem;
  color: var(--tone-100);
}

.policy-list li + li {
  margin-top: 0.7rem;
}

.address-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 1.5rem;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.support-address-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

@media (max-width: 991.98px) {
  .section-grid {
    grid-template-columns: 1fr;
  }

  .screenshots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel,
  .content-panel,
  .support-panel,
  .info-card {
    padding: 1.7rem;
  }
}

@media (max-width: 575.98px) {
  .page-shell {
    padding: 1rem 0 2.5rem;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    width: 99vw;
    height: 98vh;
    gap: 0.4rem;
  }

  .lightbox-stage {
    min-height: 0;
  }

  .lightbox-nav {
    width: 100%;
  }

  .lightbox-close {
    top: -0.25rem;
    right: 0;
  }
}
