/* EviaRenata.AI — design tokens from Handoff.md */
:root {
  --bg: #1A1A1A;
  --surface: #232220;
  --text: #F4EFE6;
  --text-85: rgba(244, 239, 230, 0.85);
  --text-75: rgba(244, 239, 230, 0.75);
  --text-70: rgba(244, 239, 230, 0.7);
  --text-60: rgba(244, 239, 230, 0.6);
  --text-55: rgba(244, 239, 230, 0.55);
  --text-50: rgba(244, 239, 230, 0.5);
  --text-45: rgba(244, 239, 230, 0.45);
  --border: rgba(244, 239, 230, 0.1);
  --border-strong: rgba(244, 239, 230, 0.15);
  --border-input: rgba(244, 239, 230, 0.18);
  --marigold: #E69819;
  --marigold-hover: #F0A62B;
  --honey: #D8AE5E;
  --honey-hover: #E6C179;
  --amber: #B9852E;
  --blush: #E7B7AC;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--honey); text-decoration: none; }
a:hover { color: var(--honey-hover); }

h1, h2 { font-family: 'Playfair Display', serif; font-weight: 500; }
h2 { font-size: 26px; margin: 0 0 28px 0; }
h3 { font-size: 17px; font-weight: 500; margin: 0; }

.container {
  width: 100%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
body.home .container { max-width: 640px; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-55);
  margin: 0 0 20px 0;
}

/* Primary button */
.btn {
  display: inline-block;
  background: var(--marigold);
  color: #1A1A1A;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 15px 26px;
  border: none;
  border-radius: 4px;
  min-height: 44px;
  cursor: pointer;
  transition: background-color 150ms;
}
.btn:hover { background: var(--marigold-hover); color: #1A1A1A; }

/* ---------- Homepage ---------- */

.home-hero {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 48px;
  padding-bottom: 48px;
}
.home-hero h1 {
  font-size: clamp(44px, 9vw, 72px);
  line-height: 1.05;
  margin: 0 0 24px 0;
}
.home-hero h1 .dot { color: var(--blush); }
.home-hero .subline {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-85);
  margin: 0 0 36px 0;
  max-width: 44ch;
  text-wrap: pretty;
}
.home-hero .cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.home-hero .cta-note { font-size: 13px; color: var(--text-50); }

.what-we-make {
  border-top: 1px solid var(--border);
  padding-top: 56px;
  padding-bottom: 72px;
}
.what-we-make h2 { margin-bottom: 32px; }
.what-we-make .items { display: grid; gap: 28px; }
.what-we-make .item { display: grid; gap: 6px; }
.what-we-make .item p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-70);
  margin: 0;
}

/* ---------- Listings page ---------- */

.nav { padding-top: 24px; }
.nav a { font-size: 14px; }

.listings-hero { padding-top: 72px; padding-bottom: 64px; }
.hero-rule { width: 40px; height: 2px; background: var(--amber); margin: 0 0 24px 0; }
.listings-hero .eyebrow { letter-spacing: 0.16em; margin-bottom: 16px; }
.listings-hero h1 {
  font-size: clamp(34px, 7.5vw, 56px);
  line-height: 1.12;
  margin: 0 0 20px 0;
  text-wrap: pretty;
}
.listings-hero h1 span { display: block; }
.listings-hero .subline {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-85);
  margin: 0;
  max-width: 48ch;
  text-wrap: pretty;
}

section.block { padding-bottom: 72px; }

.section-intro { font-size: 15px; color: var(--text-60); margin: -20px 0 36px 0; }

/* Before/after comparison slider */
.pairs { display: grid; gap: 48px; }
.pair { margin: 0; display: grid; gap: 12px; }

.compare {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface);
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.compare .chip {
  position: absolute;
  top: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.9);
  background: rgba(26, 26, 26, 0.6);
  padding: 3px 9px;
  border-radius: 3px;
  pointer-events: none;
  z-index: 1;
}
.compare .chip-before { left: 10px; }
.compare .chip-after { right: 10px; }

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  margin-left: -22px;
  cursor: ew-resize;
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.compare-handle:focus-visible { outline: 2px solid var(--honey); outline-offset: -2px; }
.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: rgba(244, 239, 230, 0.9);
}
.compare-knob {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--text);
  color: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 2px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.pair-meta {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
}
.pair-meta figcaption { font-size: 15px; line-height: 1.5; color: var(--text-75); }
.tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
}

/* What a Listing Edit includes */
.includes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.includes li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  font-size: 16px;
  line-height: 1.5;
}
.includes li:last-child { border-bottom: 1px solid var(--border); }
.includes .num {
  color: var(--text-50);
  font-size: 14px;
  min-width: 20px;
  padding-top: 2px;
}

.ad-creatives { margin-top: 40px; display: grid; gap: 16px; }
.ad-creatives h3 { font-size: 16px; }
.ad-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}
.ad-frame { display: grid; gap: 8px; }
.ad-frame.feed { flex: 1 1 160px; max-width: 220px; }
.ad-frame.story { flex: 1 1 130px; max-width: 180px; }
.ad-frame.facebook { flex: 1 1 180px; max-width: 240px; }
.ad-frame .frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
}
.ad-frame.feed .frame { aspect-ratio: 4 / 5; }
.ad-frame.story .frame { aspect-ratio: 9 / 16; }
.ad-frame.facebook .frame { aspect-ratio: 1 / 1; }
.ad-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ad-frame .label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-50);
}
.ad-caption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-60);
  margin: 0;
  max-width: 48ch;
}

/* Pricing */
.price-card {
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 24px;
}
.price-card .figure {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 500;
  margin: 0 0 4px 0;
}
.price-card p { font-size: 15px; line-height: 1.55; color: var(--text-70); margin: 0; }

/* Send your listing */
.send-form { display: grid; gap: 16px; max-width: 440px; }
.send-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--text-70);
}
.send-form input {
  background: var(--surface);
  border: 1px solid var(--border-input);
  border-radius: 4px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  padding: 12px 14px;
  min-height: 44px;
  width: 100%;
  outline: none;
}
.send-form input:focus { border-color: var(--honey); }
.send-form .btn { justify-self: start; }
.fine-print { font-size: 13px; line-height: 1.55; color: var(--text-50); margin: 0; }

/* Trust strip */
.trust {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-75);
}
.trust p { margin: 0; }

/* FAQ */
.faq-section { padding-bottom: 80px; }
.faq-section h2 { margin-bottom: 20px; }
.faq { display: grid; }
.faq details { border-top: 1px solid var(--border); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-70);
  margin: 0 0 16px 0;
}

/* Footer */
footer {
  margin-top: auto;
  padding-top: 32px;
  padding-bottom: 48px;
  display: grid;
  gap: 16px;
  font-size: 15px;
}
body.home footer { border-top: 1px solid var(--border); }
footer .links { display: flex; gap: 24px; }
.legal { font-size: 12px; line-height: 1.5; color: var(--text-45); margin: 0; }
.legal a { color: var(--text-55); }
