:root {
  --bg: #ebebf2;
  --bg-deep: #e2e2ec;
  --grid-dot: #c4c4d4;
  --text: #111118;
  --text-secondary: #55556a;
  --text-muted: #7a7a8c;
  --surface: #ffffff;
  --accent: #5e6ad2;
  --accent-hover: #3a47b8;
  --accent-soft: rgba(94, 106, 210, 0.1);
  --accent-ring: rgba(94, 106, 210, 0.22);
  --save: #10b981;
  --pile-red: rgba(220, 38, 38, 0.12);
  --pile-mint: rgba(16, 185, 129, 0.12);
  --pile-pink: rgba(219, 39, 119, 0.1);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-pop: 0 18px 50px rgba(40, 44, 80, 0.16), 0 4px 14px rgba(0, 0, 0, 0.06);
  --radius: 28px;
  --max: 1120px;
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--text);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 20;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 28px;
  background: rgba(235, 235, 242, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px var(--accent-ring);
}

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

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.btn-nav {
  background: var(--accent);
  color: #fff;
  padding: 9px 16px;
  font-size: 0.92rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 28px 36px;
  background-image: radial-gradient(var(--grid-dot) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 48px;
  pointer-events: none;
}

.hero::before {
  width: 380px;
  height: 220px;
  left: -40px;
  top: 80px;
  background: var(--pile-red);
  border: 1.5px solid rgba(220, 38, 38, 0.18);
}

.hero::after {
  width: 280px;
  height: 180px;
  right: 8%;
  top: 40px;
  background: var(--pile-mint);
  border: 1.5px solid rgba(16, 185, 129, 0.2);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  border-radius: 22px;
  box-shadow: var(--shadow-pop);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 16px;
}

.tagline {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: var(--text);
  font-weight: 520;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.lede {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 62ch;
  margin: 0 auto 28px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.hero-pills li {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.hero-shot,
.features,
.gallery,
.story,
.trust,
.cta {
  padding: 28px 28px 72px;
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

.feature-shot,
.gallery-grid figure,
.wide-shot,
.shot-frame {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}

.shot-frame {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 14px 0;
}

.shot-frame img,
.feature-shot img,
.gallery-grid img,
.wide-shot img {
  width: 100%;
  border-radius: 18px;
}

.shot-open {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

.shot-open img {
  transition: transform 0.35s ease;
}

.shot-open:hover img {
  transform: scale(1.015);
}

.shot-frame figcaption,
.wide-shot figcaption,
.gallery-grid figcaption {
  padding: 16px 18px 20px;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2,
.story h2,
.cta h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-secondary);
}

.feature {
  max-width: var(--max);
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.feature-flip { grid-template-columns: 1.15fr 1fr; }
.feature-flip .feature-copy { order: 2; }

.feature-num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}

.feature h3 {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.feature-copy p { color: var(--text-secondary); margin-bottom: 12px; }

.feature-caption {
  color: var(--text-muted) !important;
  font-size: 0.95rem;
}

.gallery-grid {
  max-width: var(--max);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gallery-grid strong,
.wide-shot strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}

.wide-shot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 12px 0;
}

.story {
  padding-top: 12px;
}

.story-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 32px;
  padding: 48px 44px;
  box-shadow: var(--shadow);
}

.story-card p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.story-card .btn { margin-top: 12px; }

.trust ul {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
}

.trust li {
  background: var(--surface);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.trust strong {
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.trust span {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.cta {
  text-align: center;
  padding-bottom: 96px;
}

.cta img {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.cta p {
  max-width: 56ch;
  margin: 0 auto 24px;
  color: var(--text-secondary);
}

.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 36px 28px 48px;
  display: grid;
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-brand img { border-radius: 9px; }

.footer-brand p,
.footer-note,
.footer nav a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--text); }

.lightbox {
  border: 0;
  padding: 16px 16px 20px;
  max-width: min(1100px, 94vw);
  max-height: calc(100vh - 32px);
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(17, 17, 24, 0.72);
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: 16px;
  box-shadow: var(--shadow-pop);
}

.lightbox-caption {
  color: #eee;
  margin-top: 12px;
  text-align: center;
}

.lightbox form {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.lightbox-close {
  display: block;
  background: #fff;
  color: #111;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .feature,
  .feature-flip {
    grid-template-columns: 1fr;
  }
  .feature-flip .feature-copy { order: 0; }
  .gallery-grid,
  .trust ul {
    grid-template-columns: 1fr;
  }
  .story-card { padding: 32px 24px; }
  .hero { padding-top: 48px; }
  .hero::before,
  .hero::after { opacity: 0.7; }
}
