@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@700&display=swap');

:root {
  --bg: #f3eee6;
  --bg-2: #fbf8f3;
  --card: #fffdf9;
  --card-hi: #f7f2ea;
  --line: #e4d9c8;
  --text: #2c2824;
  --muted: #5f574e;
  --accent: #2f6b52;
  --gold: #9a4630;
  --white: #fffdf9;
  --on-photo: #fffdf9;
  --ok: #1f7a4d;
  --shadow: 0 10px 28px rgba(62, 46, 28, 0.06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: #d7ebdf; color: #1d3328; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.page {
  max-width: 1080px;
  margin: 20px auto;
  padding: 36px 36px 28px;
  background:
    radial-gradient(880px 320px at 100% -80px, rgba(154,70,48,.08), transparent 60%),
    radial-gradient(720px 280px at -8% -40px, rgba(47,107,82,.09), transparent 55%),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(62, 46, 28, 0.07);
  min-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}

/* Top bar */
.topbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.brand-left { display: flex; align-items: center; gap: 18px; }
.brand-left img.logo {
  width: auto;
  height: 116px;
  max-width: 176px;
  object-fit: contain;
  object-position: center;
  background: #05172d;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(44, 40, 36, 0.12);
  flex-shrink: 0;
}
.brand-left .sub {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .04em;
  max-width: 46ch;
}
.brand-left .tagline {
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 11em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.nav a:hover {
  color: var(--accent);
  background: rgba(47,107,82,.08);
  text-decoration: none;
}
.nav a.active {
  color: var(--accent);
  border-color: rgba(47,107,82,.28);
  background: rgba(47,107,82,.12);
}

.content { flex: 1; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  margin-bottom: 26px;
  align-items: stretch;
}
.hero-copy h1 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  text-wrap: pretty;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.hero-copy h1 span { color: var(--accent); }
.hero-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 1px solid rgba(47,107,82,.35);
  background: rgba(47,107,82,.08);
  color: var(--accent);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
}

.price-card {
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 0 0 1px rgba(47,107,82,.18), 0 12px 28px rgba(47,107,82,.18);
}
.price-card.gold {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(154,70,48,.18), 0 12px 28px rgba(154,70,48,.12);
}
.price-card .label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.price-card .amount {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.price-card .amount small {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.price-card .alt {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}
.price-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 13.5px;
}
.price-card li { margin: 6px 0; }

h3.section {
  margin: 28px 0 12px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.card.recommended {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  box-shadow: 0 0 0 1px rgba(47,107,82,.18);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tier-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.tier-card.recommended {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  box-shadow: 0 0 0 1px rgba(47,107,82,.2), 0 10px 28px rgba(47,107,82,.16);
}
.tier-card .badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(154,70,48,.12);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  vertical-align: middle;
}
.tier-card h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}
.tier-card .price {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 4px;
}
.tier-card.recommended .price { color: var(--accent); }
.tier-card .meta {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 12px;
}
.tier-card ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--text);
  font-size: 14.5px;
  flex: 1;
}
.tier-card li { margin: 6px 0; }
.btn {
  display: inline-block;
  text-align: center;
  background: var(--accent);
  color: white !important;
  text-decoration: none !important;
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(47, 107, 82, 0.16);
}
.btn:hover { filter: brightness(1.06); }
.btn.ghost {
  background: transparent;
  border: 1px solid rgba(47,107,82,.45);
  color: var(--text) !important;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.step {
  background: rgba(47,107,82,.045);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.step .n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(47,107,82,.15);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}
.step h4 { margin: 0 0 6px; font-size: 14px; }
.step p { margin: 0; color: var(--muted); font-size: 12.5px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.shot {
  background: var(--card);
  border: 1px solid rgba(47,107,82,.22);
  border-radius: 14px;
  overflow: hidden;
}
.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #efe8dc;
}
.shot .cap {
  padding: 10px 12px 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.shot .cap strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  margin-bottom: 2px;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--ok);
  font-weight: 800;
}

.note { color: var(--muted); font-size: 13px; }

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.compare th, .compare td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.compare th {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.compare td strong { color: var(--text); }
.compare .hi { color: var(--ok); font-weight: 700; }
.compare .mid { color: var(--accent); font-weight: 600; }
.compare .lo { color: var(--muted); }

.pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(47,107,82,.18);
}
.pager a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(47,107,82,.35);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.pager a:hover {
  background: rgba(47,107,82,.10);
  text-decoration: none;
}
.pager .next {
  margin-left: auto;
  background: var(--accent);
  border-color: transparent;
  color: white;
}

