:root {
  --bg: #07131f;
  --bg-soft: #0d1d2e;
  --ink: #e8f2ff;
  --muted: #a5b8ce;
  --line: rgba(180, 210, 240, 0.18);
  --panel: rgba(13, 29, 46, 0.62);
  --brand: #5ad8b5;
  --brand-strong: #20b68d;
  --accent: #f6b55f;
  --danger: #ff7e6b;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(90, 216, 181, 0.12), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(246, 181, 95, 0.1), transparent 30%),
    linear-gradient(160deg, #060f19 0%, #081624 45%, #0d1d2f 100%);
  min-height: 100vh;
  line-height: 1.45;
}

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

main {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 2.2rem auto 3.8rem;
}

.bg-orb {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  filter: blur(20px);
  z-index: -2;
  pointer-events: none;
}

.orb-a {
  top: -120px;
  left: -100px;
  background: rgba(90, 216, 181, 0.18);
}

.orb-b {
  right: -100px;
  bottom: -130px;
  background: rgba(246, 181, 95, 0.18);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.18;
  z-index: -3;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0.8rem;
  z-index: 40;
  width: min(1120px, calc(100% - 2.4rem));
  margin: 1rem auto 0;
  background: rgba(6, 14, 22, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--brand), var(--accent));
  color: #122031;
  font-family: "Sora", "Outfit", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-copy strong {
  font-family: "Sora", "Outfit", sans-serif;
  letter-spacing: 0.02em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.77rem;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
}

.preview-banner {
  padding: 0.85rem 1rem;
  background: rgba(90, 216, 181, 0.15);
  border: 1px solid rgba(90, 216, 181, 0.44);
  border-radius: var(--radius-md);
  color: #d9fff4;
  margin-bottom: 1.2rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: stretch;
  margin-bottom: 1.2rem;
}

.hero-copy {
  background: rgba(6, 14, 24, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 2.4vw, 2rem);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.74rem;
  color: var(--brand);
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", "Outfit", sans-serif;
  line-height: 1.2;
}

h1 {
  margin: 0.65rem 0 0.8rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

h3 {
  margin-top: 0;
}

.lead {
  margin: 0.65rem 0;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(145deg, var(--brand), var(--brand-strong));
  color: #0f2332;
  box-shadow: 0 12px 24px rgba(32, 182, 141, 0.22);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-soft {
  border-color: rgba(246, 181, 95, 0.45);
  background: rgba(246, 181, 95, 0.12);
  color: #ffe5c0;
}

.glass-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.status-panel {
  padding: 1.2rem;
}

.status-badge {
  display: inline-flex;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  color: #06161f;
  background: linear-gradient(145deg, var(--brand), #91f5d9);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.status-list {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.hero-metrics {
  display: grid;
  gap: 1rem;
}

.metric-card {
  padding: 1rem;
}

.metric-label {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-value {
  margin: 0.38rem 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: #e6fcf7;
  font-weight: 700;
}

.metric-copy {
  margin: 0;
  color: var(--muted);
}

.segment-switch {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border: 1px solid var(--line);
  background: rgba(13, 29, 46, 0.8);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.46rem 0.72rem;
  cursor: pointer;
}

.chip.is-active {
  color: #093225;
  border-color: transparent;
  background: linear-gradient(135deg, #9bf7dd, #4ccfa8);
}

.section {
  margin-top: 1.2rem;
}

.section-head {
  margin-bottom: 0.9rem;
}

.service-grid,
.status-grid,
.platform-grid,
.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

.service-card,
.platform-card,
.seo-grid article,
.status-grid article,
.timeline li,
.contact-card {
  padding: 1rem;
}

.service-tag {
  display: inline-flex;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffdfaf;
  border: 1px solid rgba(246, 181, 95, 0.34);
  border-radius: 999px;
  padding: 0.24rem 0.52rem;
}

.service-card p,
.service-card li,
.platform-card p,
.seo-grid p,
.status-grid p,
.timeline p {
  color: var(--muted);
}

.service-card ul {
  margin: 0.55rem 0 1rem;
  padding-left: 1rem;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.route-row {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

code {
  font-family: "Sora", "Consolas", monospace;
  font-size: 0.85rem;
  color: #d9ebff;
  background: rgba(4, 9, 16, 0.5);
  border: 1px solid var(--line);
  padding: 0.32rem 0.45rem;
  border-radius: 9px;
}

.link-btn {
  border: 1px solid var(--line);
  background: rgba(13, 29, 46, 0.72);
  color: var(--ink);
  border-radius: 10px;
  padding: 0.4rem 0.62rem;
  cursor: pointer;
}

.link-btn:hover,
.link-btn:focus-visible {
  border-color: rgba(90, 216, 181, 0.7);
}

.build-note {
  margin-top: 0.8rem;
  color: var(--muted);
}

.site-footer {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto 1.8rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  padding: 0.7rem 0.88rem;
  background: rgba(2, 12, 20, 0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #d7ecff;
  min-width: 220px;
  z-index: 80;
}

.toast.is-on {
  animation: toast-in 200ms ease;
}

.mode-construction .hero {
  grid-template-columns: 1.1fr 0.9fr;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 450ms ease, transform 450ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .mode-construction .hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .service-grid,
  .platform-grid,
  .seo-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .main-nav {
    gap: 0.52rem 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
