:root {
  color-scheme: light dark;
  --ink: #17181b;
  --muted: #5b6164;
  --line: rgba(30, 50, 45, 0.12);
  --accent: #a2392a;
  --accent-ink: #ffffff;
  --ground: #eef5f2;
  --card: rgba(255, 255, 255, 0.78);
  --card-solid: #ffffff;
  --shadow: 0 18px 40px rgba(30, 60, 55, 0.1);
  --radius: 28px;
  --maxw: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ecedf0;
    --muted: #a3a9ad;
    --line: rgba(255, 255, 255, 0.14);
    --accent: #e08a78;
    --accent-ink: #1a1114;
    --ground: #101316;
    --card: rgba(255, 255, 255, 0.06);
    --card-solid: #171b1f;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ground);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* header */
.site-head {
  flex-wrap: wrap;
  row-gap: 10px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 24px;
}

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

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 72px;
}

.hero-bg {
  position: absolute;
  inset: -60px -60px auto -60px;
  height: 720px;
  background: url("assets/img/hero-bg.jpg") center 30% / cover no-repeat;
  filter: blur(46px) saturate(1.05);
  opacity: 0.75;
}

.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(238, 245, 242, 0.55) 0%, rgba(238, 245, 242, 0.88) 55%, var(--ground) 100%);
}

@media (prefers-color-scheme: dark) {
  .hero-bg {
    opacity: 0.22;
  }
  .hero-fade {
    background: linear-gradient(180deg, rgba(16, 19, 22, 0.55) 0%, rgba(16, 19, 22, 0.9) 55%, var(--ground) 100%);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.lede {
  margin: 0 auto 30px;
  max-width: 640px;
  font-size: clamp(19px, 2.2vw, 23px);
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border: none;
}

.btn.secondary {
  background: var(--card-solid);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.note {
  font-size: 15px;
  color: var(--muted);
}

/* sections */
section {
  padding: 56px 0;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h3 {
  margin: 0 0 8px;
  font-size: 21px;
  letter-spacing: -0.01em;
}

.sub {
  margin: 0 0 28px;
  max-width: 620px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split.narrow-media {
  grid-template-columns: 1.15fr 0.85fr;
}

ul.points {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.points li {
  position: relative;
  padding: 0 0 0 26px;
  margin-bottom: 14px;
}

ul.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--accent);
}

/* media */
figure {
  margin: 0;
}

video {
  display: block;
  width: 100%;
  border-radius: 22px;
  background: #000;
  box-shadow: var(--shadow);
}

video.portrait {
  max-width: 320px;
  margin: 0 auto;
}

figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.shots img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* prose pages */
.prose {
  max-width: 680px;
  margin: 0 auto;
  padding: 8px 24px 40px;
}

.prose h1 {
  font-size: clamp(36px, 5vw, 52px);
  text-align: left;
}

.prose h2 {
  font-size: 24px;
  margin-top: 36px;
}

.prose .muted {
  color: var(--muted);
}

.prose code {
  font-size: 0.92em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--card);
}

/* faq */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* footer */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 34px 0 60px;
  color: var(--muted);
  font-size: 15px;
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
}

.site-foot a {
  color: var(--muted);
}

@media (max-width: 860px) {
  .split,
  .split.narrow-media {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .shots {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-nav {
    gap: 16px;
    font-size: 15px;
  }
  .brand {
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  .site-head {
    padding: 20px 20px 14px;
  }
  .site-nav {
    gap: 18px;
  }
  .site-nav .sm-hide {
    display: none;
  }
  .wrap {
    padding: 0 20px;
  }
  section {
    padding: 40px 0;
  }
  .shots {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}
