/* Harborleaf app palette. Keep these values aligned with the sister apps. */
:root {
  color-scheme: light;
  --bg-primary: #eceae3;
  --bg-secondary: #fbfaf6;
  --panel-bg: #fbfaf6;
  --panel-overlay: #f3f1ea;
  --text-primary: #18221d;
  --text-secondary: #536158;
  --text-muted: #647068;
  --accent-red: #267557;
  --accent-red-bright: #165a40;
  --accent-steel: #174a5b;
  --signal-green: #267557;
  --signal-green-dark: #dcebe3;
  --packet-green: #267557;
  --packet-green-dark: #dcebe3;
  --line-color: #d7d5cb;
  --card-border: #d7d5cb;
  --button-text: #ffffff;
  --shadow-color: rgb(25 35 29 / 7%);
  --max-content: 78rem;
  --space-1: .5rem;
  --space-2: .75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-display: var(--font-body);
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg-primary: #151b18;
  --bg-secondary: #1d2521;
  --panel-bg: #1d2521;
  --panel-overlay: #242e29;
  --text-primary: #edf4ef;
  --text-secondary: #a9b6ae;
  --text-muted: #a9b6ae;
  --accent-red: #267557;
  --accent-red-bright: #83d2aa;
  --accent-steel: #72b5c9;
  --signal-green: #83d2aa;
  --signal-green-dark: #263f33;
  --packet-green: #83d2aa;
  --packet-green-dark: #263f33;
  --line-color: #36433c;
  --card-border: #36433c;
  --shadow-color: rgb(0 0 0 / 12%);
}

/* Reset & Box Sizing */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

/* Accessibility Focus & Skip Link */
.skip-link {
  position: absolute;
  top: 1rem;
  left: -9999px;
  background: var(--accent-red-bright);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  z-index: 10000;
  border: 2px solid #ffffff;
  border-radius: 0.35rem;
  box-shadow: 0 0 20px rgba(239, 40, 71, 0.8);
  transition: left 0s ease;
}

.skip-link:focus {
  left: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent-red-bright);
  outline-offset: 3px;
}

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: 16px;
}

body {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  touch-action: pan-y pinch-zoom;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  opacity: 1;
  transition: opacity 0.4s ease, background-color 0.3s ease, color 0.3s ease;
}

body.is-ready {
  opacity: 1;
}

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

/* Background Overlays - Softened for reduced eye strain */
.scanline-overlay,
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.scanline-overlay {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.015) 0,
    rgba(255, 255, 255, 0.015) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.12;
}

[data-theme="light"] .scanline-overlay {
  display: none;
}

