:root {
  --paper: #f6f6f1;
  --paper-2: #ecece5;
  --ink: #11131a;
  --muted: #62656f;
  --blue: #0670f8;
  --cyan: #12b8c8;
  --pink: #f13d77;
  --violet: #7556f5;
  --orange: #f28b2d;
  --green: #1ea76d;
  --surface: #fff;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow-card: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.08), 0 18px 48px -28px rgba(12, 20, 36, 0.18);
  --shadow-card-hover: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 8px -4px rgba(0, 0, 0, 0.1), 0 28px 58px -26px rgba(12, 20, 36, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

img,
svg {
  display: block;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-140%);
  transition-property: transform;
  transition-duration: 180ms;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  min-height: 62px;
  padding: 8px 10px 8px 14px;
  border-radius: 22px;
  background: rgba(250, 250, 247, 0.8);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 10px 40px -22px rgba(11, 16, 28, 0.38);
  backdrop-filter: blur(18px) saturate(1.25);
  transform: translateX(-50%);
  transition-property: min-height, background-color, box-shadow;
  transition-duration: 220ms;
  transition-timing-function: ease-out;
}

.site-header.is-scrolled {
  background: rgba(250, 250, 247, 0.94);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 14px 42px -20px rgba(11, 16, 28, 0.42);
}

.brand,
.header-actions,
.desktop-nav {
  display: flex;
  align-items: center;
}

.brand {
  position: absolute;
  left: 14px;
  top: 12px;
  min-height: 40px;
  gap: 9px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img {
  border-radius: 9px;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}

.desktop-nav {
  justify-content: center;
  gap: 4px;
  min-height: 46px;
}

.desktop-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 13px;
  color: #4f525b;
  font-size: 14px;
  font-weight: 650;
  transition-property: color, background-color;
  transition-duration: 160ms;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  background: rgba(17, 19, 26, 0.05);
  color: var(--ink);
}

.header-actions {
  position: absolute;
  top: 8px;
  right: 10px;
  gap: 6px;
}

.icon-link,
.menu-button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  transition-property: background-color, scale;
  transition-duration: 150ms;
}

.icon-link:hover,
.icon-link:focus-visible,
.menu-button:hover,
.menu-button:focus-visible {
  background: rgba(17, 19, 26, 0.06);
}

.icon-link:active,
.menu-button:active,
.button:active,
.command-box button:active {
  scale: 0.96;
}

.icon-link svg {
  width: 20px;
  fill: currentColor;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  transition-property: scale, background-color, color, box-shadow, transform;
  transition-duration: 160ms;
  transition-timing-function: ease-out;
}

.button-small {
  min-height: 46px;
  padding: 0 19px;
  background: var(--ink);
  color: #fff;
}

.button-small:hover {
  background: var(--blue);
}

.button svg {
  width: 19px;
  height: 19px;
}

.button-primary {
  padding-left: 20px;
  padding-right: 18px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 26px -14px rgba(8, 14, 28, 0.7);
}

.button-primary svg {
  fill: currentColor;
}

.button-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -14px rgba(6, 112, 248, 0.75);
}

.button-secondary {
  box-shadow: var(--shadow-card);
  background: rgba(255, 255, 255, 0.7);
}

