:root {
  --bg: #07121d;
  --bg-deep: #040b12;
  --surface: rgba(8, 19, 31, 0.72);
  --surface-strong: rgba(9, 24, 38, 0.94);
  --surface-soft: rgba(21, 41, 59, 0.72);
  --line: rgba(144, 196, 234, 0.18);
  --line-strong: rgba(144, 196, 234, 0.3);
  --text: #f4f8fc;
  --muted: #a8bacd;
  --accent: #63d7ff;
  --accent-2: #77f0cf;
  --accent-3: #ffd36a;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(99, 215, 255, 0.18), transparent 32%),
    radial-gradient(circle at 88% 10%, rgba(119, 240, 207, 0.12), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(255, 211, 106, 0.08), transparent 34%),
    linear-gradient(180deg, #091522 0%, #050c14 56%, #03070d 100%);
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.8), transparent 78%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 22px 0 18px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 18, 29, 0.62);
}

.site-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(99, 215, 255, 0.12);
  color: var(--text);
  transform: translateY(-1px);
}

.site-header-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.hero,
.section,
.content-main {
  padding-bottom: 36px;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 44px;
  padding-top: 38px;
  min-height: calc(100vh - 120px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2));
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

h3 {
  font-size: 1.2rem;
}

.lead,
.section-heading p,
.footer-copy,
.content-card p,
.content-card li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.lead {
  max-width: 60ch;
  margin: 24px 0 0;
  font-size: 1.12rem;
}

.hero-support-copy {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--muted);
}

.hero-actions,
.callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #041018;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 14px 34px rgba(99, 215, 255, 0.28);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.button-compact {
  min-height: 48px;
  padding: 0 18px;
  white-space: nowrap;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #dbe8f5;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  padding: 20px;
  display: grid;
  place-items: center;
}

.brand-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(220px, 34vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(119, 240, 207, 0.3), rgba(99, 215, 255, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translate(18px, 12px);
}

.brand-core img {
  width: 72%;
  border-radius: 24%;
  animation: pulse 6s ease-in-out infinite;
}

.brand-core-ring {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

.orbital-panel {
  position: absolute;
  width: min(340px, 72vw);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(11, 27, 42, 0.94), rgba(8, 19, 31, 0.82));
  box-shadow: var(--shadow);
  z-index: 3;
}

.orbital-panel strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.orbital-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.primary-panel {
  top: 24px;
  left: 12px;
  animation: float-one 7s ease-in-out infinite;
}

.secondary-panel {
  right: 16px;
  bottom: 42px;
  animation: float-two 8s ease-in-out infinite;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(119, 240, 207, 0.12);
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 800;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 7px rgba(119, 240, 207, 0.12);
}

.metric-row {
  display: block;
}

.metric-row span {
  display: block;
  margin-top: 8px;
  color: var(--accent-3);
  font-size: 0.9rem;
  font-weight: 800;
}

.section {
  padding-top: 34px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 16px;
}

.phone-grid,
.feature-grid,
.content-grid {
  display: grid;
  gap: 22px;
}

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

.showcase-hint {
  margin-top: 14px;
  color: var(--accent);
  font-weight: 700;
}

.phone-shot {
  position: relative;
  appearance: none;
  width: 100%;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 33, 51, 0.94), rgba(5, 15, 25, 0.9));
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.phone-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.phone-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-shot:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.phone-shot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.phone-shot.tall {
  transform: translateY(28px);
}

.phone-shot.tall:hover {
  transform: translateY(22px);
}

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

.feature-card,
.content-card,
.callout-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(10, 24, 39, 0.92), rgba(7, 18, 29, 0.82));
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 24px;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(99, 215, 255, 0.12);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
}

.callout-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(99, 215, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(10, 24, 39, 0.94), rgba(7, 18, 29, 0.88));
}

.callout-card p {
  max-width: 56ch;
}