.grid-overlay {
  background-image:
    linear-gradient(rgba(177, 18, 38, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(177, 18, 38, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, #000 40%, transparent 90%);
  animation: grid-drift 24s linear infinite;
  opacity: 0.16;
}

[data-theme="light"] .grid-overlay {
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.08) 1px, transparent 1px);
}

@keyframes grid-drift {
  0% { transform: translateY(0); }
  100% { transform: translateY(44px); }
}

/* Harborleaf Packet Palette */
.packet-page .grid-overlay {
  background-image:
    linear-gradient(rgba(103, 197, 135, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 197, 135, 0.07) 1px, transparent 1px);
}

.packet-mark {
  width: 4.5rem;
  height: 4.5rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(103, 197, 135, 0.62);
  border-radius: 22% 55% 22% 55%;
  background: linear-gradient(145deg, var(--packet-green-dark), #0b2418);
  box-shadow: 0 0 28px rgba(103, 197, 135, 0.16);
  color: #dff8e7;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
}

.packet-page .product-kicker,
.packet-page .eyebrow,
.packet-page .feature-number,
.packet-page .platform-code {
  color: var(--packet-green);
}

.packet-page .release-badge,
.packet-page .edition-status {
  border-color: rgba(103, 197, 135, 0.35);
}

.packet-page .button {
  border-color: var(--packet-green);
  background: linear-gradient(140deg, #276a42, #164b30);
}

.packet-page .button-secondary {
  border-color: rgba(103, 197, 135, 0.28);
  background: rgba(12, 30, 20, 0.72);
}

[data-theme="light"] .packet-page .button-secondary {
  background: #f0fdf4;
  color: #14532d;
}

/* Header & Navigation */
.site-shell,
.site-footer,
.site-header {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(calc(100% - 2rem), var(--max-content));
  min-height: 5.5rem;
  margin: 0 auto;
  border-bottom: 1px solid var(--line-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0.65rem 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.brand-link:hover {
  transform: translateY(-1px);
}

.brand-link img {
  height: clamp(3.2rem, 5vw, 4.2rem);
  width: auto;
  max-width: 14rem;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
  transition: transform 200ms ease, filter 200ms ease;
}

.brand-link:hover img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 12px rgba(239, 40, 71, 0.3));
}

[data-theme="light"] .brand-link img {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

[data-theme="light"] .brand-link:hover img {
  filter: drop-shadow(0 4px 10px rgba(185, 28, 28, 0.2));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.75rem);
}

.site-nav a {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.35rem;
  transition: color 180ms ease, background-color 180ms ease;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .site-nav a:hover,
[data-theme="light"] .site-nav a:focus-visible,
[data-theme="light"] .site-nav a[aria-current="page"] {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-primary);
}

.site-nav a.is-active {
  color: var(--accent-red-bright);
  font-weight: 600;
}

/* Theme Toggle Button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 0.5rem;
  border: 1px solid var(--line-color);
  background: var(--panel-bg);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.15rem;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--accent-red-bright);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

/* Main Layout Shell */
.site-shell {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--space-5) var(--space-4) var(--space-6);
  display: grid;
  gap: var(--space-5);
}

.section {
  border: 1px solid var(--line-color);
  background: var(--panel-bg);
  border-radius: 0.75rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: 0 8px 30px var(--shadow-color);
}

/* Hero Section */
.hero {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: var(--space-3);
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

.hero-logo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-3);
  padding: 1.25rem 0 0.5rem;
  width: 100%;
}

.hero-logo::before {
  content: "";
  position: absolute;
  width: clamp(320px, 44vw, 620px);
  height: clamp(320px, 44vw, 620px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 40, 71, 0.16) 0%, rgba(177, 18, 38, 0.05) 50%, transparent 72%);
  pointer-events: none;
  z-index: 0;
  animation: heroGlow 6s ease-in-out infinite alternate;
}

[data-theme="light"] .hero-logo::before {
  background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, rgba(185, 28, 28, 0.02) 50%, transparent 72%);
}

@keyframes heroGlow {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.05); opacity: 1; }
}

.hero-logo img {
  position: relative;
  z-index: 1;
  width: clamp(340px, 42vw, 560px);
  max-width: 95%;
  height: auto;
  display: block;
  margin: 0 auto;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

[data-theme="light"] .hero-logo img {
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.08));
}

@keyframes heroFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* Typography Scale */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.25;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
  width: 100%;
  margin: 0.5rem auto 0;
}

.subtitle {
  color: var(--accent-steel);
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  width: 100%;
}

.hero-copy {
  width: 100%;
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  line-height: 1.7;
}

.section h2 {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  margin-bottom: var(--space-3);
}

.section p,
.section li,
label {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.eyebrow {
  margin-bottom: var(--space-2);
  color: var(--accent-red-bright);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--accent-red);
  background: var(--accent-red);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.4rem;
  min-height: 48px;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-color);
  filter: brightness(1.1);
  color: #ffffff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.hero .hero-actions {
  justify-content: center;
}

.button-secondary {
  border-color: var(--line-color);
  background: var(--panel-bg);
  color: var(--text-primary);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--text-secondary);
  box-shadow: 0 8px 20px var(--shadow-color);
  color: var(--text-primary);
}

.button-disabled {
  cursor: not-allowed;
  border-color: var(--line-color);
  background: var(--bg-secondary);
  color: var(--text-muted);
  box-shadow: none;
  opacity: 0.7;
}

/* Text Links */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-3);
  color: var(--accent-red-bright);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--text-primary);
}

