:root {
  --bg: #0b0b0b;
  --panel: #151515;
  --line: #262626;
  --text: #ececea;
  --muted: #a3a39e;
  --lime: #8fd400;
  --lime-soft: #b6ec4a;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime-soft); }
a:hover { color: #fff; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: .02em; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(11, 11, 11, .88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand img { border-radius: 50%; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .9rem; white-space: nowrap; }
.brand b { color: var(--lime); font-weight: 700; }
.top nav { display: flex; gap: clamp(12px, 3vw, 28px); }
.top nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.top nav a:hover { color: var(--lime-soft); }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--lime); color: #0b0b0b; font-weight: 700; text-decoration: none;
  border: 2px solid var(--lime); font-size: 1rem; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--lime-soft); border-color: var(--lime-soft); color: #0b0b0b; }
.btn.ghost { background: transparent; color: var(--lime-soft); }
.btn.ghost:hover { background: var(--lime); color: #0b0b0b; }
.buttons, .stores { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center;
  padding: clamp(40px, 8vw, 96px) clamp(16px, 4vw, 40px);
}
.kicker { color: var(--lime); text-transform: uppercase; letter-spacing: .3em; font-size: .85rem; font-weight: 700; margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); font-weight: 800; letter-spacing: -.01em; }
.hero h1 span { color: var(--lime); }
.lede { color: var(--muted); font-size: 1.15rem; max-width: 34ch; margin: 0 0 28px; }
.hero-photo { margin: 0; }
.hero-photo img { border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.5); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
figcaption { color: var(--muted); font-size: .85rem; margin-top: 8px; }

/* Sections */
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 8vw, 88px) clamp(16px, 4vw, 40px); border-top: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 32px; }
.section-head p { color: var(--muted); margin: 0; }

/* Gallery: fixed-height rows; "wide" photos span two tiles */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(180px, 22vw, 260px); gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--panel); }
.gallery .wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 28px 14px 12px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.more { margin: 28px 0 0; }

/* Apps */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.app { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.app img { width: 72px; height: 72px; border-radius: 18px; flex: none; }
.app h3 { font-size: 1.25rem; margin-bottom: 2px; }
.app .sub { color: var(--lime); font-weight: 600; margin: 0 0 8px; }
.app p { margin: 0 0 8px; color: var(--muted); }
.app .links { margin: 8px 0 0; }
.stores { margin-top: 28px; }

/* About */
.about { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.about img { width: 100%; max-width: 260px; border-radius: 50%; }
.about p { color: var(--muted); max-width: 62ch; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 5vw, 56px); }
form label { display: block; margin-bottom: 16px; font-weight: 600; font-size: .95rem; }
form input, form textarea, form select {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-weight: 400;
}
form input:focus, form textarea:focus, form select:focus { outline: 2px solid var(--lime); outline-offset: 1px; border-color: transparent; }
.hp { position: absolute; left: -9999px; }
.elsewhere h3 { font-size: 1.1rem; }
.elsewhere a { display: block; padding: 16px 18px; margin-bottom: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 700; color: var(--text); }
.elsewhere a:hover { border-color: var(--lime); }
.elsewhere small { display: block; color: var(--muted); font-weight: 400; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px clamp(16px, 4vw, 40px); text-align: center; color: var(--muted); font-size: .9rem; }
.foot p { margin: 4px 0; }

/* Simple page (thanks / 404) */
.simple { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.simple img { width: 140px; margin: 0 auto 24px; border-radius: 50%; }
.simple p { color: var(--muted); }

/* Phones and small tablets */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { max-width: 460px; }
  .apps { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(140px, 30vw, 240px); }
  .gallery figure:last-child:nth-child(odd) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .brand span { display: none; }
  .top nav { gap: 14px; }
  .top nav a { font-size: .9rem; }
  .about { grid-template-columns: 1fr; }
  .about img { max-width: 160px; }
  .app { padding: 18px; gap: 14px; }
  .app img { width: 56px; height: 56px; border-radius: 14px; }
  .gallery { gap: 8px; }
  .gallery figcaption { font-size: .8rem; padding: 20px 10px 8px; }
}
