/* ============================================================
   DolceRight — Shared Site Styles
   Brand tokens: Teal (App1) · Terracotta (App2) · Gold (App3) · Olive (App4)
   Type: Playfair Display (display) + Lato (body/UI)
   ============================================================ */

:root {
  /* Brand palette */
  --parchment:        #F3ECDA;
  --parchment-deep:    #E9DFC4;
  --parchment-line:    #DCCFA9;
  --teal:              #3A5563;
  --teal-deep:         #2A3F4A;
  --terracotta:        #C4622D;
  --terracotta-deep:   #A64F22;
  --gold:              #B8943F;
  --olive:             #3D4A2E;
  --sienna:            #8C4A32;
  --sage:              #52734B;
  --sage-pale:         #E4EAE0;
  --stone:             #262420;
  --stone-soft:        #55504a;
  --white:             #FFFCF5;

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 4px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--stone);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terracotta-deep);
  margin-bottom: 0.9em;
  display: inline-block;
}

.lede {
  font-size: 1.18rem;
  color: var(--stone-soft);
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 0 var(--teal-deep);
}
.btn-primary:hover { box-shadow: 0 6px 0 var(--teal-deep); }

.btn-terracotta {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 0 var(--terracotta-deep);
}
.btn-terracotta:hover { box-shadow: 0 6px 0 var(--terracotta-deep); }

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--stone);
  border-color: var(--parchment-line);
}
.btn-ghost:hover { border-color: var(--stone); }

.btn[disabled], .btn.is-disabled {
  opacity: 0.55;
  cursor: default;
  transform: none !important;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 236, 218, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--parchment-line);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.logo .dolce { color: var(--terracotta-deep); }
.logo .right { color: var(--sage); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.94rem;
  font-weight: 700;
}
.nav-links a { color: var(--stone-soft); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--terracotta-deep); }
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }

.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; }

@media (max-width: 719px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--parchment);
    padding: 20px 32px 28px;
    border-bottom: 1px solid var(--parchment-line);
    gap: 18px;
  }
}

/* ---------- Section rhythm ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--parchment-deep); }
.section-dark { background: var(--olive); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .lede { color: rgba(255,255,255,0.82); }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

hr.rule {
  border: none;
  border-top: 1px solid var(--parchment-line);
  margin: 0;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--stone);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 32px;
  font-size: 0.92rem;
}
footer.site-footer .logo .dolce { color: #e0a479; }
footer.site-footer .logo .right { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-grid a { display: block; margin-bottom: 10px; color: rgba(255,255,255,0.72); }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Utility ---------- */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.tag-live { background: rgba(58,85,99,0.14); color: var(--teal); }
.tag-soon { background: rgba(196,98,45,0.14); color: var(--terracotta-deep); }
.tag-planned { background: rgba(184,148,63,0.16); color: #8a6b28; }

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

/* ---------- Homepage v2 components ---------- */
.section-stone { background: var(--stone); color: var(--white); }
.section-stone h2, .section-stone h3 { color: var(--white); }

.badge-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.82rem; font-weight: 700; color: var(--stone);
  background: var(--white); border: 1px solid var(--parchment-line);
  border-radius: 999px; padding: 8px 16px;
}
.badge-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--olive); display:inline-block; }

.placeholder-photo {
  background: repeating-linear-gradient(135deg, #E9DFC4, #E9DFC4 12px, #E2D6B8 12px, #E2D6B8 24px);
  border: 2px dashed var(--parchment-line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--stone-soft);
  min-height: 260px;
  padding: 24px;
}
.placeholder-photo .ph-label {
  background: var(--white); border-radius: var(--radius); padding: 10px 16px;
  font-size: 0.85rem; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.site-photo { border-radius: var(--radius); overflow: hidden; }
.site-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }

.numbered-card {
  border: 1px solid var(--parchment-line); padding: 32px 28px;
  background: var(--parchment);
}
.numbered-card .num { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); font-weight: 700; }
.numbered-card h4 { font-family: var(--font-display); font-size: 1.1rem; margin: 10px 0 8px; }
.numbered-card p { color: var(--stone-soft); font-size: 0.95rem; margin: 0; }

.stat-strip {
  display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(255,255,255,0.15);
}
.stat-strip .stat {
  flex: 1; min-width: 220px; padding: 26px 32px; border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-strip .stat:last-child { border-right: none; }
.stat-strip .stat .k { font-weight: 700; color: var(--gold); }
.stat-strip .stat .v { color: rgba(255,255,255,0.8); font-size: 0.94rem; }

.step-circle {
  width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem; color: var(--terracotta-deep); font-weight: 700;
  margin-bottom: 18px;
}

.quote-card {
  background: var(--parchment-deep); border-radius: var(--radius); padding: 32px;
}
.quote-card p:first-child { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--stone); }

.check-row { display:flex; gap:14px; padding:16px 0; border-bottom:1px solid var(--parchment-line); }
.check-row:last-child { border-bottom:none; }
.check-dot {
  flex-shrink:0; width:26px; height:26px; border-radius:50%; background: rgba(61,74,46,0.14);
  color: var(--olive); display:flex; align-items:center; justify-content:center; font-size:0.85rem; font-weight:700;
}

.suite-card { background: var(--white); border: 1px solid var(--parchment-line); padding: 32px 28px; }
.suite-card.is-live { background: var(--white); border-top: 4px solid var(--teal); }
.suite-card .app-no { font-family: var(--font-display); color: var(--terracotta); font-size: 0.95rem; font-weight:700; }
.suite-status { display:inline-block; font-size:0.74rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; padding:5px 10px; border-radius:3px; margin: 8px 0 14px; }
.suite-status.live { background: rgba(58,85,99,0.14); color: var(--teal); }
.suite-status.soon { background: rgba(196,98,45,0.12); color: var(--terracotta-deep); }
.suite-status.dev { background: rgba(184,148,63,0.16); color:#8a6b28; }
.suite-status.bundle { background: rgba(61,74,46,0.14); color: var(--olive); }
