:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #64748b;
  --line: #d8dee9;
  --paper: #f7f8fb;
  --panel: #ffffff;
  --brand-a: #16c8f4;
  --brand-b: #6f3df4;
  --brand-dark: #121524;
  --shadow: 0 20px 55px rgba(17, 24, 39, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(22, 200, 244, 0.08), transparent 32%),
    linear-gradient(315deg, rgba(111, 61, 244, 0.09), transparent 30%),
    var(--paper);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid rgba(216, 222, 233, 0.8);
  background: rgba(247, 248, 251, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.16);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 17px;
  line-height: 1.1;
}

.brand-text span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #1f2937;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.menu-toggle:hover {
  border-color: rgba(22, 200, 244, 0.9);
  box-shadow: 0 12px 30px rgba(22, 200, 244, 0.18);
  transform: translateY(-1px);
}

.menu-toggle-icon {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.nav-link,
.site-link,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: #1f2937;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.nav-link:hover,
.site-link:not(.coming-soon):hover,
.back-link:hover {
  border-color: rgba(22, 200, 244, 0.9);
  box-shadow: 0 12px 30px rgba(22, 200, 244, 0.18);
  transform: translateY(-1px);
}

.hero {
  --hero-logo-offset: clamp(18px, calc((100vw - 1200px) / 2 - 140px), 240px);
  --hero-logo-size: clamp(360px, 44vw, 620px);
  --hero-glow-size: clamp(500px, 58vw, 820px);
  --hero-logo-opacity: 0.74;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 96px max(24px, calc((100vw - 1200px) / 2)) 76px;
  background:
    linear-gradient(115deg, rgba(18, 21, 36, 0.95), rgba(18, 21, 36, 0.82) 44%, rgba(18, 21, 36, 0.52) 72%),
    #171b29;
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.18), #000 34%, rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    url("Pixelit.png"),
    radial-gradient(ellipse, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.12) 36%, transparent 66%);
  background-position:
    right var(--hero-logo-offset) center,
    right calc(var(--hero-logo-offset) - 88px) center;
  background-repeat: no-repeat;
  background-size: var(--hero-logo-size), var(--hero-glow-size);
  opacity: var(--hero-logo-opacity);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.14) 30%, rgba(0, 0, 0, 0.72) 54%, #000 72%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.14) 30%, rgba(0, 0, 0, 0.72) 54%, #000 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.48);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #b9f4ff;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-a), var(--brand-b));
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 58px;
  line-height: 1;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.65;
}

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

.back-link {
  min-height: 44px;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.page-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1200px, calc(100% - 48px));
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid rgba(216, 222, 233, 0.9);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.summary-item {
  min-height: 106px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
}

.summary-item strong {
  display: block;
  font-size: 25px;
  line-height: 1;
}

.summary-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.content-section {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.site-card {
  --accent: #16c8f4;
  --swatch-1: var(--accent);
  --swatch-2: color-mix(in srgb, var(--accent) 72%, #111827);
  --swatch-3: color-mix(in srgb, var(--accent) 48%, #ffffff);
  --swatch-4: #f8fafc;
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(17, 24, 39, 0.11);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
}

.site-preview {
  position: relative;
  display: block;
  min-height: 172px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(248, 250, 252, 0.94)),
    color-mix(in srgb, var(--accent) 10%, #f8fafc);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.site-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
  user-select: none;
}

.site-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.site-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: 0;
}

.accent-line {
  flex: 0 0 auto;
  width: 76px;
  height: 16px;
  border-radius: 0;
  background:
    radial-gradient(circle at 8px 8px, var(--swatch-1) 0 6px, transparent 6.5px),
    radial-gradient(circle at 28px 8px, var(--swatch-2) 0 6px, transparent 6.5px),
    radial-gradient(circle at 48px 8px, var(--swatch-3) 0 6px, transparent 6.5px),
    radial-gradient(circle at 68px 8px, var(--swatch-4) 0 6px, transparent 6.5px);
}

.site-card p {
  margin: 0;
  color: #516174;
  font-size: 15px;
  line-height: 1.58;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 760;
}

.site-link {
  justify-self: start;
  border-color: color-mix(in srgb, var(--accent) 42%, #d8dee9);
  background: color-mix(in srgb, var(--accent) 10%, #ffffff);
}

.site-link.coming-soon {
  cursor: default;
  border-color: rgba(100, 116, 139, 0.22);
  background: #f1f5f9;
  color: #64748b;
  box-shadow: none;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  width: min(1200px, calc(100% - 48px));
  margin: 72px auto 0;
  padding: 26px 0 44px;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
  color: var(--muted);
  font-size: 14px;
}

.footer span:last-child {
  color: #475569;
  font-weight: 760;
}

@media (max-width: 1100px) {
  .hero {
    --hero-logo-size: clamp(280px, 42vw, 410px);
    --hero-glow-size: clamp(400px, 62vw, 600px);
    --hero-logo-opacity: 0.42;
  }

  .hero::after {
    background-position: center 46px, center 18px;
    -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.72) 58%, transparent 88%);
    mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.72) 58%, transparent 88%);
  }
}

@media (max-width: 1020px) {
  .site-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-nav {
    grid-column: 1 / -1;
    display: none;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.1);
  }

  .site-header.menu-open .header-nav {
    display: flex;
  }

  .header-nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 42px;
  }

  .hero {
    --hero-logo-size: clamp(250px, 58vw, 380px);
    --hero-glow-size: clamp(350px, 88vw, 520px);
    --hero-logo-opacity: 0.4;
    padding: 74px 20px 64px;
  }

  .hero::after {
    background-position: center 42px, center 16px;
    -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.72) 58%, transparent 88%);
    mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.72) 58%, transparent 88%);
  }

  h1 {
    font-size: 42px;
  }

  .hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .page-summary,
  .content-section,
  .footer {
    width: calc(100% - 32px);
  }

  .page-summary,
  .site-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .section-heading h2 {
    font-size: 31px;
  }
}

@media (max-width: 430px) {
  .brand-text span {
    display: none;
  }

  h1 {
    font-size: 36px;
  }

  .hero-actions a {
    flex: 1 1 100%;
  }
}
