/* Delano Nails & Spa — demo site shared styles
   Palette: soft blush / rose with deep plum & espresso accents.
   Type: Cormorant Garamond (display serif) + Manrope (sans; ExtraBold tabular numerals). */

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #faf4ef;
  --bg-soft: #f5e9e1;
  --surface: #fffdfc;
  --surface-2: #fdf1ec;
  --ink: #2e1b24;
  --ink-soft: #573f4a;
  --muted: #6d4b59;
  --plum: #57293e;
  --plum-deep: #3c1a2a;
  --plum-text: #57293e;
  --rose: #b4656f;
  --rose-deep: #96525d;
  --gold: #a07c46;
  --line: #e8d5cb;
  --line-strong: #d9bfb2;
  --btn-bg: #57293e;
  --btn-bg-hover: #46202f;
  --btn-ink: #ffffff;
  --chip-bg: rgba(60, 26, 42, 0.88);
  --shadow: 0 18px 44px rgba(60, 26, 42, 0.13);
  --shadow-sm: 0 8px 22px rgba(60, 26, 42, 0.09);
  --header-bg: rgba(250, 244, 239, 0.94);
  --footer-bg: #331623;
  --footer-ink: #f6e7df;
  --footer-muted: #d9bcae;
  --focus: #96525d;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #1d1117;
    --bg-soft: #251620;
    --surface: #2a1821;
    --surface-2: #311d28;
    --ink: #f8ede8;
    --ink-soft: #ecd6cf;
    --muted: #dbbcc3;
    --plum: #e2a3b1;
    --plum-deep: #170a10;
    --plum-text: #edaebb;
    --rose: #d99aa4;
    --rose-deep: #edaebb;
    --gold: #d3af74;
    --line: #4a2f3c;
    --line-strong: #5d3d4c;
    --btn-bg: #8a415a;
    --btn-bg-hover: #9c4a65;
    --btn-ink: #ffffff;
    --chip-bg: rgba(23, 10, 16, 0.88);
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
    --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.35);
    --header-bg: rgba(29, 17, 23, 0.94);
    --footer-bg: #170a10;
    --footer-ink: #f6e7df;
    --footer-muted: #cfae9f;
    --focus: #edaebb;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; }
