:root {
  color-scheme: dark;
  --bg: #071019;
  --bg-2: #0b151f;
  --panel: #0f1d29;
  --panel-2: #132638;
  --panel-3: #182322;
  --line: #254054;
  --line-soft: rgba(109, 176, 216, 0.22);
  --text: #eef7ff;
  --muted: #9ebbd0;
  --subtle: #6f8da3;
  --accent: #63d6ff;
  --green: #70f0aa;
  --amber: #ffd56a;
  --red: #ff8b8b;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(99, 214, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 240, 170, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #071019 0%, #0b151f 48%, #10160e 100%);
  background-size: 48px 48px, 48px 48px, auto;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 16, 25, 0.12), rgba(7, 16, 25, 0.84)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.36;
}

a {
  color: var(--text);
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

code {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 16, 25, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  box-shadow: none;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text small {
  color: var(--subtle);
  font: 700 0.72rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a,
.home-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.home-button {
  color: var(--text);
  border-color: var(--line);
  background: rgba(19, 38, 56, 0.76);
}

.home-button::before {
  content: "";
  width: 13px;
  height: 13px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 42%, 88% 42%, 88% 100%, 60% 100%, 60% 66%, 40% 66%, 40% 100%, 12% 100%, 12% 42%, 0 42%);
}

.hero {
  min-height: 74vh;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(90deg, rgba(7, 16, 25, 0.96) 0%, rgba(7, 16, 25, 0.82) 42%, rgba(7, 16, 25, 0.58) 100%),
    var(--hero-image, none) right center / min(58vw, 780px) auto no-repeat;
}

.hero.compact {
  min-height: 48vh;
}

.studio-hero {
  background:
    radial-gradient(circle at 78% 30%, rgba(30, 164, 255, 0.16), transparent 28rem),
    linear-gradient(90deg, rgba(7, 16, 25, 0.98) 0%, rgba(7, 16, 25, 0.86) 58%, rgba(7, 16, 25, 0.72) 100%);
}

.gateway-hero {
  min-height: 66vh;
}

.gateway-hero .hero-content {
  max-width: 820px;
}

.studio-hero-grid,
.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 34px;
  align-items: center;
}

.studio-mark-panel,
.product-masthead {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(99, 214, 255, 0.07), transparent),
    rgba(8, 18, 28, 0.88);
  padding: 26px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.24);
}

.studio-mark-panel img,
.product-masthead img {
  width: min(100%, 420px);
  margin: 0 auto 18px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));
}

.studio-mark-panel p,
.product-masthead p {
  margin: 0;
  color: var(--muted);
}

.product-hero {
  background:
    radial-gradient(circle at 78% 30%, rgba(112, 240, 170, 0.1), transparent 28rem),
    linear-gradient(90deg, rgba(7, 16, 25, 0.98) 0%, rgba(7, 16, 25, 0.88) 58%, rgba(7, 16, 25, 0.76) 100%);
}

.product-masthead {
  background:
    radial-gradient(circle at 35% 20%, rgba(99, 214, 255, 0.14), transparent 34%),
    rgba(8, 18, 28, 0.9);
}

.mobile-product-hero .product-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
}

.wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-content {
  max-width: 700px;
  padding: 72px 0;
}

.eyebrow {
  color: var(--accent);
  font: 900 0.78rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  margin: 14px 0 16px;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.96;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.06;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
}

p {
  color: var(--muted);
  max-width: 72ch;
}

.lede {
  font-size: 1.18rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(19, 38, 56, 0.86);
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  background: var(--accent);
  color: #051018;
  border-color: var(--accent);
}

.button.secondary {
  background: rgba(24, 35, 34, 0.9);
  border-color: rgba(112, 240, 170, 0.38);
}

.button.warning {
  background: rgba(31, 29, 17, 0.9);
  border-color: rgba(255, 213, 106, 0.5);
}

.button::after {
  content: "";
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.button.no-arrow::after {
  display: none;
}

.store-release {
  display: grid;
  gap: 8px;
  margin: -2px 0 22px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 4px;
  border: 1px solid rgba(99, 214, 255, 0.2);
  border-radius: 8px;
  background: rgba(4, 10, 16, 0.56);
}

.store-badge.is-disabled {
  cursor: not-allowed;
  opacity: 0.76;
}

.store-badge img {
  width: auto;
  height: 42px;
  max-width: 180px;
  object-fit: contain;
}

.store-note {
  margin: 0;
  color: var(--subtle);
  font: 800 0.78rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 29, 41, 0.84);
  color: var(--muted);
  font: 800 0.78rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.status-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(112, 240, 170, 0.7);
}