/* Grids & Screen Real Estate Utilization */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-color);
  background: var(--bg-secondary);
  border-radius: 0.65rem;
  padding: var(--space-4);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-2);
}

.service-card p {
  flex-grow: 1;
  font-size: 0.98rem;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-3px);
  border-color: var(--accent-red-bright);
  box-shadow: 0 12px 28px rgba(177, 18, 38, 0.15);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  border: 1px solid var(--line-color);
  border-top: 3px solid var(--signal-green);
  background: var(--bg-secondary);
  border-radius: 0.65rem;
  padding: var(--space-4);
}

.feature-card .feature-number {
  display: block;
  margin-bottom: var(--space-3);
  color: var(--signal-green);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.feature-card h3 {
  margin-bottom: var(--space-2);
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.98rem;
}

/* Platform Editions Grid */
.edition-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

@media (min-width: 768px) {
  .edition-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.edition-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-color);
  background: var(--bg-secondary);
  border-radius: 0.65rem;
  padding: var(--space-4);
  text-decoration: none;
  color: var(--text-primary);
}

.edition-card h3 {
  margin: var(--space-2) 0 var(--space-2);
  font-size: 1.2rem;
}

.edition-card p {
  font-size: 0.98rem;
  flex-grow: 1;
  margin-bottom: var(--space-3);
}

.edition-status {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 0.35rem;
  border: 1px solid var(--line-color);
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: var(--space-3);
}

.edition-status.status-beta {
  border-color: var(--signal-green);
  color: var(--signal-green);
}

.placeholder-card {
  opacity: 0.85;
}

/* Subpage Detail & Requirements Grids */
.edition-detail-grid,
.requirements-grid,
.support-grid,
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

@media (min-width: 768px) {
  .edition-detail-grid,
  .requirements-grid,
  .support-grid,
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.content-panel {
  border: 1px solid var(--line-color);
  background: var(--bg-secondary);
  border-radius: 0.65rem;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.content-panel h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-1);
}

.content-panel ul {
  padding-left: 1.25rem;
  display: grid;
  gap: 0.4rem;
}

.platform-code {
  color: var(--signal-green);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detail-list {
  padding-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
}

.warning-note {
  border-left: 4px solid var(--accent-red-bright);
  background: rgba(239, 40, 71, 0.1);
  padding: var(--space-3) var(--space-4);
  border-radius: 0 0.5rem 0.5rem 0;
  margin-top: var(--space-3);
}

.support-template {
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--signal-green);
  background: var(--bg-secondary);
  border-radius: 0 0.4rem 0.4rem 0;
  white-space: pre-line;
  font-family: monospace;
  font-size: 0.95rem;
}

.troubleshooting {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.troubleshooting details {
  border: 1px solid var(--line-color);
  background: var(--bg-secondary);
  border-radius: 0.5rem;
}

.troubleshooting summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
}

.troubleshooting details p {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-secondary);
}

/* Link Grid */
.link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

@media (min-width: 640px) {
  .link-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .link-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border: 1px solid var(--line-color);
  background: var(--bg-secondary);
  border-radius: 0.65rem;
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 180ms ease, transform 180ms ease;
}

.link-card strong {
  font-size: 1.05rem;
  font-family: var(--font-body);
}

.link-card span {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.link-card:hover,
.link-card:focus-visible {
  border-color: var(--accent-red-bright);
  transform: translateY(-2px);
}

/* Building Layout (Homepage) */
.building-layout {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

@media (min-width: 900px) {
  .building-layout {
    grid-template-columns: 1.1fr 1.2fr;
    align-items: center;
    gap: var(--space-5);
  }
}

.building-cards {
  display: grid;
  gap: var(--space-3);
}

.product-mini-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-3);
  align-items: center;
  border: 1px solid var(--line-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: var(--space-3) var(--space-4);
  border-radius: 0.65rem;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-mini-card:hover,
.product-mini-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--signal-green);
  box-shadow: 0 8px 20px var(--shadow-color);
}

.product-mini-card img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.75rem;
}

.product-mini-card strong {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 700;
}

.product-mini-card small {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.mini-signal {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 40, 71, 0.4);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 40, 71, 0.16), transparent 68%);
}

