/* ==========================================================================
   AEROTV - INNER PAGES
   Same design as the home page (Aerotv.php), shared by every inner page.
   ========================================================================== */
:root {
  --blue: #087AE7;
  --blue-dark: #035BB5;
  --blue-gradient: linear-gradient(135deg, #087AE7 0%, #035BB5 100%);
  --sky-section: #E2F2FD;
  --sky-soft: #F4FBFF;
  --border-card: #D4EBFC;
  --heading: #0F172A;
  --text: #334155;
  --text-soft: #475569;
  --text-muted: #64748B;
  --font-headline: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #191919;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

:focus-visible {
  outline: 3px solid #0F172A;
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 860px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 20px 0 110px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(#087AE7 0%, #1583EA 32%, #4FAAF8 64%, #BFE2FC 88%, #fff 100%);
}

.hero-ambient-mesh {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(2, 132, 199, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  pointer-events: none;
}

.hero-glow-left {
  top: 10%;
  left: -5%;
  width: 450px;
  height: 450px;
  background: rgba(72, 162, 223, 0.22);
}

.hero-glow-right {
  top: 20%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: rgba(37, 211, 102, 0.15);
}

.hero-bottom-wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  line-height: 0;
  pointer-events: none;
}

.hero-bottom-wave svg {
  width: 100%;
  height: 60px;
}

.hero-content {
  position: relative;
  max-width: 860px;
  margin: 44px auto 0;
  padding: 0 20px;
}

.hero-title-screen {
  margin-bottom: 18px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.hero-title-screen__l1 {
  display: block;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-title-screen__l2 {
  display: block;
  margin-top: 4px;
  color: #E2E8F0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-desc-screen {
  max-width: 740px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  line-height: 1.65;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 500;
  list-style: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb li + li::before {
  content: '›';
  margin-right: 6px;
}

/* --------------------------------------------------------------------------
   Header (glass)
   -------------------------------------------------------------------------- */
.site-header-wrapper {
  position: relative;
  z-index: 50;
  padding: 0 16px;
}

.site-header {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 8px 8px 24px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.25);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 60%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 28px rgba(2, 40, 90, 0.14);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.logo-container {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.logo-img {
  width: auto;
  height: 40px;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
}

.nav-link {
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-pill-white,
.btn-final-white,
.btn-primary,
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-family: var(--font-headline);
  font-weight: 800;
  letter-spacing: 0.5px;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.btn-pill-white {
  min-height: 42px;
  padding: 11px 28px;
  border-radius: 50px;
  background: #fff;
  color: var(--heading);
  font-size: 14.5px;
  line-height: 1;
  white-space: nowrap;
}

.btn-final-white {
  padding: 17px 44px;
  border-radius: 9999px;
  background: #fff;
  color: var(--blue);
  font-size: 17px;
}

.btn-primary {
  min-height: 46px;
  padding: 11px 26px;
  border-radius: 9999px;
  background: var(--blue-gradient);
  color: #fff;
  font-size: 14.5px;
}

.btn-outline-light {
  padding: 15px 38px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 9999px;
  background: transparent;
  color: #fff;
  font-size: 16px;
}

.btn-pill-white:hover,
.btn-final-white:hover,
.btn-primary:hover,
.btn-outline-light:hover {
  transform: translateY(-2px);
}

.btn-pulse {
  animation: btnNoticePulse 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.btn-pulse:hover {
  animation-play-state: paused;
}

@keyframes btnNoticePulse {
  0%, 24%, 100% { transform: scale(1); }
  14% { transform: scale(1.022); }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  padding: 40px 0 46px;
}

.section--sky {
  background: var(--sky-section);
}

.section-header {
  margin-bottom: 32px;
  text-align: center;
}

.section-badge {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-family: var(--font-headline);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 12px;
  color: var(--heading);
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.section-subtitle {
  max-width: 780px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 15.5px;
  font-weight: 450;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Icons and cards
   -------------------------------------------------------------------------- */
.icon-circle {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 26px 30px;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.05);
  text-align: center;
}

.card .icon-circle {
  margin-bottom: 18px;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--heading);
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Final call to action
   -------------------------------------------------------------------------- */
.final-cta-section {
  padding: 24px 0 56px;
  text-align: center;
}

.final-cta-box {
  padding: 52px 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  background: var(--blue-gradient);
  box-shadow: 0 20px 48px -10px rgba(8, 122, 231, 0.45);
  color: #fff;
}

.final-cta-box h2 {
  margin-bottom: 14px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.final-cta-box p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 48px 20px 32px;
  border-top: 1px solid #E2E8F0;
  background: #fff;
  color: var(--heading);
}

.site-footer .container {
  padding: 0;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid #E2E8F0;
}

.footer-logo-img {
  width: auto;
  height: 38px;
}

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

.footer-links a {
  font-size: 12.6px;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #6F6F6F;
  font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(2px);
  transition: opacity 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js .reveal.is-revealed {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.js .reveal.reveal-done {
  filter: none;
}

/* --------------------------------------------------------------------------
   Installation tutorial
   -------------------------------------------------------------------------- */
.device-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.device-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 18px 8px 16px;
  border: 2px solid var(--border-card);
  border-radius: 20px;
  background: #fff;
  color: var(--heading);
  cursor: pointer;
  font-family: var(--font-headline);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.device-tab .icon-circle {
  width: 50px;
  height: 50px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.device-tab:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
}

.device-tab[aria-selected="true"] {
  border-color: var(--blue);
  background: var(--blue-gradient);
  color: #fff;
}

.device-tab[aria-selected="true"] .icon-circle {
  background: #fff;
  color: var(--blue);
}

.device-panels {
  margin-top: 26px;
  scroll-margin-top: 20px;
}

.device-panel {
  padding: 38px 40px 40px;
  border: 1px solid var(--border-card);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.05);
}

.device-panel + .device-panel {
  margin-top: 26px;
}

.js .device-panel {
  margin-top: 0;
}

.js .device-panel:not(.is-active) {
  display: none;
}

.js .device-panel.is-active {
  animation: panelIn 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.device-panel-title {
  margin-bottom: 26px;
  color: var(--heading);
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.install-steps {
  counter-reset: install-step;
  list-style: none;
}

.install-steps li {
  position: relative;
  padding: 0 0 24px 58px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  counter-increment: install-step;
}

.install-steps li:last-child {
  padding-bottom: 0;
}

.install-steps li::before {
  content: counter(install-step);
  position: absolute;
  top: -2px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 800;
}

.install-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: var(--border-card);
}

.install-steps strong {
  color: var(--heading);
  font-weight: 600;
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.copy-url {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-top: 12px;
  padding: 6px 6px 6px 16px;
  border: 1px solid var(--border-card);
  border-radius: 9999px;
  background: var(--sky-soft);
}

.copy-url code {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  color: var(--heading);
  font-family: Consolas, Menlo, Monaco, monospace;
  font-size: 13.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  flex-shrink: 0;
  min-height: 34px;
  padding: 6px 16px;
  border: 0;
  border-radius: 9999px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 800;
}

.panel-done {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 10px 20px;
  border-radius: 9999px;
  background: #E2F2FD;
  color: var(--blue-dark);
  font-family: var(--font-headline);
  font-size: 14.5px;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.card .copy-url {
  width: 100%;
  margin-top: 14px;
}

.card > .btn-primary:last-child {
  margin-top: auto;
}

.card > p {
  margin-bottom: 18px;
}

.checklist {
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 34px;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  background: #fff;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 0 0 16px 40px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}

.checklist li:last-child {
  padding-bottom: 0;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.checklist strong {
  color: var(--heading);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.fact-value {
  margin-bottom: 8px;
  color: var(--blue);
  font-family: var(--font-headline);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.legal-article {
  max-width: 860px;
  margin: 0 auto;
}

.legal-section {
  padding: 30px 34px;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.05);
}

.legal-section + .legal-section {
  margin-top: 16px;
}

.legal-section h2 {
  margin-bottom: 12px;
  color: var(--heading);
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.legal-section p,
.legal-list li {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

.legal-section p + p,
.legal-section p + .legal-list,
.legal-section p + .install-steps {
  margin-top: 12px;
}

.legal-section .install-steps {
  margin-top: 16px;
}

.legal-list {
  padding-left: 22px;
}

.legal-list li + li {
  margin-top: 10px;
}

.legal-list li::marker {
  color: var(--blue);
}

.legal-section strong {
  color: var(--heading);
  font-weight: 600;
}

.legal-section a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}

.legal-fields {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: 10px 18px;
}

.legal-fields dt {
  color: var(--heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.legal-fields dd {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Marks a detail still to be supplied: none may remain when the page goes live */
.legal-todo {
  padding: 2px 8px;
  border-radius: 6px;
  background: #FEF3C7;
  color: #92400E;
  font-size: 14px;
  font-weight: 600;
}

.legal-updated {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 13.5px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.post-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
}

.post-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 26px;
}

.post-card time {
  margin-bottom: 8px;
  color: var(--blue);
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 800;
}

.post-card h3 {
  margin-bottom: 10px;
  color: var(--heading);
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.post-card p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.post-card-more {
  margin-top: auto;
  color: var(--blue);
  font-family: var(--font-headline);
  font-size: 14.5px;
  font-weight: 800;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border-card);
  border-radius: 9999px;
  color: var(--heading);
  font-family: var(--font-headline);
  font-weight: 800;
}

.pagination .page-numbers.current {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-code {
  margin-bottom: 8px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.hero-actions .btn-final-white,
.hero-actions .btn-outline-light {
  padding: 13px 34px;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Tools
   -------------------------------------------------------------------------- */
.tool-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px 36px 36px;
  border: 1px solid var(--border-card);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.05);
}

.tool-card + .tool-card {
  margin-top: 22px;
}

.tool-card h3 {
  margin-bottom: 18px;
  color: var(--heading);
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--heading);
  font-family: var(--font-headline);
  font-size: 14.5px;
  font-weight: 800;
}

.field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 20px;
  border: 2px solid var(--border-card);
  border-radius: 9999px;
  background: var(--sky-soft);
  color: var(--heading);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.field input:focus {
  border-color: var(--blue);
  outline: none;
  background: #fff;
}

.tool-card .btn-primary {
  width: 100%;
  min-height: 52px;
  font-size: 15.5px;
}

.tool-note {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
  text-align: center;
}

.tool-error {
  margin-bottom: 18px;
  padding: 12px 20px;
  border-radius: 16px;
  background: #FFF1F2;
  color: #BE123C;
  font-size: 14.5px;
  font-weight: 500;
}

.tool-error[hidden],
.tool-card[hidden] {
  display: none;
}

.output-row {
  padding: 12px 0;
  border-top: 1px solid var(--border-card);
}

.output-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.output-label {
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.output-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.output-value {
  min-width: 0;
  color: var(--heading);
  font-family: Consolas, Menlo, Monaco, monospace;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.tool-card .output-actions {
  margin-top: 16px;
}

.card code {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--sky-soft);
  color: var(--heading);
  font-family: Consolas, Menlo, Monaco, monospace;
  font-size: 12.5px;
  overflow-wrap: anywhere;
  text-align: left;
}

.staff-email {
  overflow-wrap: anywhere;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--sky-soft);
  color: var(--heading);
  font-family: Consolas, Menlo, Monaco, monospace;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.staff-note {
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .nav-links {
    display: none;
  }

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

  .cards-grid,
  .post-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-bottom: 90px;
  }

  .hero-content {
    margin-top: 32px;
  }

  .hero-title-screen {
    font-size: 25px;
  }

  .section-title,
  .final-cta-box h2 {
    font-size: 24px;
  }

  .device-panel {
    padding: 26px 18px 28px;
    border-radius: 20px;
  }

  .device-panel-title {
    font-size: 20px;
  }

  .tool-card {
    padding: 24px 18px 26px;
    border-radius: 20px;
  }

  .error-code {
    font-size: 72px;
  }

  .legal-fields {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .legal-fields dd {
    margin-bottom: 12px;
  }

  .legal-section {
    padding: 24px 20px;
  }

  .legal-section h2 {
    font-size: 20px;
  }

  .legal-section p,
  .legal-list li {
    font-size: 14.5px;
  }

  .fact-value {
    font-size: 28px;
  }

  .install-steps li {
    padding-left: 50px;
    font-size: 14.5px;
  }

  .final-cta-box {
    padding: 34px 18px;
  }

  .btn-final-white,
  .btn-outline-light {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 15px;
  }

  .site-header {
    padding: 6px 8px 6px 16px;
  }

  .logo-img {
    height: 32px;
  }

  .btn-pill-white {
    padding: 10px 18px;
    font-size: 12.5px;
  }

  .js .reveal {
    filter: blur(1.5px);
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
  }

  .footer-links a {
    display: block;
    padding: 5px 0;
  }
}

@media (max-width: 560px) {
  .device-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .device-tab {
    padding: 14px 4px 12px;
    font-size: 13px;
  }

  .device-tab:last-child {
    grid-column: 2;
  }

  .copy-url {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 16px;
  }

  .copy-url code {
    overflow: visible;
    font-size: 13px;
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .btn-pulse,
  .js .device-panel.is-active {
    animation: none;
  }
}