.cta {
  margin-top: 24px;
  text-align: center;
  background: var(--accent);
  color: white;
  padding: 18px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
}
.cta small {
  display: block;
  margin-top: 6px;
  font-weight: 500;
  opacity: .9;
  font-size: 12.5px;
}

.footer {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Delivery structure */
.delivery-card { padding: 16px; }
.delivery-root { display: flex; flex-direction: column; gap: 12px; }
.delivery-folder {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.delivery-folder.root {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(47,107,82,.10);
  border: 1px solid rgba(47,107,82,.28);
}
.delivery-folder strong {
  display: inline;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  word-break: break-word;
}
.folder-icon {
  flex-shrink: 0;
  width: 22px;
  text-align: center;
  line-height: 1.4;
}
.folder-note {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.tier-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(47,107,82,.14);
  border: 1px solid rgba(47,107,82,.28);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  vertical-align: middle;
}
.tier-tag.gold {
  background: rgba(154,70,48,.12);
  border-color: rgba(154,70,48,.28);
  color: var(--gold);
}
.delivery-tree {
  display: grid;
  gap: 10px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 2px solid rgba(47,107,82,.22);
}
.delivery-item {
  background: rgba(47,107,82,.045);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px 10px;
}
.delivery-item.file {
  background: rgba(154,70,48,.04);
  border-color: rgba(154,70,48,.16);
}
.delivery-children {
  list-style: none;
  margin: 10px 0 0 32px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.delivery-children li {
  position: relative;
  color: var(--text);
  font-size: 12.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(47,107,82,.06);
  border: 1px solid var(--line);
}
.delivery-children li::before {
  content: "↳";
  margin-right: 8px;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 780px) {
  .delivery-tree { margin-left: 2px; padding-left: 10px; }
  .delivery-children { margin-left: 0; }
}

@media print {
  @page { margin: 12mm; }
  body { background: white; }
  .page {
    margin: 0;
    max-width: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    min-height: auto;
  }
  .nav, .pager { display: none; }
  .shot, .card, .price-card, .step, .tier-card { break-inside: avoid; }
}

@media (max-width: 780px) {
  .page { margin: 0; border-radius: 0; padding: 16px 14px 20px; min-height: 100vh; }
  .topbar { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 14px; padding-bottom: 12px; }
  .nav { flex: none; width: 100%; justify-content: flex-start; align-items: center; }
  .nav a { align-self: center; }
  .hero, .grid-2, .grid-3, .steps, .gallery { grid-template-columns: 1fr; }
  .hero { gap: 14px; margin-bottom: 16px; }
  h3.section { margin: 18px 0 10px; }
  .hero-copy h1 { font-size: 32px; }
  .brand-left img.logo { height: 112px; max-width: 168px; }
  .brand-left .tagline { font-size: 24px; }
  .compare { min-width: 560px; }
}

/* ========== Polish utilities ========== */
.page-title {
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.lead {
  margin: 0 0 22px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
}
.card-title {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 700;
}
.card-title.tight { margin-bottom: 6px; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}
.price-card .cta-wrap { margin-top: 16px; }
.addon-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: baseline;
}
.addon-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
}
.cta-link {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}
.cta-link:hover { filter: brightness(1.05); }
.btn.gold {
  background: var(--gold);
  color: var(--white) !important;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.section-cta {
  margin-top: 8px;
}

/* Examples teaser cards on overview/gallery */
#examples .section { margin-top: 4px; }
#examples { margin-bottom: 26px; }
.example-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.example-teaser-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 0 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none !important;
  color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.example-teaser-card .teaser-shot {
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 0 14px;
}
.example-teaser-card:hover {
  border-color: rgba(47,107,82,.55);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(62,46,28,.2);
  text-decoration: none;
}
.example-teaser-card .badge-sample { margin: 0 16px; align-self: flex-start; }
.example-teaser-card h4 {
  margin: 8px 16px 6px;
  font-size: 15px;
  color: var(--text);
}
.example-teaser-card p {
  margin: 0 16px 12px;
  color: var(--muted);
  font-size: 12.5px;
  flex: 1;
}
.example-teaser-card .meta-line {
  margin: 0 16px;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

/* ========== Sample badge ========== */
.badge-sample {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(154,70,48,.12);
  border: 1px solid rgba(154,70,48,.35);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.badge-sample::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(154,70,48,.6);
}
.sample-disclaimer {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(154,70,48,.06);
  border: 1px solid rgba(154,70,48,.18);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.sample-disclaimer strong { color: var(--gold); }

/* ========== Example hero ========== */
.example-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  margin-bottom: 26px;
  align-items: start;
}
.example-hero .meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.example-meta-card {
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid rgba(47,107,82,.35);
  border-radius: 14px;
  padding: 18px;
}
.example-meta-card .row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.example-meta-card .row:last-child { border-bottom: none; }
.example-meta-card .row span { color: var(--muted); }
.example-meta-card .row strong { color: var(--text); text-align: right; }

/* ========== Creative grid ========== */
.creative-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.creative-card {
  background: var(--card);
  border: 1px solid rgba(47,107,82,.22);
  border-radius: 14px;
  overflow: hidden;
}
.creative-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(145deg, rgba(47,107,82,.18), rgba(154,70,48,.08) 45%, #efe8dc),
    repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(255,255,255,.02) 8px, rgba(255,255,255,.02) 16px);
  display: grid;
  place-items: center;
}
.creative-media::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  color: rgba(44,40,36,.75);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 0;
}
.creative-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}
.creative-card .cap {
  padding: 10px 12px 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.creative-card .cap strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  margin-bottom: 2px;
}
.creative-grid.wide-mock .creative-card:last-child {
  grid-column: 1 / -1;
}
.creative-grid.wide-mock .creative-card:last-child .creative-media {
  aspect-ratio: 16 / 9;
}

/* ========== Instagram / social mock UI ========== */
.ig-feed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.ig-post {
  background: var(--card);
  border: 1px solid rgba(47,107,82,.25);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.ig-post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 10px;
}
.ig-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #07102a;
}
.ig-user {
  min-width: 0;
  flex: 1;
}
.ig-user strong {
  display: block;
  font-size: 13px;
  color: var(--text);
  line-height: 1.2;
}
.ig-user span {
  font-size: 11px;
  color: var(--muted);
}
.ig-more {
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  padding: 0 4px;
}
.ig-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(160deg, rgba(47,107,82,.2), #efe8dc);
}
.ig-media::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(44,40,36,.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 0;
  pointer-events: none;
  text-align: center;
  padding: 12px;
}
.ig-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ig-actions {
  display: flex;
  gap: 14px;
  padding: 10px 12px 4px;
  color: var(--muted);
  font-size: 18px;
}
.ig-caption {
  padding: 4px 12px 14px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.45;
}
.ig-caption .handle {
  font-weight: 700;
  color: var(--text);
  margin-right: 4px;
}
.ig-caption .js-copy,
.ig-caption [data-social-copy] {
  color: var(--text);
}
.ig-hashtags {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-size: 12px;
}

