﻿:root {
  --bg: #060813;
  --surface: rgba(14, 19, 34, 0.74);
  --surface-strong: rgba(11, 16, 30, 0.95);
  --surface-soft: rgba(44, 58, 102, 0.2);
  --border: rgba(173, 193, 255, 0.22);
  --border-strong: rgba(173, 193, 255, 0.38);
  --text: #e8eeff;
  --text-soft: #a8b4d6;
  --text-muted: #6b7fa8;
  --accent: #7f9dff;
  --accent-strong: #94adff;
  --accent-glow: rgba(127, 157, 255, 0.18);
  --success: #74e3b0;
  --success-soft: rgba(116, 227, 176, 0.15);
  --gold: #f5c842;
  --gold-soft: rgba(245, 200, 66, 0.15);
  --container: min(1160px, 92vw);
  --radius: 1.2rem;
  --radius-sm: 0.7rem;
  --radius-lg: 1.8rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% -10%, #18295f, transparent 46%), #060813;
}

/* =========================================================
   STAR BACKGROUND
   ========================================================= */
.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(2px 2px at 5% 15%, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 15% 55%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(2px 2px at 25% 30%, rgba(200, 220, 255, 0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 80%, rgba(255, 255, 255, 0.55) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 45% 10%, rgba(255, 255, 255, 0.4) 50%, transparent 51%),
    radial-gradient(2px 2px at 55% 65%, rgba(200, 220, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 65% 40%, rgba(255, 255, 255, 0.45) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 72% 20%, rgba(255, 255, 255, 0.55) 50%, transparent 51%),
    radial-gradient(2px 2px at 80% 75%, rgba(200, 220, 255, 0.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 50%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 94% 85%, rgba(255, 255, 255, 0.45) 50%, transparent 51%),
    radial-gradient(2px 2px at 10% 90%, rgba(200, 220, 255, 0.4) 50%, transparent 51%);
  animation: drift 40s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding-block: 5rem;
}

.section + .section {
  border-top: 1px solid var(--border);
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(6, 8, 19, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav-wrapper {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 99px;
  background: linear-gradient(135deg, #8fb0ff, #64e4c3);
  box-shadow: 0 0 20px rgba(127, 157, 255, 0.7);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.site-nav a {
  color: var(--text-soft);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--text);
  background: var(--surface-soft);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  font-size: 0.88rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.4rem;
  background: #1f2a52;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.6rem;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
}

h1 {
  margin-top: 1rem;
  font-size: clamp(2.1rem, 4.2vw, 3.8rem);
}

h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
}

h3 {
  font-size: 1.12rem;
}

h4 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: var(--text-soft);
}

ul, ol {
  padding-left: 1.1rem;
  color: var(--text-soft);
}

li + li {
  margin-top: 0.35rem;
}

/* =========================================================
   EYEBROW / BADGE
   ========================================================= */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--accent-strong);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  color: var(--text-soft);
  background: var(--surface);
}

.badge--success {
  border-color: rgba(116, 227, 176, 0.35);
  color: var(--success);
  background: var(--success-soft);
}

.badge--gold {
  border-color: rgba(245, 200, 66, 0.35);
  color: var(--gold);
  background: var(--gold-soft);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #0c1228;
  background: linear-gradient(135deg, #8ca9ff, #6be3c0);
  border-color: transparent;
  box-shadow: 0 2px 16px rgba(127, 157, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(127, 157, 255, 0.45);
}

.btn-secondary {
  color: var(--text);
  background: var(--surface);
}

.btn-ghost {
  color: var(--text-soft);
  background: transparent;
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--surface-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-top: 5.5rem;
  padding-bottom: 5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 56ch;
}

.hero-copy {
  margin-top: 1.4rem;
  font-size: 1.07rem;
  line-height: 1.7;
  max-width: 58ch;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.8rem;
}

.trust-chips span {
  border: 1px solid var(--border);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.83rem;
  background: rgba(18, 24, 46, 0.6);
}

/* =========================================================
   APP SCREENSHOT / PREVIEW
   ========================================================= */
.app-preview-frame {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--surface-strong));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(127, 157, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.app-preview-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(127, 157, 255, 0.04), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.app-preview-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 11, 22, 0.8);
}

.app-preview-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
}

.app-preview-dot:nth-child(1) { background: #ff5f57; }
.app-preview-dot:nth-child(2) { background: #febc2e; }
.app-preview-dot:nth-child(3) { background: #28c840; }

.app-preview-title {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.app-preview-gif {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

.app-preview-img-missing {
  padding: 2rem 1.2rem;
}

.app-preview-img-missing .dashboard-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, 1fr);
}

.app-preview-img-missing .dashboard-grid section {
  background: rgba(10, 14, 29, 0.95);
  border: 1px solid rgba(175, 194, 255, 0.14);
  border-radius: 0.9rem;
  padding: 0.85rem;
}

.app-preview-img-missing .dashboard-grid h2 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */
.section-heading {
  margin-bottom: 2rem;
}

.section-heading p:not(.eyebrow) {
  margin-top: 0.5rem;
  font-size: 1.05rem;
}

/* =========================================================
   FEATURE GRID
   ========================================================= */
.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-grid-lg {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-grid article,
.showcase-grid article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), var(--surface-strong));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 1.3rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-grid article:hover,
.showcase-grid article:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.feature-grid article h3,
.showcase-grid article h3 {
  margin-bottom: 0.4rem;
}

.feature-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.feature-icon i,
.feature-cat-icon i,
.doc-card-icon i {
  color: var(--icon-accent, var(--accent-strong));
  filter: drop-shadow(0 0 10px rgba(127, 157, 255, 0.25));
  transition: color 0.2s ease, filter 0.2s ease;
}

.feature-grid article:hover .feature-icon i,
.doc-card:hover .doc-card-icon i {
  filter: drop-shadow(0 0 14px currentColor);
}

/* Section-level icon accents */
.section--home-core { --icon-accent: #8fb9ff; }
.section--home-sky { --icon-accent: #f5c842; }
.section--home-space { --icon-accent: #79d9ff; }

#skytonight { --icon-accent: #8fb9ff; }
#planning { --icon-accent: #f5c842; }
#sky-intelligence { --icon-accent: #74e3b0; }
#space-tracking { --icon-accent: #79d9ff; }
#system { --icon-accent: #a9b7d4; }

/* =========================================================
   FEATURE CATEGORY (features page)
   ========================================================= */
.feature-cat-section {
  margin-bottom: 3.5rem;
}

.feature-cat-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.feature-cat-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.feature-cat-header h2 {
  font-size: 1.4rem;
}

.feature-cat-header p {
  font-size: 0.9rem;
  margin-top: 0.1rem;
}

/* =========================================================
   ASTROSCORE HIGHLIGHT
   ========================================================= */
.astroscore-card {
  border: 1px solid rgba(245, 200, 66, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(245, 200, 66, 0.06), var(--surface-strong));
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.astroscore-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 20px rgba(245, 200, 66, 0.4);
}

.astroscore-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.8;
}

/* =========================================================
   QUICK START STEPS
   ========================================================= */
.steps-list {
  display: grid;
  gap: 1rem;
  counter-reset: step-counter;
}

.step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: step-counter;
}

.step-num {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #8ca9ff, #6be3c0);
  color: #0c1228;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.step-item h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.code-block {
  background: rgba(4, 6, 14, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-family: 'Cascadia Code', 'Fira Code', 'Courier New', monospace;
  font-size: 0.82rem;
  color: #a8d5ff;
  overflow-x: auto;
  margin-top: 0.6rem;
  white-space: pre;
}

.code-block .comment { color: #4d7a9e; }
.code-block .cmd { color: #74e3b0; }

/* =========================================================
   HIGHLIGHT PANELS
   ========================================================= */
.highlight-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface), var(--surface-strong));
  padding: 2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.highlight-panel--accent {
  border-color: rgba(127, 157, 255, 0.3);
  background: linear-gradient(135deg, rgba(127, 157, 255, 0.07), var(--surface-strong));
}

.highlight-panel--success {
  border-color: rgba(116, 227, 176, 0.28);
  background: linear-gradient(135deg, var(--success-soft), var(--surface-strong));
}

.highlight-panel h2 {
  margin-bottom: 0.6rem;
}

.highlight-panel p + p {
  margin-top: 0.6rem;
}

.highlight-panel ul {
  margin-top: 0.8rem;
}

/* =========================================================
   STATS / OPEN SOURCE GRID
   ========================================================= */
.stats-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 1.5rem;
}

.stats-grid > div {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: var(--surface);
  text-align: center;
}

.stats-grid strong {
  font-size: 1.4rem;
  color: var(--accent-strong);
}

.stats-grid span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =========================================================
   TAG GRID
   ========================================================= */
.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.tag-grid span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  text-align: center;
  background: rgba(18, 24, 46, 0.82);
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* =========================================================
   SHOWCASE GRID
   ========================================================= */
.showcase-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* =========================================================
   PRICING CARD
   ========================================================= */
.pricing-card {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface), var(--surface-strong));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.pricing-card h2 {
  margin-bottom: 0.4rem;
}

.pricing-card > p {
  margin-bottom: 0.5rem;
}

.pricing-card ul {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}

.pricing-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(173, 193, 255, 0.1);
  padding: 0.7rem 0;
}

.pricing-card li:last-child {
  border-bottom: none;
}

.pricing-card li span {
  color: var(--text-soft);
}

.pricing-card strong {
  color: var(--success);
  font-size: 0.88rem;
  white-space: nowrap;
}

/* =========================================================
   PRIVACY POLICY / DOCS
   ========================================================= */
.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section h2 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.policy-section p + p,
.policy-section p + ul {
  margin-top: 0.7rem;
}

.doc-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1.5rem;
}

.doc-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.3rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.doc-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.doc-card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  display: block;
}