a { color: var(--plum-text); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}
.num, .price, .stat-num, .hours-table td, .rating-num {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  opacity: 1;
}
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-soft { background: var(--bg-soft); }
h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.3rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
h3 { font-size: clamp(1.45rem, 2.6vw, 1.8rem); }
p { margin: 0 0 1em; }
.lede { font-size: 1.16rem; color: var(--ink-soft); max-width: 62ch; }
.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--rose-deep); margin: 0 0 0.9rem;
}
.section-head { max-width: 720px; margin-bottom: 2.4rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.72rem 1.6rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-outline { background: transparent; color: var(--plum-text); border-color: var(--plum-text); }
.btn-outline:hover { background: var(--surface-2); }
.btn-light { background: #ffffff; color: #46202f; }
.btn-light:hover { background: #f7e8e2; }
.btn-ghost-light { background: transparent; color: #ffffff; border-color: rgba(255,255,255,0.85); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.14); }
.btn-sm { min-height: 44px; padding: 0.55rem 1.15rem; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex; align-items: center; gap: 1rem;
  min-height: 72px; padding-block: 0.4rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); margin-right: auto; min-height: 48px; }
.brand-mark { flex: none; width: 42px; height: 42px; }
.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700;
  font-size: 1.42rem; line-height: 1.05; color: var(--ink); white-space: nowrap;
}
.brand-name small {
  display: block; font-family: "Manrope", sans-serif; font-weight: 700;
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--rose-deep);
}
.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0.45rem 0.8rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem;
}
.main-nav a:hover { background: var(--surface-2); }
.main-nav a[aria-current="page"] { color: var(--plum-text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.header-cta { display: flex; align-items: center; gap: 0.55rem; margin-left: 0.6rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px;
  padding: 0.45rem 0.7rem; color: var(--ink); text-decoration: none; font-weight: 700; white-space: nowrap;
}
.header-phone:hover { color: var(--plum-text); }
.nav-toggle {
  display: none; margin-left: 0.4rem;
  width: 48px; height: 48px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: var(--surface);
  color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
@media (max-width: 1020px) {
  .header-phone { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 0.7rem 1.25rem 1.1rem; gap: 0.15rem;
    box-shadow: var(--shadow-sm);
  }
  .main-nav.open { display: flex; }
  .main-nav a { min-height: 48px; padding: 0.6rem 0.9rem; font-size: 1.05rem; }
  .header-cta { margin-left: 0; }
  .header-cta .btn { padding-inline: 1.05rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--plum-deep); color: #ffffff;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(43, 15, 27, 0.88) 22%, rgba(60, 26, 42, 0.62) 55%, rgba(87, 41, 62, 0.3) 100%);
}
.hero-in { padding: clamp(4.2rem, 10vw, 7.5rem) 0 clamp(4.5rem, 9vw, 7rem); max-width: 760px; }
.hero h1 { color: #ffffff; margin-bottom: 0.35em; }
.hero h1 em { font-style: italic; font-weight: 500; }
.hero .eyebrow { color: #f3c3c9; }
.hero-sub { font-size: 1.18rem; color: #f9e9e2; max-width: 54ch; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--chip-bg); color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px; padding: 0.45rem 0.95rem; min-height: 44px;
  font-size: 0.94rem; font-weight: 600;
}
.chip .stars { color: #f6c453; letter-spacing: 0.08em; font-size: 0.92rem; }
.chip .rating-num { color: #ffffff; font-size: 1.45rem; line-height: 1; }
.petals { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute; border-radius: 80% 4px 80% 4px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 214, 218, 0.85), rgba(214, 138, 152, 0.35));
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(8deg); }
  to { transform: translate3d(2.2rem, 3.4rem, 0) rotate(46deg); }
}
@media (prefers-reduced-motion: reduce) {
  .petal { animation: none; }
}

/* page hero (subpages) */
.page-hero {
  background:
    radial-gradient(60rem 22rem at 85% -30%, rgba(180, 101, 111, 0.28), transparent 60%),
    linear-gradient(120deg, var(--plum-deep), var(--plum) 70%);
  color: #ffffff;
}
@media (prefers-color-scheme: dark) {
  .page-hero { background: linear-gradient(120deg, #170a10, #46202f 75%); }
}
.page-hero-in { padding: clamp(3.2rem, 7vw, 5rem) 0; max-width: 760px; }
.page-hero h1 { color: #ffffff; }
.page-hero .eyebrow { color: #f3c3c9; }
.page-hero p { color: #f9e9e2; font-size: 1.13rem; max-width: 58ch; }

/* ---------- placeholder photo panels ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: 18px;
  display: flex; align-items: flex-end;
  min-height: 240px; isolation: isolate;
}
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ph-bg, linear-gradient(160deg, #f7dcda, #e3a7ab));
}
.ph::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(24rem 14rem at 80% 0%, rgba(255,255,255,0.35), transparent 55%);
}
.ph-arch { border-radius: 999px 999px 18px 18px; }
.ph-arch .ph-label { top: 1rem; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.ph-motif { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(87, 41, 62, 0.4); }
.ph-motif svg { width: 46%; max-width: 170px; height: auto; }
.ph-label {
  position: absolute; top: 0.85rem; left: 0.85rem;
  background: rgba(60, 26, 42, 0.82); color: #ffffff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.32rem 0.65rem; border-radius: 999px;
}
.ph-cap {
  width: 100%; padding: 2.2rem 1.1rem 0.95rem;
  background: linear-gradient(transparent, rgba(46, 20, 32, 0.55));
  color: #ffffff; font-weight: 600; font-size: 0.98rem; line-height: 1.4;
}
.ph-1 { --ph-bg: linear-gradient(160deg, #f8dedb, #e2a3a8); }
.ph-2 { --ph-bg: linear-gradient(205deg, #f4e2cf, #dfae8d); }
.ph-3 { --ph-bg: linear-gradient(150deg, #ecdbe6, #bd93b0); }
.ph-4 { --ph-bg: linear-gradient(185deg, #faeae2, #eeb9ac); }
.ph-5 { --ph-bg: linear-gradient(140deg, #e7ccd2, #a9606c); }
.ph-6 { --ph-bg: linear-gradient(215deg, #f2e4d0, #d3b57f); }
.ph-7 { --ph-bg: linear-gradient(165deg, #decbd2, #7d5064); }
.ph-8 { --ph-bg: linear-gradient(195deg, #f7dcd2, #e09583); }
.ph-9 { --ph-bg: linear-gradient(150deg, #f0e2da, #c6a48f); }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 1.7rem; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.svc-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.svc-card .ph { border-radius: 0; min-height: 190px; }
.svc-card-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.svc-card-body p { color: var(--ink-soft); }
.card-link {
  margin-top: auto; padding-top: 0.7rem; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px;
}
.card-link:hover { text-decoration: underline; }

/* trust strip */
.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
@media (max-width: 980px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust-strip { grid-template-columns: 1fr; } }
.trust-item { text-align: left; padding: 1.3rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.trust-item .stat-num { font-size: 1.9rem; color: var(--plum-text); line-height: 1.15; display: block; }
.trust-item .stat-label { font-weight: 600; color: var(--ink-soft); font-size: 0.98rem; }
.stars { color: #c07f13; letter-spacing: 0.1em; }
@media (prefers-color-scheme: dark) { .stars { color: #f0b93e; } }

/* rating banner */
.rating-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 1.6rem 1.9rem; box-shadow: var(--shadow-sm);
}
.rating-big { display: flex; align-items: baseline; gap: 0.6rem; }
.rating-num { font-size: 3rem; line-height: 1; color: var(--plum-text); }
.rating-meta { color: var(--ink-soft); font-weight: 600; }

/* feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4.5vw, 3.6rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split .ph { min-height: 340px; }
.price-tag {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: 14px; padding: 0.7rem 1.1rem; margin-top: 0.6rem;
}
.price-tag .price { font-size: 1.7rem; color: var(--plum-text); line-height: 1; }
.price-tag .price-note { font-weight: 600; color: var(--ink-soft); font-size: 0.95rem; }
.check-list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.check-list li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--ink-soft); font-weight: 600; }
.check-list svg { flex: none; margin-top: 0.28rem; color: var(--rose-deep); }

/* loyalty card */
.loyalty {
  background: linear-gradient(130deg, var(--plum-deep), var(--plum) 78%);
  color: #ffffff; border-radius: 24px; padding: clamp(1.8rem, 4.5vw, 3rem);
  box-shadow: var(--shadow);
}
@media (prefers-color-scheme: dark) { .loyalty { background: linear-gradient(130deg, #170a10, #46202f 80%); } }
.loyalty h2, .loyalty h3 { color: #ffffff; }
.loyalty p { color: #f6e3da; }
.stamps { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.2rem 0 0.4rem; }
.stamp {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.55);
  display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; color: #ffffff;
  font-variant-numeric: tabular-nums lining-nums;
}
.stamp.filled { border-style: solid; border-color: #f3c3c9; background: rgba(243, 195, 201, 0.22); }
.loyalty-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
@media (max-width: 820px) { .loyalty-cols { grid-template-columns: 1fr; } }
.loyalty-perk { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); border-radius: 16px; padding: 1.1rem 1.25rem; }
.loyalty-perk .num { font-size: 1.5rem; color: #ffffff; }
.loyalty-perk p { margin: 0.2rem 0 0; font-size: 0.98rem; }

/* hours / visit */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: 0.65rem 0.4rem; text-align: left; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.hours-table th { font-weight: 600; color: var(--ink-soft); }
.hours-table td { text-align: right; color: var(--ink); }
.hours-table tr.today th, .hours-table tr.today td { color: var(--plum-text); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: none; }
.open-badge {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 36px;
  background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--plum-text);
  font-weight: 700; font-size: 0.92rem; border-radius: 999px; padding: 0.3rem 0.85rem;
}
.open-dot { width: 9px; height: 9px; border-radius: 50%; background: #2e7d4f; flex: none; }
.open-dot.closed { background: #b0483e; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.info-list svg { flex: none; margin-top: 0.2rem; color: var(--rose-deep); }
.info-list a { font-weight: 700; text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.info-label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* FAQ */
.faq-list { display: grid; gap: 0.9rem; max-width: 860px; }
details.faq {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 0.2rem 1.4rem;
}
details.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 56px; padding: 0.7rem 0;
  font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 1.32rem; color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .faq-icon { flex: none; color: var(--rose-deep); transition: transform 0.25s ease; }
details.faq[open ] summary .faq-icon { transform: rotate(45deg); }
details.faq .faq-body { padding: 0 0 1.15rem; color: var(--ink-soft); }
details.faq .faq-body p:last-child { margin-bottom: 0; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-grid .ph { min-height: 280px; }
.gallery-grid .ph.tall { min-height: 340px; }

/* forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.4rem; font-size: 0.98rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line-strong); border-radius: 12px;
  background: var(--surface); color: var(--ink);
  font-family: inherit; font-size: 1rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 0.88rem; color: var(--muted); margin-top: 0.3rem; }
.form-error {
  display: none; background: #fbeae8; color: #7c2318; border: 1px solid #e5b3ac;
  border-radius: 12px; padding: 0.85rem 1.05rem; font-weight: 600; margin-bottom: 1.1rem;
}
@media (prefers-color-scheme: dark) {
  .form-error { background: #472220; color: #ffc9c0; border-color: #7c443c; }
}
.form-error.show { display: block; }
.review-box {
  display: none; border: 1.5px dashed var(--line-strong); border-radius: 14px;
  padding: 1.2rem 1.3rem; background: var(--surface-2); margin-bottom: 1.2rem;
}
.review-box.show { display: block; }
.review-box dl { margin: 0; display: grid; gap: 0.45rem; }
.review-box dt { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.review-box dd { margin: 0 0 0.5rem; font-weight: 600; overflow-wrap: anywhere; }
.success-box {
  display: none; border: 1.5px solid #2e7d4f; background: #eef7f0; color: #1d4d31;
  border-radius: 14px; padding: 1.3rem 1.4rem;
}
@media (prefers-color-scheme: dark) {
  .success-box { background: #173325; color: #bfe6cd; border-color: #2e7d4f; }
}
.success-box.show { display: block; }
.success-box h3 { color: inherit; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--plum-deep), var(--plum) 75%);
  color: #ffffff; border-radius: 26px;
  padding: clamp(2.2rem, 5.5vw, 3.6rem); text-align: center; box-shadow: var(--shadow);
}
@media (prefers-color-scheme: dark) { .cta-band { background: linear-gradient(120deg, #170a10, #46202f 80%); } }
.cta-band h2 { color: #ffffff; }
.cta-band p { color: #f6e3da; max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* footer */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem;
  padding: clamp(2.6rem, 6vw, 4rem) 0 2.2rem;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #ffffff; font-size: 1.3rem; margin-bottom: 0.8rem; }
.site-footer a { color: var(--footer-ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; }
.site-footer p, .site-footer li { color: var(--footer-muted); }
.site-footer .brand-name { color: #ffffff; }
.site-footer .brand-name small { color: #edaebb; }
.footer-bottom {
  border-top: 1px solid rgba(246, 231, 223, 0.22);
  padding: 1.4rem 0 1.8rem; display: grid; gap: 0.5rem;
  font-size: 0.93rem; color: var(--footer-muted);
}
.footer-bottom .demo-line { color: var(--footer-ink); font-weight: 700; }
.social-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.social-chip {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px;
  border: 1px solid rgba(246, 231, 223, 0.4); border-radius: 999px; padding: 0.45rem 1rem;
  font-weight: 600; font-size: 0.94rem; color: var(--footer-ink);
}
a.social-chip:hover { background: rgba(246, 231, 223, 0.12); text-decoration: none; }

/* sticky mobile book bar */
.mobile-bookbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem; box-shadow: 0 -8px 24px rgba(60, 26, 42, 0.12);
}
.mobile-bookbar .btn { flex: 1; }
@media (max-width: 700px) {
  .mobile-bookbar { display: flex; }
  body { padding-bottom: 76px; }
}

.note-box {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.2rem 1.4rem; color: var(--ink-soft); font-weight: 600;
}
