/* medispas.ai — company brand. See medspa-engine/BRAND.md (Visual identity). */
:root {
  --canvas: #f6f4ef;
  --evergreen: #1e3a2f;
  --evergreen-deep: #16291f;
  --ink: #20231f;
  --ink-soft: #4a504a;
  --accent: #3c7a5a;
  --sage: #e7ede6;
  --line: rgba(32, 35, 31, 0.12);
  --radius: 14px;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.serif { font-family: "Newsreader", Georgia, serif; }

h1, h2, h3 { font-family: "Newsreader", Georgia, serif; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: 64px; }
h2 { font-size: 40px; }
h3 { font-size: 24px; }

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

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

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 244, 239, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: "Newsreader", serif; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--evergreen); display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand:hover, .brand:focus { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand .dot { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.nav a { color: var(--ink-soft); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: none; }

@media (max-width: 720px) {
  .site-header .wrap { position: relative; }
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; z-index: 20;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--canvas); border-bottom: 1px solid var(--line); padding: 8px 32px 18px;
  }
  .site-header.nav-open .nav { display: flex; }
  .nav a { padding: 13px 0; font-size: 17px; }
  .nav .btn { margin-top: 10px; text-align: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: inherit; font-size: 16px; font-weight: 600;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--evergreen); color: #fff; }
.btn-primary:hover { background: var(--evergreen-deep); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--evergreen); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--evergreen); text-decoration: none; }
.btn-lg { padding: 18px 34px; font-size: 18px; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 72px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
}
.check {
  display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
}
.hero h1 { max-width: 16ch; }
.hero .lede { font-size: 22px; color: var(--ink-soft); max-width: 46ch; margin: 28px 0 36px; line-height: 1.5; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-actions .note { font-size: 15px; color: var(--ink-soft); }

/* ---------- section scaffolding ---------- */
section { padding: 72px 0; }
.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head .kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 19px; margin-top: 14px; }