.button-secondary svg,
.button-light svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.mobile-nav,
.menu-button {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 810px;
  grid-template-columns: 0.88fr 1.3fr;
  align-items: center;
  gap: clamp(40px, 5vw, 84px);
  padding: 138px max(28px, calc((100vw - 1180px) / 2)) 90px;
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-bottom: 12px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  width: 20px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow span {
  padding: 5px 7px;
  border-radius: 7px;
  background: rgba(6, 112, 248, 0.09);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.hero h1 {
  max-width: 660px;
  margin-top: 24px;
  font-size: clamp(58px, 6.2vw, 96px);
  font-weight: 830;
  letter-spacing: -0.072em;
  line-height: 0.93;
}

.hero h1 span,
.section-heading h2 em,
.workflow h2 em {
  color: var(--blue);
  font-style: normal;
}

.hero-lead {
  max-width: 560px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 18px;
  color: #7c7f87;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.hero-note span {
  margin: 0 5px;
  color: #b1b2b4;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
  perspective: 1400px;
}

.window-frame {
  overflow: hidden;
  border-radius: 24px;
  background: #262626;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 34px 90px -36px rgba(25, 38, 75, 0.5), 0 12px 30px -18px rgba(0, 0, 0, 0.55);
  transform: rotateY(-3deg) rotateX(1.4deg);
  transform-origin: 50% 60%;
  transition-property: transform, box-shadow;
  transition-duration: 500ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.hero-visual:hover .window-frame {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 42px 100px -34px rgba(25, 38, 75, 0.6), 0 14px 34px -18px rgba(0, 0, 0, 0.58);
  transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
}

.window-topbar {
  display: grid;
  height: 41px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #4b4b4b;
}

.window-dots i:first-child {
  background: #f05b69;
}

.window-dots i:nth-child(2) {
  background: #eaae36;
}

.window-dots i:nth-child(3) {
  background: #45ae65;
}

.window-status {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 5px;
}

.window-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #42ca80;
  box-shadow: 0 0 0 3px rgba(66, 202, 128, 0.1);
}

.window-frame img {
  width: 100%;
  height: auto;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -1px;
}

.floating-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 18px 45px -22px rgba(6, 20, 46, 0.42);
  backdrop-filter: blur(14px);
}

.badge-languages {
  right: -20px;
  bottom: 16%;
  width: 104px;
  height: 104px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  transform: rotate(5deg);
}

.badge-languages strong {
  color: var(--blue);
  font-size: 28px;
  letter-spacing: -0.05em;
}

.badge-languages span {
  margin-top: 1px;
  color: var(--muted);
  font-size: 11px;
}

.badge-native {
  top: 14%;
  left: -34px;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border-radius: 13px;
  font-size: 11px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(30, 167, 109, 0.12);
}

.hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orb-one {
  top: 2%;
  right: -9%;
  width: min(58vw, 860px);
  height: min(58vw, 860px);
  background: radial-gradient(circle at 45% 46%, rgba(72, 126, 255, 0.19) 0, rgba(26, 189, 198, 0.08) 35%, rgba(246, 246, 241, 0) 69%);
}

.hero-orb-two {
  bottom: 3%;
  left: -18%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(242, 67, 119, 0.08), rgba(246, 246, 241, 0) 68%);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: max(28px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  gap: 10px;
  color: #898b91;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-cue span {
  position: relative;
  width: 18px;
  height: 29px;
  border: 1px solid rgba(17, 19, 26, 0.2);
  border-radius: 10px;
}

.scroll-cue span::after {
  position: absolute;
  top: 6px;
  left: 8px;
  width: 2px;
  height: 6px;
  border-radius: 2px;
  background: var(--blue);
  content: "";
  animation: scroll-dot 1.8s ease-in-out infinite;
}

.language-strip {
  overflow: hidden;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.84);
}

.language-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 26px;
  padding: 18px 26px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.language-track i {
  color: #45a9ff;
  font-size: 9px;
  font-style: normal;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 126px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 54px;
}

