/* ============================================================
   Vowi public pages: /prices, /features/ and the feature pages.
   Loaded after global.css + components.css. Nav + footer are
   drawn by /js/site.js. Light only, like the home page.
   ============================================================ */

body.site { background: #fff; color: var(--text-primary); overflow-x: hidden; }
.site main { display: block; }

/* Signed in on this device or not (class set by /js/site.js before paint) */
html:not(.is-in) [data-in] { display: none !important; }
html.is-in [data-out] { display: none !important; }

/* ---------- Nav ---------- */
.site .landing-nav { gap: 12px; }
.site .landing-nav-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--text-primary); text-decoration: none; }
.site .landing-nav-logo:hover { text-decoration: none; }
.site .landing-nav-links a.is-here { color: var(--primary-dark) !important; font-weight: 700; }
.sn-link { color: var(--text-secondary) !important; }

/* ---------- Shared bits ---------- */
.pg-wrap { max-width: 1120px; margin: 0 auto; padding: 0 48px; }
.pg-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary-dark); background: #fbf3e4; border: 1px solid #f0e2c6;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.pg-eyebrow hi-icon { width: 15px; height: 15px; }
.pg-h2 { font-family: var(--font-serif); font-size: clamp(1.75rem, 3.4vw, 2.4rem); font-weight: 700; line-height: 1.15; margin: 0 0 12px; color: var(--text-primary); }
.pg-lead { font-size: 1.0625rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }
.pg-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.pg-section { padding: 88px 0; }
.pg-section.is-tint { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pg-section + .pg-section:not(.is-tint) { border-top: 1px solid var(--border); }
.pg-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pg-actions .btn { gap: 8px; }
.pg-note { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-muted); margin-top: 18px; }
.pg-note hi-icon { color: var(--primary-dark); width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Hero ---------- */
.pg-hero { background: linear-gradient(180deg, var(--primary-bg) 0%, #fff 100%); padding: 72px 0 80px; overflow: hidden; }
.pg-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pg-hero.is-center .pg-hero-grid { grid-template-columns: 1fr; text-align: center; }
.pg-hero.is-center > .pg-wrap { text-align: center; }
.pg-hero.is-center .pg-actions, .pg-hero.is-center .pg-note { justify-content: center; }
.pg-hero.is-center .pg-sub { margin-left: auto; margin-right: auto; }
.pg-title { font-family: var(--font-serif); font-size: clamp(2.3rem, 4.6vw, 3.5rem); font-weight: 700; line-height: 1.08; margin: 0 0 18px; color: var(--text-primary); }
.pg-title em { font-style: normal; background: linear-gradient(135deg, #c9a96e, #a07840); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pg-sub { font-size: 1.125rem; color: var(--text-secondary); line-height: 1.7; max-width: 540px; margin: 0 0 30px; }
.pg-visual { position: relative; min-width: 0; }

/* ---------- Steps ---------- */
.pg-steps { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 20px; counter-reset: step; }
.pg-step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 24px; position: relative; }
.pg-step-n {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--sidebar-bg); color: var(--primary); font-weight: 700; font-family: var(--font-num);
  margin-bottom: 16px;
}
.pg-step h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; margin: 0 0 8px; }
.pg-step p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* ---------- Points (icon + text grid) ---------- */
.pg-points { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 28px 32px; }
.pg-point { display: flex; gap: 14px; align-items: flex-start; }
.pg-point-ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: #fbf3e4; color: var(--primary-dark); display: flex; align-items: center; justify-content: center; }
.pg-point-ic hi-icon { width: 22px; height: 22px; }
.pg-point h3 { font-size: 1rem; font-weight: 700; margin: 2px 0 6px; }
.pg-point p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ---------- Split rows (text + visual) ---------- */
.pg-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pg-split.is-flip > :first-child { order: 2; }
.pg-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.pg-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9875rem; color: var(--text-secondary); line-height: 1.6; }
.pg-list li hi-icon { color: var(--success); width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

/* ---------- Package strip ---------- */
.pg-pkgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.pg-pkg { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; background: #fff; }
.pg-pkg b { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.pg-pkg span { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.5; }
.pg-pkg.is-off { background: var(--bg); }
.pg-pkg.is-off b { color: var(--text-muted); }

/* ---------- FAQ ---------- */
.pg-faq { max-width: 760px; margin: 0 auto; }
.pg-faq details { border-bottom: 1px solid var(--border); }
.pg-faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-weight: 700; font-size: 1.02rem; color: var(--text-primary);
}
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary hi-icon { color: var(--primary-dark); transition: transform .2s ease; flex-shrink: 0; }
.pg-faq details[open] summary hi-icon { transform: rotate(180deg); }
.pg-faq details p { margin: 0 0 20px; color: var(--text-secondary); line-height: 1.7; font-size: 0.9875rem; }

/* ---------- CTA band ---------- */
.pg-cta { background: var(--sidebar-bg); color: #fff; padding: 84px 0; text-align: center; }
.pg-cta h2 { font-family: var(--font-serif); font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; margin: 0 auto 12px; max-width: 620px; color: #fff; line-height: 1.15; }
.pg-cta p { color: rgba(255,255,255,0.62); max-width: 480px; margin: 0 auto 30px; line-height: 1.7; }
.pg-cta .pg-actions { justify-content: center; }
.pg-cta .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.pg-cta .btn-secondary:hover:not(:disabled) { background: rgba(255,255,255,0.08); color: #fff; }

/* ---------- Feature cards (features page + home page) ---------- */
.fx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fx-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; color: inherit; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
a.fx-card:hover { text-decoration: none; box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #e6d3ae; }
.fx-ic { width: 46px; height: 46px; border-radius: 12px; background: #fbf3e4; color: var(--primary-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.fx-ic hi-icon { width: 24px; height: 24px; }
.fx-name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.fx-desc { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.fx-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 0.9rem; color: var(--primary-dark); }
.fx-more hi-icon { width: 16px; height: 16px; transition: transform .2s ease; }
a.fx-card:hover .fx-more hi-icon { transform: translateX(3px); }
.fx-tag { display: inline-block; margin-top: 16px; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }

/* ============================================================
   Product mock-ups (plain HTML, scaled with the column)
   ============================================================ */
.mk-card { background: #fff; border: 1px solid #ece4d8; border-radius: 16px; box-shadow: 0 24px 60px rgba(60,40,20,.12), 0 4px 12px rgba(60,40,20,.06); overflow: hidden; }
.mk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #f0e9df; }
.mk-head b { font-family: var(--font-serif); font-size: 1.15rem; }
.mk-head small { font-size: 0.78rem; color: var(--text-muted); }
.mk-body { padding: 18px 20px; }
.mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mk-stat { background: #faf7f2; border: 1px solid #f0e9df; border-radius: 10px; padding: 12px; }
.mk-stat b { display: block; font-family: var(--font-num); font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.mk-stat span { font-size: 0.72rem; color: var(--text-secondary); font-weight: 600; }
.mk-stat.is-good b { color: var(--success); }
.mk-rows { margin-top: 14px; border: 1px solid #f0e9df; border-radius: 10px; overflow: hidden; }
.mk-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; font-size: 0.85rem; }
.mk-row + .mk-row { border-top: 1px solid #f3ede4; }
.mk-row-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mk-row-name span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-av { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: #f3ede4; color: var(--primary-dark); font-weight: 700; font-size: 0.75rem; display: flex; align-items: center; justify-content: center; }
.mk-pill { flex-shrink: 0; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap; }
.mk-pill.g { color: #15803d; background: #e7f6ec; border-color: #bfe5cc; }
.mk-pill.b { color: #1d4ed8; background: #eaf0fe; border-color: #c9d7fb; }
.mk-pill.y { color: #92400e; background: #fdf3dc; border-color: #f4dca4; }
.mk-pill.m { color: #6b5d4f; background: #f3efe9; border-color: #e5ddd4; }
.mk-pill.r { color: #b91c1c; background: #fdecec; border-color: #f7caca; }
.mk-money { font-family: var(--font-num); font-weight: 700; white-space: nowrap; }

/* Phone frame (generic) */
.mk-phone {
  width: min(300px, 100%); margin: 0 auto; background: #1c1410; border-radius: 38px; padding: 12px;
  box-shadow: 0 30px 70px rgba(40,25,10,.25), 0 6px 16px rgba(40,25,10,.12);
}
.mk-screen { background: #f7f4ef; border-radius: 28px; overflow: hidden; min-height: 470px; display: flex; flex-direction: column; }
.mk-bar { display: flex; justify-content: space-between; padding: 12px 22px 6px; font-size: 0.72rem; font-weight: 700; color: #3b2f25; font-family: var(--font-num); }
.mk-thread-head { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 16px 12px; border-bottom: 1px solid #e9e2d8; background: #fbf9f6; }
.mk-thread-head .mk-av { width: 40px; height: 40px; font-size: 0.95rem; background: #e8d5b0; color: #5a4128; }
.mk-thread-head b { font-size: 0.85rem; }
.mk-thread-head small { font-size: 0.7rem; color: var(--text-muted); }
.mk-msgs { padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mk-day { text-align: center; font-size: 0.66rem; color: var(--text-muted); font-weight: 600; margin-top: 4px; }
.mk-bubble { max-width: 86%; background: #fff; border: 1px solid #ebe3d7; border-radius: 16px 16px 16px 4px; padding: 10px 12px; font-size: 0.8rem; line-height: 1.5; color: #2a2119; }
.mk-bubble.is-me { align-self: flex-end; background: #c9a96e; border-color: #c9a96e; color: #fff; border-radius: 16px 16px 4px 16px; }

/* Flow (own phone) */
.mk-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; }
.mk-node { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 14px; text-align: center; }
.mk-node .fx-ic { margin: 0 auto 10px; }
.mk-node b { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.mk-node span { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.45; display: block; }
.mk-node.is-dark { background: var(--sidebar-bg); border-color: var(--sidebar-bg); color: #fff; }
.mk-node.is-dark span { color: rgba(255,255,255,.62); }
.mk-node.is-dark .fx-ic { background: rgba(201,169,110,.16); color: var(--primary); }
.mk-arrow { color: var(--primary-dark); display: flex; }
.mk-arrow hi-icon { width: 22px; height: 22px; }

/* Timeline (reminders) */
.mk-tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 8px; }
.mk-tl::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 17px; height: 2px; background: #eadfcc; }
.mk-tl-item { position: relative; text-align: center; padding: 0 6px; }
.mk-tl-dot { width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; background: #fff; border: 2px solid #e2cfa6; color: var(--primary-dark); position: relative; }
.mk-tl-dot hi-icon { width: 18px; height: 18px; }
.mk-tl-item.is-due .mk-tl-dot { background: var(--sidebar-bg); border-color: var(--sidebar-bg); color: var(--primary); }
.mk-tl-item b { display: block; font-size: 0.9rem; margin-bottom: 4px; }
.mk-tl-item span { display: block; font-size: 0.8rem; color: var(--text-secondary); line-height: 1.45; }

/* Invitation card mock */
.mk-invite { position: relative; border-radius: 16px; padding: 34px 26px; text-align: center; color: #3a2a1c; background: radial-gradient(120% 90% at 50% 0%, #fffaf1 0%, #f6ead4 100%); border: 1px solid #ead9b8; box-shadow: 0 24px 60px rgba(60,40,20,.14); }
.mk-invite::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(160,120,64,.35); border-radius: 10px; pointer-events: none; }
.mk-invite small { display: block; letter-spacing: .22em; text-transform: uppercase; font-size: 0.66rem; color: #8a6a3e; font-weight: 700; }
.mk-invite .mk-names { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 700; line-height: 1.1; margin: 12px 0 6px; color: #2b1e14; }
.mk-invite .mk-guest { font-size: 0.9rem; margin: 14px 0 4px; }
.mk-invite .mk-when { font-size: 0.85rem; color: #6b5440; line-height: 1.6; }
.mk-invite .mk-rsvp { display: inline-flex; gap: 8px; margin-top: 18px; }
.mk-invite .mk-rsvp span { font-size: 0.78rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: #a07840; color: #fff; }
.mk-invite .mk-rsvp span + span { background: transparent; color: #8a6a3e; border: 1px solid #d9c299; }
.mk-stack { position: relative; padding: 0 0 40px 0; }
.mk-stack .mk-card.is-float { position: absolute; right: -10px; bottom: 0; width: 62%; }

/* Swatches (designs) */
.mk-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mk-sw { aspect-ratio: 3 / 4; border-radius: 12px; border: 1px solid rgba(0,0,0,.06); display: flex; align-items: flex-end; padding: 10px; font-family: var(--font-serif); font-weight: 700; font-size: 0.95rem; box-shadow: var(--shadow-sm); }

/* Committee tabs mock */
.mk-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.mk-tab { font-size: 0.8rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-secondary); background: #fff; display: inline-flex; align-items: center; gap: 6px; }
.mk-tab i { font-style: normal; font-size: 0.7rem; background: #f3ede4; border-radius: 999px; padding: 1px 7px; }
.mk-tab.is-on { background: var(--sidebar-bg); color: #fff; border-color: var(--sidebar-bg); }
.mk-tab.is-on i { background: rgba(255,255,255,.14); color: var(--primary); }
.mk-place { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 12px; }
.mk-place hi-icon { color: var(--primary-dark); width: 16px; height: 16px; }

/* ---------- Prices page ---------- */
.pr-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.pr-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.9375rem; }
.pr-table th, .pr-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid #f0e9df; }
.pr-table thead th { background: #faf7f2; font-size: 0.8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-secondary); }
.pr-table thead th.is-pop { color: var(--primary-dark); }
.pr-table th[scope=row] { text-align: left; font-weight: 600; color: var(--text-primary); position: sticky; left: 0; background: #fff; }
.pr-table tbody tr:last-child td, .pr-table tbody tr:last-child th { border-bottom: 0; }
.pr-table td { font-family: var(--font-num); font-weight: 600; }
.pr-table td hi-icon { color: var(--success); width: 20px; height: 20px; }
.pr-table td .pr-no { color: #c9bba9; }
.pr-table td.is-pop { background: #fffaf1; }
.pr-every { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px; max-width: 900px; margin: 0 auto; list-style: none; padding: 0; }
.pr-every li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9875rem; color: var(--text-secondary); line-height: 1.55; }
.pr-every li hi-icon { color: var(--success); width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.pkg-card .btn + .btn { margin-top: 0; }

/* ---------- Footer (same as the home page) ---------- */
.site-footer { background: #0f0b08; color: rgba(255,255,255,0.55); font-size: 0.875rem; }
.footer-main { max-width: 1100px; margin: 0 auto; padding: 64px 48px 48px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo { font-family: var(--font-serif); font-size: 1.375rem; font-weight: 700; color: #fff; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer-tagline { color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 280px; margin-bottom: 16px; }
.footer-origin { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--primary); font-weight: 500; }
.footer-col-heading { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 16px; }
.footer-col a { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 10px; transition: color 0.15s ease; font-size: 0.875rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 48px; max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .pg-hero-grid, .pg-split { grid-template-columns: 1fr; gap: 44px; }
  .pg-split.is-flip > :first-child { order: 0; }
  .pg-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .pg-steps, .pg-points { grid-template-columns: repeat(2, 1fr); }
  .fx-grid { grid-template-columns: repeat(2, 1fr); }
  .pg-pkgs { grid-template-columns: repeat(2, 1fr); }
  .pr-every { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  .pg-wrap { padding: 0 16px; }
  .site .landing-nav { padding: 0 16px; }
  .site .landing-nav-logo { font-size: 1.3rem; }
  .sn-hide-sm { display: none !important; }
  .pg-hero { padding: 44px 0 56px; }
  .pg-title { font-size: clamp(2rem, 9vw, 2.5rem); }
  .pg-sub { font-size: 1.02rem; margin-bottom: 24px; }
  .pg-actions { flex-direction: column; }
  .pg-actions .btn { width: 100%; justify-content: center; }
  .pg-section { padding: 60px 0; }
  .pg-head { margin-bottom: 32px; }
  .pg-steps, .pg-points, .fx-grid, .pg-pkgs, .pr-every { grid-template-columns: 1fr; }
  .pg-points { gap: 22px; }
  .pg-cta { padding: 60px 0; }
  .mk-stats { grid-template-columns: repeat(2, 1fr); }
  .mk-flow { grid-template-columns: 1fr; }
  .mk-arrow { justify-content: center; transform: rotate(90deg); }
  .mk-tl { grid-template-columns: 1fr; gap: 18px; }
  .mk-tl::before { left: 17px; right: auto; top: 18px; bottom: 18px; width: 2px; height: auto; }
  .mk-tl-item { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; text-align: left; padding: 0; }
  .mk-tl-dot { margin: 0; grid-row: span 2; }
  .mk-stack { padding-bottom: 0; }
  .mk-stack .mk-card.is-float { position: relative; right: auto; width: 100%; margin-top: 16px; }
  .mk-swatches { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 16px 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { padding: 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-card, .fx-more hi-icon, .pg-faq summary hi-icon { transition: none; }
}