/* Story frame */
.story-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.story-frame {
  background: var(--card);
  border: 1px solid rgba(47,107,82,.28);
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  position: relative;
  max-width: 220px;
  margin: 0 auto;
  width: 100%;
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.story-frame .story-progress {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
  z-index: 2;
}
.story-frame .story-progress::after {
  content: "";
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: var(--white);
}
.story-frame .story-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,16,42,.15), rgba(7,16,42,.75)),
    linear-gradient(145deg, rgba(47,107,82,.25), rgba(154,70,48,.12));
}
.story-frame .story-media::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(44,40,36,.65);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
  z-index: 0;
}
.story-frame .story-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-frame .story-ui {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 2;
}
.story-frame .story-ui .brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.story-frame .story-ui .line {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 10px;
}
.story-frame .story-cta {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--card);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Ad cards */
.ad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.ad-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ad-card .ad-label {
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(154,70,48,.08);
  border-bottom: 1px solid rgba(154,70,48,.12);
}
.ad-card .ad-media {
  position: relative;
  background: linear-gradient(145deg, rgba(47,107,82,.2), #efe8dc);
}
.ad-card .ad-media.feed { aspect-ratio: 1 / 1; }
.ad-card .ad-media.story { aspect-ratio: 4 / 5; }
.ad-card .ad-media.landscape { aspect-ratio: 16 / 9; }
.ad-card .ad-media::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(44,40,36,.65);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
  z-index: 0;
  pointer-events: none;
}
.ad-card .ad-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ad-card .ad-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ad-card .ad-body .sponsored {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.ad-card .ad-body h4 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--text);
}
.ad-card .ad-body p {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--muted);
  flex: 1;
}
.ad-card .ad-cta-btn {
  display: block;
  text-align: center;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(47,107,82,.16);
  border: 1px solid rgba(47,107,82,.35);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

/* Hub listing cards */
.hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.hub-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  text-decoration: none !important;
  color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.hub-card:hover {
  border-color: rgba(47,107,82,.55);
  box-shadow: 0 10px 28px rgba(62,46,28,.18);
  text-decoration: none;
}
.hub-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background:
    linear-gradient(145deg, rgba(47,107,82,.22), rgba(154,70,48,.1));
}
.hub-thumb::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(44,40,36,.7);
  text-align: center;
  padding: 10px;
  z-index: 0;
}
.hub-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hub-card-body h3 {
  margin: 6px 0 6px;
  font-size: 18px;
  color: var(--text);
}
.hub-card-body p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13.5px;
}
.hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 780px) {
  .example-hero,
  .example-teaser,
  .creative-grid,
  .ig-feed,
  .story-row,
  .ad-grid,
  .hub-card {
    grid-template-columns: 1fr;
  }
  .creative-grid.wide-mock .creative-card:last-child { grid-column: auto; }
  .page-title { font-size: 26px; }
  .nav {
    width: 100%;
    gap: 4px;
  }
  .nav a {
    font-size: 11px;
    padding: 6px 8px;
  }
  .story-frame { max-width: 280px; }
}


