:root {
  --bg: #07101d;
  --panel: rgba(9, 22, 43, 0.74);
  --line: rgba(121, 179, 255, 0.16);
  --line-strong: rgba(121, 179, 255, 0.28);
  --text: #eef5ff;
  --text-soft: #a6b6d2;
  --azure: #4f8cff;
  --azure-bright: #84bcff;
  --azure-deep: #234b91;
  --gold: #d5b164;
  --shadow: 0 34px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(79, 140, 255, 0.22), transparent 30%),
    radial-gradient(circle at 78% 12%, rgba(132, 188, 255, 0.09), transparent 20%),
    linear-gradient(180deg, #050d19 0%, #07101d 44%, #08111f 100%);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(132, 188, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 188, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 26%, transparent 84%);
}

a {
  color: inherit;
}

code,
pre {
  font-family: "JetBrains Mono", "SFMono-Regular", "Menlo", "Consolas", monospace;
}

.shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 26px 0 80px;
}

.header,
.hero,
.section,
.footer {
  animation: fade-up 560ms ease both;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 0 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-nav a {
  color: var(--text-soft);
  font-size: 0.92rem;
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--text);
}

.hero,
.section {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(10, 22, 43, 0.72), rgba(8, 18, 35, 0.92));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero {
  display: block;
  min-height: auto;
  padding: 42px;
}

.eyebrow,
.section-tag,
.panel-label {
  font-family: "JetBrains Mono", "SFMono-Regular", "Menlo", "Consolas", monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow,
.section-tag {
  margin: 0;
  color: var(--gold);
  font-size: 0.76rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.hero h1,
.section-head h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Baskerville", "Palatino Linotype", serif;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: none;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.01;
}

.lede,
.step-card p,
.difference-card p,
.trust-summary,
.footer p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.68;
}

.lede {
  max-width: none;
  margin: 0;
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 8px;
}

.hero-install {
  margin-top: 8px;
}

.support-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.install-wrap {
  position: relative;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #07101d;
  background: linear-gradient(135deg, var(--azure-bright), var(--azure));
  box-shadow: 0 12px 28px rgba(79, 140, 255, 0.24);
}

.button-secondary {
  color: var(--text);
  background: rgba(9, 20, 37, 0.54);
  border-color: var(--line-strong);
}

.section {
  margin-top: 24px;
  padding: 28px;
}

.section-head {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 0 0 24px;
}

.section-head h2 {
  max-width: none;
  font-size: clamp(1.25rem, 1.9vw, 1.65rem);
  line-height: 1.14;
}

.difference-grid {
  display: grid;
  gap: 18px;
}

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

.workday-flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, auto));
  gap: 14px;
  align-items: center;
}

.flow-step,
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(9, 20, 39, 0.42), rgba(9, 20, 37, 0.76));
  padding: 20px;
}

.flow-step h3,
.info-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.flow-step p,
.info-card p {
  margin: 0;
}

.flow-arrow {
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
}

.trust-summary {
  margin: 0;
  max-width: 64ch;
}

.panel-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.74rem;
}

.install-snippet {
  margin: 0;
  padding: 22px 24px;
  padding-right: 104px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(8, 18, 35, 0.74), rgba(6, 15, 29, 0.98));
  box-shadow: inset 0 1px 0 rgba(132, 188, 255, 0.06);
  color: #d9e8ff;
}

.copy-button {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  min-height: 34px;
  width: 36px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(9, 20, 37, 0.86);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.copy-button:hover {
  border-color: rgba(132, 188, 255, 0.48);
}

.copy-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.copy-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.copy-button.copied {
  color: var(--azure-bright);
}

.copy-button.failed {
  color: var(--gold);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 22px 2px 0;
}

.footer p,
.footer a {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  text-decoration: none;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1020px) {
  .difference-grid {
    grid-template-columns: 1fr;
  }

  .workday-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 20px), var(--max));
    padding-top: 16px;
  }

  .header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .header-nav,
  .hero-actions,
  .footer-links {
    width: 100%;
  }

  .header-nav {
    flex-wrap: wrap;
  }

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

  .hero,
  .section {
    padding: 22px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 9vw, 2.6rem);
  }

  .section-head h2 {
    max-width: none;
    font-size: clamp(1.15rem, 5.8vw, 1.45rem);
  }

  .button {
    width: 100%;
  }

  .copy-button {
    width: 40px;
  }

  .flow-arrow {
    display: none;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .header,
  .hero,
  .section,
  .footer,
  .button {
    animation: none;
    transition: none;
  }
}
