:root {
  --ink: #121316;
  --ink-2: #17181c;
  --panel: #1b1c21;
  --panel-2: #2a2c31;
  --text: #f3f1ec;
  --muted: #a19e96;
  --muted-2: #8b8881;
  --accent: #ffb38a;
  --accent-2: #a8e6cf;
  --warn: #ffe08a;
  --line: rgba(243, 241, 236, 0.12);
  --line-strong: rgba(243, 241, 236, 0.2);
  --radius: 14px;
  --max: 1120px;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 78% -10%, rgba(255, 179, 138, 0.1), transparent 62%),
    radial-gradient(700px 460px at 8% 16%, rgba(168, 230, 207, 0.07), transparent 60%),
    radial-gradient(620px 420px at 50% 100%, rgba(255, 224, 138, 0.05), transparent 60%),
    var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--ink); }

a { color: inherit; }

img { max-width: 100%; }

code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--accent);
  background: rgba(255, 179, 138, 0.08);
  border: 1px solid rgba(255, 179, 138, 0.16);
  border-radius: 5px;
  padding: 0.08em 0.32em;
}

pre code {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

button { font: inherit; }

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.15em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--accent);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 12px; }

/* Header */

.site-header { border-bottom: 1px solid var(--line); }

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img { width: 32px; height: 32px; }

.brand-accent { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13.5px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.16s ease;
}

.nav a:hover { color: var(--text); }

.nav-start {
  color: var(--accent) !important;
  font-weight: 700;
}

.nav-github {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--text) !important;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 13px;
}

.nav-github:hover { border-color: var(--accent); }

.lang-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: transparent;
}

