:root {
  --ink: #0b3b33;
  --ink-deep: #062720;
  --paper: #ffffff;
  --surface: #f3f4f4;
  --accent: #9a4d30;
  --accent-on-dark: #f0d3a2;
  --line: #dce1df;
  --muted: #52615c;
  --shadow: 0 18px 46px rgba(7, 30, 25, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
a { color: inherit; text-underline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
section[id] { scroll-margin-top: 2rem; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 50;
  background: white;
  padding: .7rem 1rem;
  border-radius: .6rem;
}
.skip-link:focus { top: 1rem; }
.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-size: 1.3rem; font-weight: 850; letter-spacing: -.03em; }
.brand img { width: 44px; border-radius: 12px; flex-shrink: 0; }
.site-header nav { justify-self: center; display: flex; gap: 1.5rem; }
.site-header nav a { color: var(--muted); font-size: .94rem; font-weight: 680; text-decoration: none; }
.site-header nav a:hover { color: var(--ink); }
.header-cta { display: inline-block; background: var(--ink); color: white; text-decoration: none; font-weight: 750; padding: .65rem 1rem; border-radius: 999px; }
.store-badge { display: inline-flex; width: fit-content; flex-shrink: 0; line-height: 0; transition: transform .2s ease, opacity .2s ease; }
.store-badge img { width: auto; height: 40px; }
.store-badge-large img { height: 54px; }
.store-badge:hover { transform: translateY(-2px); opacity: .9; }
.store-badge:focus-visible { border-radius: 7px; }

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: 2rem 0 4rem;
}
.eyebrow { margin: 0 0 1rem; color: var(--accent); font-size: .875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.04em; text-wrap: balance; overflow-wrap: break-word; }
h1 { max-width: 760px; margin: 0; font-size: clamp(2.8rem, 5.2vw, 4.6rem); font-weight: 850; }
h2 { margin: 0; font-size: clamp(2.2rem, 4.3vw, 3.8rem); }
.lede { max-width: 650px; margin: 1.5rem 0 0; font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; }
.text-link { font-weight: 750; }
.proof { margin: 1rem 0 0; color: var(--muted); font-size: .875rem; }
.hero-visual { display: grid; place-items: center; padding: 1.5rem; background: var(--surface); border-radius: 28px; }
.hero-shot { width: min(100%, 230px); max-height: min(500px, calc(100svh - 230px)); aspect-ratio: 720 / 1565; object-fit: contain; border-radius: 22px; box-shadow: var(--shadow); }

.process { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) 0; }
.process-inner { width: min(1040px, calc(100% - 40px)); margin: 0 auto; scroll-margin-top: 2rem; }
.section-heading { max-width: 790px; }
.process-steps { list-style: none; padding: 0; margin: 3rem 0 0; }
.process-step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 340px); gap: 2rem; align-items: center; padding: 2rem 0; }
.process-step::before { content: ""; position: absolute; top: 0; bottom: 0; left: 23px; width: 1px; background: var(--line); z-index: -1; }
.process-step:first-child::before { top: 50%; }
.process-step:last-child::before { bottom: 50%; }
.step-number { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--accent); font-weight: 800; font-variant-numeric: tabular-nums; }
.step-copy h3 { margin: 0 0 1rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.step-copy p { max-width: 480px; color: var(--muted); font-size: 1.08rem; }
.step-copy a { font-weight: 750; }
.step-visual { margin: 0; min-width: 0; padding: 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--surface); border-radius: 22px; }
.step-visual img { width: min(100%, 175px); max-height: 380px; aspect-ratio: 720 / 1565; object-fit: contain; border-radius: 16px; box-shadow: 0 8px 24px rgba(7, 30, 25, .08); }
.subject-visual img { width: min(100%, 228px); max-height: 342px; aspect-ratio: 640 / 961; border-radius: 0; box-shadow: none; }
.step-visual figcaption { margin-top: 1rem; font-size: .875rem; color: var(--muted); text-align: center; }