.mini-signal span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--accent-red-bright);
  box-shadow: 0 0 1rem rgba(239, 40, 71, 0.65);
}

/* Software Showcase (Software page) - Calibrated 2-Column Responsive */
.software-hero {
  display: grid;
  gap: var(--space-4);
}

.desktop-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.desktop-platforms span {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid var(--line-color);
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.product-showcase {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

@media (min-width: 960px) {
  .product-showcase {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-6);
  }
}

.product-brand {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-3);
}

.product-brand img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px var(--shadow-color);
}

.product-brand h2 {
  font-size: 1.6rem;
}

.product-brand p {
  color: var(--signal-green);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-visual {
  position: relative;
  border: 1px solid var(--line-color);
  background: var(--bg-secondary);
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 16px 36px var(--shadow-color);
  max-height: 400px;
}

.product-visual img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: top;
  border-radius: 0.75rem;
  transition: transform 240ms ease;
}

.product-visual:hover img {
  transform: scale(1.02);
}

.packet-promo-visual span {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  padding: 0.6rem 1rem;
  background: rgba(11, 20, 15, 0.9);
  color: #c9f8e6;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 0.4rem;
  border: 1px solid rgba(103, 197, 135, 0.4);
  text-align: center;
}

.meeting-page .grid-overlay {
  background-image:
    linear-gradient(rgba(38, 139, 101, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 139, 101, 0.055) 1px, transparent 1px);
}

.meeting-page .packet-ad-visual,
.meeting-page .packet-shot,
.meeting-page .edition-panel {
  border-color: rgba(70, 184, 139, 0.38);
}

.edition-panel {
  display: grid;
  gap: var(--space-4);
}

.edition-grid {
  display: grid;
  gap: var(--space-3);
}

.edition-grid article {
  border: 1px solid var(--line-color);
  border-radius: 0.65rem;
  background: var(--bg-secondary);
  padding: var(--space-4);
}

.edition-grid h3 {
  margin: 0.75rem 0 0.5rem;
}

.edition-status {
  display: inline-flex;
  border: 1px solid rgba(70, 184, 139, 0.45);
  border-radius: 9999px;
  color: var(--signal-green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .edition-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Product & Release Hero (Harborleaf & Harborleaf Packet & ServerConnect) */
.release-hero,
.policy-hero {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 900px) {
  .release-hero {
    grid-template-columns: 1.3fr 1fr;
    gap: var(--space-5);
  }
}

.release-identity {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-3);
}

.release-identity img {
  width: clamp(4.5rem, 8vw, 6rem);
  border-radius: 1.25rem;
  box-shadow: 0 14px 35px var(--shadow-color);
}

.product-kicker {
  color: var(--accent-red-bright);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.release-lede {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

.badge-row,
.metadata-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin-top: var(--space-3);
}

.release-badge {
  border: 1px solid var(--line-color);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
}

.beta-notice,
.pending-notice,
.privacy-note {
  border-left: 4px solid #d97706;
  background: rgba(217, 119, 6, 0.1);
  padding: var(--space-3) var(--space-4);
  border-radius: 0 0.5rem 0.5rem 0;
}

[data-theme="light"] .beta-notice,
[data-theme="light"] .pending-notice,
[data-theme="light"] .privacy-note {
  background: #fef3c7;
  color: #92400e;
}

/* Harborleaf Packet Ad Hero */
.packet-ad {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

@media (min-width: 900px) {
  .packet-ad {
    grid-template-columns: 1.25fr 1fr;
    gap: var(--space-6);
  }
}

.packet-ad-tagline {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: var(--space-2) 0;
}

.packet-ad-visual {
  border: 1px solid rgba(103, 197, 135, 0.35);
  background: var(--bg-secondary);
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 16px 36px var(--shadow-color);
}

.packet-ad-visual img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: top;
}

.packet-ad-visual figcaption {
  padding: var(--space-3);
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
}

/* ServerConnect Terminal Elements */
.terminal-mark {
  display: inline-grid;
  width: clamp(4rem, 8vw, 5.5rem);
  aspect-ratio: 1;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--accent-red-bright);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(239, 40, 71, 0.2), var(--bg-secondary));
  color: var(--accent-red-bright);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  box-shadow: 0 12px 30px var(--shadow-color);
}

