:root {
  --sky: #d7ebf5;
  --meadow: #e8f3e4;
  --field: #f4faf1;
  --ink: #1e3324;
  --mute: #5a6f60;
  --line: #c5d9c8;
  --leaf: #2f6b3a;
  --sun: #c9891a;
  --panel: #ffffff;
  --hero-veil: rgba(244, 250, 241, 0.78);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Figtree", "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 420px at 8% -5%, rgba(120, 180, 220, 0.35), transparent 60%),
    radial-gradient(700px 380px at 100% 0%, rgba(201, 137, 26, 0.12), transparent 55%),
    linear-gradient(180deg, var(--sky) 0%, var(--meadow) 42%, var(--field) 100%);
  line-height: 1.6;
}

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

a {
  color: var(--leaf);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--sun);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--leaf);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(244, 250, 241, 0.86);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  font-size: 0.92rem;
  font-weight: 600;
}

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

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--leaf);
}

.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(215, 235, 245, 0.15) 0%, var(--hero-veil) 58%, var(--field) 100%);
}

.hero-copy {
  padding: 5.5rem 0 3.25rem;
  max-width: 36rem;
}

.hero-brand {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-lead {
  margin: 1rem 0 0;
  max-width: 30rem;
  font-size: 1.08rem;
  color: var(--mute);
}

.article-hero .hero-lead {
  margin-top: 0.85rem;
}

.toc {
  margin: 1.25rem 0 1.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.toc__title {
  margin: 0 0 0.55rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
}

.toc__list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
  color: var(--mute);
}

.toc__list a {
  font-weight: 600;
  text-decoration: none;
}

.toc__list a:hover,
.toc__list a.is-active {
  text-decoration: underline;
  color: var(--leaf);
}

.toc__list a.is-active {
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.35rem;
  padding: 0.8rem 1.15rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--leaf);
  color: #fff;
}

.btn-primary:hover {
  background: #265830;
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--ink);
}

.section {
  padding: 3.25rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0.65rem 0 0;
  color: var(--mute);
}

.guide-list {
  display: grid;
  gap: 0.85rem;
}

.guide-link {
  display: grid;
  gap: 0.35rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--panel);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.guide-link:hover {
  border-color: var(--leaf);
  transform: translateY(-1px);
  color: inherit;
}

.guide-link strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 650;
}

.guide-link span {
  color: var(--mute);
  font-size: 0.92rem;
}

.guide-link em {
  font-style: normal;
  color: var(--sun);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.split {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.note {
  border-left: 3px solid var(--sun);
  padding: 0.2rem 0 0.2rem 1rem;
  color: var(--mute);
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--mute);
  font-size: 0.9rem;
}

.site-footer .brand {
  display: inline-block;
  margin-bottom: 0.4rem;
}

.disclaimer {
  margin-top: 0.75rem;
  max-width: 40rem;
  font-size: 0.82rem;
}

/* Guide legal note + AdSense / figcaption (AdSense CLS + mobile captions) */
.legal-note {
  margin-top: 1.75rem;
}

.ad-slot {
  margin: 2.5rem 0;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-slot__inner {
  width: 100%;
  max-width: 728px;
  min-height: 280px;
  border: 1px dashed color-mix(in srgb, var(--line, #c9c2b4) 80%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg, #f7f4ee) 92%, #fff);
}

.ad-slot__inner:empty::before {
  content: "Advertisement";
  display: block;
  text-align: center;
  padding: 1.5rem 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute, #6b655c);
}

.shot-slot figcaption,
.shot-slot--photo figcaption {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--mute);
}

/* Guide article */
.article-hero {
  padding: 3rem 0 1.5rem;
}

.article-hero h1 {
  margin: 0.4rem 0 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.kicker {
  margin: 0;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prose {
  max-width: 42rem;
  padding-bottom: 3rem;
}

.prose h2 {
  margin: 2rem 0 0.7rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
}

.prose p,
.prose li {
  color: var(--ink);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.checklist li {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 0.45rem;
  margin-bottom: 0.5rem;
}

.checklist label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  cursor: pointer;
}

.checklist input {
  margin-top: 0.25rem;
  accent-color: var(--leaf);
}

.checklist input:checked + span {
  color: var(--mute);
  text-decoration: line-through;
}

.updated {
  margin: 0.55rem 0 0;
  color: var(--mute);
  font-size: 0.88rem;
}

.quick-answers {
  margin: 1.25rem 0 0;
  border: 1px solid var(--line);
  border-left: 4px solid var(--leaf);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 1rem 1.1rem 1.05rem;
}

.quick-answers h2 {
  margin: 0 0 0.55rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
}

.quick-answers ol {
  margin: 0;
  padding-left: 1.15rem;
}

.quick-answers li + li {
  margin-top: 0.35rem;
}

.site-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: var(--panel);
}

.site-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.site-table th,
.site-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.site-table th {
  color: var(--leaf);
  font-weight: 700;
  background: rgba(232, 243, 228, 0.65);
}

.site-table tr:last-child td {
  border-bottom: 0;
}

.shot-grid {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}

@media (min-width: 700px) {
  .shot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.shot-slot {
  min-height: 9.5rem;
  border: 1px dashed #9bb59f;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.85rem;
  color: var(--mute);
  font-size: 0.86rem;
  line-height: 1.45;
}

.shot-slot strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shot-slot--photo {
  min-height: 0;
  padding: 0.55rem;
  border-style: solid;
}

.shot-slot--photo img {
  width: 100%;
  height: auto;
  border-radius: 0.3rem;
  background: #dfeadf;
}

.shot-slot--photo figcaption strong {
  display: inline;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: inherit;
  color: var(--ink);
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: var(--panel);
  padding: 0.75rem 0.95rem;
  margin-bottom: 0.55rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq details p {
  margin: 0.55rem 0 0.15rem;
  color: var(--mute);
}

.related-links {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
}

.related-links a {
  font-weight: 700;
  text-decoration: none;
}

.related-links a:hover {
  text-decoration: underline;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(30, 51, 36, 0.12);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  color: var(--leaf);
  outline: 2px solid var(--leaf);
  outline-offset: 2px;
}

.back-to-top[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .guide-link,
  .back-to-top {
    transition: none;
  }
}