.guides { background: var(--surface); padding: clamp(4rem, 8vw, 7rem) max(20px, calc((100vw - 1180px) / 2)); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 3rem; }
.guide-grid > a { min-height: 330px; padding: 1.7rem; display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; transition: transform .2s ease, box-shadow .2s ease; }
.guide-grid > a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-grid span { color: var(--accent); font-size: .875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.guide-grid h3 { margin: 1.4rem 0 .8rem; font-size: 1.65rem; }
.guide-grid p { margin: 0; color: var(--muted); }
.guide-grid b { margin-top: auto; padding-top: 2rem; }
.faq { width: min(1050px, calc(100% - 40px)); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-list details { border-top: 1px solid var(--line); padding: 1.2rem 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-size: 1.1rem; font-weight: 750; }
.faq-list p { color: var(--muted); }
.final-cta { text-align: center; color: white; background: var(--ink-deep); padding: clamp(4rem, 8vw, 7rem) 20px; }
.final-cta > img { width: 112px; border-radius: 27px; margin: 0 auto 2rem; }
.final-cta .eyebrow { color: var(--accent-on-dark); }
.final-cta h2 { margin-bottom: 2rem; font-size: clamp(3rem, 6vw, 5rem); }
.site-footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; min-height: 150px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; font-size: .875rem; color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-brand img { width: 38px; border-radius: 10px; flex-shrink: 0; }
.footer-brand b, .footer-brand small { display: block; }
.footer-brand b { color: var(--ink); font-size: 1rem; }
.site-footer nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-footer p { justify-self: end; text-align: right; }

.article-header { width: min(880px, calc(100% - 40px)); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 0 3rem; }
.article-header h1 { font-size: clamp(2.5rem, 5.7vw, 4.6rem); }
.article-header .lede { max-width: 760px; }
.article-meta { margin-top: 1.5rem; color: var(--muted); font-size: .9rem; }
.article-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 760px) 280px; justify-content: center; gap: 4rem; padding-bottom: 6rem; }
.article-body { min-width: 0; font-size: 1.08rem; }
.article-body h2 { margin: 3rem 0 1rem; font-size: clamp(2rem, 3.5vw, 2.8rem); }
.article-body h3 { margin-top: 2.2rem; font-size: 1.4rem; }
.article-body p, .article-body li { color: var(--muted); }
.article-body li + li { margin-top: .7rem; }
.article-body .answer { font-size: 1.2rem; color: var(--ink); padding: 1.5rem; background: var(--surface); border-left: 3px solid var(--accent); border-radius: 0 14px 14px 0; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.article-body th, .article-body td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.article-body th { background: var(--surface); color: var(--ink); }
.article-body tbody tr:last-child td { border-bottom: 0; }
.article-aside { position: sticky; top: 2rem; align-self: start; padding: 1.5rem; background: var(--surface); border-radius: 18px; }
.article-aside > img { width: min(100%, 175px); max-height: 380px; aspect-ratio: 720 / 1565; object-fit: contain; margin-inline: auto; border-radius: 14px; }
.article-aside h2 { margin: 1rem 0 .5rem; font-size: 1.3rem; }
.article-aside p { color: var(--muted); font-size: 1rem; }
.simple-page { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: clamp(3rem, 8vw, 7rem) 0; }
.simple-page h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); }
.simple-page h2 { margin-top: 3rem; font-size: 1.8rem; }
.simple-page p, .simple-page li { color: var(--muted); }
.simple-page a { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { gap: 2rem; }
  .guide-grid { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 260px); gap: 1.25rem; }
  .guide-grid > a { min-height: 240px; }
  .site-footer { grid-template-columns: 1fr auto; padding: 2rem 0; }
  .site-footer p { grid-column: 1 / -1; justify-self: start; text-align: left; margin: 0; }
  .article-shell { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .article-aside { position: static; }
}
@media (max-width: 640px) {
  .site-header { min-height: 76px; gap: 1rem; }
  .brand { gap: .5rem; font-size: 1.2rem; }
  .brand img { width: 38px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 2rem; padding-bottom: 3.5rem; }
  .hero-visual { width: 100%; margin: .75rem auto 0; }
  .hero-shot { max-height: min(440px, 65svh); }
  .hero-actions { gap: 1.2rem; }
  .process-steps { margin-top: 1.5rem; }
  .process-step { grid-template-columns: 36px minmax(0, 1fr); gap: 1rem; align-items: start; }
  .process-step::before { left: 17px; }
  .process-step:first-child::before { top: 2rem; }
  .process-step:last-child::before { bottom: auto; height: 2rem; }
  .step-number { width: 36px; height: 36px; font-size: .875rem; }
  .step-copy h3 { margin-top: .15rem; }
  .step-visual { grid-column: 2; padding: 1rem; }
  .step-visual img { max-height: 380px; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .site-footer { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store-badge, .guide-grid > a { transition: none; }
}