.doc-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.doc-card p {
  font-size: 0.85rem;
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 0.7rem;
}

.final-cta .cta-row {
  justify-content: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(6, 8, 19, 0.82);
  padding-block: 3rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
}

.footer-brand strong {
  font-size: 1rem;
  color: var(--text);
  display: block;
  margin-bottom: 0.4rem;
}

.footer-brand p {
  font-size: 0.88rem;
}

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--text-soft);
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-legal {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal a:hover {
  color: var(--text-soft);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =========================================================
   COOKIE CONSENT BANNER
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 11, 24, 0.97);
  border-top: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-soft);
  min-width: 260px;
}

.cookie-text a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  background: transparent;
  color: var(--text);
}

.cookie-btn--accept {
  background: linear-gradient(135deg, #8ca9ff, #6be3c0);
  color: #0c1228;
  border-color: transparent;
}

.cookie-btn--accept:hover {
  opacity: 0.9;
}

.cookie-btn--decline:hover {
  background: var(--surface-soft);
}

/* =========================================================
   NOTICE / INFO BLOCK
   ========================================================= */
.notice-block {
  border: 1px solid rgba(127, 157, 255, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(127, 157, 255, 0.07);
  padding: 0.85rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-top: 1rem;
}

.notice-block a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =========================================================
   TECH STACK BADGES
   ========================================================= */
.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.tech-badge {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  color: var(--text-soft);
  background: var(--surface);
  font-family: 'Cascadia Code', 'Fira Code', monospace;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 840px) {
  .section {
    padding-block: 3.5rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    right: 4vw;
    top: 4.2rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(9, 13, 27, 0.97);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.6rem;
    min-width: 230px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .app-preview-img-missing .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    justify-content: flex-end;
  }
}
