:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --ink: #111111;
  --muted: #5d6675;
  --panel: #ffffff;
  --panel-strong: #0d0f14;
  --line: #dfe4ec;
  --accent: #0ea5a4;
  --accent-dark: #087f7e;
  --warm: #f5b44b;
  --soft-blue: #dbeafe;
  --shadow: 0 24px 70px rgba(22, 28, 45, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(14, 165, 164, 0.14), transparent 34%),
    linear-gradient(280deg, rgba(245, 180, 75, 0.2), transparent 30%),
    var(--bg);
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: 52px 0;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 650;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(14, 165, 164, 0.14);
}

.mark {
  width: clamp(70px, 10vw, 88px);
  height: auto;
  margin: 34px 0 24px;
  filter: drop-shadow(0 18px 36px rgba(17, 17, 17, 0.16));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3.1rem, 7vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lede {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 760;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

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

.button:focus-visible {
  outline: 3px solid rgba(14, 165, 164, 0.32);
  outline-offset: 3px;
}

.primary {
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.18);
}

.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.preview {
  display: flex;
  justify-content: center;
}

.preview-window {
  width: min(100%, 440px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 42px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #191c24;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-bar span:nth-child(1) {
  background: #ff6b6b;
}

.window-bar span:nth-child(2) {
  background: var(--warm);
}

.window-bar span:nth-child(3) {
  background: var(--accent);
}

.terminal {
  min-height: 270px;
  padding: clamp(22px, 5vw, 32px);
  display: grid;
  align-content: center;
  gap: 16px;
  background:
    linear-gradient(140deg, rgba(219, 234, 254, 0.08), transparent 40%),
    var(--panel-strong);
}

.terminal p {
  margin: 0;
  color: #d7dce6;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: clamp(0.84rem, 1.5vw, 0.95rem);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.terminal span {
  color: var(--warm);
  margin-right: 9px;
}

.terminal .success {
  color: #9af5d7;
}

.terminal .success span {
  color: #9af5d7;
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 28px, 620px);
    grid-template-columns: 1fr;
    align-items: start;
    padding: 36px 0;
  }

  .hero {
    align-items: center;
    text-align: center;
  }

  .actions {
    justify-content: center;
  }

  .button {
    flex: 1 1 180px;
  }
}
