:root {
  color-scheme: light;
  --cream: #faf6f0;
  --paper: #ffffff;
  --ink: #241913;
  --muted: #6c5b50;
  --edge: #e9dfd2;
  --edge-strong: #dcccb9;
  --accent: #bd4214;
  --accent-hover: #9f350d;
  --accent-soft: #fff1ea;
  --green: #16a34a;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

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

html, body {
  margin: 0;
  padding: 0;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(ellipse 65% 50% at 88% 8%, rgba(250, 123, 76, 0.22), transparent 62%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(242, 107, 56, 0.10), transparent 65%),
    var(--cream);
  display: flex;
  flex-direction: column;
}

.top {
  width: min(100% - 2rem, 66rem);
  margin-inline: auto;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--edge);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 780;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--edge);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(36, 25, 19, 0.05);
}

.logo-box img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.visit {
  font-size: 0.84rem;
  font-weight: 620;
  color: var(--accent);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 9px;
  border: 1px solid var(--edge);
  background: var(--paper);
  transition: background 0.15s, border-color 0.15s;
}

.visit:hover {
  background: var(--accent-soft);
  border-color: #f4c1aa;
}

.stage {
  width: min(100% - 2rem, 66rem);
  margin-inline: auto;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2.2rem 0 6rem;
}

.copy {
  max-width: 34rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 650;
  color: #15803d;
  background: #eaf9ef;
  border: 1px solid #ccefd8;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 820;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.lead {
  margin: 0 0 1.4rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.primary-btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #ffffff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 680;
  padding: 0.72rem 1.15rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.primary-btn:hover {
  background: var(--accent-hover);
}

.primary-btn:active {
  transform: scale(0.98);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--edge-strong);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 620;
  padding: 0.72rem 1.1rem;
  transition: background 0.15s, border-color 0.15s;
}

.secondary-btn:hover {
  background: var(--accent-soft);
  border-color: #f4c1aa;
}

.embed-card {
  background: var(--paper);
  border: 1px solid var(--edge);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(56, 34, 18, 0.06);
}

.embed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--edge);
  font-size: 0.78rem;
  font-weight: 640;
  color: var(--muted);
  background: #fffdfb;
}

.copy-btn {
  appearance: none;
  border: 1px solid var(--edge-strong);
  background: var(--paper);
  color: var(--accent);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 650;
  padding: 4px 10px;
  border-radius: 7px;
  cursor: pointer;
}

.copy-btn:hover {
  background: var(--accent-soft);
}

pre {
  margin: 0;
  padding: 0.9rem;
  overflow-x: auto;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

@media (max-width: 640px) {
  .stage {
    align-items: flex-start;
    padding-top: 1.5rem;
  }
}