/* Signal Core Styles */
.signal-hero {
  display: grid;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-5) var(--space-4);
}

.signal-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-red-bright);
  margin-bottom: var(--space-2);
}

.signal-pulse {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--accent-red-bright);
  box-shadow: 0 0 12px var(--accent-red-bright);
  animation: signal-pulse 2s infinite ease-out;
}

@keyframes signal-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 40, 71, 0.6); }
  70% { box-shadow: 0 0 0 0.8rem rgba(239, 40, 71, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 40, 71, 0); }
}

.signal-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  width: 100%;
}

.signal-lede {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  width: 100%;
  line-height: 1.65;
}

.mobile-showcase {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 768px) {
  .mobile-showcase {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }
}

.mobile-platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 480px) {
  .mobile-platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mobile-platform-card {
  border: 1px solid var(--line-color);
  background: var(--bg-secondary);
  border-radius: 0.65rem;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-platform-card .platform-code {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mobile-platform-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.app-portfolio {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .app-portfolio {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.app-portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Screenshot Galleries */
.screenshot-gallery {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

@media (min-width: 768px) {
  .screenshot-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .screenshot-card-full {
    grid-column: 1 / -1;
  }
}

.screenshot-card {
  border: 1px solid var(--line-color);
  background: var(--bg-secondary);
  border-radius: 0.65rem;
  overflow: hidden;
}

.screenshot-card img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: top;
}

.screenshot-card figcaption {
  padding: var(--space-3);
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.screenshot-crop {
  height: 220px;
  overflow: hidden;
}

.screenshot-crop-document img {
  object-position: 70% 20%;
  transform: scale(1.4);
}

.screenshot-crop-tools img {
  object-position: 15% 20%;
  transform: scale(1.4);
}

.packet-shot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

@media (min-width: 640px) {
  .packet-shot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .packet-shot-featured {
    grid-column: 1 / -1;
  }
}

.packet-shot {
  border: 1px solid var(--line-color);
  background: var(--bg-secondary);
  border-radius: 0.65rem;
  overflow: hidden;
}

.packet-shot img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: top;
}

.packet-shot figcaption {
  padding: var(--space-3);
  display: grid;
  gap: 0.25rem;
}

.packet-shot figcaption strong {
  font-size: 1rem;
  color: var(--text-primary);
}

.packet-shot figcaption span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Contact Form */
.contact form {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

.field-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .field-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

label {
  display: grid;
  gap: 0.4rem;
}

label > span:first-child {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-red-bright);
  box-shadow: 0 0 0 3px rgba(239, 40, 71, 0.2);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: var(--accent-red-bright);
  box-shadow: 0 0 0 3px rgba(239, 40, 71, 0.25);
}

.field-error {
  display: none;
  font-size: 0.85rem;
  color: #ef4444;
  margin-top: 0.25rem;
  font-weight: 500;
}

.field-error.is-visible {
  display: block;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.support-safety-note {
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--accent-red-bright);
  background: rgba(239, 40, 71, 0.08);
  font-size: 0.92rem;
  border-radius: 0 0.4rem 0.4rem 0;
}

.form-status {
  min-height: 1.2rem;
}

.inquiry-success-card {
  border: 1px solid var(--signal-green);
  background: var(--bg-secondary);
  border-radius: 0.65rem;
  padding: 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.inquiry-success-card h3 {
  color: var(--signal-green);
  font-size: 1.2rem;
}

/* Service Consultation Banner */
.service-cta-banner {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: var(--bg-secondary);
  border: 1px solid var(--line-color);
  border-radius: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.service-cta-banner p {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
}

/* Status Badges & Pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.status-pill.live {
  background: rgba(16, 185, 129, 0.15);
  color: var(--signal-green);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.status-pill.live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-green);
  box-shadow: 0 0 8px var(--signal-green);
}

.status-pill.pending {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

[data-theme="light"] .status-pill.pending {
  color: #d97706;
}

/* Mobile Apps Showcase Grid */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

@media (min-width: 768px) {
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.app-card {
  background: var(--bg-secondary);
  border: 1px solid var(--line-color);
  border-radius: 0.75rem;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-3);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.app-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-red-bright);
  box-shadow: 0 6px 20px var(--shadow-color);
}

.app-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.app-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-red-bright) 0%, #7f1d1d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(239, 40, 71, 0.3);
}

.app-card-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.app-card-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-top: 0.5rem;
}

.app-card-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

.app-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: var(--space-2);
}

/* Contact Trust Cues */
.contact-trust-banner {
  margin-bottom: var(--space-4);
  padding: 0.85rem 1.25rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.contact-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-trust-item span[aria-hidden="true"] {
  color: var(--signal-green);
  font-weight: bold;
}

/* Cross-Navigation Spotlight Banner */
.cross-nav-banner {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: linear-gradient(135deg, rgba(239, 40, 71, 0.08) 0%, rgba(15, 23, 42, 0.2) 100%);
  border: 1px solid var(--line-color);
  border-radius: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

[data-theme="light"] .cross-nav-banner {
  background: linear-gradient(135deg, rgba(239, 40, 71, 0.06) 0%, rgba(241, 245, 249, 0.8) 100%);
}

/* Footer */
.site-footer {
  width: min(calc(100% - 2rem), var(--max-content));
  margin: 0 auto;
  padding: var(--space-6) 0 var(--space-6);
  border-top: 1px solid var(--line-color);
  display: grid;
  gap: var(--space-4);
  color: var(--text-secondary);
}

.footer-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  text-align: left;
}

@media (min-width: 700px) {
  .footer-groups {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-groups h2 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.footer-groups nav {
  display: grid;
  gap: 0.6rem;
}

.footer-groups a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 180ms ease;
  padding: 0.2rem 0;
}

.footer-groups a:hover,
.footer-groups a:focus-visible {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin: var(--space-2) 0;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 180ms ease;
  padding: 0.25rem 0.5rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--line-color);
  padding-top: var(--space-4);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

/* Shared Harborleaf presentation */
.section { box-shadow: none; border-radius: 1rem; }
.site-shell { gap: 2rem; }
.site-header { gap: 1rem; }
.site-nav { margin-left: auto; }
.brand-link img, .brand-link:hover img { filter: none; transform: none; }
.brand-link img { height: 3.4rem; }
.theme-toggle { width: auto; padding: .5rem .85rem; gap: .5rem; font: 500 .8rem var(--font-body); white-space: nowrap; }
.theme-toggle span:first-child { font-size: 1.25rem; }
.eyebrow, .product-kicker, .product-brand p { letter-spacing: .08em; font-size: .75rem; }
.section .eyebrow, .section .product-kicker { font-size: .75rem; color: var(--signal-green); }
.section h2 { font-weight: 600; }
.section h3 { font-weight: 600; letter-spacing: -.015em; }
.section p { font-size: 1rem; }
.button { font-size: .9rem; border-radius: .6rem; }
.button, .packet-page .button { background: var(--accent-red); border-color: var(--accent-red); color: white; }
.button-secondary, .packet-page .button-secondary,
[data-theme="light"] .packet-page .button-secondary { background: var(--panel-bg); border-color: var(--line-color); color: var(--text-primary); }
.button-disabled { background: var(--panel-overlay); color: var(--text-muted); border-color: var(--line-color); }
.service-card, .feature-card, .link-card, .content-panel, .edition-grid article { box-shadow: none; background: var(--panel-overlay); }
.service-card:hover, .feature-card:hover, .product-mini-card:hover { transform: none; box-shadow: none; }
.service-cta-banner, .cross-nav-banner, [data-theme="light"] .cross-nav-banner { background: var(--panel-overlay); }
.terminal-mark, .app-card-icon { background: var(--signal-green-dark); color: var(--signal-green); box-shadow: none; }
.signal-pulse { animation: none; box-shadow: none; }
.release-identity img, .product-brand img { object-fit: contain; box-shadow: none; }
.product-visual { box-shadow: none; }
.edition-status { color: var(--signal-green); }
.section-intro { margin-bottom: 1.5rem; }
.home-page .site-shell { gap: 3.5rem; }
.home-page .hero { grid-template-columns: 1.15fr 1fr; text-align: left; align-items: center; gap: 4rem; border: 0; background: transparent; padding: 4rem 0 2rem; }
.home-hero-copy { min-width: 0; }
.home-page .hero-title { font-size: clamp(2.6rem, 4.3vw, 4.1rem); line-height: 1.08; font-weight: 600; letter-spacing: -.055em; margin: 1.25rem 0 1.5rem; }
.home-page .hero-copy { max-width: 34rem; font-size: 1.08rem; }
.home-page .hero-actions { justify-content: flex-start; margin-top: 2rem; }
.hero-suite { width: 100%; background: var(--panel-bg); border: 1px solid var(--line-color); border-radius: 1.2rem; padding: 1.5rem; box-shadow: 0 16px 48px var(--shadow-color); }
.suite-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .75rem; padding: .25rem .25rem 1.2rem; border-bottom: 1px solid var(--line-color); color: var(--text-muted); }
.suite-heading span:first-child { color: var(--text-primary); font-weight: 600; }
.hero-suite > a { display: grid; grid-template-columns: 3.7rem 1fr auto; gap: 1rem; align-items: center; padding: 1.4rem .25rem; border-bottom: 1px solid var(--line-color); color: var(--text-primary); text-decoration: none; border-radius: .25rem; }
.hero-suite > a:hover { background: var(--panel-overlay); }
.hero-suite img { width: 3.7rem; height: 3.7rem; object-fit: contain; }
.hero-suite strong { display: block; font-size: 1rem; font-weight: 600; }
.hero-suite small { display: block; color: var(--text-secondary); font-size: .8rem; line-height: 1.6; margin-top: .2rem; }
.hero-suite > p { padding: 1.1rem .25rem 0; font-size: .75rem; }
.home-page #services { padding: 2.5rem; }
.home-page .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-page .service-card { padding: 1.4rem; }
.home-page .service-card h3 { font-size: 1.08rem; }
.home-page #who-we-work-with { background: transparent; border-width: 1px 0; border-radius: 0; padding: 2rem 0; }
.home-page #who-we-work-with ul { display: flex; flex-wrap: wrap; gap: .65rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.home-page #who-we-work-with li { padding: .4rem .8rem; border: 1px solid var(--line-color); border-radius: .5rem; font-size: .85rem; }
.home-page #contact { max-width: 58rem; width: 100%; margin: 0 auto; }
.home-page .building-layout { gap: 2.5rem; }
@media (max-width: 1000px) {
  .home-page .hero { gap: 2rem; }
  .home-page .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .site-header { gap: .5rem; }
  .brand-link { margin-right: auto; }
  .nav-toggle { order: 2; }
  .theme-toggle { order: 1; }
  .site-nav { order: 3; }
  .site-shell { padding: 1.25rem 1rem 3rem; }
  .home-page .hero { grid-template-columns: 1fr; padding: 2rem 0 0; gap: 2.5rem; }
  .home-page .hero-title { font-size: clamp(2.5rem, 7vw, 3.8rem); }
  .home-page .hero-title br { display: none; }
  .home-page .services-grid { grid-template-columns: 1fr; }
  .home-page #services { padding: 1.5rem; }
  .home-page .site-shell { gap: 2rem; }
  .hero-suite { padding: 1rem; }
  .theme-toggle { padding: .5rem; }
  .brand-link img { height: 2.8rem; max-width: 7rem; }
}

/* Mobile & Responsive Rules */
@media (max-width: 768px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--line-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
  }

  .nav-enhanced .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem 0;
  }

  .nav-enhanced .site-nav.is-open {
    display: flex;
  }

  .nav-enhanced .site-nav a {
    min-height: 48px;
    background: var(--bg-secondary);
    border: 1px solid var(--line-color);
  }

  .hero .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero .hero-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  body,
  .grid-overlay,
  .service-card,
  .button,
  .hero-logo img,
  .signal-pulse {
    animation: none;
    transition: none;
  }
}
