:root {
  color-scheme: light;
  --bg: #f3f4f6;
  --bg-deep: #e7eaee;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.95);
  --panel-soft: rgba(242, 246, 250, 0.76);
  --text: #0f1318;
  --muted: #5d6570;
  --line: rgba(15, 19, 24, 0.08);
  --line-strong: rgba(15, 19, 24, 0.16);
  --accent: #8fd5ff;
  --accent-deep: #5b96bc;
  --shadow-lg: 0 34px 100px rgba(12, 18, 28, 0.14);
  --shadow-md: 0 20px 54px rgba(12, 18, 28, 0.09);
  --radius-hero: 42px;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 0%, rgba(143, 213, 255, 0.22), transparent 22%),
    radial-gradient(circle at 90% 14%, rgba(143, 213, 255, 0.16), transparent 20%),
    linear-gradient(180deg, #fafbfd 0%, var(--bg) 48%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  margin: 0 0.1rem;
  padding: 0.28rem 0.58rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 -1px 0 rgba(13, 15, 14, 0.05);
  font-size: 0.8rem;
  font-weight: 800;
}

.background-wash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 12%, rgba(255, 255, 255, 0.55), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 24%);
}

.page-shell {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 40px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(13, 15, 14, 0.06);
}

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

.brand-icon {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  box-shadow: 0 10px 24px rgba(13, 15, 14, 0.16);
}

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

.brand-copy strong,
.hero h1,
.section-heading h2,
.stack-card h2 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.brand-copy strong {
  font-size: 0.95rem;
}

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

.site-nav {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  min-width: 0;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

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

.site-download {
  min-width: 184px;
}

.hero,
.proof-band,
.section,
.site-footer {
  animation: rise-in 0.72s ease both;
}

.hero {
  padding: 36px 0 28px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 13ch;
  margin-inline: auto;
  font-size: clamp(3.5rem, 8vw, 7rem);
}

.hero-accent {
  color: #192028;
}

.glass-word {
  position: relative;
  display: inline-block;
  padding: 0 0.06em;
  color: #1e2731;
  transition: color 520ms cubic-bezier(0.22, 0.82, 0.22, 1);
}

.glass-word::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.84) 18%,
      rgba(216, 240, 247, 0.58) 50%,
      rgba(124, 188, 210, 0.36) 100%
    ),
    linear-gradient(
      116deg,
      rgba(255, 255, 255, 0) 12%,
      rgba(255, 255, 255, 0.2) 26%,
      rgba(255, 255, 255, 0.94) 42%,
      rgba(255, 255, 255, 0.26) 56%,
      rgba(255, 255, 255, 0) 72%
    );
  background-repeat: no-repeat;
  background-size: 100% 100%, 180% 100%;
  background-position: 0 0, 16% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.68);
  text-shadow:
    0 8px 24px rgba(255, 255, 255, 0.14),
    0 12px 28px rgba(64, 141, 165, 0.1);
  pointer-events: none;
  will-change: opacity;
  transition:
    opacity 560ms cubic-bezier(0.22, 0.82, 0.22, 1),
    text-shadow 560ms cubic-bezier(0.22, 0.82, 0.22, 1);
}

.glass-word:hover,
.glass-word:focus-visible {
  color: rgba(30, 39, 49, 0.1);
}