.band { background: var(--evergreen); color: #fff; }
.band h2, .band h3 { color: #fff; }
.band .section-head p, .band .muted { color: rgba(255, 255, 255, 0.74); }
.band .kicker { color: #9fccb4; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { }
.step .num { font-family: "Newsreader", serif; font-size: 22px; color: var(--accent); border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 14px; margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { color: rgba(255, 255, 255, 0.74); font-size: 16px; }

/* ---------- compliance feature ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.feature ul { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.feature li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.feature li .check { flex: 0 0 auto; margin-top: 3px; }
.seal {
  background: var(--sage); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; text-align: center;
}
.seal .mark { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 34px; font-weight: 700; margin-bottom: 20px; }
.seal .label { font-family: "Newsreader", serif; font-size: 22px; color: var(--evergreen); }
.seal .sub { font-size: 15px; color: var(--ink-soft); margin-top: 8px; }

/* ---------- packages ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column;
}
.tier.featured { border-color: var(--evergreen); box-shadow: 0 1px 0 var(--evergreen); position: relative; }
.tier .flag { position: absolute; top: -12px; left: 32px; background: var(--evergreen); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.tier h3 { margin-bottom: 4px; }
.tier .tier-tag { color: var(--ink-soft); font-size: 15px; min-height: 44px; }
.price { font-family: "Newsreader", serif; font-size: 44px; color: var(--evergreen); margin: 12px 0 4px; }
.price small { font-family: "Hanken Grotesk", sans-serif; font-size: 15px; color: var(--ink-soft); font-weight: 500; }
.tier ul { list-style: none; margin: 20px 0 28px; display: grid; gap: 11px; }
.tier li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.tier li .check { width: 17px; height: 17px; font-size: 10px; flex: 0 0 auto; margin-top: 3px; }
.tier .btn { margin-top: auto; text-align: center; }
.tier-note { text-align: center; color: var(--ink-soft); font-size: 15px; margin-top: 28px; }

/* ---------- final CTA ---------- */
.cta { text-align: center; }
.cta h2 { font-size: 48px; max-width: 18ch; margin: 0 auto 20px; }
.cta p { color: var(--ink-soft); font-size: 20px; max-width: 44ch; margin: 0 auto 34px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.site-footer .brand { font-size: 19px; }
.site-footer .brand-mark { width: 24px; height: 24px; }
.site-footer .muted { color: var(--ink-soft); font-size: 14px; }
.site-footer .seal-mini { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.footer-links { display: inline-flex; gap: 18px; font-size: 14px; }
.social { display: inline-flex; align-items: center; gap: 16px; }
.social a { color: var(--evergreen); display: inline-flex; text-decoration: none; transition: color 0.15s; }
.social a:hover { color: var(--accent); }
.social svg { width: 22px; height: 22px; }
.footer-links a { color: var(--ink-soft); }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; padding: 64px 0 96px; }
.legal h1 { font-size: 44px; margin-bottom: 8px; }
.legal .updated { color: var(--ink-soft); font-size: 15px; margin-bottom: 14px; }
.legal .draft-flag {
  background: var(--sage); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; font-size: 15px; color: var(--evergreen); margin: 18px 0 36px;
}
.legal h2 { font-size: 24px; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--ink); }
.legal ul { margin: 10px 0 10px 22px; display: grid; gap: 8px; }
.legal strong { font-weight: 500; }

/* ---------- dashboard ---------- */
.btn-sm { padding: 9px 18px; font-size: 14px; }
.dash-bar { border-bottom: 1px solid var(--line); background: #fff; }
.dash-bar .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.dash-nav { display: flex; gap: 4px; }
.dash-nav a { font-size: 15px; font-weight: 500; color: var(--ink-soft); padding: 7px 15px; border-radius: 999px; }
.dash-nav a:hover, .dash-nav a.active { color: #fff; background: var(--evergreen); text-decoration: none; }

.nav-burger { display: none; background: none; border: none; color: var(--evergreen); cursor: pointer; padding: 6px; }

.hdr-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hdr-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--ink-soft); flex: 0 0 auto; }
.hdr-icon:hover { background: var(--sage); color: var(--evergreen); text-decoration: none; }
.hdr-icon svg { width: 20px; height: 20px; }
.btn-upgrade { display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink);
  background: var(--sage); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; white-space: nowrap; }
.btn-upgrade:hover { background: #dce6db; border-color: var(--evergreen); color: var(--evergreen); text-decoration: none; }
.user-menu { position: relative; }
.user-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; overflow: hidden; padding: 0; }
.user-btn:hover { border-color: var(--evergreen); }
.user-btn img { width: 100%; height: 100%; object-fit: contain; }
.user-initial { display: grid; place-items: center; width: 100%; height: 100%;
  background: var(--evergreen); color: #fff; font-weight: 700; font-size: 18px; }
.user-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 224px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  padding: 8px; display: none; z-index: 50; }
.user-menu.open .user-pop { display: block; }
.up-email { font-size: 14px; font-weight: 600; color: var(--ink); padding: 8px 12px 2px; word-break: break-all; }
.up-spa { font-size: 13px; color: var(--ink-soft); padding: 0 12px 9px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.up-item { display: block; width: 100%; text-align: left; font-family: inherit; font-size: 14px; color: var(--ink);
  background: none; border: none; cursor: pointer; padding: 9px 12px; border-radius: 8px; }
.up-item:hover { background: var(--sage); color: var(--evergreen); text-decoration: none; }
.up-logout { color: #8a3a22; }
.up-settings { display: flex; align-items: center; gap: 9px; }
.up-settings svg { color: var(--ink-soft); }

/* account items folded into the mobile menu */
.nav-account { display: none; }
.nav-account a, .nav-logout { font-size: 15px; font-weight: 500; color: var(--ink-soft); padding: 11px 14px; border-radius: 999px; }
.nav-logout { display: block; width: 100%; text-align: left; background: none; border: none; font-family: inherit; cursor: pointer; color: #8a3a22; }
.nav-account a:hover, .nav-account a.active { color: #fff; background: var(--evergreen); text-decoration: none; }

/* brand settings */
.saved-banner { background: var(--accent); color: #fff; border-radius: 10px; padding: 12px 16px;
  font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.logo-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.logo-prev { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line);
  background: #fff; flex: 0 0 auto; }
.logo-empty { display: grid; place-items: center; background: var(--evergreen); color: #fff; font-weight: 700; font-size: 26px; }
.area-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.area-row select, .area-row input { font-family: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; background: #fff; min-width: 0; }
.tag-input { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 10px; background: #fff; }
.tag { display: inline-flex; align-items: center; gap: 7px; background: #e9e8e3; color: var(--ink);
  border-radius: 999px; padding: 5px 6px 5px 12px; font-size: 14px; font-weight: 500; }
.tag-x { border: none; background: rgba(0,0,0,0.1); color: var(--ink-soft); border-radius: 50%;
  width: 18px; height: 18px; line-height: 1; cursor: pointer; font-size: 15px; display: grid; place-items: center; padding: 0; }
.tag-entry { border: none; outline: none; font-family: inherit; font-size: 15px; padding: 6px 4px; flex: 1; min-width: 140px; background: none; }
@media (max-width: 560px) { .area-row { grid-template-columns: 1fr; } }

/* agreement gate */
.agree-list { display: grid; gap: 10px; margin: 0; padding-left: 20px; }
.agree-list li { font-size: 15px; line-height: 1.5; color: var(--ink); }
.agree-check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink); cursor: pointer; }
.agree-check input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
.handle-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.handle-row .pf { width: 30px; height: 30px; }
.handle-row input { flex: 1; min-width: 0; }

/* calendar views */
.view-toggle { display: inline-flex; gap: 4px; background: var(--sage); border-radius: 999px; padding: 4px; margin: 4px 0 18px; }
.view-toggle a { font-size: 14px; font-weight: 600; color: var(--ink-soft); padding: 6px 16px; border-radius: 999px; }
.view-toggle a.active { background: var(--evergreen); color: #fff; }
.view-toggle a:hover:not(.active) { color: var(--evergreen); text-decoration: none; }
.cal-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.cal-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  color: var(--evergreen); font-size: 16px; }
.cal-arrow:hover { background: var(--sage); text-decoration: none; }
.cal-label { font-weight: 600; font-size: 16px; color: var(--ink); }
.cal-today-btn { margin-left: 4px; }

.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cal-day { background: #fff; border: 1px solid var(--line); border-radius: 12px; min-height: 150px; overflow: hidden; }
.cal-day-h { padding: 8px 6px; text-align: center; font-size: 11px; font-weight: 600; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.03em; border-bottom: 1px solid var(--line); }
.cal-day-h span { display: block; font-size: 18px; color: var(--ink); margin-top: 1px; }
.cal-day-body { padding: 6px; display: flex; flex-direction: column; gap: 5px; }
.cal-post { display: flex; align-items: center; gap: 5px; background: var(--canvas); border-radius: 8px; padding: 5px 7px; font-size: 12px; color: var(--ink); }
.cal-post .pf { width: 16px; height: 16px; }
.cal-post-time { font-weight: 600; white-space: nowrap; }
.cal-post-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-soft); }
.cal-post.status-approved { background: #dceee3; }
.cal-post.status-rejected { background: #f9eeea; }
.cal-post.status-draft { background: #fbf6e7; }

.cal-month .cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 6px; }
.cal-weekdays span { text-align: center; font-size: 11px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.03em; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cal-cell { background: #fff; border: 1px solid var(--line); border-radius: 10px; min-height: 100px; padding: 6px; display: flex; flex-direction: column; gap: 3px; }
.cal-cell.cal-muted { background: transparent; border-color: transparent; }
.cal-cell.cal-muted .cal-cell-n { color: rgba(32,35,31,0.25); }
.cal-cell.cal-today { border-color: var(--evergreen); }
.cal-cell-n { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.cal-chip { display: flex; align-items: center; gap: 4px; background: var(--canvas); border-radius: 6px; padding: 3px 5px; font-size: 11px; color: var(--ink); }
.cal-chip .pf { width: 14px; height: 14px; }
.cal-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-chip.status-approved { background: #dceee3; }
.cal-chip.status-rejected { background: #f9eeea; }
.cal-chip.status-draft { background: #fbf6e7; }
.cal-more { font-size: 11px; color: var(--accent); font-weight: 600; padding-left: 2px; }

@media (max-width: 720px) {
  .cal-week { grid-template-columns: 1fr; }
  .cal-day { min-height: auto; }
  .cal-day-h { display: flex; justify-content: center; gap: 6px; align-items: baseline; }
  .cal-day-h span { display: inline; font-size: 14px; }
  .cal-cell { min-height: 72px; }
  .cal-chip span { display: none; }
}
.dash { padding: 48px 0 96px; }
.dash-narrow { max-width: 560px; }
.dash-head { margin-bottom: 28px; }
.dash-head h1 { font-size: 40px; margin: 4px 0; }
.dash .kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--ink-soft); }

.acct-switch { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }

.media-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 24px; }
.media-bar-head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.media-bar-head code { background: var(--sage); color: var(--evergreen); padding: 2px 8px; border-radius: 6px; font-size: 13px; }
.media-grid { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.media-tile { width: 96px; display: grid; gap: 5px; }
.media-tile img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.media-icon { width: 96px; height: 96px; display: grid; place-items: center; background: var(--sage); color: var(--evergreen); border-radius: 10px; font-size: 13px; text-transform: uppercase; font-weight: 600; }
.media-name { font-size: 11px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- platform-native phone preview ---------- */
.phone { width: 300px; margin: 16px auto 4px; padding: 10px; background: #1c1c1e; border-radius: 34px;
  box-shadow: 0 26px 60px rgba(0,0,0,0.38), 0 10px 22px rgba(0,0,0,0.26); }
.phone-screen { background: #fff; border-radius: 26px; overflow: hidden; font-size: 13px; color: #1a1a1a; }
.phone .ava { width: 30px; height: 30px; border-radius: 50%; background: var(--evergreen); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; flex: 0 0 auto; }
.phone .ava.sq { border-radius: 7px; }
.phone .pv-media { background: linear-gradient(135deg, #e7ede6, #d9c7a7); display: grid; place-items: center; text-align: center; }
.phone .pv-media span { font-size: 11px; color: #5f5e5a; padding: 14px; line-height: 1.4; }
.phone .pv-media.square { aspect-ratio: 1/1; }
.phone .pv-media.wide { aspect-ratio: 1.6/1; }
.phone .pv-media.tall { aspect-ratio: 9/16; }
.phone .i { width: 22px; height: 22px; fill: none; stroke: #222; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phone .pv-tags { color: #2a4a8a; }

/* Instagram */
.ig-top { display: flex; align-items: center; gap: 9px; padding: 10px 12px; }
.ig-handle { font-weight: 600; font-size: 13px; flex: 1; }
.ig-top .dots { color: #555; font-size: 18px; }
.ig-actions { display: flex; gap: 16px; padding: 10px 12px 4px; }
.ig-actions .save { margin-left: auto; }
.ig-cap { padding: 2px 12px; line-height: 1.4; }
.pv-tags { padding: 4px 12px 12px; font-size: 12px; }

/* Facebook */
.fb-top { display: flex; align-items: center; gap: 9px; padding: 11px 12px 6px; }
.fb-name { font-weight: 600; font-size: 13px; }
.fb-meta { font-size: 11px; color: #777; }
.fb-cap { padding: 4px 12px 10px; line-height: 1.45; }
.fb-bar { display: flex; justify-content: space-around; padding: 9px 6px; border-top: 1px solid #eee; color: #555; font-size: 12px; }

/* TikTok */
.phone-tiktok .phone-screen { background: #000; position: relative; }
.tt .pv-media.tall { background: linear-gradient(160deg, #2a2a2e, #444); }
.tt .pv-media.tall span { color: #cfcfcf; }
.tt-rail { position: absolute; right: 10px; bottom: 70px; display: grid; gap: 16px; justify-items: center; }
.tt-rail .i { stroke: #fff; }
.tt-cap { position: absolute; left: 12px; right: 56px; bottom: 14px; color: #fff; font-size: 12px; line-height: 1.4; text-shadow: 0 1px 3px rgba(0,0,0,0.6); }

/* Google Business */
.gb-top { display: flex; align-items: center; gap: 9px; padding: 11px 12px 8px; }
.gb-cap { padding: 8px 12px; line-height: 1.45; }
.gb-btn { margin: 4px 12px 14px; text-align: center; border: 1px solid var(--evergreen); color: var(--evergreen); border-radius: 999px; padding: 9px; font-weight: 600; font-size: 13px; }

.post-preview { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 6px; }
.post-preview summary { cursor: pointer; font-size: 14px; color: var(--accent); font-weight: 500; }

.post-list { display: grid; gap: 18px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; border-left: 4px solid var(--line);
}
.post-card.status-approved { border-left-color: var(--accent); }
.post-card.status-rejected { border-left-color: #c0563a; opacity: 0.7; }
.post-card.status-published { border-left-color: var(--evergreen); }

.post-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.badge {
  background: var(--sage); color: var(--evergreen); border-radius: 999px;
  padding: 4px 12px; font-size: 13px; font-weight: 500;
}
.badge-platform { background: var(--evergreen); color: #fff; }
.badge-time { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); }
.status-pill { margin-left: auto; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em; }
.status-pill.status-draft { background: #f3ead2; color: #7a5b12; }
.status-pill.status-approved { background: var(--accent); color: #fff; }
.status-pill.status-rejected { background: #f0d9d1; color: #8a3a22; }
.status-pill.status-published { background: var(--evergreen); color: #fff; }

/* platform logo chips (replace the text platform tag) */
.pf { display: inline-flex; width: 24px; height: 24px; flex: 0 0 auto; }
.pf svg { width: 100%; height: 100%; display: block; }

/* in-portal media upload */
.media-upload { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 12px 0 2px; }
.media-upload input[type=file] { font-family: inherit; font-size: 14px; color: var(--ink-soft);
  border: 1px dashed var(--line); border-radius: 10px; padding: 9px 12px; background: #fff; max-width: 100%; }
.media-upload input[type=file]::file-selector-button { font-family: inherit; font-size: 13px; font-weight: 500;
  color: var(--evergreen); background: var(--sage); border: none; border-radius: 7px; padding: 6px 12px;
  margin-right: 12px; cursor: pointer; }
.media-seeall { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }

/* media library page */
.library { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-top: 22px; }
.lib-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lib-thumb { position: relative; aspect-ratio: 1/1; background: var(--sage); display: grid; place-items: center; }
.lib-thumb img, .lib-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-other { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.lib-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 30px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55); pointer-events: none; }
.lib-used { position: absolute; top: 8px; left: 8px; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.lib-meta { padding: 4px 12px 10px; display: grid; gap: 2px; }
.lib-name { font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-src { font-size: 12px; color: var(--ink-soft); }

/* media classification: inferred tags + one-tap confirm/edit */
.media-caption { flex: 1 1 240px; min-width: 200px; font-family: inherit; font-size: 14px; color: var(--ink);
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.lib-tile-review { border-color: rgba(176,137,75,0.55); }
.lib-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0; }
.tagchip { font-size: 11.5px; font-weight: 600; color: var(--ink-soft); background: #eceae4;
  padding: 3px 9px; border-radius: 999px; line-height: 1.5; }
.tagchip-cat { background: var(--sage); color: var(--evergreen); }
.tagchip-pair { background: #e7efe6; color: var(--accent); }
.tagchip-unknown { background: #f4ece0; color: #9a7434; }
.lib-desc { margin: 8px 12px 0; font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }
/* shared confirm + edit + delete row (gallery tiles, grouped tiles, and table rows) */
.lib-confirm, .media-actions { display: flex; align-items: center; gap: 10px 14px; padding: 10px 12px 0; flex-wrap: wrap; }
.lib-confirm form, .media-actions form { margin: 0; }
.lib-ok { font-size: 12.5px; font-weight: 600; color: var(--accent); }
/* in the table the actions sit in a cell, so no tile padding; give the edit form room */
/* confirm control takes the first line; Edit + Delete pair up beside each other on the next */
.media-actions > :first-child { flex: 1 0 100%; }
.media-table .media-actions { padding: 0; }
.media-table .mt-status { min-width: 156px; }
.media-table .lib-edit-form { min-width: 196px; }
/* Edit sits inline (beside Delete) when closed; only when OPENED does it break to its own
   full-width line so the form has room and isn't squeezed by the flex row. */
.lib-edit { flex: 0 0 auto; font-size: 12.5px; }
.lib-edit[open] { flex: 1 0 100%; order: 9; }
.lib-edit > summary { cursor: pointer; color: var(--ink-soft); list-style: none; user-select: none;
  display: inline-flex; align-items: center; gap: 5px; font-weight: 600; padding: 4px 0; }
.lib-edit > summary::-webkit-details-marker { display: none; }
.lib-edit > summary::before { content: "\270E"; font-size: 13px; }
.lib-edit[open] > summary { color: var(--ink); }
.lib-edit-form { display: grid; gap: 11px; margin-top: 8px; padding: 14px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px; }
.lib-edit-form .fld { display: grid; gap: 5px; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.lib-edit-form select, .lib-edit-form input { width: 100%; box-sizing: border-box; font-family: inherit;
  font-size: 14px; font-weight: 400; color: var(--ink); padding: 9px 11px; border: 1px solid var(--line);
  border-radius: 9px; background: #fff; }
.lib-edit-form button { justify-self: start; margin-top: 2px; }

/* media view modes: toggle + table + grouped */
.media-toggle { margin: 18px 0 4px; }
.media-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13.5px; }
.media-table thead th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--ink-soft); font-weight: 600; padding: 0 12px 8px; border-bottom: 1px solid var(--line); }
.media-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink); }
.media-table tr.mt-review td:first-child { box-shadow: inset 3px 0 0 rgba(176,137,75,0.65); }
.media-table tbody tr:hover { background: var(--paper); }
.mt-thumb { width: 56px; }
.mt-thumb img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; display: block; }
.mt-vid, .mt-other { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px;
  background: var(--sage); color: var(--ink-soft); font-size: 14px; }
.mt-desc { color: var(--ink-soft); max-width: 280px; }
.mt-status form { margin: 0; }
.mt-hint { margin-top: 12px; font-size: 13px; }
.media-group { margin-top: 26px; }
.media-group-head { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 0 0 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.media-group-count { font-size: 12px; font-weight: 600; color: var(--ink-soft); background: var(--sage);
  border-radius: 999px; padding: 2px 9px; }

/* offers & facts (the facts lane) */
.fld { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.fld input, .fld textarea, .fld select { font-family: inherit; font-size: 14px; font-weight: 400; color: var(--ink);
  padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; resize: vertical; }
.promo-new { display: grid; gap: 10px; max-width: 620px; margin: 18px 0 8px; padding: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.promo-new button { justify-self: start; }
.promo-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 18px; }
.promo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.promo-card.promo-draft { border-color: rgba(176,137,75,0.55); background: #fffdf8; }
.promo-card.promo-off { opacity: 0.62; }
.promo-top { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.promo-edit { display: grid; gap: 9px; }
.promo-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.promo-actions { margin-top: 2px; }
.promo-foot { display: flex; gap: 14px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.promo-foot form { margin: 0; }
.linkbtn { background: none; border: none; padding: 0; font: inherit; font-size: 12.5px; color: var(--ink-soft);
  cursor: pointer; text-decoration: underline; }
.linkbtn-danger { color: #a5453a; }
.promo-ctas { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.promo-ctas h2 { margin: 0 0 2px; font-size: 20px; }
.cta-form { display: grid; gap: 12px; max-width: 520px; margin-top: 14px; }
.cta-form button { justify-self: start; }
.cta-readonly { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px;
  font-size: 13px; color: var(--ink-soft); }

/* counts + Approve all */
.dash-counts { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.dash-counts p { margin: 0; }
.dash-counts form { margin: 0; }

.cadence { margin-top: 12px; }
.cadence > summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink, #1a1a1a); list-style: none; }
.cadence > summary::-webkit-details-marker { display: none; }
.cadence > summary::before { content: "📅 "; }
.cadence-form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-top: 10px; padding: 14px; border: 1px solid var(--line, #e7e3dc); border-radius: 12px; background: var(--card, #fff); }
.cadence-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted, #8a857c); }
.cadence-form input, .cadence-form select { padding: 7px 9px; border: 1px solid var(--line, #e7e3dc); border-radius: 8px; font-size: 14px; }
.cadence-note { flex-basis: 100%; font-size: 12px; }

/* calendar tile on the cards — iPhone Calendar app-icon layout, flat */
.cal-tile { display: flex; flex-direction: column; width: 82px; height: 82px; border-radius: 14px; overflow: hidden;
  flex: 0 0 auto; background: #fff; border: 1px solid rgba(32,35,31,0.22); }
.cal-top { background: var(--evergreen); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; text-align: center; padding: 5px 2px; line-height: 1.1; }
.cal-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.cal-date { font-size: 11px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.03em; }
.cal-time { font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap; }

/* archive table */
.arch-wrap { margin-top: 22px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.arch { width: 100%; border-collapse: collapse; font-size: 14px; }
.arch th { text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--ink-soft); padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.arch td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink); }
.arch tbody tr { cursor: pointer; }
.arch tbody tr:hover { background: var(--sage); }
.arch tbody tr:last-child td { border-bottom: none; }
.arch-date { font-weight: 600; white-space: nowrap; }
.arch-time { display: block; font-weight: 400; font-size: 12px; color: var(--ink-soft); }
.arch-post { color: var(--ink-soft); max-width: 340px; }
.arch .status-pill { margin-left: 0; }
.arch .pf { width: 22px; height: 22px; }

/* team / contributors */
.team { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.team-row { display: grid; grid-template-columns: 1.3fr 1.7fr 1fr auto; gap: 12px; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--line); margin: 0; }
.team-row:last-child { border-bottom: none; }
.team-head { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); }
.team-row input { font-family: inherit; font-size: 14px; color: var(--ink); border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 11px; background: #fff; min-width: 0; }
.team-actions { display: flex; gap: 8px; justify-content: flex-end; }
.team-del { color: #8a3a22; }
.team-add { background: var(--canvas); }
.team-member { border-bottom: 1px solid var(--line); }
.team-member:last-of-type { border-bottom: none; }
.team-member .team-row { border-bottom: none; padding-bottom: 6px; }
.team-status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 0 16px 12px; }
.badge.joined { background: var(--accent); color: #fff; }
.badge.invited { background: #f3ead2; color: #7a5b12; }
.link-copy { font-family: inherit; font-size: 13px; font-weight: 500; color: var(--accent);
  background: none; border: none; cursor: pointer; padding: 0; }
.link-copy:hover { text-decoration: underline; }

/* dashboard on phones */
@media (max-width: 640px) {
  .dash-bar .wrap { flex-wrap: wrap; height: auto; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .nav-burger { display: inline-flex; order: 3; margin-left: 8px; }
  .hdr-actions { order: 2; margin-left: auto; gap: 8px; }
  .user-menu { display: none; }
  .nav-account { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
  .btn-upgrade { padding: 7px 14px; }
  .dash-nav { display: none; order: 4; flex-basis: 100%; flex-direction: column; gap: 2px; }
  #dashHeader.nav-open .dash-nav { display: flex; }
  .dash-nav a { padding: 11px 14px; }
  .team-row { grid-template-columns: 1fr; }
  .team-head { display: none; }
  .team-actions { justify-content: flex-start; margin-top: 2px; }
  .post-index { grid-template-columns: 1fr; }
}

.post-caption { font-size: 16px; line-height: 1.6; color: var(--ink); white-space: normal; }
.post-tags { margin-top: 12px; color: var(--accent); font-size: 14px; }
.post-media { margin-top: 12px; font-size: 14px; color: var(--ink-soft); background: var(--canvas); border-radius: 8px; padding: 10px 14px; }
.post-actions { display: flex; gap: 10px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.post-actions form { display: inline; margin: 0; }

.post-refine { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.post-refine summary { cursor: pointer; font-size: 14px; color: var(--accent); font-weight: 500; }
.post-refine summary:hover { text-decoration: underline; }
.refine-form { display: grid; gap: 6px; margin-top: 14px; }
.refine-form label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.refine-form input {
  font-family: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; background: #fff;
}
.refine-form button { justify-self: start; margin-top: 2px; }

.edit-form { display: grid; gap: 8px; margin-top: 18px; }
.edit-form label { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-top: 10px; }
.edit-form textarea, .edit-form input {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff;
}
.edit-form textarea { line-height: 1.6; resize: vertical; }
.form-error { background: #f0d9d1; color: #8a3a22; border-radius: 10px; padding: 12px 14px; font-size: 14px; margin: 14px 0; }

/* ---------- social login ---------- */
.social-logins { display: grid; gap: 10px; margin: 22px 0 4px; }
.btn-social {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer;
}
.btn-social:hover { border-color: var(--evergreen); text-decoration: none; }
.btn-social-icon { width: 18px; height: 18px; flex: 0 0 auto; display: block; }
.or-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0 6px; color: var(--ink-soft); font-size: 13px; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- onboarding ---------- */
.onboard { padding: 64px 0 96px; max-width: 760px; margin: 0 auto; }
.onboard .eyebrow { margin-bottom: 18px; }
.onboard h1 { font-size: 48px; }
.onboard .lede { color: var(--ink-soft); font-size: 19px; margin: 18px 0 8px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 30px; margin-top: 28px;
}
.card h3 { font-size: 18px; margin-bottom: 18px; color: var(--evergreen); }
.field { padding: 14px 0; border-top: 1px solid var(--line); }
.field:first-of-type { border-top: none; padding-top: 0; }
.field .k { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.field .v { font-size: 17px; color: var(--ink); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { background: var(--sage); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--evergreen); }
.confirm-list { list-style: none; display: grid; gap: 10px; }
.confirm-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.confirm-list .q { color: var(--accent); font-weight: 700; }
.onboard-actions { margin-top: 32px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.onboard-actions .note { font-size: 14px; color: var(--ink-soft); }
/* Public "Start your week" capture form */
.start-form { display: grid; gap: 18px; }
.start-form .field-row { display: grid; gap: 6px; }
.start-form .field-row .k { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.start-form input { font-family: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; box-sizing: border-box; }
.start-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--sage); }
.start-form button { margin-top: 6px; justify-self: start; border: none; cursor: pointer; }
.edit-hint { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }

.confirmed { text-align: center; padding: 96px 0; max-width: 620px; }
.confirmed .mark { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 38px; margin-bottom: 28px; }
.confirmed p { color: var(--ink-soft); font-size: 19px; margin: 16px 0; }

/* ---------- rendered media inside the phone preview ---------- */
.phone .pv-media img, .phone .pv-media video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ---------- the week's posts: index of cards ---------- */
.post-index { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.index-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  border-left: 4px solid var(--line); padding: 20px 22px; color: var(--ink);
}
.index-card:hover { border-color: var(--evergreen); border-left-color: var(--evergreen); text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
.index-card.status-draft { background: #fbf6e7; }
.index-card.status-approved { background: #dceee3; border-left-color: var(--accent); }
.index-card.status-rejected { background: #f9eeea; border-left-color: #c0563a; }
.ic-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ic-caption { font-size: 15px; line-height: 1.55; color: var(--ink); flex: 1; }
.ic-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.ic-cta { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  color: var(--evergreen); background: #fff; border: 1px solid rgba(32,35,31,0.22);
  border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; }
.index-card:hover .ic-cta { border-color: var(--evergreen); }

/* ---------- focused post detail ---------- */
.detail { max-width: 640px; margin: 0 auto; padding: 28px 0 80px; }
.back { font-size: 14px; color: var(--ink-soft); }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0 6px; }
.detail-preview { display: flex; justify-content: center; }
.detail-content {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; margin-top: 18px;
}
.dc-label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.dc-cta { margin-top: 12px; font-size: 15px; color: var(--ink); }
.compliance-note { margin-top: 14px; font-size: 13px; color: var(--accent); background: var(--sage); border-radius: 8px; padding: 9px 13px; }

.detail-actions { display: flex; gap: 10px; align-items: center; margin-top: 22px; flex-wrap: wrap; }
.detail-actions form { display: inline; margin: 0; }
.detail-actions .btn { padding: 13px 26px; }
.approve-hint { font-size: 14px; margin-top: 12px; }

.approved-banner {
  margin-top: 22px; background: var(--accent); color: #fff; border-radius: var(--radius);
  padding: 16px 20px; font-size: 16px; font-weight: 600;
}
.rejected-banner {
  margin-top: 22px; background: #f0d9d1; color: #8a3a22; border-radius: var(--radius);
  padding: 16px 20px; font-size: 15px;
}
.archived-banner {
  margin-top: 22px; background: var(--sage); color: var(--evergreen); border-radius: var(--radius);
  padding: 16px 20px; font-size: 15px;
}
.link-form { margin-top: 16px; display: grid; gap: 8px; }
.link-form label { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.link-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.link-row input { flex: 1; min-width: 220px; font-family: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; background: #fff; }

/* ---------- the deliverable package (post-approval) ---------- */
.deliverable { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; }
.deliverable > summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--evergreen); padding: 14px 0; }
.deliverable > summary:hover { color: var(--accent); }
.deliverable-body { display: grid; gap: 18px; padding: 6px 0 18px; }
.dl-block { display: grid; gap: 10px; }
.dl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.dl-text {
  font-family: inherit; font-size: 15px; line-height: 1.6; color: var(--ink);
  white-space: pre-wrap; word-break: break-word; background: var(--canvas);
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0;
}
.dl-sent { font-size: 13px; margin: 0; }

@media (max-width: 860px) {
  h1 { font-size: 44px; }
  .hero h1, .onboard h1 { font-size: 40px; }
  .steps, .tiers, .feature { grid-template-columns: 1fr; }
  .feature { gap: 32px; }
}
