/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:   #0d0d0d;
  --white:   #f5f5f0;
  --grey:    #2a2a2a;
  --mid:     #6b6b6b;
  --accent:  #e8401c;
  --ink:     #1a1a1a;
  --border:  #e0e0db;
  --radius:  4px;
  --max-w:   1100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

/* === Utility === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.wordmark-sm {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--mid);
}

.wm-accent { color: var(--accent); }

/* === Hero === */
.hero {
  background: var(--black);
  color: var(--white);
  padding-bottom: 6rem;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.device-placeholder {
  aspect-ratio: 4 / 3;
  border: 1px solid #222;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}

h1 {
  font-size: clamp(3.8rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
}

.h1-accent { color: var(--accent); }

.tagline {
  font-size: 1.05rem;
  color: #777;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s;
}

.btn:hover {
  background: var(--accent);
  color: var(--white);
}

/* === Description === */
.description {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.description-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5rem;
  align-items: center;
}

.description h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.description-text p {
  color: #555;
  margin-bottom: 1rem;
  max-width: 56ch;
}

.pullquote {
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.5rem;
}

/* === Features === */
.features {
  padding: 6rem 0;
  background: #fafaf7;
  border-bottom: 1px solid var(--border);
}

.features > .container > h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: -0.01em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.feature-card {
  padding: 2.75rem 2.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.feature-card h3 {
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.65;
}

/* === Gallery === */
.gallery {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.gallery > .container > h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  cursor: zoom-in;
  transition: opacity 0.15s;
}

.gallery-grid img:hover { opacity: 0.85; }

.gallery-placeholder {
  color: var(--mid);
  font-style: italic;
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  cursor: zoom-out;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.5;
  transition: opacity 0.15s;
  padding: 0.25rem;
}

.lightbox-close:hover { opacity: 1; }

/* === Footer === */
.footer {
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer p {
  color: var(--mid);
  font-size: 0.85rem;
}

/* === Responsive === */
@media (max-width: 800px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3.5rem 2rem 0;
  }

  .hero-text { order: -1; }

  .description-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
}