.lang-select {
  max-width: 120px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lang-select option {
  background: var(--ink-2);
  color: var(--text);
}

.lang-select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.nav .icon { width: 15px; height: 15px; }

.nav-clean { white-space: nowrap; }

.phone-accent { color: #C4B5FD; }

/* Hero */

.hero { padding: 64px 0 56px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.8rem, 5.6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.lede {
  max-width: 560px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.button:hover { transform: translateY(-1px); }

.button-primary {
  background: var(--accent);
  color: var(--ink);
}

.button-primary:hover { background: #ffc7a8; }

.button-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.button-ghost:hover {
  background: rgba(243, 241, 236, 0.04);
  border-color: var(--muted);
}

.trust-line {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-copy,
.hero-card { min-width: 0; }

.terminal {
  min-width: 0;
  max-width: 100%;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.terminal-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted-2);
}

.terminal-bar span:nth-child(1) { background: var(--accent); }
.terminal-bar span:nth-child(2) { background: var(--warn); }
.terminal-bar span:nth-child(3) { background: var(--accent-2); }

.terminal-bar em {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.terminal pre {
  max-width: 100%;
  margin: 0;
  padding: 18px 18px 6px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.75;
}

.prompt { color: var(--accent); }

.copy-button {
  min-height: 44px;
  margin: 0 18px 18px;
  padding: 8px 12px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.copy-button:hover {
  color: var(--text);
  border-color: var(--accent);
}

.copy-button-inline { margin: 0; }

.text-button {
  padding: 0;
  color: var(--accent);
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 179, 138, 0.45);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.text-button:hover {
  color: var(--text);
  border-bottom-color: currentColor;
}

.hero-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* App preview */

.app-window {
  min-width: 0;
  max-width: 100%;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.app-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.app-bar span:nth-child(1) { background: var(--accent); }
.app-bar span:nth-child(2) { background: var(--warn); }
.app-bar span:nth-child(3) { background: var(--accent-2); }

.app-bar em {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-body { padding: 20px; }

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.app-badge {
  padding: 3px 8px;
  color: var(--accent);
  background: rgba(255, 179, 138, 0.08);
  border: 1px solid rgba(255, 179, 138, 0.3);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.app-step { color: var(--muted-2); font-size: 11px; }

.app-body h3 {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.app-summary {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.app-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.app-row b {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.app-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.app-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.app-button-ghost {
  background: transparent;
  border: 1px solid rgba(168, 230, 207, 0.4);
  color: var(--accent-2);
}

.app-note {
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 11px;
}

.skill-prompt {
  min-width: 0;
  margin: 0;
  padding: 14px;
  color: var(--text);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.skill-prompt code {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  font-size: inherit;
}

/* Provider strip */

.provider-strip {
  padding: 12px 0;
  overflow: hidden;
  background: rgba(27, 28, 33, 0.35);
  border-top: 1px solid var(--line);
}

.provider-strip-viewport {
  padding: 0 28px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent);
}

.provider-strip-track {
  display: flex;
  width: max-content;
  animation: provider-marquee 90s linear infinite;
  will-change: transform;
}

.provider-strip:hover .provider-strip-track { animation-play-state: paused; }

.provider-strip-group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
}

.provider-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-2);
  font-size: 12px;
  white-space: nowrap;
}

.provider-strip-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.9;
}

@keyframes provider-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

/* Start */

.start-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.start-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.start-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.start-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.start-card .button { margin-top: 8px; }

.start-label {
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.start-note {
  margin: 0;
  color: var(--muted-2);
  font-size: 11.5px;
}

.start-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 2px;
}

.start-icon img { width: 40px; height: 40px; }

.start-icon-skill {
  color: var(--accent);
  background: rgba(255, 179, 138, 0.08);
  border: 1px solid rgba(255, 179, 138, 0.3);
  border-radius: 10px;
}

.start-icon-skill .icon { width: 22px; height: 22px; }

/* Sections */

.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-head p:not(.kicker) {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  border-top: 1px solid var(--line-strong);
  padding-top: 18px;
}

.step-number {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.steps h3 {
  margin: 10px 0 8px;
  font-size: 1.2rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* CLI */

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

.command {
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.command code {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 700;
}

.command p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.command code + code { margin-left: 6px; }

.command-undo { border-left: 2px solid var(--accent-2); }
.command-undo code { color: var(--accent-2); }

.command-unsub { border-left: 2px solid var(--warn); }
.command-unsub code { color: var(--warn); }

.all-commands {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.all-commands summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 12px 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.all-commands summary::-webkit-details-marker { display: none; }

.all-commands summary::after {
  content: "+";
  color: var(--accent);
  font-size: 18px;
  font-weight: 400;
}

.all-commands[open] summary::after { content: "−"; }

.command-grid-small {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 4px 0 18px;
}

.section-link {
  margin: 20px 0 0;
  font-size: 13.5px;
}

.section-link a,
.section-note a {
  color: var(--accent);
  text-decoration: none;
}

.section-link a:hover,
.section-note a:hover { text-decoration: underline; }

/* Safety */

.why-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 18px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  scroll-margin-top: 24px;
}

.why-strip h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.why-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

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

.why-points li {
  display: grid;
  gap: 2px;
}

.why-points b { font-size: 13px; }

.why-points span {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

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

.safety-card {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.safety-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.safety-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.section-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}

#why { scroll-margin-top: 24px; }

/* Providers */

.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.provider-grid li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.provider-grid li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.provider-logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 8px;
}

.provider-logo-wide { width: 44px; height: 44px; }

.provider-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.provider-grid b { font-size: 14px; }

.provider-grid li > div > span {
  color: var(--muted);
  font-size: 12px;
}

/* FAQ */

.faq {
  max-width: 820px;
  border-top: 1px solid var(--line);
}

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 18px;
  font-weight: 400;
}

.faq details[open] summary::after { content: "−"; }

.faq p {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Feedback */

.feedback-form {
  max-width: 880px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feedback-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.feedback-field-wide { grid-column: 1 / -1; }

.feedback-field label {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.feedback-field input,
.feedback-field select,
.feedback-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--text);
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
}

.feedback-field textarea {
  min-height: 120px;
  resize: vertical;
}

.feedback-field input:focus,
.feedback-field select:focus,
.feedback-field textarea:focus {
  border-color: var(--accent);
}

.feedback-field input::placeholder,
.feedback-field textarea::placeholder { color: var(--muted-2); }

.feedback-hint {
  margin: 0;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.5;
}

.feedback-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.feedback-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(168, 230, 207, 0.05);
  border: 1px solid rgba(168, 230, 207, 0.22);
  border-radius: 9px;
}

.feedback-consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent-2);
}

.feedback-consent label {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.feedback-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.feedback-actions .button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.feedback-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.feedback-status[data-tone="error"] { color: #ff9d9d; }
.feedback-status[data-tone="success"] { color: var(--accent-2); }

/* CTA */

.cta {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.cta-inner {
  padding: 48px 32px;
  text-align: center;
  background: linear-gradient(135deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line-strong);
  border-radius: 18px;
}

.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
}

.cta .hero-actions { justify-content: center; }

/* Footer */

.site-footer {
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.footer-brand img { width: 26px; height: 26px; }

.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-2);
  text-decoration: none;
}

.footer-nav .icon {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

.footer-nav a:hover { color: var(--text); }

.footer-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

/* Toast */

.copy-helper {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  padding: 10px 16px;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(16px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 404 */

.not-found {
  padding: 100px 0;
  text-align: center;
}

.not-found .lede { margin-inline: auto; }

.not-found .hero-actions { justify-content: center; }

.lang-links {
  margin-top: 28px;
  line-height: 1.9;
}

.lang-links a {
  color: var(--accent-2);
  text-decoration: none;
}

.lang-links a:hover { text-decoration: underline; }

/* Responsive */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .command-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding: 48px 0 44px; }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 66px;
    flex-wrap: wrap;
    gap: 14px;
    padding-block: 12px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    padding-bottom: 4px;
    font-size: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }

  .lang-select-wrap {
    order: -1;
    margin-right: 4px;
    min-height: 40px;
  }

  .hero { padding: 36px 0 40px; }
  h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .lede { font-size: 1.02rem; }
  .command-grid,
  .command-grid-small,
  .safety-grid,
  .provider-grid,
  .start-grid,
  .why-strip,
  .feedback-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .cta { padding: 48px 0; }
  .cta-inner { padding: 36px 20px; }
  .feedback-form { padding: 18px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }

  .provider-strip { padding: 9px 0; }
  .provider-strip-viewport { padding: 0 16px; }
  .provider-strip-group { gap: 28px; padding-right: 28px; }
  .provider-strip-item { gap: 7px; font-size: 11.5px; }
  .provider-strip-item img { width: 20px; height: 20px; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .button,
  .start-card .button { width: 100%; }
  .skill-prompt { font-size: 10px; }
  .terminal pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  /* The provider marquee is intentionally kept moving even when the OS asks
     for reduced motion. It is decorative, slow and pauses on hover. */
  .provider-strip-track {
    animation: provider-marquee 90s linear infinite !important;
    animation-duration: 90s !important;
    animation-iteration-count: infinite !important;
  }
}