/* Local Starter */
.starter-band {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 18px;
  align-items: center;
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(47,107,82,.28);
  background:
    linear-gradient(135deg, rgba(47,107,82,.10), rgba(154,70,48,.06)),
    var(--card);
}
.starter-band .kicker { margin-bottom: 6px; }
.starter-band h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--text);
}
.starter-band p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  max-width: 52ch;
}
.starter-band .starter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.starter-band .starter-list li {
  font-size: 12.5px;
  color: var(--text);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(47,107,82,.22);
  background: #fffdf9;
}
.starter-aside {
  text-align: center;
  padding: 14px 12px;
  border-radius: 12px;
  background: #fffdf9;
  border: 1px solid rgba(154,70,48,.28);
}
.starter-aside .label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}
.starter-aside .price {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
}
.starter-aside .meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 780px) {
  .starter-band { grid-template-columns: 1fr; padding: 14px; margin-bottom: 14px; }
  .brand-left img.logo { width: auto; height: 112px; max-width: 168px; }
}


/* Light theme: stories stay photo-dark so type on the image stays readable */
.story-frame {
  background: #241f1c;
  border-color: rgba(36, 31, 28, 0.28);
  box-shadow: 0 14px 32px rgba(44, 40, 36, 0.16);
}
.story-frame .story-media {
  background:
    linear-gradient(180deg, rgba(20,16,14,.1), rgba(20,16,14,.72)),
    linear-gradient(160deg, rgba(154,70,48,.35), rgba(47,107,82,.28));
}
.story-frame .story-media::after { color: rgba(255,253,249,.82); }
.story-frame .story-ui .line { color: var(--on-photo); }
.story-frame .story-ui .brand { color: #f3d7b0; }
.story-frame .story-progress { background: rgba(255,255,255,.28); }
.story-frame .story-progress::after { background: #fff; }
.story-frame .story-cta {
  background: rgba(255,253,249,.94);
  color: var(--text);
}
.ig-avatar { color: var(--on-photo); }
.btn.ghost { box-shadow: none; color: var(--accent) !important; }
.btn.ghost:hover { background: rgba(47,107,82,.08); filter: none; }
.ig-post { box-shadow: var(--shadow); }
.btn:hover { filter: brightness(1.05); }
.compare tbody tr:nth-child(even) td { background: rgba(47,107,82,.045); }
.pager .next { color: var(--white); box-shadow: 0 6px 16px rgba(47, 107, 82, 0.16); }
.cta { box-shadow: var(--shadow); }
.price-card { box-shadow: var(--shadow); }
.tier-card { box-shadow: var(--shadow); }
a:hover { text-underline-offset: 3px; }