.status-chip.amber::before {
  background: var(--amber);
  box-shadow: 0 0 14px rgba(255, 213, 106, 0.7);
}

.status-chip.red::before {
  background: var(--red);
  box-shadow: 0 0 14px rgba(255, 139, 139, 0.55);
}

.section {
  border-bottom: 1px solid var(--line-soft);
  padding: 58px 0;
}

.section.tight {
  padding: 38px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.section-head p {
  margin: 0;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(99, 214, 255, 0.055), transparent),
    rgba(15, 29, 41, 0.92);
  padding: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.card p {
  margin: 0;
}

.card.warning-card {
  border-color: rgba(255, 213, 106, 0.52);
  background:
    linear-gradient(180deg, rgba(255, 213, 106, 0.08), transparent),
    rgba(31, 29, 17, 0.86);
}

.card.good-card {
  border-color: rgba(112, 240, 170, 0.38);
  background:
    linear-gradient(180deg, rgba(112, 240, 170, 0.07), transparent),
    rgba(13, 31, 25, 0.9);
}

.icon-card h3,
.contact-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(99, 214, 255, 0.34);
  border-radius: 8px;
  background: rgba(19, 38, 56, 0.9);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.console-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.console-list li {
  position: relative;
  padding: 12px 12px 12px 38px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(11, 21, 31, 0.74);
  color: var(--muted);
}

.console-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(99, 214, 255, 0.5);
}

.visual-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  align-items: stretch;
}

.visual-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #08121c;
}

.visual-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-panel.small img {
  object-fit: contain;
  padding: 12px;
  background: #08121c;
}

.featured-project {
  grid-template-columns: 1fr 0.72fr;
}

.screenshot-feature {
  align-items: center;
}

.screenshot-panel {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 18, 28, 0.92);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.22);
}

.screenshot-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line-soft);
}

.screenshot-panel figcaption,
.preview-card figcaption,
.phone-shot figcaption,
.mobile-preview-card figcaption {
  display: grid;
  gap: 3px;
  padding: 11px 12px 12px;
}

.screenshot-panel figcaption strong,
.preview-card figcaption strong,
.phone-shot figcaption strong,
.mobile-preview-card figcaption strong {
  color: var(--text);
  font-weight: 900;
}

.screenshot-panel figcaption span,
.preview-card figcaption span,
.phone-shot figcaption span,
.mobile-preview-card figcaption span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.preview-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.preview-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 18, 28, 0.92);
}

.preview-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-device-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  justify-self: center;
  width: min(100%, 560px);
}

.phone-shot,
.mobile-preview-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(99, 214, 255, 0.05), transparent),
    rgba(8, 18, 28, 0.92);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.22);
}

.phone-shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #06101a;
  border-bottom: 1px solid var(--line-soft);
}

.phone-shot:nth-child(2) {
  margin-top: 46px;
}

.mobile-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mobile-preview-card img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  background: #06101a;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-preview-card.landscape {
  grid-column: span 2;
}

.mobile-preview-card.landscape img {
  aspect-ratio: 19.5 / 9;
}

.brand-lockup-panel {
  min-height: 238px;
  padding: 28px;
  background:
    radial-gradient(circle at 32% 24%, rgba(30, 164, 255, 0.16), transparent 34%),
    rgba(8, 18, 28, 0.92);
}

.brand-lockup-panel img {
  object-fit: contain;
  padding: 0;
  background: transparent;
  filter: drop-shadow(0 16px 24px rgba(3, 15, 26, 0.16));
}

.product-lockup-panel {
  min-height: 238px;
  padding: 28px;
  background:
    radial-gradient(circle at 32% 24%, rgba(99, 214, 255, 0.13), transparent 34%),
    rgba(8, 18, 28, 0.92);
}

.product-lockup-panel img {
  object-fit: contain;
  padding: 0;
  background: transparent;
  filter: drop-shadow(0 16px 24px rgba(3, 15, 26, 0.18));
}

.note {
  border: 1px solid rgba(255, 213, 106, 0.42);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--muted);
  background: rgba(31, 29, 17, 0.78);
}