.glass-word:hover::after,
.glass-word:focus-visible::after {
  opacity: 1;
  text-shadow:
    0 10px 28px rgba(255, 255, 255, 0.2),
    0 16px 34px rgba(64, 141, 165, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  .glass-word,
  .glass-word::after {
    transition-duration: 180ms;
  }
}

.hero-text,
.hero-meta,
.stack-card p,
.feature-card p,
.workflow-card p,
.download-card p,
.download-meta,
.proof-band span,
.site-footer p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  max-width: 70ch;
  margin: 24px auto 0;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.hero-meta {
  margin: 16px auto 0;
  max-width: 58ch;
  font-size: 0.92rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(180deg, #12161b 0%, #07090c 100%);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(18, 24, 34, 0.2);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
}

.button[aria-disabled="true"] {
  opacity: 0.62;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  margin-top: 42px;
  text-align: left;
}

.hero-panel,
.proof-band,
.feature-card,
.workflow-card,
.download-card,
.site-footer,
.stack-card {
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.hero-panel {
  border-radius: var(--radius-hero);
}

.hero-panel-main {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(240, 244, 249, 0.94)),
    rgba(255, 255, 255, 0.74);
}

.panel-toolbar {
  display: flex;
  gap: 8px;
}

.panel-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(13, 15, 14, 0.14);
}

.hero-composer,
.hero-task {
  display: grid;
  align-items: center;
}

.hero-composer {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  margin-top: 22px;
}

.hero-composer-input,
.hero-submit,
.hero-mic,
.hero-shortcuts span,
.hero-task {
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.hero-composer-input {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 0 18px;
  border-radius: 22px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.hero-caret {
  width: 2px;
  height: 22px;
  margin-left: auto;
  border-radius: 999px;
  background: var(--text);
  animation: blink 1s step-end infinite;
}

.hero-mic,
.hero-submit {
  width: 54px;
  height: 54px;
  border-radius: 18px;
}

.hero-mic {
  position: relative;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 245, 250, 0.98)),
    var(--panel-strong);
}

.hero-mic-head {
  position: relative;
  width: 14px;
  height: 20px;
  border: 2px solid var(--text);
  border-radius: 9px;
}

.hero-mic-head::before,
.hero-mic-head::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.hero-mic-head::before {
  bottom: -7px;
  width: 12px;
  height: 2px;
  background: var(--text);
}

.hero-mic-head::after {
  bottom: -11px;
  width: 2px;
  height: 7px;
  background: var(--text);
}

.hero-mic-bar {
  position: absolute;
  inset: auto 8px 8px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #62c5ff 0%, #d7f0ff 100%);
}

.hero-submit {
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(180deg, #a6adb8 0%, #7f8997 100%);
}

.hero-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-shortcuts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.hero-task {
  position: relative;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  gap: 12px;
  min-height: 66px;
  padding: 0 16px;
  border-radius: 22px;
  overflow: hidden;
}

.hero-task::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.44;
}

.hero-task-10::before {
  background: linear-gradient(90deg, rgba(255, 98, 74, 0.22) 0%, rgba(255, 98, 74, 0.22) 10%, transparent 10%);
}

.hero-task-50::before {
  background: linear-gradient(90deg, rgba(255, 177, 66, 0.2) 0%, rgba(255, 177, 66, 0.2) 50%, transparent 50%);
}

.hero-task-80::before {
  background: linear-gradient(90deg, rgba(116, 204, 255, 0.2) 0%, rgba(116, 204, 255, 0.2) 80%, transparent 80%);
}

.hero-task-done::before {
  background: linear-gradient(90deg, rgba(207, 236, 255, 0.42) 0%, rgba(207, 236, 255, 0.42) 100%);
}

.hero-task > * {
  position: relative;
  z-index: 1;
}

.task-toggle {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(13, 15, 14, 0.18);
  border-radius: 999px;
}

.task-toggle.filled {
  background: #0f1110;
  border-color: #0f1110;
}

.task-toggle.filled::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 4px auto 0;
  border-radius: 999px;
  background: var(--accent);
}

.task-copy {
  min-width: 0;
  font-weight: 700;
}

.hero-task-done .task-copy {
  color: rgba(13, 15, 14, 0.44);
  text-decoration: line-through;
}

.task-stamp,
.task-pill,
.task-x {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.task-pill {
  min-width: 50px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
}

.task-x {
  font-size: 1rem;
}

.nested {
  margin-left: 24px;
}

.deeper {
  margin-left: 48px;
}

.hero-panel-side {
  display: grid;
  gap: 16px;
}

.stack-card {
  padding: 24px;
  border-radius: var(--radius-xl);
}

.stack-card h2,
.stack-card h3 {
  margin: 0;
}

.stack-card h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.stack-card h3 {
  font-size: 1.34rem;
}

.stack-card p:last-child {
  margin-bottom: 0;
}

.stack-label,
.download-platform,
.step-index {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(143, 213, 255, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stack-card-glow {
  background:
    radial-gradient(circle at top right, rgba(143, 213, 255, 0.32), transparent 42%),
    var(--panel-strong);
}

.chip-row,
.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-row span,
.platform-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
}

.platform-glance {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.proof-band article {
  display: grid;
  gap: 8px;
}

.proof-band strong {
  font-size: 1rem;
}

.section {
  padding: 96px 0 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  font-size: clamp(2.6rem, 4.4vw, 4.8rem);
}

.feature-grid,
.workflow-grid,
.download-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

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

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

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

.feature-card,
.workflow-card,
.download-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-card h3,
.workflow-card h3,
.download-card h3 {
  margin: 0 0 12px;
  font-size: 1.24rem;
}

.workflow-card {
  min-height: 250px;
}

.inline-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  border-radius: 999px;
  background: rgba(13, 15, 14, 0.08);
  font-weight: 800;
}

.download-card-primary {
  background:
    linear-gradient(145deg, rgba(143, 213, 255, 0.34), rgba(255, 255, 255, 0.95) 46%),
    rgba(255, 255, 255, 0.92);
}

.download-meta {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 88px;
  padding: 24px;
  border-radius: 24px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

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

  .feature-grid,
  .workflow-grid,
  .download-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 20px, 100%);
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: flex-start;
    border-radius: 28px;
  }

  .site-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.8rem, 12vw, 5rem);
  }

  .hero-composer {
    grid-template-columns: 1fr;
  }

  .hero-mic,
  .hero-submit {
    width: 100%;
  }

  .platform-glance,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .proof-band,
  .feature-grid,
  .workflow-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero-shortcuts,
  .hero-actions {
    justify-content: flex-start;
  }

  .hero-task {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .task-stamp,
  .task-x {
    display: none;
  }

  .nested,
  .deeper {
    margin-left: 0;
  }
}
