:root {
  color: #102a43;
  background: #f7f9fc;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  --navy: #06192c;
  --navy-2: #0b2540;
  --ink: #102a43;
  --body: #334e68;
  --muted: #708399;
  --paper: #f7f9fc;
  --white: #fff;
  --line: #d9e2ec;
  --cyan: #15bad4;
  --cyan-dark: #087f96;
  --green: #2e8b57;
  --orange: #e76f31;
  --red: #d93b3b;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
}
button,
select {
  font: inherit;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgb(255 255 255 / 14%);
  background: rgb(6 25 44 / 96%);
  color: white;
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  gap: 7px;
  align-items: baseline;
  text-decoration: none;
  font-weight: 800;
}
.brand span {
  color: var(--cyan);
}
.brand small {
  margin-left: 4px;
  color: #a9b8c8;
  font-size: 0.75rem;
}
.site-header nav {
  display: flex;
  gap: 24px;
}
.site-header nav a {
  color: #c5d1dc;
  font-size: 0.88rem;
  text-decoration: none;
}
.site-header nav a:hover {
  color: var(--cyan);
}

main {
  overflow: hidden;
}
.hero {
  position: relative;
  min-height: 610px;
  padding: 96px max(24px, calc((100vw - 1180px) / 2));
  overflow: hidden;
  background: var(--navy);
  color: white;
}
.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  content: "";
  background-image:
    linear-gradient(rgb(21 186 212 / 24%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(21 186 212 / 24%) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom right, black, transparent 72%);
}
.hero::after {
  position: absolute;
  width: 580px;
  height: 580px;
  right: -120px;
  top: 10px;
  border: 1px solid rgb(21 186 212 / 35%);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgb(21 186 212 / 4%),
    0 0 0 160px rgb(21 186 212 / 3%);
  content: "";
}
.hero > * {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hero .eyebrow {
  color: var(--cyan);
}
h1 {
  margin: 0;
  color: white;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.91;
  letter-spacing: -0.065em;
}
h1 span {
  color: var(--cyan);
}
.lede {
  max-width: 720px;
  margin: 30px 0;
  color: #c9d7e3;
  font-size: 1.25rem;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid #53677c;
  color: white;
  text-decoration: none;
}
.button.primary {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--navy);
  font-weight: 800;
}
.hero dl {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin: 56px 0 0;
}
.hero dl div {
  min-width: 180px;
  padding-top: 12px;
  border-top: 2px solid var(--cyan);
}
.hero dt {
  color: #8fa5b8;
  font-size: 0.72rem;
  text-transform: uppercase;
}
.hero dd {
  margin: 5px 0 0;
  font-weight: 700;
}

section:not(.hero) {
  max-width: 1180px;
  margin: 0 auto;
  padding: 82px 24px;
}
h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.start {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px 50px;
}
.start > p {
  grid-column: 1 / -1;
}
code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
code {
  color: var(--cyan-dark);
}
.copy-block {
  position: relative;
  min-width: 0;
}
.copy-block pre {
  min-height: 100%;
  margin: 0;
  padding: 24px;
  overflow: auto;
  border-top: 3px solid var(--cyan);
  background: var(--navy);
  color: #dce8f1;
  line-height: 1.65;
}
.copy-block pre code {
  color: inherit;
}
.copy {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 7px 10px;
  border: 1px solid #53677c;
  background: #0a2037;
  color: white;
  cursor: pointer;
  font-size: 0.76rem;
}
.copy:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.warning {
  padding: 18px 22px;
  border-left: 4px solid var(--orange);
  background: #fff1e9;
}

.catalog {
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.section-head label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}
select {
  min-width: 230px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}
.prompt-list {
  display: grid;
  gap: 24px;
}
.prompt-card {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 12px 30px rgb(16 42 67 / 5%);
}
.prompt-meta {
  padding: 24px;
  border-top: 4px solid var(--cyan);
  background: #edf3f8;
}
.prompt-meta .number {
  color: var(--cyan-dark);
  font-size: 2.7rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}
.prompt-meta h3 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.1;
}
.prompt-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.tag {
  padding: 4px 7px;
  background: white;
  color: var(--cyan-dark);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}
.prompt-body {
  min-width: 0;
  padding: 24px;
}
.prompt-body .setup {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--cyan);
  background: #f3f7fa;
  font-size: 0.83rem;
}
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.tab {
  padding: 9px 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.tab[aria-selected="true"] {
  border-color: var(--cyan);
  color: var(--ink);
  font-weight: 800;
}
.panel {
  position: relative;
}
.panel[hidden] {
  display: none;
}
.panel pre {
  max-height: 440px;
  margin: 0;
  padding: 22px;
  overflow: auto;
  background: var(--navy);
  color: #dce8f1;
  font-size: 0.82rem;
  line-height: 1.55;
  white-space: pre-wrap;
}
.panel .copy {
  top: 10px;
  right: 10px;
}
.reference-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}
.source-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.source-grid a {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--cyan);
  background: white;
  text-decoration: none;
}
.source-grid span {
  color: var(--muted);
  font-size: 0.85rem;
}
footer {
  padding: 28px 24px;
  background: var(--navy);
  color: #a9b8c8;
  text-align: center;
  font-size: 0.8rem;
}
.toast {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  padding: 12px 16px;
  background: var(--green);
  color: white;
  opacity: 0;
  transform: translateY(12px);
  transition: 0.2s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .site-header nav {
    display: none;
  }
  .hero {
    min-height: 560px;
    padding-top: 70px;
  }
  .hero::after {
    right: -360px;
  }
  .start,
  .prompt-card {
    grid-template-columns: 1fr;
  }
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }
  select {
    width: 100%;
  }
  .source-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
