/* Photoch guide pages (features, how-tos). The editor itself is styled by src/styles. */
:root {
  --bg: #ebe6da;
  --card: #faf7f0;
  --text: #2b2a26;
  --strong: #1d1c19;
  --dim: #6b675c;
  --accent: #2f6b4f;
  --accent-ink: #ffffff;
  --accent-soft: rgba(47, 107, 79, 0.1);
  --line: #ddd6c6;
  --shadow: 0 1px 2px rgba(43, 42, 38, 0.06), 0 8px 28px rgba(43, 42, 38, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1d1b;
    --card: #252724;
    --text: #e2dfd6;
    --strong: #f4f1ea;
    --dim: #a8a497;
    --accent: #6fbf95;
    --accent-ink: #10221a;
    --accent-soft: rgba(111, 191, 149, 0.12);
    --line: #3a3c37;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px rgba(0, 0, 0, 0.25);
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}
a {
  color: var(--accent);
}
img {
  max-width: 100%;
  height: auto;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

/* header */
.top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--strong);
  text-decoration: none;
  margin-right: auto;
}
.top nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}
.top nav a {
  color: var(--dim);
  text-decoration: none;
}
.top nav a:hover,
.top nav a[aria-current] {
  color: var(--strong);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  filter: brightness(1.08);
}
.btn.ghost {
  background: transparent;
  color: var(--strong);
  border: 1px solid var(--line);
}
.top .btn {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

/* hero */
.hero {
  padding: 40px 0 28px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
h1 {
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--strong);
  margin: 0 0 16px;
  max-width: 820px;
}
.lead {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--dim);
  max-width: 700px;
  margin: 0 0 26px;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cta small {
  color: var(--dim);
  font-size: 13px;
}
.shot {
  display: block;
  margin: 34px 0 0;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--card);
}
figure {
  margin: 0;
}
figcaption {
  font-size: 13px;
  color: var(--dim);
  margin-top: 10px;
}

/* sections */
section {
  padding: 34px 0;
}
h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--strong);
  margin: 0 0 12px;
}
h3 {
  font-size: 18px;
  line-height: 1.35;
  color: var(--strong);
  margin: 0 0 6px;
}
section > p,
.prose p {
  max-width: 760px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
}
.card p {
  margin: 0;
  color: var(--dim);
  font-size: 15px;
}
.card a {
  font-weight: 600;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: center;
}
.split.flip > :first-child {
  order: 2;
}
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  max-width: 760px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 16px 48px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps strong {
  color: var(--strong);
}
ul.ticks {
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
  max-width: 760px;
}
ul.ticks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}
ul.ticks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 7px;
  width: 6px;
  height: 11px;
  border: solid var(--accent);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: 15px;
}
th,
td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
tr:last-child td {
  border-bottom: 0;
}
th {
  color: var(--strong);
  font-weight: 600;
}
td:first-child {
  color: var(--strong);
  font-weight: 500;
}
.faq h3 {
  margin-top: 22px;
}
.faq p {
  margin: 0;
  color: var(--dim);
  max-width: 760px;
}
.band {
  margin: 30px 0 10px;
  padding: 34px clamp(20px, 4vw, 44px);
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.band h2 {
  margin: 0 0 4px;
}
.band p {
  margin: 0;
  color: var(--dim);
}
kbd {
  font: 600 13px/1 Inter, 'Segoe UI', system-ui, sans-serif;
  padding: 3px 6px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: var(--card);
}

/* footer */
footer {
  margin-top: 40px;
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--dim);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 14px;
}
footer nav a {
  color: var(--text);
  text-decoration: none;
}
footer nav a:hover {
  text-decoration: underline;
}
footer p {
  margin: 6px 0 0;
  max-width: 820px;
}

@media (max-width: 760px) {
  .top nav {
    display: none;
  }
  .hero {
    padding-top: 22px;
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .split.flip > :first-child {
    order: 0;
  }
  .btn {
    flex: 1 1 auto;
  }
  .top .btn {
    flex: none;
  }
  table {
    min-width: 0;
    font-size: 14px;
  }
  th,
  td {
    padding: 10px 12px;
  }
}
.grid.g2 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
}
