:root {
  --bg: #0D1117;
  --surface: #161B22;
  --border: #30363D;
  --text: #C9D1D9;
  --text-dim: #8B949E;
  --blue: #58A6FF;
  --green: #3FB950;
  --orange: #F0883E;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  padding: 24px 16px 64px;
}

.window {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}

.titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #0D1117;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }

.titlebar-path {
  margin-left: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
}

.prompt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--green);
  margin: 0 0 12px;
}

h1, h2 {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.25;
}

.hero {
  padding: 40px 28px 32px;
  border-bottom: 1px solid var(--border);
}

.hero h1 { font-size: 34px; color: #F0F3F6; }

.hero-confirm h1 { color: var(--green); }

.tagline {
  color: var(--text-dim);
  font-size: 16px;
  margin: 0;
}

main { padding: 8px 28px 12px; }

section { padding: 32px 0; border-bottom: 1px solid var(--border); }
section:last-child { border-bottom: none; }

.product {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--border);
}
.product:last-child { border-bottom: none; }

.product-info h2 {
  font-size: 16px;
  color: #F0F3F6;
  margin-bottom: 6px;
}

.product-desc {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0 0 6px;
  max-width: 46ch;
}

.product-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--orange);
  margin: 0;
}

.product-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  color: var(--text-dim);
}

.buy-btn, .submit-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: #0D1117;
  background: var(--blue);
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.buy-btn:hover, .submit-btn:hover { filter: brightness(1.1); }
.buy-btn:active, .submit-btn:active { filter: brightness(0.9); }

.about p { color: var(--text-dim); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}

.contact-form label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
  background: #0D1117;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 10px 12px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.submit-btn {
  align-self: flex-start;
  margin-top: 14px;
  background: var(--green);
}

.text-link {
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
}
.text-link:hover { text-decoration: underline; }

footer {
  padding: 24px 28px 32px;
}

footer p:last-child {
  color: var(--text-dim);
  font-size: 13px;
  margin: 0;
}

@media (max-width: 480px) {
  .hero { padding: 32px 20px 24px; }
  main { padding: 4px 20px 8px; }
  .hero h1 { font-size: 28px; }
  .product { flex-direction: column; align-items: flex-start; }
  .product-action { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
