:root {
  --bg: #faf6ef;
  --surface: #ffffff;
  --surface-2: #f4e3c8;
  --ink: #2b2118;
  --ink-soft: #5a4a3a;
  --line: #d9c8a9;
  --accent: #c97b4a;
  --accent-dark: #8a5a33;
  --green: #3e6b4a;
  --red: #a83a2a;
  --shadow: 0 1px 0 rgba(107, 68, 35, 0.06), 0 8px 24px rgba(107, 68, 35, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.2;
}
h1 { font-size: 22px; }
h2 { font-size: 28px; margin-bottom: 16px; }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark { display: inline-flex; }
.brand-text h1 { margin: 0; font-size: 20px; }
.tagline { margin: 0; font-size: 13px; color: var(--ink-soft); }

.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  padding: 40px 0 24px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 8px;
}
.hero-text h2 { font-size: 36px; margin-bottom: 16px; }
.lead { font-size: 17px; color: var(--ink-soft); }
.meta-note { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }

.hero-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.hero-card h3 { margin-bottom: 12px; }
.why-list { margin: 0; padding-left: 18px; }
.why-list li { margin-bottom: 8px; color: var(--ink-soft); }

.builder {
  padding: 24px 0;
}
.builder-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
}
.config-panel, .output-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.field select,
.field input[type="range"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 14px;
}
.field-note { font-size: 12px; color: var(--ink-soft); margin: 6px 0 0; }
.field.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}
.field.checkbox label { margin: 0; font-weight: 500; }

.button-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-dark);
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: var(--surface); color: var(--accent-dark); }
.btn.secondary:hover { background: var(--surface-2); }
.btn.ghost { background: transparent; color: var(--ink-soft); border-color: var(--line); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.small { padding: 6px 12px; font-size: 13px; }

.save-status {
  font-size: 13px;
  color: var(--green);
  margin-top: 10px;
  min-height: 18px;
}

.output-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.output-sub { color: var(--ink-soft); font-size: 14px; margin: 0; }
.output-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.shot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: shot;
}
.shot-list li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.shot-list li:hover { border-color: var(--accent); }
.shot-list li.done {
  background: #e8f1ea;
  border-color: var(--green);
  opacity: 0.75;
}
.shot-list li.done .shot-title { text-decoration: line-through; }
.shot-num {
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 18px;
  text-align: center;
}
.shot-title { font-weight: 600; margin-bottom: 4px; }
.shot-note { font-size: 13px; color: var(--ink-soft); }
.shot-tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-dark);
  border: 1px solid var(--line);
}
.shot-list li.done .shot-tag { background: var(--green); color: #fff; border-color: var(--green); }

.platform-note {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--surface-2);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
}
.platform-note h4 { margin-bottom: 4px; font-size: 15px; }
.platform-note p { margin: 0; font-size: 14px; color: var(--ink-soft); }

.walkthrough, .examples, .platforms, .troubleshoot, .cta-panel {
  padding: 32px 0;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.timeline li {
  position: relative;
  padding: 0 0 24px 48px;
  border-left: 2px solid var(--line);
  margin-left: 12px;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -15px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.timeline h3 { margin-bottom: 6px; }
.timeline p { color: var(--ink-soft); margin: 0; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.compare-card.bad { border-top: 4px solid var(--red); }
.compare-card.good { border-top: 4px solid var(--green); }
.compare-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--surface-2);
}
.compare-card h3 { margin-bottom: 10px; }
.compare-card ul { margin: 0; padding-left: 18px; color: var(--ink-soft); }
.compare-card li { margin-bottom: 6px; }

.platform-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.platform-table th, .platform-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.platform-table th {
  background: var(--surface-2);
  font-weight: 700;
  color: var(--ink);
}
.platform-table tr:last-child td { border-bottom: none; }

.mistake-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.mistake-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.mistake-list h3 { font-size: 16px; margin-bottom: 6px; }
.mistake-list p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.cta-panel {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.cta-panel h2 { margin-bottom: 10px; }
.cta-panel p { color: var(--ink-soft); max-width: 600px; margin: 0 auto 18px; }
.cta-panel .btn { font-size: 15px; padding: 12px 22px; }

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 20px 0;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-row p { margin: 0; font-size: 13px; color: var(--ink-soft); }
.footer-row nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-row a { font-size: 13px; color: var(--ink-soft); text-decoration: none; }
.footer-row a:hover { color: var(--accent-dark); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-text h2 { font-size: 30px; }
  .builder-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .header-row { flex-direction: column; align-items: flex-start; }
  .site-nav { gap: 12px; }
}

@media (max-width: 520px) {
  .container { padding: 0 14px; }
  .hero-text h2 { font-size: 26px; }
  .shot-list li { grid-template-columns: 28px 1fr; }
  .shot-tag { display: none; }
  .button-row { flex-direction: column; }
  .output-actions { width: 100%; }
  .output-actions .btn { flex: 1; }
}

@media print {
  .site-header, .site-footer, .config-panel, .output-actions, .cta-panel, .site-nav { display: none; }
  body { background: #fff; }
  .builder-grid { grid-template-columns: 1fr; }
  .shot-list li { break-inside: avoid; }
}



/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
