* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Google Sans", Roboto, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif;
  color: #0f172a;
  line-height: 1.55;
  font-size: 16px;
  background: #ffffff;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 60%, #ffffff 100%);
  padding: 72px 0 48px;
  border-bottom: 1px solid #fde68a;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #92400e;
  background: #fef3c7;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 20px;
  border: 1px solid #fde68a;
}

.hero h1 {
  font-size: 64px;
  line-height: 1;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.hero .tagline {
  font-size: 22px;
  line-height: 1.3;
  color: #334155;
  font-weight: 500;
  margin: 0 0 20px;
}

.hero .lead {
  font-size: 16px;
  color: #475569;
  margin: 0 0 24px;
  max-width: 540px;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.45);
}

.btn-ghost {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

.btn-ghost:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.soon {
  font-size: 13px;
  color: #78716c;
  font-style: italic;
}

.hero-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 40px -8px rgba(15, 23, 42, 0.18);
  border: 1px solid #fde68a;
}

/* Sections */
section {
  padding: 80px 0;
}

section:nth-of-type(even) {
  background: #fafaf9;
}

h2 {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

.how .steps {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  gap: 20px;
  max-width: 780px;
}

.how .steps li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.step-num {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #92400e;
  background: #fef3c7;
  border-radius: 50%;
  font-size: 16px;
}

.how code {
  background: #fef3c7;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: #78350f;
}

.formula {
  background: #0f172a;
  color: #f1f5f9;
  padding: 24px 28px;
  border-radius: 12px;
  max-width: 780px;
}

.formula-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fbbf24;
  margin-bottom: 10px;
}

.formula code {
  display: block;
  background: transparent;
  color: #fef3c7;
  font-size: 14px;
  padding: 0;
  margin-bottom: 12px;
}

.formula-note {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.formula-note code {
  background: #1e293b;
  color: #fde68a;
}

.lang-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.lang-grid span {
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  color: #334155;
}

.privacy-teaser p {
  max-width: 680px;
  color: #475569;
  margin-bottom: 24px;
}

/* Changelog */
.changelog .cl-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  max-width: 780px;
  display: grid;
  gap: 14px;
}

.changelog .cl-list li {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 22px;
  position: relative;
}

.changelog .cl-ver {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-weight: 700;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin-right: 10px;
}

.changelog .cl-date {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.changelog .cl-list p {
  margin: 8px 0 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
}

.changelog code {
  background: #fef3c7;
  color: #78350f;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
}

.cl-foot {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.site-footer {
  padding: 32px 0;
  background: #0f172a;
  color: #cbd5e1;
  font-size: 13px;
}

.site-footer a {
  color: #fbbf24;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer strong {
  color: #ffffff;
}

.foot-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.dot {
  color: #475569;
  margin: 0 6px;
}

/* More projects banner (between content and footer) */
.more-projects {
  padding: 24px 0;
  background: #fef3c7;
  border-top: 1px solid #fde68a;
  border-bottom: 1px solid #fde68a;
  text-align: center;
}

.more-projects p {
  margin: 0;
  font-size: 14px;
  color: #78350f;
  line-height: 1.6;
}

.more-projects a {
  color: #78350f;
  text-decoration: underline;
  text-decoration-color: rgba(120, 53, 15, 0.35);
  text-underline-offset: 3px;
}

.more-projects a:hover {
  text-decoration-color: rgba(120, 53, 15, 0.9);
}

.more-projects .dot {
  color: #b45309;
  margin: 0 8px;
}