.share-preview-card,
.share-state-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.share-preview-label {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-label {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.share-preview-url {
  display: inline-flex;
  max-width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #dce8f5;
  background: rgba(255, 255, 255, 0.035);
  font-family: "Manrope", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.share-preview-actions,
.share-action-stack,
.share-directions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer {
  padding: 40px 0 50px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-copy {
  max-width: 34ch;
  margin: 14px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 8, 14, 0.84);
  backdrop-filter: blur(18px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(99, 215, 255, 0.15), transparent 24%),
    linear-gradient(180deg, rgba(11, 27, 42, 0.96), rgba(5, 14, 23, 0.96));
  box-shadow: var(--shadow);
}

.lightbox-toolbar,
.lightbox-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.lightbox-kicker {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lightbox-counter,
.lightbox-help {
  margin: 8px 0 0;
  color: var(--muted);
}

.lightbox-close,
.lightbox-nav {
  appearance: none;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 215, 255, 0.42);
  background: rgba(99, 215, 255, 0.1);
}

.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.lightbox-frame {
  display: grid;
  place-items: center;
  min-height: 60vh;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(2, 10, 17, 0.76);
}

.lightbox-frame img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 28px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

.lightbox-nav-row {
  margin-top: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.content-page .site-header {
  position: relative;
}

.content-main {
  max-width: 920px;
  margin: 0 auto;
  padding-top: 42px;
}

.loo-main {
  max-width: 1080px;
}

.content-hero {
  margin-bottom: 28px;
}

.content-card {
  padding: 28px;
}

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

.share-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: start;
}

.share-card-title {
  margin-bottom: 18px;
}

.detail-stack {
  display: grid;
  gap: 18px;
}

.detail-value {
  margin: 0;
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.7;
}

.detail-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dce8f5;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}

.share-loading {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.share-loading::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(99, 215, 255, 0.18);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

.share-note {
  margin: 18px 0 0;
  color: var(--muted);
}

.share-error-text {
  margin-bottom: 0;
}

.button-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.prose h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.prose h2 + p,
.prose h2 + ul {
  margin-top: 0;
}

.prose p,
.prose ul {
  margin: 0 0 22px;
}

.prose ul {
  padding-left: 20px;
}

.prose a {
  color: var(--accent);
}

.prose a.button-primary {
  color: #041018;
}

.prose a.button-secondary {
  color: var(--text);
}

@keyframes float-one {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float-two {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.025);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .hero,
  .feature-grid,
  .phone-grid,
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-copy {
    grid-column: 1 / -1;
  }

  .hero-visual {
    grid-column: 1 / -1;
    min-height: 500px;
  }

  .brand-core {
    transform: translate(0, 0);
  }

  .phone-shot.tall {
    transform: none;
  }

  .phone-shot.tall:hover {
    transform: translateY(-6px);
  }

  .site-header {
    align-items: flex-start;
  }

  .site-header-tools,
  .share-preview-card,
  .share-state-card {
    flex-direction: column;
    align-items: stretch;
  }

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

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header,
  .site-footer,
  .callout-card,
  .hero,
  .feature-grid,
  .phone-grid,
  .content-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header,
  .site-footer {
    padding-top: 18px;
  }

  .site-nav {
    justify-content: center;
    width: 100%;
    border-radius: 20px;
  }

  .site-header-tools {
    width: 100%;
  }

  .site-nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

  .hero-visual {
    min-height: 420px;
    padding: 0;
  }

  .orbital-panel {
    width: calc(100% - 22px);
    padding: 20px;
  }

  .orbital-panel strong {
    font-size: 1.2rem;
  }

  .primary-panel {
    top: 0;
    left: 11px;
  }

  .secondary-panel {
    bottom: 0;
    right: 11px;
  }

  .callout-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .share-preview-url {
    font-size: 0.92rem;
  }

  .share-preview-actions,
  .share-action-stack,
  .share-directions-grid {
    width: 100%;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-dialog {
    padding: 18px;
    border-radius: 24px;
  }

  .lightbox-toolbar,
  .lightbox-nav-row {
    flex-direction: column;
    align-items: stretch;
  }

  .lightbox-frame {
    min-height: 44vh;
    padding: 16px;
  }

  .lightbox-frame img {
    max-height: 58vh;
  }

  .lightbox-close,
  .lightbox-nav {
    width: 100%;
  }
}
