:root {
  --ink: #1e2a44;
  --ink-soft: #2a3858;
  --brass: #c8893b;
  --brass-deep: #8d5e22;
  --paper: #f4f6f8;
  --white: #ffffff;
  --text: #1c2433;
  --muted: #5c6778;
  --line: rgba(30, 42, 68, 0.12);
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

main { flex: 1; min-width: 0; }

.site-header,
.site-footer,
.wrap,
.hero,
.hero-shot,
.shot-row,
.shot-row figure {
  min-width: 0;
  max-width: 100%;
}

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

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

a:hover { color: var(--brass-deep); }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--white);
  padding: 8px 12px;
  z-index: 10;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

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

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}

.nav a[aria-current="page"] {
  color: var(--brass-deep);
  font-weight: 650;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0 32px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--brass-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.lede {
  margin: 20px 0 0;
  max-width: 38rem;
  font-size: 19px;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 650;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover { background: var(--ink-soft); color: var(--white); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.hero-shot {
  margin: 0;
}

.hero-shot img {
  width: min(100%, 320px);
  margin-left: auto;
  border-radius: 28px;
}

.section {
  padding: 56px 0;
}

.section h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.section-intro {
  margin: 0 0 28px;
  max-width: 40rem;
  color: var(--muted);
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.shot-row figure {
  margin: 0;
  scroll-snap-align: start;
}

.shot-row img {
  width: 100%;
  border-radius: 22px;
  background: var(--ink);
}

.shot-row figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.features.follow {
  margin-top: 16px;
}

.card {
  margin: 0;
  padding: 22px;
  background: var(--paper);
  border-radius: 16px;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
}

.card p { margin: 0; color: var(--text); }

.stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.stage {
  padding: 18px;
  border-top: 3px solid var(--brass);
  background: var(--paper);
  border-radius: 0 0 14px 14px;
}

.stage h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 16px;
}

.stage p { margin: 0; color: var(--text); }

.notice {
  display: grid;
  gap: 8px;
  padding: 28px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--white);
}

.notice h2 { color: var(--white); margin: 0; }

.notice p { margin: 0; color: rgba(255, 255, 255, 0.86); }

.notice a { color: var(--white); }

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--white);
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--ink);
}

.faq p { margin: 10px 0 0; }

.page-hero { padding: 56px 0 8px; }

.page-hero h1 { font-size: clamp(36px, 5vw, 52px); }

.contact-email {
  display: inline-block;
  margin-top: 12px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.legal {
  padding-bottom: 72px;
  overflow-wrap: break-word;
}

code { overflow-wrap: anywhere; }

.legal h2 {
  margin: 36px 0 8px;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal p, .legal li { color: var(--text); }

.legal ul { margin: 8px 0 0; padding-left: 1.2rem; }

.legal li + li { margin-top: 6px; }

.updated {
  color: var(--muted);
  margin-top: 12px;
}

.site-footer {
  margin-top: 24px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 32px;
  padding: 36px 0;
}

.site-footer a { color: var(--white); }

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
}

.site-footer p { margin: 0; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

@media (max-width: 800px) {
  .hero, .features, .stages { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .hero-shot img { margin: 0 auto; }
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
    gap: 8px;
  }
  .nav { flex-wrap: wrap; gap: 12px 16px; }
  .shot-row {
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .shot-row figure { scroll-snap-align: start; }
}
