:root {
  --background: #f8f2e8;
  --surface: rgba(255, 252, 247, 0.74);
  --foreground: #11243b;
  --muted: #4b6178;
  --line: rgba(17, 36, 59, 0.1);
  --accent: #ef7d42;
  --accent-deep: #d95a1a;
  --highlight: #78b6ff;
  --shadow: 0 24px 70px rgba(28, 44, 67, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family:
    "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

.page-shell {
  position: relative;
  overflow: hidden;
  padding: 32px 20px 72px;
  background:
    radial-gradient(circle at top left, rgba(120, 182, 255, 0.28), transparent 34%),
    radial-gradient(circle at right 10%, rgba(239, 125, 66, 0.22), transparent 28%),
    linear-gradient(180deg, #fffaf3 0%, #f8f2e8 48%, #f1e7d7 100%);
}

.sky-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  pointer-events: none;
}

.sky-glow-left {
  top: 80px;
  left: -100px;
  width: 260px;
  height: 260px;
  background: rgba(120, 182, 255, 0.22);
}

.sky-glow-right {
  right: -60px;
  top: 260px;
  width: 220px;
  height: 220px;
  background: rgba(239, 125, 66, 0.14);
}

.hero,
.section,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero {
  padding-top: 16px;
}

.hero-topline,
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.eyebrow,
.section-label,
.panel-badge,
.step-label,
.result-kicker {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow,
.ghost-link,
.section-label {
  font-size: 0.78rem;
}

.eyebrow {
  color: var(--accent-deep);
}

.ghost-link {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.ghost-link:hover,
.ghost-link:focus-visible {
  border-color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 32px;
  align-items: center;
  margin-top: 20px;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.intro-chip {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.76);
  border: 1px solid rgba(17, 36, 59, 0.08);
  color: var(--muted);
  box-shadow: var(--shadow);
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-copy h1 span {
  display: block;
  color: var(--accent-deep);
}

.hero-text,
.pillar-card p,
.feature-note,
.step-card p,
.concept-item p,
.result-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.hero-text {
  max-width: 62ch;
}

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

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.primary-link {
  background: var(--foreground);
  color: #fdf7ee;
  box-shadow: 0 16px 40px rgba(17, 36, 59, 0.18);
}

.secondary-link {
  border: 1px solid rgba(17, 36, 59, 0.12);
  background: rgba(255, 255, 255, 0.44);
}

.primary-link:hover,
.secondary-link:hover,
.primary-link:focus-visible,
.secondary-link:focus-visible {
  transform: translateY(-2px);
}

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

.hero-stats div,
.pillar-card,
.step-card,
.concept-item,
.window-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-stats div {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
}

.hero-stats strong {
  font-size: 1rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.window-frame {
  border-radius: 30px;
  overflow: hidden;
  transform: rotate(2deg);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(17, 36, 59, 0.18);
}

.window-bar p {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.78rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.panel-content {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.panel-badge {
  color: var(--accent-deep);
  font-size: 0.76rem;
}

.panel-code {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 24px;
  background: #12253d;
  color: #edf5ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.95rem;
  line-height: 1.6;
}

.panel-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.result-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(17, 36, 59, 0.08);
}

.result-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-size: 0.72rem;
}

.result-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.result-pulse {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.result-pulse span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--highlight));
  animation: pulse-rise 2.2s ease-in-out infinite;
}

.result-pulse span:nth-child(2) {
  animation-delay: 0.2s;
}

.result-pulse span:nth-child(3) {
  animation-delay: 0.4s;
}

.section {
  margin-top: 72px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

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

.pillar-card,
.step-card {
  padding: 24px;
  border-radius: 28px;
}

.pillar-card h3,
.step-card h3 {
  margin-bottom: 12px;
  font-size: 1.32rem;
}

.feature-band {
  padding: 30px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(17, 36, 59, 0.98), rgba(23, 49, 79, 0.92)),
    radial-gradient(circle at top left, rgba(120, 182, 255, 0.2), transparent 32%);
  color: #f6f7fb;
  box-shadow: 0 32px 70px rgba(17, 36, 59, 0.18);
}

.feature-band .section-label,
.feature-band .feature-note,
.feature-band .concept-item p {
  color: rgba(240, 245, 255, 0.82);
}

.feature-band .section-heading h2 {
  max-width: 16ch;
}

.concept-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.concept-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.concept-dot {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd089, #ef7d42);
}

.feature-note {
  margin-top: 22px;
  max-width: 62ch;
}

.process-grid .section-heading h2 {
  max-width: 20ch;
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-deep);
  font-size: 0.78rem;
}

.step-card::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(120, 182, 255, 0.22), transparent 70%);
}

.site-footer {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid rgba(17, 36, 59, 0.1);
}

@keyframes pulse-rise {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.55;
  }

  50% {
    transform: translateY(-6px) scale(1.1);
    opacity: 1;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .pillar-grid,
  .steps-list,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .section-heading h2,
  .feature-band .section-heading h2,
  .process-grid .section-heading h2 {
    max-width: none;
  }

  .window-frame {
    transform: none;
  }

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

@media (max-width: 640px) {
  .page-shell {
    padding: 20px 14px 56px;
  }

  .section,
  .site-footer {
    margin-top: 56px;
  }

  .feature-band {
    padding: 22px;
    border-radius: 28px;
  }

  .panel-result {
    grid-template-columns: 1fr;
  }
}
