:root {
  color-scheme: light;
  --font-sans: "Geist", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --paper: #f8f7fb;
  --white: #fff;
  --ink: #1c1829;
  --muted: #625b71;
  --border: #e6e0ef;
  --accent: #6441b7;
  --accent-light: #c8b0ff;
  --night: #12101e;
  --night-text: #f9f7ff;
  --night-muted: #bcb5cf;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 24px; }
body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, dl, dd, pre { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
code, pre { font-family: var(--font-mono); }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid #9d75f5;
  outline-offset: 4px;
}

.shell {
  width: min(1160px, calc(100% - 88px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 9px 15px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}
.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 1;
  color: var(--night-text);
  background: var(--night);
  border-bottom: 1px solid #2b263c;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 11px;
  font-size: 1.16rem;
  font-weight: 750;
  letter-spacing: -.055em;
  text-decoration: none;
}

.clock-mark {
  display: inline-grid;
  flex: none;
  place-items: center;
  position: relative;
  width: 31px;
  height: 31px;
  color: #251445;
  border-radius: 9px;
  background: linear-gradient(145deg, #dfc9ff, #9d75f6);
  box-shadow: inset 0 0 0 1px #e8d9ff60;
}
.clock-mark::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.clock-mark::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 15px;
  width: 4px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 0 1.5px 1.5px;
  border-radius: 0 0 0 1px;
}

.header-nav, .footer-inner nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a, .footer-inner nav a {
  color: var(--night-muted);
  font-size: .9rem;
  font-weight: 550;
  text-decoration: none;
}

.header-nav a:hover, .header-nav a[aria-current="page"], .footer-inner nav a:hover {
  color: var(--night-text);
}

.github-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 9px;
  min-height: 37px;
  padding: 0 12px;
  border: 1px solid #3c344f;
  border-radius: 8px;
  font-size: .87rem;
  font-weight: 600;
  text-decoration: none;
}
.github-link span { color: var(--accent-light); }
.github-link:hover { background: #251e37; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--night-text);
  background:
    radial-gradient(ellipse at 74% 36%, #30204d 0, transparent 58%),
    radial-gradient(ellipse at 0% 105%, #2a173b 0, transparent 52%),
    var(--night);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 30%;
  background-image:
    linear-gradient(to right, #c6a2ff18 1px, transparent 1px),
    linear-gradient(to bottom, #c6a2ff18 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 66% 48%, #000 8%, transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 68px;
  padding-block: 94px 104px;
}

.playground-layout {
  max-width: 780px;
  padding-block: clamp(36px, 6vw, 76px);
}
.hero .playground-layout h1 {
  font-size: clamp(2.25rem, 6vw, 4.75rem);
}
.playground-layout .hero-summary {
  max-width: 540px;
  margin-top: 16px;
}
.playground-layout .playground {
  max-width: none;
  margin-top: 28px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  color: #d3bfff;
  font: 500 .69rem/1.45 var(--font-mono);
  letter-spacing: .105em;
  text-transform: uppercase;
}
.eyebrow > span {
  width: 7px;
  height: 7px;
  background: #ba98ff;
  border-radius: 50%;
  box-shadow: 0 0 14px #bd96ffaa;
}

.hero h1 {
  margin-inline-start: -3px;
  font-size: clamp(3.45rem, 5.55vw, 5.45rem);
  font-weight: 750;
  letter-spacing: -.052em;
  line-height: .96;
}
.hero h1 em {
  color: var(--accent-light);
  font-style: normal;
}
.hero-summary {
  max-width: 425px;
  margin-top: 26px;
  color: var(--night-muted);
  font-size: clamp(1rem, 1.35vw, 1.145rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 45px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: .89rem;
  font-weight: 680;
  text-decoration: none;
}
.button-primary {
  color: #211433;
  background: #cfb8ff;
  box-shadow: 0 2px 18px #b996ff24;
}
.button-primary:hover { background: #e1ceff; }
.button-subtle {
  color: var(--night-text);
  border-color: #49405d;
  background: #181324;
}
.button-subtle:hover { background: #2c223d; }

.playground {
  min-width: 0;
  border: 1px solid #5a477a;
  border-radius: 17px;
  background: #1a1528;
  box-shadow: 0 25px 68px #05040d99, 0 0 36px #8f65e318;
  scroll-margin-top: 22px;
}
.panel-header {
  min-height: 59px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 21px;
  border-bottom: 1px solid #3c304d;
  border-radius: 16px 16px 0 0;
  background: #211931;
}
.panel-title { display: flex; align-items: center; gap: 11px; }
.panel-title h2 { font-size: .96rem; font-weight: 650; letter-spacing: -.02em; }
.panel-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 28px;
  border: 1px solid #5b4478;
  border-radius: 7px;
  color: #d4bbff;
  background: #352548;
  font: 600 .76rem var(--font-mono);
}
.dialect {
  flex: none;
  padding: 3px 8px;
  border: 1px solid #59486f;
  border-radius: 5px;
  color: #d5c5ef;
  font: 500 .65rem/1.5 var(--font-mono);
  text-decoration: none;
}
.dialect:hover { background: #39284f; }

.panel-body { padding: 20px 21px 17px; }

.console-label, .result-label {
  display: block;
  margin-bottom: 8px;
  color: #c6bbd7;
  font: 500 .68rem/1.4 var(--font-mono);
  letter-spacing: .065em;
  text-transform: uppercase;
}

.expression-row {
  display: flex;
  gap: 8px;
}
.expression-row input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #615178;
  border-radius: 8px;
  color: #f3eaff;
  background: #100c1b;
  font: 500 clamp(.93rem, 1.55vw, 1.11rem) var(--font-mono);
}
.expression-row input:hover { border-color: #8c71ab; }
.expression-row input[aria-invalid="true"] { border-color: #d1819e; }
.explain-button {
  min-height: 46px;
  padding: 0 12px;
  color: #241334;
  background: #c5a7ff;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .81rem;
  font-weight: 690;
}
.explain-button span { margin-inline-start: 5px; font-size: 1rem; }
.explain-button:hover { background: #ddc5ff; }

.cron-fields {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  margin-top: 11px;
}
.cron-fields > div {
  min-width: 0;
  padding: 7px 6px 6px;
  border: 1px solid #3a2d49;
  border-radius: 6px;
  background: #20182e;
  text-align: center;
}
.cron-fields dt {
  margin-bottom: 3px;
  color: #bdb0d0;
  font-size: .64rem;
  font-weight: 550;
  line-height: 1.23;
}
.cron-fields dd {
  overflow: hidden;
  color: #e0caff;
  font: 500 .76rem/1.5 var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}
.presets button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #4f3e63;
  border-radius: 6px;
  color: #cfc4e0;
  background: transparent;
  font-size: .68rem;
  font-weight: 550;
  white-space: nowrap;
}
.presets button:hover, .presets button[aria-pressed="true"] {
  color: #f1e3ff;
  border-color: #8263a8;
  background: #37254b;
}

.play-result {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-height: 79px;
  margin-top: 15px;
  padding: 11px 13px;
  border: 1px solid #48504d;
  border-radius: 8px;
  background: #1d2429;
}
.play-result .result-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: #a6e5ce;
  font-size: .63rem;
}
.result-label > span:first-child {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.result-description {
  color: #f4edf8;
  font-size: .93rem;
  font-weight: 560;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.result-detail {
  margin-top: 4px;
  color: #f6bbce;
  font: .67rem var(--font-mono);
  overflow-wrap: anywhere;
}
.play-result[data-state="invalid"] { border-color: #7c5068; background: #352032; }
.play-result[data-state="invalid"] .result-label { color: #f4aeca; }

.panel-footnote {
  margin-top: 11px;
  color: #beb0cf;
  font-size: .68rem;
}
.panel-footnote a { color: #e4cfff; text-underline-offset: .16em; }

.getting-started { padding: 64px 0 70px; }
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 25px;
}
.section-heading h2, .preview-copy h2 {
  color: #1e1830;
  font-size: clamp(2.05rem, 4vw, 3rem);
  font-weight: 730;
  letter-spacing: -.045em;
}
.text-link {
  color: var(--accent);
  font-size: .9rem;
  font-weight: 660;
  text-decoration: none;
}
.text-link span { margin-left: 3px; }
.text-link:hover { text-decoration: underline; text-underline-offset: .19em; }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.quick-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-width: 0;
  padding: 23px;
  border: 1px solid #e1dbea;
  border-radius: 13px;
  background: var(--white);
  box-shadow: 0 3px 12px #291b4406;
}
.quick-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 13px;
  border: 1px solid #e4d9f6;
  border-radius: 9px;
  color: #6745a2;
  background: #f2ebfc;
  font: 600 .82rem var(--font-mono);
}
.quick-card h3 {
  font-size: 1.19rem;
  font-weight: 720;
  letter-spacing: -.045em;
}
.quick-card p {
  margin: 9px 0 17px;
  color: var(--muted);
  font-size: .9rem;
}
.install-command {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-width: 0;
  min-height: 33px;
  margin-top: auto;
  margin-bottom: 13px;
  padding: 5px 7px 5px 9px;
  border: 1px solid #ede9f5;
  border-radius: 6px;
  background: #f7f5fa;
}
.install-command code {
  color: #433653;
  font-size: .66rem;
  overflow-wrap: anywhere;
}
.copy-button {
  flex: none;
  padding: 3px 6px;
  border: 1px solid #e0d8ee;
  border-radius: 4px;
  color: #6949a2;
  background: #fff;
  font-size: .65rem;
  font-weight: 650;
  line-height: 1.35;
}
.copy-button:hover { background: #f1eafa; }
.play-result .result-copy {
  min-width: 76px;
  min-height: 28px;
  border-color: #ffffff35;
  color: var(--night-text);
  background: #ffffff0a;
}
.play-result .result-copy:hover { background: #ffffff20; }
.quick-card .text-link { font-size: .82rem; }

.preview-section {
  padding: 58px 0 63px;
  border-top: 1px solid #e9e2f1;
  background: #f0ecf7;
}
.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 62px;
  align-items: center;
}
.preview-copy p {
  max-width: 363px;
  margin: 15px 0;
  color: var(--muted);
}
.terminal-example {
  min-width: 0;
  border: 1px solid #3e3252;
  border-radius: 13px;
  color: #f5ebff;
  background: #1a1429;
}
.terminal-header {
  padding: 10px 18px;
  border-bottom: 1px solid #3f3153;
  color: #d9c9e9;
  font: 500 .76rem var(--font-mono);
}
.terminal-header span { color: #be9af6; margin-right: 7px; }
.terminal-example pre {
  padding: 18px;
  overflow: auto;
  font-size: .82rem;
}
.terminal-prompt { color: #ae87f3; }
.terminal-literal { color: #ddc5ff; }
.terminal-result { color: #a9e7cf; }

.site-footer {
  padding: 20px 0;
  color: var(--night-text);
  background: var(--night);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.footer-inner .clock-mark { transform: scale(.83); }
.footer-inner .brand { gap: 7px; font-size: 1rem; }
.footer-inner nav { gap: 17px; }
.footer-inner nav a { font-size: .78rem; }

.docs-banner {
  padding: 54px 0 59px;
  color: var(--night-text);
  background: radial-gradient(ellipse at 72% 18%, #352453, transparent 62%), var(--night);
}
.docs-banner h1 {
  font-size: clamp(2.55rem, 6.2vw, 4.4rem);
  font-weight: 750;
  letter-spacing: -.045em;
}
.docs-banner p {
  margin-top: 12px;
  max-width: 590px;
  color: var(--night-muted);
  font-size: 1.05rem;
}
.docs-grid {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-block: 40px 75px;
}
.docs-sidebar {
  position: sticky;
  top: 24px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--white);
}
.docs-sidebar h2 {
  margin-bottom: 12px;
  color: #55476e;
  font: 600 .72rem var(--font-mono);
  letter-spacing: .055em;
  text-transform: uppercase;
}
.docs-sidebar a {
  display: block;
  padding: 6px 8px;
  border-radius: 5px;
  color: #473a60;
  font-size: .88rem;
  font-weight: 550;
  text-decoration: none;
}
.docs-sidebar a:hover, .docs-sidebar a:focus-visible {
  color: #513381;
  background: #f1e9fc;
}

.guide {
  min-width: 0;
  padding: 31px min(4vw, 43px) 0;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--white);
}
.guide section {
  padding-bottom: 25px;
  margin-bottom: 27px;
  border-bottom: 1px solid var(--border);
}
.guide section:last-child { border-bottom: 0; margin-bottom: 0; }
.guide h2 {
  font-size: clamp(1.5rem, 3vw, 2.13rem);
  font-weight: 730;
  letter-spacing: -.045em;
}
.guide h3 { margin-top: 22px; font-weight: 650; letter-spacing: -.02em; }
.guide p { margin-top: 11px; }
.guide p, .guide li { color: #4f465f; }
.guide ul { margin: 11px 0 0; padding-left: 22px; }
.guide li + li { margin-top: 6px; }
.guide a { color: var(--accent); text-underline-offset: .17em; }
.guide :not(pre) > code {
  padding: .08em .27em;
  border-radius: 4px;
  color: #583b86;
  background: #f3eef9;
  font-size: .83em;
  overflow-wrap: anywhere;
}
.code-block {
  position: relative;
  min-width: 0;
  margin-top: 13px;
  border-radius: 8px;
  background: #1a1429;
}
.code-block pre {
  overflow-x: auto;
  padding: 13px 50px 13px 14px;
  color: #eee1ff;
  font-size: .8rem;
  line-height: 1.7;
}
.code-block .copy-button {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #e0c9fa;
  border-color: #5a4773;
  background: #312044;
}
.code-block .copy-button:hover { background: #49335f; }
.table-wrap {
  overflow-x: auto;
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.guide table {
  width: 100%;
  border-collapse: collapse;
  color: #4d435d;
  font-size: .85rem;
  text-align: left;
}
.guide th, .guide td { padding: 8px 11px; border-bottom: 1px solid var(--border); }
.guide th { color: #302443; background: #f5f0fa; }
.guide tr:last-child td { border-bottom: 0; }

@media (max-width: 960px) {
  .shell { width: calc(100% - 56px); }
  .hero-grid { gap: 33px; padding-block: 64px 71px; }
  .hero h1 { font-size: clamp(3.15rem, 6vw, 4.35rem); }
  .quick-card { padding: 17px; }
  .preview-grid { gap: 30px; }
  .docs-grid { grid-template-columns: 176px minmax(0, 1fr); gap: 23px; }
}
@media (max-width: 860px) {
  .hero-grid, .preview-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 30px; padding-block: 48px 53px; }
  .hero h1 { font-size: clamp(3.25rem, 10vw, 5.1rem); }
  .hero-summary { margin-top: 19px; }
  .hero-actions { margin-top: 22px; }
  .playground { max-width: 590px; }
  .quick-grid { grid-template-columns: minmax(0, 1fr); }
  .quick-card { padding: 20px; }
  .quick-card p { margin: 7px 0 12px; }
  .install-command { margin-bottom: 10px; }
  .install-command code { font-size: .75rem; }
  .getting-started, .preview-section { padding-block: 42px; }
}
@media (max-width: 590px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 60px; gap: 9px; }
  .brand { gap: 7px; font-size: 1rem; }
  .clock-mark { width: 28px; height: 28px; }
  .clock-mark::after { top: 8px; left: 13px; }
  .header-nav { gap: 11px; }
  .header-nav a, .github-link { font-size: .75rem; }
  .github-link { min-height: 31px; padding: 0 7px; gap: 3px; }
  .hero-grid { padding-block: 39px 45px; }
  .eyebrow { margin-bottom: 19px; }
  .hero h1 { margin-inline-start: -1px; }
  .panel-header { padding-inline: 12px; min-height: 49px; }
  .panel-body { padding: 14px 12px 12px; }
  .cron-fields { gap: 3px; }
  .cron-fields > div { padding-inline: 3px; }
  .cron-fields dt { font-size: .59rem; }
  .cron-fields dd { font-size: .68rem; }
  .result-description { font-size: .88rem; }
  .section-heading { gap: 7px; margin-bottom: 17px; }
  .section-heading .text-link { font-size: .76rem; white-space: nowrap; }
  .footer-inner { align-items: start; flex-direction: column; }
  .footer-inner nav { flex-wrap: wrap; }
  .docs-banner { padding-block: 42px; }
  .docs-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-block: 21px 44px; }
  .docs-sidebar { position: static; padding: 13px; }
  .docs-sidebar nav { display: flex; flex-wrap: wrap; gap: 2px; }
  .docs-sidebar a { font-size: .81rem; padding: 5px 7px; }
  .guide { padding: 18px 15px 0; }
}
@media (max-width: 460px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
    padding-block: 12px 9px;
  }
  .header-nav {
    grid-row: 2;
    grid-column: 1 / -1;
    gap: 19px;
  }
  .header-nav a { padding: 3px 0; font-size: .83rem; }
  .github-link { grid-row: 1; grid-column: 2; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 24px); }
  .brand { gap: 5px; }
  .github-link span { display: none; }
  .hero h1 { font-size: 3.1rem; }
  .expression-row input { padding-inline: 7px; }
  .explain-button { padding-inline: 7px; }
  .explain-button span { display: none; }
}
