:root {
  --bg: #0d1117;
  --panel: #161c25;
  --text: #ece7dc;
  --muted: #b5ad9c;
  --gold: #f0c36b;
  --gold-deep: #d99a3a;
  --line: rgba(240, 195, 107, 0.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.2; }
img { max-width: 100%; height: auto; display: block; }   /* height:auto keeps the shape when the width shrinks */

.hero {
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(to bottom, rgba(13,17,23,0.15) 0%, rgba(13,17,23,0.45) 45%, var(--bg) 100%),
              url("img/hero.jpg") center 35% / cover no-repeat;
  padding: 48px 16px 64px;
}
.hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.app-icon { width: 120px; height: 120px; border-radius: 27px; margin: 0 auto 20px; box-shadow: 0 12px 40px rgba(0,0,0,0.55); }
.hero h1 { font-size: clamp(42px, 8vw, 72px); margin: 0 0 12px; text-shadow: 0 2px 18px rgba(0,0,0,0.6); }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold); }
.verse { font-family: Georgia, serif; font-style: italic; font-size: 20px; color: var(--text); margin: 0 0 18px; text-shadow: 0 1px 10px rgba(0,0,0,0.7); }
.verse span { display: block; font-style: normal; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.pitch { font-size: 19px; color: var(--text); max-width: 620px; margin: 0 auto 28px; text-shadow: 0 1px 10px rgba(0,0,0,0.8); }
.button {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #201505;
  font-weight: 700; text-decoration: none; box-shadow: 0 6px 24px rgba(217,154,58,0.35);
}
.button:hover { filter: brightness(1.06); }

main { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; border-bottom: 1px solid var(--line); }
section:last-child { border-bottom: 0; }
h2 { font-size: clamp(28px, 4vw, 38px); color: var(--gold); margin: 0 0 18px; text-align: center; }
.intro p, .demo p { max-width: 720px; margin: 0 auto; text-align: center; color: var(--text); }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shots figure { margin: 0; }
.shots img { border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.shots figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 10px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid article { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.grid h3 { margin: 0 0 8px; font-size: 21px; color: var(--text); }
.grid p { margin: 0; color: var(--muted); font-size: 16px; }

footer { text-align: center; color: var(--muted); font-size: 14px; padding: 32px 16px 48px; }

@media (max-width: 900px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hero { min-height: 86vh; padding-bottom: 44px; }
  .app-icon { width: 96px; height: 96px; border-radius: 22px; }
  .pitch { font-size: 17px; }
  .grid { grid-template-columns: 1fr; }
  .shots { gap: 12px; }
}
