:root {
  color-scheme: light dark;
  --bg: #f5f7fe;
  --bg-bottom: #eaf0fb;
  --panel: #ffffff;
  --panel-soft: rgba(255, 255, 255, 0.74);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --text: #101728;
  --muted: #5c6980;
  --border: rgba(49, 62, 87, 0.14);
  --border-strong: rgba(33, 44, 63, 0.12);
  --accent: #7d4fdc;
  --accent-strong: #6c42c7;
  --shadow: 0 28px 90px rgba(15, 23, 40, 0.13);
  --shadow-soft: 0 18px 52px rgba(15, 23, 40, 0.08);
  --radius-xl: 38px;
  --radius-lg: 26px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(125, 79, 220, 0.2), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(61, 154, 255, 0.16), transparent 22%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 52%, var(--bg-bottom) 100%);
  color: var(--text);
  font-family: "SF Pro Display", "SF Pro Text", "Avenir Next", "Segoe UI", sans-serif;
}

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

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

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.1rem 0 3rem;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.8rem;
  gap: 1rem 1.3rem;
  margin-bottom: 2rem;
  padding: 0.88rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow:
    0 10px 30px rgba(125, 79, 220, 0.12),
    var(--shadow-soft);
}

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

.brand-mark {
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.brand-name {
  font-size: 1.55rem;
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1;
}

.brand-tagline {
  color: var(--muted);
  max-width: 34rem;
  font-size: 0.92rem;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: var(--panel);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--text);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.menu-toggle-icon {
  display: grid;
  gap: 0.24rem;
}

.menu-toggle-icon span {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero,
.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 1.3rem;
  align-items: center;
}

.hero {
  padding: 3rem 0 3.7rem;
}

.eyebrow {
  margin: 0 0 0.82rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.feature-copy h2,
.status-card h2 {
  margin: 0;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.05rem, 5.8vw, 5.7rem);
  line-height: 0.95;
}

.hero-text,
.feature-copy p,
.mini-list,
.placeholder-text,
.status-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin: 1.3rem 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.82rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.9rem 1.38rem;
  border: 0;
  border-radius: 999px;
  font-family: "SF Pro Display", "SF Pro Text", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 730;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #9a6cf0 100%);
  color: #faf9ff;
  box-shadow: 0 18px 34px rgba(125, 79, 220, 0.24);
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.62);
}

.workflow-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.workflow-pills li {
  padding: 0.58rem 0.92rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 610;
}

.quickstrip,
.gallery-card,
.status-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.hero-stage .window-frame,
.placeholder-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 253, 0.88));
  box-shadow: var(--shadow);
}

.window-frame-placeholder {
  padding: 1.25rem;
}

.placeholder-panel,
.placeholder-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.placeholder-panel {
  min-height: 28rem;
  justify-content: center;
  border-radius: calc(var(--radius-xl) - 8px);
  background:
    linear-gradient(135deg, rgba(125, 79, 220, 0.1), rgba(61, 154, 255, 0.08)),
    var(--panel);
}

.placeholder-panel img,
.placeholder-card img {
  width: 5rem;
  height: 5rem;
  flex: 0 0 auto;
}

.placeholder-copy {
  max-width: 20rem;
}

.placeholder-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 740;
  letter-spacing: -0.04em;
}

.quickstrip {
  padding: 1rem 1.15rem;
}

.workflow-strip-label {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.workflow-pills-muted {
  margin-top: 0;
}

.feature-section {
  padding: 3rem 0 0;
}

.feature-copy h2,
.status-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.98;
}

.mini-list {
  margin: 1.1rem 0 0;
  padding-left: 1.1rem;
}

.mini-list li + li {
  margin-top: 0.6rem;
}

.gallery-card {
  padding: 1.25rem;
}

.status-section {
  padding-bottom: 1rem;
}

.status-card {
  padding: 1.35rem;
  background:
    linear-gradient(135deg, rgba(125, 79, 220, 0.1), rgba(61, 154, 255, 0.06)),
    var(--panel-soft);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 0;
}

.site-footer p {
  margin: 0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1320;
    --bg-bottom: #090f18;
    --panel: #141d30;
    --panel-soft: rgba(20, 29, 48, 0.82);
    --panel-strong: rgba(20, 29, 48, 0.94);
    --text: #eef3ff;
    --muted: #a4b1ca;
    --border: rgba(157, 177, 212, 0.14);
    --border-strong: rgba(188, 203, 234, 0.16);
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
    --shadow-soft: 0 18px 52px rgba(0, 0, 0, 0.28);
  }

  body {
    background:
      radial-gradient(circle at 12% 8%, rgba(125, 79, 220, 0.22), transparent 26%),
      radial-gradient(circle at 82% 16%, rgba(61, 154, 255, 0.12), transparent 22%),
      linear-gradient(180deg, #0a101a 0%, var(--bg) 52%, var(--bg-bottom) 100%);
  }

  .site-header {
    background: rgba(18, 26, 42, 0.72);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .button-secondary,
  .workflow-pills li {
    background: rgba(18, 26, 42, 0.9);
  }

  .hero-stage .window-frame,
  .placeholder-card {
    background: linear-gradient(180deg, rgba(18, 26, 42, 0.96), rgba(15, 22, 35, 0.9));
  }
}

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

  .hero {
    padding-top: 2rem;
  }

  .placeholder-panel {
    min-height: 20rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-top: 0.8rem;
  }

  .site-header {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-radius: 999px;
  }

  .brand {
    max-width: none;
    align-items: center;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .brand-tagline {
    font-size: 0.84rem;
    line-height: 1.25;
  }

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

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.75rem;
  }

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

  .site-header.is-menu-open {
    border-radius: 30px;
  }

  .site-nav a {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--border);
    background: var(--panel-soft);
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.3rem);
  }
}