.route-card {
  min-height: 142px;
}

.support-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(99, 214, 255, 0.08), transparent 34%),
    rgba(11, 21, 31, 0.86);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.support-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  border: 1px solid rgba(99, 214, 255, 0.26);
  border-radius: 9px;
  padding: 11px 12px;
  color: var(--text);
  background: rgba(5, 12, 19, 0.88);
  font: 600 0.95rem "DM Sans", system-ui, sans-serif;
}

.support-form textarea {
  min-height: 106px;
  resize: vertical;
}

.support-form input[type="file"] {
  padding: 10px;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  outline: 2px solid rgba(99, 214, 255, 0.46);
  outline-offset: 2px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form-status {
  color: var(--muted);
  font-weight: 800;
}

.form-status[data-tone="ok"] {
  color: var(--green);
}

.form-status[data-tone="bad"] {
  color: var(--red);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.side-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 29, 41, 0.92);
  padding: 18px;
}

.side-panel img {
  width: min(100%, 280px);
  margin-bottom: 14px;
}

.side-panel img.product-lockup {
  width: min(100%, 320px);
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.24));
}

.link-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(11, 21, 31, 0.74);
  text-decoration: none;
  font-weight: 900;
}

.link-list a::after {
  content: "";
  width: 11px;
  height: 11px;
  margin-top: 5px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.timeline {
  display: grid;
  gap: 12px;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  counter-increment: step;
  position: relative;
  padding: 14px 14px 14px 52px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(11, 21, 31, 0.74);
  color: var(--muted);
}

.timeline li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(99, 214, 255, 0.5);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--accent);
  font: 900 0.78rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.footer {
  position: relative;
  overflow: hidden;
  padding: 30px 0 46px;
  color: var(--muted);
}

.footer::before {
  content: "";
  position: absolute;
  right: max(20px, calc((100vw - 1160px) / 2));
  bottom: -22px;
  width: min(48vw, 540px);
  height: 170px;
  background: url("/assets/beacon-tools-logo.png") right bottom / contain no-repeat;
  filter: grayscale(1);
  opacity: 0.08;
  pointer-events: none;
}

.footer-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}

.store-legal {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--subtle);
  font-size: 0.74rem;
  line-height: 1.45;
}

.store-legal p {
  max-width: 104ch;
  margin: 0;
  color: inherit;
}

.footer-brand {
  flex: 0 0 auto;
}

.footer-logo {
  width: 186px;
  max-height: 54px;
  object-fit: contain;
  opacity: 0.9;
}

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

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(7, 16, 25, 0.88) 0%, rgba(7, 16, 25, 0.98) 68%),
      var(--hero-image, none) center bottom / 110% auto no-repeat;
  }

  .studio-hero,
  .product-hero {
    background:
      radial-gradient(circle at 60% 100%, rgba(99, 214, 255, 0.12), transparent 22rem),
      linear-gradient(180deg, rgba(7, 16, 25, 0.95) 0%, rgba(7, 16, 25, 0.99) 100%);
  }

  .hero-content {
    padding: 54px 0 220px;
  }

  .studio-hero .hero-content,
  .product-hero .hero-content {
    padding-bottom: 0;
  }

  .hero.compact .hero-content {
    padding-bottom: 120px;
  }

  .grid,
  .grid.two,
  .grid.four,
  .form-grid,
  .preview-gallery,
  .mobile-preview-grid,
  .studio-hero-grid,
  .product-hero-grid,
  .mobile-product-hero .product-hero-grid,
  .visual-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .studio-mark-panel,
  .product-masthead {
    margin-bottom: 54px;
  }

  .mobile-device-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 54px;
  }

  .mobile-preview-card.landscape {
    grid-column: auto;
  }

  .section-head {
    display: block;
  }

  .visual-panel img {
    height: auto;
  }
}

@media (max-width: 560px) {
  .nav,
  .wrap {
    width: min(100% - 24px, 1160px);
  }

  .nav-links a,
  .home-button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero-content {
    padding-bottom: 170px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .button {
    width: 100%;
    justify-content: space-between;
  }

  .store-badge {
    width: 100%;
    justify-content: flex-start;
  }

  .store-badge img {
    height: 40px;
  }

  .mobile-device-pair {
    grid-template-columns: 1fr;
  }

  .phone-shot:nth-child(2) {
    margin-top: 0;
  }
}
