/* Brick Garage — site styles */
:root {
  --bg: #080808;
  --bg-elev: #121214;
  --bg-card: #161618;
  --text: #f2f2f4;
  --text-dim: #a7a7ad;
  --text-faint: #6e6e75;
  --red: #e11a1a;
  --red-deep: #b00f0f;
  --chrome: #d7d7dc;
  --border: #262629;
  --maxw: 1080px;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header / nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0.04em; }
.nav-brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-dim); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 640px) { .nav-links { display: none; } }

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 96px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(225, 26, 26, 0.18), transparent 70%);
  pointer-events: none;
}
.hero-logo { width: clamp(168px, 26vw, 220px); height: clamp(168px, 26vw, 220px); margin: 0 auto 28px; display: block; filter: drop-shadow(0 12px 40px rgba(225,26,26,0.25)); }
.hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(180deg, #ff4040, var(--red-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lede {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 36px;
}

/* Buttons */
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(180deg, var(--red), var(--red-deep));
  color: #fff;
  box-shadow: 0 8px 28px rgba(225, 26, 26, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 34px rgba(225, 26, 26, 0.45); }
.btn-ghost { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: #3a3a3e; }

/* Section */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.section-head p { color: var(--text-dim); font-size: 17px; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: #3a3a3e; transform: translateY(-3px); }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(225,26,26,0.18), rgba(225,26,26,0.05));
  border: 1px solid rgba(225,26,26,0.25);
  margin-bottom: 18px; font-size: 22px;
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 15px; }

/* Screenshot gallery */
.shots { padding-top: 0; }
.shot-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 8px 24px 28px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shot-rail::-webkit-scrollbar { height: 8px; }
.shot-rail::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
.shot {
  flex: 0 0 auto;
  width: 248px;
  scroll-snap-align: center;
  text-align: center;
}
.shot img {
  width: 248px;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: block;
}
.shot span { display: block; margin-top: 14px; color: var(--text-faint); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* CTA band */
.band {
  background: linear-gradient(180deg, var(--bg-elev), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.band h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 14px; }
.band p { color: var(--text-dim); margin-bottom: 30px; font-size: 17px; }

/* Footer */
footer { padding: 48px 0; border-top: 1px solid var(--border); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.foot-brand { display: flex; align-items: center; gap: 12px; color: var(--text-dim); font-weight: 600; }
.foot-brand img { width: 28px; height: 28px; border-radius: 7px; }
.foot-links { display: flex; gap: 24px; }
.foot-links a { color: var(--text-faint); font-size: 14px; transition: color 0.2s; }
.foot-links a:hover { color: var(--text); }
.copyright { width: 100%; color: var(--text-faint); font-size: 13px; text-align: center; margin-top: 8px; }

/* Legal / content pages */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.doc .updated { color: var(--text-faint); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; }
.doc h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--text-dim); font-size: 16px; margin-bottom: 14px; }
.doc ul { padding-left: 22px; margin-bottom: 14px; }
.doc li { margin-bottom: 8px; }
.doc a { color: #ff5a5a; text-decoration: underline; text-underline-offset: 2px; }
.doc strong { color: var(--text); }
.back { display: inline-block; margin-bottom: 32px; color: var(--text-dim); font-size: 14px; font-weight: 600; }
.back:hover { color: var(--text); }
.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}
.contact-box a { color: #ff5a5a; }
