/* Pumpkin Lights — a dark, warm night. One stylesheet for every page. */
:root {
  --night: #0b0712;
  --night-2: #140c20;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4ece4;
  --muted: rgba(244, 236, 228, 0.66);
  --faint: rgba(244, 236, 228, 0.45);
  --ember: #ff8a1f;
  --ember-2: #ffb347;
  --radius: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 70% -10%, #241433 0%, transparent 60%), var(--night);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ember-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }

/* Header */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 44px clamp(16px, 4vw, 48px) 0;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.brand img { border-radius: 7px; }
.lang { color: var(--muted); font-size: 15px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.lang:hover { color: var(--text); text-decoration: none; border-color: rgba(255, 255, 255, 0.2); }

/* Hero: the menu-bar scene, with the pitch on top of its empty lower half */
.hero { position: relative; overflow: hidden; }
.hero .scene { width: 100%; height: auto; min-height: 520px; object-fit: cover; object-position: 50% 0; }
.hero .intro {
  position: absolute; left: clamp(16px, 6vw, 96px); right: 16px; bottom: clamp(24px, 6vw, 72px);
  max-width: 560px;
}
.hero h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 800; margin-bottom: 0.2em; }
.hero .lead { font-size: clamp(20px, 2.4vw, 26px); margin: 0; }
.hero .sub { font-size: clamp(17px, 2vw, 21px); color: var(--muted); margin: 0.2em 0 1.2em; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.more { color: var(--muted); }
.fine { color: var(--faint); font-size: 14px; margin-top: 1em; }
.sandbox-note { color: #7fd1ff; font-size: 14px; }

/* Buttons */
.buy {
  font: inherit; font-weight: 600; font-size: 17px; cursor: pointer;
  padding: 13px 24px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--text); background: rgba(255, 255, 255, 0.06);
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.buy.primary {
  border-color: transparent; color: #1b0d02;
  background: linear-gradient(180deg, var(--ember-2), var(--ember));
  box-shadow: 0 8px 30px rgba(255, 138, 31, 0.35);
}
.buy:not([disabled]):hover { transform: translateY(-1px); box-shadow: 0 10px 36px rgba(255, 138, 31, 0.45); }
.buy[disabled] { cursor: default; opacity: 0.85; }
a.buy { display: inline-block; text-decoration: none; }

/* Feature sections */
main { display: block; }
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center;
  max-width: 1120px; margin: 0 auto; padding: clamp(56px, 9vw, 120px) clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.feature.flip .text { order: 2; }
.feature:not(:has(.gallery)) { grid-template-columns: 1fr; max-width: 760px; text-align: center; }
.feature h2 { font-size: clamp(28px, 3.6vw, 40px); }
.feature p { color: var(--muted); font-size: 18px; margin: 0; }
.gallery { display: grid; gap: 14px; align-items: end; justify-items: center; }
.gallery.g2 { grid-template-columns: 1fr 1fr; }
.gallery.g6 { grid-template-columns: repeat(3, 1fr); }
.gallery img { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45)); }
#pumpkins .gallery img, #carved .gallery img { width: 100%; }
#make-it-yours .gallery img { width: 46%; }

/* Pricing */
.pricing { text-align: center; max-width: 960px; margin: 0 auto; padding: clamp(56px, 9vw, 120px) clamp(16px, 4vw, 48px); border-top: 1px solid var(--line); }
.pricing h2 { font-size: clamp(30px, 4vw, 44px); }
.pricing > p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.tier { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 18px; }
.tier.featured { border-color: rgba(255, 138, 31, 0.5); box-shadow: 0 0 0 1px rgba(255, 138, 31, 0.25), 0 20px 60px rgba(255, 138, 31, 0.12); }
.tier h3 { font-size: 18px; color: var(--muted); font-weight: 600; }
.tier .price { font-size: 40px; font-weight: 800; margin: 4px 0 18px; }
.tier .buy { width: 100%; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 100px) clamp(16px, 4vw, 48px); border-top: 1px solid var(--line); }
.faq h2 { font-size: clamp(28px, 3.6vw, 40px); text-align: center; margin-bottom: 1em; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--faint); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Documents (terms, refunds, privacy, thanks) */
.doc { max-width: 720px; margin: 0 auto; padding: 140px clamp(16px, 4vw, 48px) 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); }
.doc h2 { font-size: 20px; margin-top: 2em; }
.doc p { color: var(--muted); }
.doc .updated { color: var(--faint); font-size: 14px; }
.thanks { text-align: center; }
.thanks .download { margin-top: 2em; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px clamp(16px, 4vw, 48px) 56px; text-align: center; color: var(--faint); font-size: 14px; }
.foot p { margin: 0.3em 0; }
.foot nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 14px; }
.foot nav a { color: var(--muted); }

/* Phones */
@media (max-width: 760px) {
  .top { padding-top: 20px; }
  .hero .scene { min-height: 0; height: 74vh; object-position: 50% 0; }
  .hero .intro { bottom: 24px; }
  .feature { grid-template-columns: 1fr; }
  .feature.flip .text { order: 0; }
  .tiers { grid-template-columns: 1fr; }
  .gallery.g6 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}

/* Thanks page: the licence key */
.license { margin: 2.4em auto 0; padding: 24px; max-width: 560px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.license h2 { font-size: 18px; margin: 0 0 14px; color: var(--muted); font-weight: 600; }
.keybox { display: flex; gap: 10px; align-items: stretch; }
.keybox code {
  flex: 1; min-width: 0; text-align: left; font: 13px/1.5 ui-monospace, "SF Mono", Menlo, monospace; color: var(--text);
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  word-break: break-all; user-select: all;
}
.copy { font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.06); color: var(--text); }
.copy:hover { background: rgba(255, 255, 255, 0.1); }
.license .activate { margin: 18px 0 0; }
.license .fine { margin: 12px 0 0; }
.license .test { color: #7fd1ff; }
.waiting { color: var(--muted); margin: 0; }
.slow { color: var(--ember-2); margin: 0; }
.steps { text-align: left; max-width: 460px; margin: 2em auto 0; color: var(--muted); padding-left: 1.4em; }
.steps li { margin: 0.4em 0; }
