/* Listing Photo Prep - sales page styles.
   Same visual system as docs/brand/brand.md. No external fonts, no CDN, no images
   beyond outputs/*.png (which the owner-side build fills in). */

:root {
  --ink: #12161c;
  --ink-soft: #39424f;
  --slate: #5f6a78;
  --line: #e2e7ed;
  --paper: #ffffff;
  --wash: #f5f7f9;
  --brand: #1f6f5c;
  --brand-dark: #164f42;
  --brand-wash: #e8f2ef;
  --accent: #e8a33d;
  --accent-wash: #fdf3e3;
  --warn: #a8631a;
  --warn-wash: #fdf1e0;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(18, 22, 28, 0.06), 0 8px 24px rgba(18, 22, 28, 0.06);
  --shadow-lg: 0 2px 4px rgba(18, 22, 28, 0.06), 0 18px 48px rgba(18, 22, 28, 0.12);
  --wrap: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, "Liberation Mono",
    monospace;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 50;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- notices ---------- */

.status-bar {
  background: var(--accent-wash);
  border-bottom: 1px solid #f0dcbb;
  color: #6a4413;
  font-size: 14px;
  line-height: 1.45;
  padding: 9px 0;
}

.status-bar strong {
  font-weight: 650;
}

.pill {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  vertical-align: 1px;
  white-space: nowrap;
}

.pill-unverified {
  background: var(--warn-wash);
  border: 1px solid #eccfa4;
  color: var(--warn);
}

.pill-ok {
  background: var(--brand-wash);
  border: 1px solid #c6e0d8;
  color: var(--brand-dark);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
}

.brand svg {
  flex: none;
}

.site-nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 15px;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 650;
  font-size: 16px;
  line-height: 1.2;
  padding: 13px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.06s ease, background-color 0.15s ease;
}

.btn:active:not([disabled]) {
  transform: translateY(1px);
}

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

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: #ccd4dd;
  color: var(--ink);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  background: var(--wash);
  border-color: var(--line);
  color: var(--slate);
  cursor: not-allowed;
}

.btn-block {
  width: 100%;
}

/* ---------- hero ---------- */

.hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(900px 380px at 82% -8%, var(--brand-wash), transparent 62%),
    radial-gradient(700px 320px at 8% 4%, var(--accent-wash), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.lede {
  font-size: 19px;
  color: var(--ink-soft);
  margin: 0 0 20px;
  max-width: 46ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.cta-note {
  font-size: 14px;
  color: var(--slate);
  margin: 0 0 22px;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.trust-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--ink-soft);
}

.tick {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--brand-wash);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

/* ---------- screenshot frames ---------- */

.shot {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shot img {
  width: 100%;
}

.shot figcaption {
  font-size: 13px;
  color: var(--slate);
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: #fff;
}

/* When outputs/ has not been filled in yet, show a labelled placeholder instead of
   a broken-image icon. */
.shot-fallback {
  display: none;
  padding: 34px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--slate);
}

.shot-fallback strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 4px;
}

.shot-missing img {
  display: none;
}

.shot-missing .shot-fallback {
  display: block;
}

.shots-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  margin-top: 18px;
}

/* The three step images are crops, not full pages: without a fixed box the phone
   and full-page captures stretch their cards to several hundred pixels of empty
   space. */
.shots-strip .shot {
  display: flex;
  flex-direction: column;
}

.shots-strip .shot img {
  height: 260px;
  object-fit: cover;
  object-position: top center;
}

.shots-strip .shot:nth-child(3) img {
  object-position: center 62%;
}

/* ---------- sections ---------- */

section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

section.tight {
  padding: 40px 0;
}

h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}

h3 {
  font-size: 18px;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}

.section-intro {
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card p {
  color: var(--ink-soft);
  font-size: 15.5px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand-wash);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.compare .card {
  padding: 22px;
}

.compare h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compare ol,
.compare ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.compare li {
  margin-bottom: 6px;
}

.compare-before {
  border-color: #e6e0d6;
  background: #fffdfa;
}

.compare-after {
  border-color: #c6e0d8;
  background: var(--brand-wash);
}

.illus-note {
  font-size: 13.5px;
  color: var(--slate);
  margin-top: 14px;
  max-width: 70ch;
}

/* ---------- presets table ---------- */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 620px;
}

caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px 4px;
  font-size: 13px;
  color: var(--slate);
}

th,
td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: var(--wash);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.num {
  font-family: var(--mono);
  font-size: 14px;
  white-space: nowrap;
}

.note-box {
  border: 1px solid #eccfa4;
  background: var(--warn-wash);
  color: #6a4413;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  margin: 18px 0 0;
}

.note-box strong {
  color: #5a3710;
}

.plain-box {
  border: 1px solid var(--line);
  background: var(--wash);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--ink-soft);
  margin: 18px 0 0;
}

/* ---------- pricing ---------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.price-card.featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
}

.price-tag {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 6px 0 2px;
}

.price-sub {
  font-size: 14px;
  color: var(--slate);
  margin: 0 0 16px;
}

.price-card ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 15.5px;
  color: var(--ink-soft);
}

.price-card ul li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.price-card .btn {
  margin-top: auto;
}

.plan-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.plan-label.muted {
  color: var(--slate);
}

/* ---------- faq ---------- */

.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}

summary {
  cursor: pointer;
  font-weight: 650;
  padding: 12px 4px;
  font-size: 17px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-weight: 400;
  font-size: 22px;
  color: var(--slate);
  line-height: 1;
}

details[open] summary::after {
  content: "–";
}

.faq-body {
  padding: 0 4px 16px;
  color: var(--ink-soft);
  max-width: 74ch;
}

.faq-body p {
  margin: 0 0 10px;
}

.faq-body ul {
  margin: 0 0 10px;
  padding-left: 20px;
}

/* ---------- closing cta + footer ---------- */

.closing {
  background: var(--wash);
  border-top: 1px solid var(--line);
}

.closing .card {
  background: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 44px;
  font-size: 14px;
  color: var(--slate);
}

.site-footer .wrap {
  display: grid;
  gap: 12px;
}

.site-footer strong {
  color: var(--ink-soft);
}

.todo {
  color: var(--warn);
  font-weight: 650;
}

.mono {
  font-family: var(--mono);
  font-size: 0.94em;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .compare,
  .pricing,
  .shots-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 36px;
  }

  .site-nav {
    display: none;
  }

  section {
    padding: 40px 0;
  }
}

/* Below 700px a five-column table would hide the "unverified" column off-screen, and
   that flag has to stay visible on a phone. Stack each row into a labelled block. */
@media (max-width: 700px) {
  .table-scroll {
    border: 0;
    overflow: visible;
  }

  table {
    min-width: 0;
    font-size: 16px;
  }

  caption {
    padding: 0 0 10px;
  }

  thead {
    display: none;
  }

  tbody tr {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin-bottom: 10px;
    background: #fff;
  }

  tbody th[scope="row"] {
    display: block;
    padding: 0 0 8px;
    border: 0;
    font-size: 17px;
  }

  tbody td {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 8px;
    padding: 3px 0;
    border: 0;
    align-items: baseline;
  }

  tbody td::before {
    content: attr(data-label);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--slate);
  }
}

@media (max-width: 430px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: min(100% - 28px, var(--wrap));
  }

  .btn {
    width: 100%;
  }

  .price-tag {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

@media print {
  .site-header,
  .site-nav,
  .status-bar {
    position: static;
  }

  section {
    break-inside: avoid;
  }
}