.section-heading h2,
.workflow h2,
.more-heading h2,
.install h2 {
  margin-top: 15px;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 810;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.section-heading > p,
.workflow-copy > p {
  max-width: 460px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 370px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition-property: transform, box-shadow;
  transition-duration: 240ms;
  transition-timing-function: ease-out;
}

.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.feature-card h3 {
  margin-top: 24px;
  font-size: 25px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.feature-card p {
  max-width: 450px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.feature-card p code {
  padding: 1px 4px;
  border-radius: 5px;
  background: #efeff3;
  color: #3b3f49;
  font-size: 12px;
}

.feature-number {
  position: absolute;
  top: 31px;
  right: 31px;
  color: #aaabb0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
}

.feature-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.icon-blue { background: rgba(6, 112, 248, 0.1); color: var(--blue); }
.icon-pink { background: rgba(241, 61, 119, 0.1); color: var(--pink); }
.icon-violet { background: rgba(117, 86, 245, 0.1); color: var(--violet); }
.icon-cyan { background: rgba(18, 184, 200, 0.11); color: #0e9eae; }
.icon-orange { background: rgba(242, 139, 45, 0.12); color: var(--orange); }
.icon-green { background: rgba(30, 167, 109, 0.1); color: var(--green); }

.feature-projects {
  display: grid;
  min-height: 470px;
  grid-column: span 7;
  grid-template-columns: 0.88fr 0.72fr;
  padding-right: 0;
  background: linear-gradient(145deg, #fff 35%, #f2f6fc 100%);
}

.feature-projects .card-copy {
  position: relative;
  z-index: 2;
}

.feature-projects .feature-number {
  right: 28px;
}

.project-crop {
  align-self: end;
  height: 350px;
  margin-left: 20px;
  overflow: hidden;
  border-radius: 20px 0 0 0;
  box-shadow: -14px -12px 44px -24px rgba(9, 17, 34, 0.6);
}

.project-crop img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -1px;
}

.feature-format {
  grid-column: span 5;
  background: #171922;
  color: #fff;
}

.feature-format p,
.feature-terminal p {
  color: rgba(255, 255, 255, 0.61);
}

.feature-format .feature-number,
.feature-terminal .feature-number {
  color: rgba(255, 255, 255, 0.34);
}

.key-combo {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 33px;
}

.key-combo kbd {
  min-width: 45px;
  padding: 12px 13px;
  border-radius: 11px;
  background: #292c38;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.key-combo span {
  color: rgba(255, 255, 255, 0.26);
  font-size: 12px;
}

.formatter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 28px;
}

.formatter-list span {
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.55);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
}

.feature-search {
  grid-column: span 5;
}

.palette-demo {
  margin-top: 30px;
  overflow: hidden;
  padding: 10px;
  border-radius: 19px;
  background: #f4f4f6;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.045);
  font-size: 11px;
}

.palette-search,
.palette-row {
  display: flex;
  align-items: center;
}

.palette-search {
  gap: 8px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  color: #626671;
}

.palette-search svg {
  width: 15px;
  fill: none;
  stroke: #858894;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.palette-search span,
.palette-row span {
  flex: 1;
}

.palette-search kbd,
.palette-row kbd {
  color: #9b9da4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
}

.palette-row {
  min-height: 35px;
  padding: 0 10px;
  border-radius: 9px;
  color: #555965;
}

.palette-row b {
  display: inline-block;
  width: 18px;
  color: #989ba5;
}

.palette-row.active {
  background: rgba(6, 112, 248, 0.09);
  color: #0758b9;
}

.palette-row.active b {
  color: var(--blue);
}

.feature-terminal {
  grid-column: span 7;
  background: #171922;
  color: #fff;
}

.terminal-demo {
  margin-top: 28px;
  overflow: hidden;
  border-radius: 18px;
  background: #0d0e14;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 16px 32px -20px #000;
}

.terminal-bar {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.terminal-bar span {
  flex: 1;
}

.terminal-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #343641;
}

.terminal-demo > code {
  display: block;
  padding: 20px;
  color: #ccd0dd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.8;
}

.terminal-demo code b { color: #47b7ff; font-weight: 600; }
.terminal-demo code span { color: var(--pink); }
.terminal-demo code em { color: #52d795; font-style: normal; }
.terminal-cursor { display: inline-block; width: 7px; height: 14px; vertical-align: -3px; background: rgba(255, 255, 255, 0.74); animation: cursor-blink 1s step-end infinite; }

.feature-markdown {
  min-height: 470px;
  grid-column: span 7;
  background: linear-gradient(145deg, #fff 30%, #fff8ef 100%);
}

.markdown-demo {
  display: grid;
  min-height: 200px;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 18px;
  background: #25262c;
  box-shadow: 0 16px 34px -22px rgba(27, 20, 15, 0.55);
}

.markdown-source,
.markdown-rendered {
  padding: 19px;
}

.markdown-source {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: #bfc2cc;
  font-size: 9.5px;
  line-height: 1.55;
}

.markdown-source b { color: #e774a5; }
.markdown-source span { color: #54c9ff; }
.markdown-source em { color: #71d7bd; font-style: normal; }

.markdown-rendered {
  background: #fff;
  color: #2b2d34;
  font-size: 10px;
}

.markdown-rendered strong {
  font-size: 18px;
  letter-spacing: -0.04em;
}

.markdown-rendered hr {
  height: 1px;
  margin: 9px 0 13px;
  border: 0;
  background: #dedfe4;
}

.markdown-rendered p {
  margin-top: 5px;
  color: #62656d;
  font-size: 9.5px;
}

.markdown-rendered > code {
  display: block;
  margin-top: 13px;
  padding: 10px;
  border-radius: 8px;
  background: #f1f2f5;
  color: #7857c8;
}

.markdown-rendered code i { color: #aa694c; font-style: normal; }

.feature-safe {
  min-height: 470px;
  grid-column: span 5;
}

.safe-status {
  display: grid;
  gap: 9px;
  margin-top: 30px;
}

.safe-status > div {
  display: flex;
  min-height: 65px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #f5f6f7;
}

.safe-status > div > span:first-child {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
}

.status-check { background: rgba(30, 167, 109, 0.1); color: var(--green); }
.status-clock { background: rgba(6, 112, 248, 0.1); color: var(--blue); }
.safe-status b,
.safe-status small { display: block; }
.safe-status b { font-size: 12px; }
.safe-status small { margin-top: 3px; color: #888b93; font-size: 10px; }

.workflow {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(60px, 8vw, 110px);
}

.workflow-copy > p {
  margin-top: 26px;
}

.workflow-points {
  display: grid;
  gap: 0;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.workflow-points li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(17, 19, 26, 0.09);
}

.workflow-points li:last-child {
  border-bottom: 1px solid rgba(17, 19, 26, 0.09);
}

.workflow-points li > span {
  padding-top: 2px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
}

.workflow-points b,
.workflow-points small {
  display: block;
}

.workflow-points b {
  font-size: 14px;
}

.workflow-points small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.workflow-visual {
  position: relative;
  padding: 26px 0 45px 25px;
}

.workflow-visual::before {
  position: absolute;
  inset: 0 30px 25px 0;
  z-index: -1;
  border-radius: 40px;
  background: linear-gradient(145deg, rgba(6, 112, 248, 0.1), rgba(117, 86, 245, 0.06) 48%, rgba(241, 61, 119, 0.08));
  content: "";
}

.code-shot {
  overflow: hidden;
  border-radius: 22px;
  background: #222;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.13), 0 30px 65px -30px rgba(15, 22, 45, 0.56);
  transform: rotate(1.2deg);
}

.code-shot img {
  width: 100%;
  height: auto;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -1px;
}

.shortcut-card,
.theme-switcher {
  position: absolute;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 16px 38px -18px rgba(10, 18, 38, 0.4);
  backdrop-filter: blur(14px);
}

.shortcut-card {
  bottom: 0;
  left: -14px;
  padding: 14px 16px;
  border-radius: 16px;
}

.shortcut-card span {
  display: block;
  margin-bottom: 8px;
  color: #81838b;
  font-size: 9px;
}

.shortcut-card strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.shortcut-card strong i {
  margin: 0 3px;
  color: #b2b4ba;
  font-style: normal;
}

.theme-switcher {
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border-radius: 18px;
}

.theme-switcher span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 700;
}

.theme-light { background: #f0f0ec; color: #17171b; }
.theme-dark { background: #1c1d24; color: #fff; }
.theme-switcher i { width: 16px; height: 2px; background: #c4c6cb; }

.more-features {
  padding-top: 92px;
}

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

.more-heading h2 {
  font-size: clamp(40px, 4.5vw, 62px);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 52px;
  border-top: 1px solid rgba(17, 19, 26, 0.12);
  border-left: 1px solid rgba(17, 19, 26, 0.12);
}

.mini-feature {
  min-height: 220px;
  padding: 26px;
  border-right: 1px solid rgba(17, 19, 26, 0.12);
  border-bottom: 1px solid rgba(17, 19, 26, 0.12);
}

.mini-feature > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: rgba(6, 112, 248, 0.08);
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
}

.mini-feature h3 {
  margin-top: 24px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.mini-feature p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.install {
  width: min(1240px, calc(100% - 32px));
  padding-top: 74px;
  padding-bottom: 100px;
}

.install-panel {
  position: relative;
  display: grid;
  min-height: 430px;
  grid-template-columns: auto 1fr 0.86fr;
  align-items: center;
  gap: 48px;
  overflow: hidden;
  padding: 70px;
  border-radius: 44px;
  background: #10121a;
  color: #fff;
  box-shadow: 0 38px 90px -45px rgba(9, 15, 34, 0.65);
  isolation: isolate;
}

.install-glow {
  position: absolute;
  z-index: -1;
  right: 20%;
  bottom: -240px;
  width: 660px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 111, 255, 0.34), rgba(62, 80, 205, 0.08) 45%, transparent 70%);
}

.install-icon {
  display: grid;
  width: 158px;
  height: 158px;
  place-items: center;
  border-radius: 39px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.install-icon img {
  border-radius: 31px;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -1px;
}

.install .kicker {
  color: #6eb0ff;
}

.install h2 {
  margin-top: 12px;
  font-size: clamp(44px, 4.5vw, 66px);
}

.install-copy p {
  max-width: 500px;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 14px;
  line-height: 1.6;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.button-light {
  padding-left: 18px;
  padding-right: 16px;
  background: #fff;
  color: #151720;
}

.button-light:hover {
  background: #e9f2ff;
  transform: translateY(-2px);
}

.button-ghost {
  color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.command-box {
  position: relative;
  min-width: 280px;
  padding: 17px 58px 17px 18px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.command-box > span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.command-box code {
  color: #e5e8f1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.command-box button {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.66);
  cursor: pointer;
  translate: 0 -50%;
  transition-property: scale, background-color, color;
  transition-duration: 150ms;
}

.command-box button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.command-box button svg {
  grid-area: 1 / 1;
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition-property: opacity, scale, filter;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.command-box .check-icon {
  color: #61e49d;
  opacity: 0;
  filter: blur(4px);
  scale: 0.25;
}

.command-box button.copied .copy-icon {
  opacity: 0;
  filter: blur(4px);
  scale: 0.25;
}

.command-box button.copied .check-icon {
  opacity: 1;
  filter: blur(0);
  scale: 1;
}

.site-footer {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin: 0 auto;
  padding: 50px 0 28px;
  border-top: 1px solid rgba(17, 19, 26, 0.1);
}

.footer-brand .brand {
  position: static;
  width: fit-content;
}

.footer-brand p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links span {
  margin-bottom: 3px;
  color: #9a9ca2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  width: fit-content;
  color: #4e515a;
  font-size: 13px;
  transition-property: color;
  transition-duration: 150ms;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(17, 19, 26, 0.08);
  color: #8b8d94;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
}

.footer-bottom i {
  color: var(--pink);
  font-style: normal;
}

.hero .reveal {
  animation: reveal-up 560ms cubic-bezier(0.2, 0, 0, 1) both;
}

.hero .reveal-delay-1 { animation-delay: 90ms; }
.hero .reveal-delay-2 { animation-delay: 180ms; }
.hero .reveal-delay-3 { animation-delay: 270ms; }

@keyframes reveal-up {
  from {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes scroll-dot {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(7px); }
}

@keyframes cursor-blink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@media (max-width: 1050px) {
  .hero {
    min-height: 760px;
    grid-template-columns: 0.9fr 1.15fr;
    gap: 35px;
  }

  .hero h1 {
    font-size: clamp(54px, 7vw, 74px);
  }

  .badge-languages {
    right: -8px;
    width: 90px;
    height: 90px;
  }

  .badge-native {
    left: -20px;
  }

  .install-panel {
    grid-template-columns: auto 1fr;
    padding: 56px;
  }

  .command-box {
    grid-column: 2;
    width: min(100%, 370px);
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .desktop-nav,
  .header-actions .icon-link,
  .header-actions .button-small {
    display: none;
  }

  .menu-button {
    position: relative;
    display: block;
  }

  .menu-button span:not(.sr-only) {
    position: absolute;
    left: 13px;
    width: 20px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition-property: transform, top;
    transition-duration: 200ms;
  }

  .menu-button span:first-child { top: 18px; }
  .menu-button span:nth-child(2) { top: 26px; }
  .menu-button[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

  .mobile-nav {
    display: grid;
    max-height: 0;
    gap: 3px;
    overflow: hidden;
    opacity: 0;
    transition-property: max-height, opacity, padding-top;
    transition-duration: 240ms;
    transition-timing-function: ease-out;
  }

  .mobile-nav.is-open {
    max-height: 320px;
    padding-top: 10px;
    opacity: 1;
  }

  .mobile-nav a {
    display: flex;
    min-height: 46px;
    align-items: center;
    padding: 0 13px;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 650;
  }

  .mobile-nav a:hover {
    background: rgba(17, 19, 26, 0.05);
  }

  .hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    padding-top: 132px;
    padding-bottom: 90px;
  }

  .hero-copy {
    min-width: 0;
    max-width: 650px;
  }

  .hero-visual {
    margin-top: 15px;
  }

  .window-frame {
    transform: none;
  }

  .hero-visual:hover .window-frame {
    transform: translateY(-3px);
  }

  .scroll-cue {
    display: none;
  }

  .section-heading,
  .workflow {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 28px;
  }

  .section-heading > p {
    max-width: 620px;
  }

  .feature-projects,
  .feature-format,
  .feature-search,
  .feature-terminal,
  .feature-markdown,
  .feature-safe {
    grid-column: span 12;
  }

  .feature-projects {
    grid-template-columns: 1fr 0.82fr;
  }

  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow {
    gap: 50px;
  }

  .workflow-visual {
    width: min(96%, 670px);
    justify-self: center;
  }

  .install-panel {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .install-icon {
    width: 116px;
    height: 116px;
    border-radius: 30px;
  }

  .install-icon img {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }

  .command-box {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .hero {
    gap: 24px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero h1 {
    max-width: 100%;
    overflow-wrap: normal;
    font-size: clamp(44px, 12vw, 53px);
    text-wrap: wrap;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .window-topbar {
    height: 33px;
    font-size: 8px;
  }

  .window-frame {
    border-radius: 17px;
  }

  .badge-native {
    top: -12px;
    left: 15px;
  }

  .badge-languages {
    right: -4px;
    bottom: -26px;
    width: 76px;
    height: 76px;
    border-radius: 20px;
  }

  .badge-languages strong {
    font-size: 21px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 92px 0;
  }

  .section-heading h2,
  .workflow h2,
  .more-heading h2 {
    font-size: 42px;
  }

  .feature-card {
    min-height: 0;
    padding: 24px;
    border-radius: 26px;
  }

  .feature-projects {
    display: block;
    padding-right: 0;
    padding-bottom: 0;
  }

  .feature-projects .card-copy {
    padding-right: 24px;
  }

  .project-crop {
    height: 280px;
    margin-top: 28px;
    margin-left: 50px;
  }

  .key-combo {
    gap: 5px;
  }

  .key-combo kbd {
    min-width: 39px;
    padding: 10px 9px;
  }

  .markdown-demo {
    grid-template-columns: 1fr;
  }

  .markdown-source {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .mini-feature {
    min-height: 0;
  }

  .workflow-visual {
    width: 100%;
    padding-left: 8px;
  }

  .shortcut-card {
    left: -6px;
  }

  .theme-switcher {
    top: 6px;
    right: -8px;
    scale: 0.88;
  }

  .install {
    width: calc(100% - 20px);
    padding-top: 40px;
    padding-bottom: 70px;
  }

  .install-panel {
    gap: 34px;
    padding: 38px 24px;
    border-radius: 30px;
  }

  .install h2 {
    font-size: 47px;
  }

  .install-actions {
    display: grid;
    width: 100%;
  }

  .install-actions .button {
    width: 100%;
  }

  .command-box {
    width: 100%;
    min-width: 0;
  }

  .site-footer {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }
}
