:root {
  color-scheme: dark;
  --ink: #f7faf7;
  --muted: #b5c2ba;
  --quiet: #82938a;
  --night: #030806;
  --panel: #0c1712;
  --panel-soft: #10231a;
  --line: rgba(223, 239, 228, 0.14);
  --green: #55d68a;
  --green-deep: #18894b;
  --gold: #f2b946;
  --gold-soft: #ffe1a1;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  --page: min(1120px, calc(100% - 40px));
  --reading: min(760px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 18%, rgba(24, 137, 75, 0.14), transparent 28rem),
    radial-gradient(circle at 92% 52%, rgba(242, 185, 70, 0.07), transparent 25rem),
    var(--night);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--night);
  font-weight: 850;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 8, 5, 0.88);
  backdrop-filter: blur(14px);
}

.nav-shell,
.footer-inner {
  display: flex;
  width: var(--page);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-shell {
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 650;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a,
.footer-links a {
  color: #d7e1da;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-links .current {
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.help-hero {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 124px) 0 clamp(54px, 8vw, 86px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.6rem);
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.help-hero > p:last-child {
  max-width: 670px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
}

.guides {
  width: var(--page);
  margin: 0 auto;
  padding-bottom: clamp(80px, 12vw, 140px);
}

.section-heading {
  display: flex;
  margin-bottom: 24px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 0;
  color: var(--quiet);
}

.guide-card {
  display: grid;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(242, 185, 70, 0.2);
  border-radius: 32px;
  background:
    radial-gradient(circle at 5% 100%, rgba(24, 137, 75, 0.26), transparent 45%),
    var(--panel);
  box-shadow: var(--shadow);
  color: inherit;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  text-decoration: none;
}

.guide-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.guide-card-copy {
  display: flex;
  padding: clamp(30px, 6vw, 72px);
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.guide-meta {
  display: flex;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.tag.new {
  border-color: rgba(242, 185, 70, 0.35);
  color: var(--gold-soft);
}

.guide-card h3 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.7rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.guide-card-copy > p {
  max-width: 590px;
  margin: 22px 0 30px;
  color: var(--muted);
  font-size: 1.05rem;
}

.read-guide {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-weight: 850;
}

.read-guide::after {
  content: "→";
  font-size: 1.25rem;
  transition: transform 160ms ease;
}

.guide-card:hover .read-guide::after {
  transform: translateX(4px);
}

.guide-visual {
  display: grid;
  min-height: 430px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: linear-gradient(145deg, #1b6e3e, #0b2317 62%);
  place-items: start center;
}

.guide-visual img {
  width: min(84%, 340px);
  margin-top: 42px;
  border: 8px solid #06100b;
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.52);
}

.article-hero {
  width: var(--reading);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 100px) 0 48px;
}

.crumbs {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.crumbs a {
  color: var(--green);
  text-underline-offset: 4px;
}

.article-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

.article-dek {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.5vw, 1.28rem);
}

.article-meta {
  display: flex;
  margin-top: 26px;
  flex-wrap: wrap;
  gap: 10px;
}

.article-body {
  width: var(--reading);
  margin: 0 auto;
  padding-bottom: clamp(80px, 12vw, 140px);
}

.article-body h2 {
  margin: 70px 0 16px;
  font-size: clamp(1.9rem, 5vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.article-body h3 {
  margin: 34px 0 10px;
  font-size: 1.25rem;
}

.article-body p,
.article-body li {
  color: #d2dcd5;
}

.article-body strong {
  color: var(--ink);
}

.article-body a:not(.button) {
  color: var(--green);
  text-underline-offset: 4px;
}

.quick-paths {
  display: grid;
  margin: 28px 0 0;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quick-path {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}

.quick-path span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-path p {
  margin: 0;
  font-weight: 750;
}

.callout {
  margin: 34px 0;
  padding: 22px 24px;
  border: 1px solid rgba(85, 214, 138, 0.24);
  border-left: 4px solid var(--green);
  border-radius: 6px 18px 18px 6px;
  background: rgba(24, 137, 75, 0.1);
}

.callout p {
  margin: 0;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tutorial-step;
}

.step {
  padding-top: 70px;
  counter-increment: tutorial-step;
}

.step-heading {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
}

.step-heading::before {
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(242, 185, 70, 0.32);
  border-radius: 50%;
  background: rgba(242, 185, 70, 0.08);
  color: var(--gold-soft);
  content: counter(tutorial-step);
  font-size: 1.1rem;
  font-weight: 900;
  place-items: center;
}

.step-heading h2 {
  margin: 3px 0 0;
}

.step > p,
.step > ul {
  margin-left: 64px;
}

.step ul,
.troubleshooting {
  padding-left: 23px;
}

.step li + li,
.troubleshooting li + li {
  margin-top: 10px;
}

figure {
  margin: 32px 0 0;
}

.shot-pair {
  display: grid;
  margin-top: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.shot-pair figure {
  margin: 0;
}

.phone-shot {
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto;
  overflow: hidden;
  border: 8px solid #0c1712;
  border-radius: 34px;
  background: #eef3ef;
  box-shadow: var(--shadow);
}

.phone-shot img {
  width: 100%;
  height: auto;
}

.shot-link {
  display: block;
}

.shot-marker {
  position: absolute;
  top: var(--marker-top);
  left: var(--marker-left);
  width: var(--marker-width);
  height: var(--marker-height);
  border: 3px solid var(--gold);
  border-radius: 12px;
  background: rgba(242, 185, 70, 0.08);
  box-shadow: 0 0 0 3px rgba(3, 8, 6, 0.64), 0 0 24px rgba(242, 185, 70, 0.55);
  pointer-events: none;
}

.shot-marker > span {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 5px;
  padding: 4px 8px;
  border-radius: 7px;
  background: #06110c;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

figcaption {
  max-width: 560px;
  margin: 14px auto 0;
  color: var(--quiet);
  font-size: 0.88rem;
  text-align: center;
}

.support-card {
  margin-top: 72px;
  padding: clamp(26px, 6vw, 46px);
  border: 1px solid rgba(242, 185, 70, 0.22);
  border-radius: 26px;
  background: var(--panel-soft);
}

.support-card h2 {
  margin-top: 0;
}

.support-card p {
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--green-deep);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: #20a35c;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #020604;
}

.footer-inner {
  min-height: 112px;
}

.footer-inner p {
  margin: 0;
  color: var(--quiet);
  font-size: 0.86rem;
}

@media (max-width: 760px) {
  .brand-copy small,
  .nav-links .home-link {
    display: none;
  }

  .nav-links,
  .footer-links {
    gap: 14px;
  }

  .guide-card {
    grid-template-columns: 1fr;
  }

  .guide-visual {
    min-height: 330px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .guide-visual img {
    width: min(72%, 300px);
    margin-top: 30px;
  }

  .quick-paths {
    grid-template-columns: 1fr;
  }

  .shot-pair {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .step-heading {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .step-heading::before {
    width: 42px;
    height: 42px;
  }

  .step > p,
  .step > ul {
    margin-left: 54px;
  }

  .footer-inner {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  :root {
    --page: min(100% - 28px, 1120px);
    --reading: min(100% - 28px, 760px);
  }

  .nav-links a {
    font-size: 0.82rem;
  }

  .nav-links .current {
    padding: 8px 12px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-card-copy {
    padding: 30px 24px;
  }

  .step > p,
  .step > ul {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
