/* AstroVedansh web app. Tokens follow the Figma design system (Foundations page).
   Two shades are darker than in Figma so they pass WCAG AA: placeholder text and the input border. */
:root {
  --bg-page: #ffffff; --bg-soft: #fff8ec; --bg-brand: #7a1128; --bg-inverse: #2b1a1d; --bg-success: #e6f4ea; --bg-warning: #fff1d6;
  --text-primary: #2b1a1d; --text-muted: #5c4a4d; --text-placeholder: #7a6b6d; --text-brand: #7a1128; --text-on-brand: #ffffff; --text-success: #17603a; --text-warning: #7a4a00; --text-error: #a3271b;
  --border-default: #eadfcb; --border-input: #9c865f; --border-brand: #7a1128; --border-accent: #e8c877;
  --sp-xs: 0.25rem; --sp-sm: 0.5rem; --sp-md: 0.75rem; --sp-lg: 1rem; --sp-xl: 1.25rem; --sp-2xl: 1.5rem;
  --r-sm: 10px; --r-md: 12px; --r-lg: 16px; --r-xl: 18px;
  --head: Poppins, system-ui, sans-serif; --body: Mukta, system-ui, -apple-system, "Segoe UI", sans-serif; --hindi: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #f4efe6; color: var(--text-primary); font: 1rem/1.45 var(--body); -webkit-font-smoothing: antialiased; }
.app { max-width: 480px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; background: var(--bg-page); display: flex; flex-direction: column; position: relative; }
.screen { flex: 1; display: flex; flex-direction: column; gap: var(--sp-lg); padding: var(--sp-xl) var(--sp-xl) var(--sp-2xl); }
.screen.soft { background: var(--bg-soft); }
.center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: var(--sp-lg); padding: var(--sp-2xl); }
.stack { display: flex; flex-direction: column; gap: var(--sp-md); }
.row { display: flex; align-items: center; gap: var(--sp-md); }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }

h1, h2, h3 { font-family: var(--head); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 1.625rem; line-height: 1.25; }
h2 { font-size: 1.375rem; line-height: 1.3; }
h3 { font-size: 1.1875rem; line-height: 1.3; }
p { margin: 0; }
.muted { color: var(--text-muted); }
.small { font-size: 0.9375rem; }
.price { font-family: var(--head); font-weight: 600; }
a { color: var(--text-brand); text-underline-offset: 3px; }
a.plain { text-decoration: none; color: inherit; }
:focus-visible { outline: 3px solid var(--border-brand); outline-offset: 2px; }
[hidden] { display: none !important; }

/* buttons */
.btn { display: flex; align-items: center; justify-content: center; gap: var(--sp-sm); min-height: 56px; padding: 0.5rem 1.75rem; border-radius: var(--r-md); border: 1.5px solid var(--bg-brand); background: var(--bg-brand); color: var(--text-on-brand); font: 600 1.125rem/1.3 var(--body); text-decoration: none; cursor: pointer; text-align: center; }
.btn.secondary { background: var(--bg-page); color: var(--text-brand); }
.btn.small { min-height: 46px; padding: 0.375rem 1.125rem; font-size: 1rem; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.linkbtn { background: none; border: 0; padding: 0.75rem 0; color: var(--text-brand); font: 600 1rem var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }

/* top bar and tab bar */
.topbar { display: flex; align-items: center; gap: var(--sp-xs); min-height: 56px; padding: 0 var(--sp-sm); background: var(--bg-page); position: sticky; top: 0; z-index: 5; }
.iconbtn { width: 48px; height: 48px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 0; background: none; color: var(--text-primary); cursor: pointer; text-decoration: none; }
.iconbtn.ring { border: 1px solid var(--border-default); color: var(--text-brand); }
.tabbar { position: sticky; bottom: 0; z-index: 5; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 72px; background: var(--bg-page); border-top: 1px solid var(--border-default); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0.5rem 0.25rem; color: var(--text-muted); font: 500 0.875rem/1.2 var(--body); text-decoration: none; text-align: center; }
.tabbar a[aria-current="page"] { color: var(--text-brand); font-weight: 600; }
.bottombar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: var(--sp-lg); padding: var(--sp-lg) var(--sp-xl); padding-bottom: calc(var(--sp-lg) + env(safe-area-inset-bottom)); background: var(--bg-page); border-top: 1px solid var(--border-default); }
.bottombar .btn { flex: 1; }
.total { display: flex; flex-direction: column; line-height: 1.2; }
.total .price { font-size: 1.5rem; }

/* cards, rows, tiles */
.card { border: 1px solid var(--border-default); border-radius: var(--r-lg); padding: var(--sp-lg); display: flex; flex-direction: column; gap: var(--sp-md); }
.card.soft { background: var(--bg-soft); border-color: transparent; border-radius: var(--r-xl); }
.card.accent { background: var(--bg-soft); border-color: var(--border-accent); }
.card.dark { background: var(--bg-inverse); color: var(--text-on-brand); border-color: transparent; border-radius: var(--r-xl); }
.listrow { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-md); min-height: 76px; padding: 0.875rem 0.75rem 0.875rem 1rem; border: 1px solid var(--border-default); border-radius: var(--r-lg); text-decoration: none; color: var(--text-primary); background: var(--bg-page); }
.listrow.accent { background: var(--bg-soft); border-color: var(--border-accent); }
.listrow .title { font: 600 1.1875rem/1.3 var(--head); }
.listrow .trail { display: flex; align-items: center; gap: 6px; flex: none; color: var(--text-brand); }
.listrow .trail .price { color: var(--text-primary); font-size: 1.0625rem; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-md); }
.tile { min-height: 126px; padding: 0.875rem; border: 1px solid var(--border-default); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--text-primary); }
.tile .title { font: 600 1.0625rem/1.3 var(--head); }
.tile.accent { background: var(--bg-soft); border-color: var(--border-accent); }
.tile .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-sm); }
.tile .price { color: var(--text-brand); font-size: 1.0625rem; }
.tile.accent .price { font-size: 0.9375rem; white-space: nowrap; }
.tile { position: relative; }
.tile .pdf { position: absolute; top: 12px; right: 12px; padding: 2px 8px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--border-accent); color: var(--text-brand); font: 600 0.75rem/1.4 var(--body); letter-spacing: 0.04em; }
.ghic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-soft); color: var(--text-brand); display: flex; align-items: center; justify-content: center; }
/* consultation packages: a row on phones, a card on desktop */
.ctiles { display: grid; gap: var(--sp-md); }
.ctile { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: var(--sp-md); row-gap: 2px; align-items: center; padding: 0.875rem; border: 1px solid var(--border-default); border-radius: var(--r-lg); background: var(--bg-page); color: var(--text-primary); text-decoration: none; }
.ctile .ic { grid-column: 1; grid-row: 1 / span 3; align-self: start; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--bg-soft); color: var(--text-brand); display: flex; align-items: center; justify-content: center; }
.ctile .mins { grid-column: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 0.9375rem; font-weight: 600; color: var(--text-brand); }
.ctile .mins .chip { padding: 1px 8px; font-size: 0.8125rem; }
.ctile .title { grid-column: 2; font: 600 1.0625rem/1.3 var(--head); }
.ctile .desc { grid-column: 2; font-size: 0.9375rem; }
.ctile .foot { grid-column: 3; grid-row: 1 / span 3; display: flex; flex-direction: column; align-items: flex-end; gap: var(--sp-sm); }
.ctile .price { color: var(--text-brand); font-size: 1.0625rem; }
.tile .ic { width: 40px; height: 40px; margin-bottom: 4px; border-radius: 50%; background: var(--bg-soft); color: var(--text-brand); display: flex; align-items: center; justify-content: center; }
.tile .ask { font-size: 0.9375rem; color: var(--text-muted); }
.go { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-brand); color: var(--text-on-brand); font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 10px; border-radius: 999px; font: 600 0.875rem/1.3 var(--body); flex: none; }
.chip.ok { background: var(--bg-success); color: var(--text-success); }
.chip.wait { background: var(--bg-warning); color: var(--text-warning); }
.avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.kv { display: flex; justify-content: space-between; gap: var(--sp-lg); }
.kv > :last-child { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.divide > * + * { border-top: 1px solid var(--border-default); padding-top: var(--sp-md); }
.dark .divide > * + *, .card.dark .kv + .kv { border-color: rgba(255, 255, 255, 0.18); }
.check { display: flex; gap: var(--sp-md); align-items: flex-start; font-size: 1.125rem; }
.check svg { flex: none; margin-top: 2px; color: var(--text-brand); }
.notice { border-radius: var(--r-md); padding: var(--sp-md) var(--sp-lg); background: var(--bg-warning); color: var(--text-warning); }
.notice.err { background: #fdecea; color: var(--text-error); }
.rashi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-md); }
.rashi a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 78px; padding: 0.625rem 0.25rem; border: 1px solid var(--border-default); border-radius: var(--r-lg); text-decoration: none; color: var(--text-primary); }
.rashi .hi { font: 1.25rem/1.4 var(--hindi); }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > .label, legend { font-weight: 600; padding: 0; }
.opt { font-weight: 400; color: var(--text-muted); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
input, textarea, select { width: 100%; min-height: 52px; padding: 0.625rem 0.875rem; border: 1px solid var(--border-input); border-radius: var(--r-md); background: var(--bg-page); color: var(--text-primary); font: 1.0625rem/1.4 var(--body); }
textarea { min-height: 96px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--text-placeholder); opacity: 1; }
input:focus, textarea:focus, select:focus { outline: 3px solid var(--border-brand); outline-offset: 1px; border-color: var(--border-brand); }
[aria-invalid="true"] { border-color: var(--text-error); border-width: 2px; }
.err { color: var(--text-error); font-size: 0.9375rem; font-weight: 600; }
.hint { color: var(--text-muted); font-size: 0.9375rem; }
.cols { display: grid; gap: var(--sp-sm); }
.cols.c3 { grid-template-columns: 1fr 1fr 1.4fr; }
.cols.time { grid-template-columns: 1fr 1fr 1.2fr; }
.cols.phone { grid-template-columns: 6rem minmax(0, 1fr); }
.mini { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mini > label, .mini > .label { font-size: 0.875rem; font-weight: 600; color: var(--text-muted); }
.pickers { align-items: end; }
.pickers select { padding-right: 2rem; appearance: none; -webkit-appearance: none; background: var(--bg-page) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237a1128' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 0.75rem center; font-weight: 600; }
.pickers select.empty { color: var(--text-placeholder); font-weight: 400; }
.seg.ampm { gap: 6px; }
.seg.ampm label { min-height: 52px; padding: 0.25rem; font-weight: 600; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--sp-md); }
.seg label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0.375rem 0.5rem; border: 1px solid var(--border-input); border-radius: var(--r-md); font-size: 1.0625rem; text-align: center; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; min-height: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--bg-soft); border: 2px solid var(--border-brand); color: var(--text-brand); font-weight: 600; }
.seg label:has(input:focus-visible) { outline: 3px solid var(--border-brand); outline-offset: 2px; }
.places { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border-input); border-radius: var(--r-md); overflow: hidden; }
.places button { display: block; width: 100%; min-height: 48px; padding: 0.625rem 0.875rem; border: 0; border-top: 1px solid var(--border-default); background: var(--bg-page); color: var(--text-primary); font: 1rem/1.35 var(--body); text-align: left; cursor: pointer; }
.places li:first-child button { border-top: 0; }
.picked { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-md); min-height: 52px; padding: 0.5rem 0.5rem 0.5rem 0.875rem; border: 2px solid var(--border-brand); border-radius: var(--r-md); background: var(--bg-soft); font-weight: 600; }
.badge { width: 96px; height: 96px; border-radius: 50%; background: var(--bg-success); color: var(--text-success); display: flex; align-items: center; justify-content: center; }
.badge.wait { background: var(--bg-warning); color: var(--text-warning); }
.badge.bad { background: #fdecea; color: var(--text-error); }
.big { font: 600 4.5rem/1 var(--head); }

/* home page sections and the footer */
.wrap { width: 100%; margin: 0 auto; padding: 0 var(--sp-xl); }
.home { flex: 1; display: flex; flex-direction: column; }
.band { padding: var(--sp-xl) 0; }
.band.soft { background: var(--bg-soft); }
.band > .wrap { display: flex; flex-direction: column; gap: var(--sp-lg); }
.lead { font-size: 1.125rem; }
.rows { display: flex; flex-direction: column; gap: var(--sp-lg); }
.steps { display: grid; gap: var(--sp-lg); }
.step { display: flex; gap: var(--sp-md); align-items: flex-start; }
.step .num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-brand); color: var(--text-on-brand); display: flex; align-items: center; justify-content: center; font: 600 1.125rem/1 var(--head); }
.step h3 { font-size: 1.125rem; }
.pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-md); }
.pages img { display: block; width: 100%; height: auto; border: 1px solid var(--border-default); border-radius: var(--r-sm); background: var(--bg-soft); }
.quotes { display: grid; gap: var(--sp-md); }
.quote { margin: 0; padding: var(--sp-lg); background: var(--bg-page); border: 1px solid var(--border-default); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: var(--sp-sm); }
.quote blockquote { margin: 0; font-size: 1.125rem; }
.faq { display: flex; flex-direction: column; gap: var(--sp-sm); }
.faq details { background: var(--bg-page); border: 1px solid var(--border-default); border-radius: var(--r-md); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-md); min-height: 56px; padding: 0.75rem 1rem; font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none; border-radius: var(--r-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 600 1.5rem/1 var(--head); color: var(--text-brand); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 1rem 1rem; color: var(--text-muted); }
.daycar { position: relative; padding: 0; overflow: hidden; }
.daycar .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.daycar .track::-webkit-scrollbar { display: none; }
.daycar .slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-md); padding: var(--sp-lg); }
.daycar .day { flex: 1; min-width: 0; gap: 2px; }
.daycar .day > * { min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.daycar .day h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; min-height: 2.6em; font-size: 1.0625rem; line-height: 1.3; }
.daycar .slide { min-height: 106px; }
.daycar .slide:focus-visible { outline-offset: -3px; border-radius: var(--r-xl); }
.daycar .dots { position: absolute; right: 10px; bottom: 6px; display: flex; }
.daycar .dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.daycar .dots button::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--border-accent); transition: width 0.2s ease, background-color 0.2s ease; }
.daycar .dots button[aria-current="true"]::before { width: 18px; background: var(--bg-brand); }
.daylink { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--border-input); border-radius: var(--r-md); color: var(--text-primary); text-decoration: none; font-weight: 600; }
.daylink[aria-current="page"] { background: var(--bg-soft); border: 2px solid var(--border-brand); color: var(--text-brand); }
.cta { display: flex; flex-direction: column; gap: var(--sp-md); }
.anchor { scroll-margin-top: 16px; }
.choose { display: grid; gap: var(--sp-md); }
.pick { display: flex; align-items: flex-start; gap: var(--sp-md); padding: var(--sp-lg); border: 1px solid var(--border-default); border-radius: var(--r-lg); background: var(--bg-page); }
.pick h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.pick .arrow { flex: none; align-self: center; color: var(--text-brand); }
/* Marriage 360 site */
.tabbar.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eyebrow { font: 600 0.875rem/1.2 var(--head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-brand); }
.cta-price { margin-left: 4px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, 0.45); }
.parts { display: grid; gap: var(--sp-md); }
.part { display: flex; gap: var(--sp-md); align-items: flex-start; padding: var(--sp-md) var(--sp-lg); border: 1px solid var(--border-default); border-radius: var(--r-lg); background: var(--bg-page); }
.part .num { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--border-accent); color: var(--text-brand); display: flex; align-items: center; justify-content: center; font: 600 0.9375rem/1 var(--head); }
.part h3 { font-size: 1.0625rem; }
.example { padding: var(--sp-lg); background: var(--bg-page); border: 1px solid var(--border-accent); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: var(--sp-sm); font-size: 1.0625rem; line-height: 1.6; }
.example h3 { font: 600 1.125rem/1.4 var(--body); color: var(--text-brand); }
.example .basis { font-size: 0.9375rem; color: var(--text-muted); }
.pages.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pages.three img:last-child { grid-column: 1 / -1; max-width: calc(50% - var(--sp-md) / 2); }
.typesel legend { margin-bottom: 2px; font: 600 0.9375rem/1.3 var(--body); color: var(--text-muted); }
.typesel .seg label { min-height: 56px; background: var(--bg-page); font-weight: 600; }
.typesel .seg label:has(input:checked) { background: var(--bg-brand); border-color: var(--bg-brand); color: var(--text-on-brand); }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-md); }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choicecard { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1.5px solid var(--border-accent); border-radius: var(--r-lg); background: var(--bg-page); color: var(--text-primary); text-decoration: none; }
.choicecard .title { font: 600 1.0625rem/1.25 var(--head); }
.choicecard .cic { width: 40px; height: 40px; margin-bottom: 4px; border-radius: 50%; background: var(--bg-soft); color: var(--text-brand); display: flex; align-items: center; justify-content: center; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.facts li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--bg-page); border: 1px solid var(--border-default); font-size: 0.9375rem; font-weight: 600; color: var(--text-primary); }
.facts li svg { color: var(--text-brand); }
.pagestack { position: relative; display: block; height: 230px; margin: 4px 0 0; text-decoration: none; }
.pagestack img { position: absolute; top: 0; width: 150px; height: auto; border: 1px solid var(--border-default); border-radius: 8px; background: var(--bg-page); box-shadow: 0 12px 28px rgba(43, 26, 29, 0.14); }
.pagestack img:first-child { left: calc(50% - 20px); transform: rotate(5deg); }
.pagestack img:nth-child(2) { left: calc(50% - 135px); transform: rotate(-4deg); }
.pagestack .tag { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: var(--bg-brand); color: var(--text-on-brand); font-weight: 600; font-size: 0.9375rem; white-space: nowrap; box-shadow: 0 6px 16px rgba(122, 17, 40, 0.25); }
.btile { display: flex; flex-direction: column; gap: 4px; padding: var(--sp-lg); border: 1px solid var(--border-default); border-radius: var(--r-lg); background: var(--bg-page); }
.btile .ghic { margin-bottom: 4px; }
.choicecard .count { font-size: 0.9375rem; font-weight: 600; color: var(--text-brand); }
.choicecard .pickbtn { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 2px; min-height: 44px; padding: 0 6px; border-radius: var(--r-md); background: var(--bg-brand); color: var(--text-on-brand); font: 600 0.9375rem/1.2 var(--body); }
.choicecard .small { margin-bottom: 2px; }
.choicecard:hover { border-color: var(--border-brand); }
.twocol { display: grid; gap: var(--sp-lg); }
.vidwrap { display: grid; gap: var(--sp-lg); }
.vid { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--r-lg); border: 1px solid var(--border-default); background: #2b1a1d; }
.listcard ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.listcard li { display: flex; flex-direction: column; gap: 2px; }
.listcard .btn { align-self: flex-start; }
.benefits .check { font-size: 1.0625rem; }
.part p { font-size: 1rem; }
.preview { margin: 0; display: flex; flex-direction: column; gap: var(--sp-md); }
.preview img { display: block; width: 100%; height: auto; border: 1px solid var(--border-default); border-radius: var(--r-sm); background: var(--bg-page); }
.preview .cta { flex-direction: row; flex-wrap: wrap; }
.preview .btn { flex: 1 1 9rem; }
.allq { border: 1px solid var(--border-accent); border-radius: var(--r-lg); background: var(--bg-soft); }
.allq > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-md); min-height: 56px; padding: 0.75rem 1rem; border-radius: var(--r-lg); color: var(--text-brand); font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.allq > summary::-webkit-details-marker { display: none; }
.allq > summary::after { content: "+"; flex: none; font: 600 1.5rem/1 var(--head); }
.allq[open] > summary::after { content: "\2212"; }
.allq > .stack { padding: 0 1rem 1rem; }
.qlist { margin: 0; padding: 0 1rem 1rem 2.5rem; display: flex; flex-direction: column; gap: 6px; }
.offer { display: grid; gap: var(--sp-lg); }
.picked-report { padding: 0.75rem 1rem; border: 1px solid var(--border-accent); border-radius: var(--r-md); background: var(--bg-soft); font-size: 1.0625rem; }
.opts { display: flex; flex-direction: column; gap: var(--sp-sm); }
.dopt { position: relative; display: flex; align-items: center; gap: var(--sp-md); min-height: 64px; padding: 0.625rem 0.875rem; border: 1px solid var(--border-input); border-radius: var(--r-md); cursor: pointer; }
.dopt input { position: absolute; opacity: 0; inset: 0; min-height: 0; cursor: pointer; }
.dopt::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border-input); }
.dopt:has(input:checked) { background: var(--bg-soft); border: 2px solid var(--border-brand); }
.dopt:has(input:checked)::before { border-color: var(--bg-brand); background: radial-gradient(var(--bg-brand) 45%, transparent 50%); }
.dopt:has(input:focus-visible) { outline: 3px solid var(--border-brand); outline-offset: 2px; }
.dopt .price { font-size: 1.125rem; }
.footlinks { display: flex; flex-wrap: wrap; gap: 2px 1.25rem; }
.bottombar.off { visibility: hidden; transform: translateY(100%); }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-sm); }
.chipbtn { min-height: 44px; padding: 0 1rem; border: 1px solid var(--border-input); border-radius: 999px; background: var(--bg-page); color: var(--text-primary); font: 600 1rem/1.2 var(--body); cursor: pointer; }
.chipbtn[aria-pressed="true"] { background: var(--bg-brand); border-color: var(--bg-brand); color: var(--text-on-brand); }
.posts { display: flex; flex-direction: column; gap: var(--sp-md); }
.post { display: flex; align-items: center; gap: var(--sp-md); padding: 10px; border: 1px solid var(--border-default); border-radius: var(--r-lg); background: var(--bg-page); color: var(--text-primary); text-decoration: none; }
.post img { flex: none; width: 96px; height: 72px; object-fit: cover; border-radius: var(--r-sm); background: var(--bg-soft); }
.post .grow { display: flex; flex-direction: column; gap: 2px; }
.post .ptitle { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-weight: 600; line-height: 1.35; }
.post:nth-child(n+7) { display: none; }
.posts.all .post:nth-child(n+7) { display: flex; }
.post .ex { display: none; }
.vcard { flex-direction: row; align-items: center; }
.vcard .avatar { width: 64px; height: 64px; }
.vcard h3 { font-size: 1.0625rem; }
.sitefoot { padding: var(--sp-2xl) 0; background: var(--bg-page); border-top: 1px solid var(--border-default); }
.cols4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2xl) var(--sp-lg); align-items: start; }
.cols4 > :first-child { grid-column: 1 / -1; }
.sitefoot h3 { font-size: 1rem; margin-bottom: 4px; }
.sitefoot a { color: var(--text-primary); text-decoration: none; padding: 6px 0; overflow-wrap: anywhere; }
.sitefoot a:hover { color: var(--text-brand); text-decoration: underline; }


/* ---------- Marriage 360 home (redesign) ---------- */
.m360 .shead { display: flex; flex-direction: column; gap: 6px; }
.m360 .shead h2 { font-size: 1.625rem; }
.m360 .shead .muted { max-width: 60ch; }
.mhero { position: relative; overflow: hidden; background: var(--bg-soft); }
.mhero-img { position: absolute; top: 0; left: 0; width: 100%; height: auto; }
.mhero-shade { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 900 / 1591; background: linear-gradient(180deg, rgba(30,10,15,.82) 0%, rgba(30,10,15,.6) 24%, rgba(30,10,15,.08) 42%, rgba(255,248,236,0) 56%, rgba(255,248,236,.75) 76%, var(--bg-soft) 88%); }
.mhero-in { position: relative; padding-top: 18px; padding-bottom: 28px; }
.mhero-text { display: flex; flex-direction: column; gap: 14px; }
.mbrand { display: flex; align-items: center; gap: 10px; color: #fff; font: 600 1.0625rem/1 var(--head); }
.mbrand img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.75); }
.mpill { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--border-accent); color: var(--text-primary); font: 600 0.8125rem/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; }
.mhero h1 { color: #fff; font-size: 2.125rem; line-height: 1.12; letter-spacing: -.02em; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.accent { color: var(--border-accent); }
.mlead { color: rgba(255,255,255,.92); font-size: 1.0625rem; max-width: 36ch; }
.mpick { display: flex; flex-direction: column; gap: 10px; margin-top: max(24px, calc(min(100vw, 480px) * 1.17 - 300px)); }
#pick-label { align-self: flex-start; padding: 5px 14px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--text-primary); font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.mhero .choicecard { box-shadow: 0 14px 34px rgba(43,26,29,.14); }
.mstats { background: var(--bg-brand); color: #fff; }
.mstats ul { list-style: none; margin: 0; padding: 1.5rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
.mstats li { display: flex; flex-direction: column; gap: 2px; }
.mstats b { font: 700 1.875rem/1.1 var(--head); color: var(--border-accent); }
.mstats span { font-size: .9375rem; color: rgba(255,255,255,.85); }
.tcard { display: flex; flex-direction: column; background: var(--bg-page); border: 1px solid var(--border-default); border-radius: 22px; overflow: hidden; box-shadow: 0 12px 30px rgba(43,26,29,.07); }
.tcard-img { position: relative; aspect-ratio: 900 / 557; background: var(--bg-soft); }
.tcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcount { position: absolute; left: 14px; top: 14px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--text-brand); font: 700 .9375rem/1.2 var(--head); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.tcard-body { display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 20px; flex: 1; }
.tcard-body ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tcard-body li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.tcard-body li svg { color: var(--text-brand); margin-top: 3px; }
.tcard-body li b { display: block; }
.tcard-body .btn { margin-top: auto; }
.pricecard { border-radius: 24px; overflow: hidden; background: var(--bg-page); border: 1px solid var(--border-default); box-shadow: 0 18px 44px rgba(122,17,40,.12); }
.pc-top { background: var(--bg-brand); color: #fff; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.pc-price { font: 700 3rem/1 var(--head); color: #fff; letter-spacing: -.02em; }
.pc-top p { color: rgba(255,255,255,.85); font-size: .9375rem; }
.pc-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 14px; }
.maker { display: grid; gap: var(--sp-xl); align-items: center; }
.maker-photo { width: 220px; height: auto; aspect-ratio: 480 / 575; object-fit: cover; border-radius: 24px; border: 6px solid #fff; box-shadow: 0 20px 50px rgba(122,17,40,.18); }
.maker-sign { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 3px solid var(--border-accent); }
.maker-sign b { font: 600 1.125rem var(--head); }
.msteps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-md); }
.msteps li { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--bg-page); border: 1px solid var(--border-default); border-radius: 20px; }
.mst-ic { position: relative; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 16px; background: var(--bg-brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.mst-ic i { position: absolute; right: -8px; top: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--border-accent); color: var(--text-primary); font: 700 .875rem/26px var(--head); text-align: center; font-style: normal; }
.msteps h3 { font-size: 1.125rem; }
.mcta { position: relative; overflow: hidden; color: #fff; }
.mcta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.mcta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,10,15,.82) 0%, rgba(30,10,15,.55) 45%, rgba(30,10,15,.75) 100%); z-index: 1; }
.mcta-in { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; padding-top: 4rem; padding-bottom: 4rem; }
.mcta h2 { color: #fff; font-size: 1.75rem; line-height: 1.2; }
.mcta p { color: rgba(255,255,255,.9); font-size: 1.0625rem; }
.btn.light { background: #fff; color: var(--text-brand); border-color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
@media (max-width: 359.98px) { .mhero h1 { font-size: 1.75rem; } .mlead { font-size: .9375rem; } .mhero-text { gap: 10px; } }


/* ---------- Marriage 360: phone-first refinements ---------- */
.m360 { -webkit-tap-highlight-color: transparent; }
.m360 .band { padding: 2rem 0; }
.m360 .shead h2 { font-size: 1.5rem; line-height: 1.25; }
.choices { grid-template-columns: 1fr; gap: 10px; }
.choicecard { display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: "ic title go" "ic sub go" "ic count go"; column-gap: 14px; row-gap: 2px; align-items: center; padding: 14px 14px 14px 16px; }
.choicecard .cic { grid-area: ic; align-self: center; margin: 0; width: 44px; height: 44px; }
.choicecard .title { grid-area: title; font-size: 1.125rem; }
.choicecard .small { grid-area: sub; margin: 0; }
.choicecard .count { grid-area: count; }
.choicecard .pickbtn { grid-area: go; margin: 0; width: 44px; height: 44px; min-height: 0; padding: 0; border-radius: 50%; font-size: 0; }
.choicecard .pickbtn svg { width: 22px; height: 22px; }
.choicecard:active { transform: scale(.985); }
.mhero .facts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--sp-xl)); padding: 2px var(--sp-xl); }
.mhero .facts::-webkit-scrollbar { display: none; }
.mhero .facts li { flex: none; }
.ttabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--bg-page); border: 1px solid var(--border-default); }
.ttabs button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 0; border-radius: 12px; background: none; color: var(--text-muted); font: 600 1rem/1.2 var(--body); cursor: pointer; }
.ttabs button span { padding: 1px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--text-brand); font-size: .8125rem; }
.ttabs button[aria-selected="true"] { background: var(--bg-brand); color: #fff; }
.ttabs button[aria-selected="true"] span { background: rgba(255,255,255,.18); color: #fff; }
.tcard-body li { font-size: 1rem; }
.tcard-body li .small { font-size: .875rem; line-height: 1.4; }
.preview .peek { position: relative; display: block; max-height: 380px; overflow: hidden; border-radius: var(--r-sm); }
.preview .peek::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 85%); }
.peek-tag { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 1; padding: 10px 18px; border-radius: 999px; background: var(--bg-brand); color: #fff; font-weight: 600; white-space: nowrap; box-shadow: 0 8px 20px rgba(122,17,40,.25); }
.preview .cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.offer .pricecard { order: -1; }
.offer .check { font-size: 1rem; }
.maker { grid-template-columns: 96px 1fr; column-gap: 16px; align-items: start; }
.maker-photo { width: 96px; aspect-ratio: 1; border-radius: 50%; border-width: 4px; object-position: center 15%; }
.maker > .stack { grid-column: 1 / -1; }
.msteps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: start; padding: 16px; }
.mst-ic { margin: 0; }
.msteps h3 { margin-bottom: 2px; }

@media (min-width: 481px) { .app { box-shadow: 0 0 0 1px var(--border-default); } }
/* a short screen (the phone's keyboard is open): the bar with the total stops following, so it never covers the field being typed in */
@media (max-height: 520px) { .bottombar { position: static; } }
@media (prefers-reduced-motion: no-preference) { .bottombar { transition: transform 0.18s ease, visibility 0.18s; } .btn, .listrow, .tile { transition: transform 0.08s ease; } .btn:active, .listrow:active, .tile:active { transform: scale(0.985); } }

/* phones and small tablets: no desktop-only parts */
@media (max-width: 899.98px) { .only-desktop, .sitehead { display: none !important; } }

/* desktop: a bar across the top, wide pages, forms in a centred column */
@media (min-width: 900px) {
  .only-mobile, .tabbar { display: none !important; }
  body { background: var(--bg-page); }
  .app { max-width: none; box-shadow: none; }
  .wrap { max-width: 1160px; padding: 0 2rem; }
  h1 { font-size: 2rem; }
  .sitehead { position: sticky; top: 0; z-index: 10; background: var(--bg-page); border-bottom: 1px solid var(--border-default); }
  .sitehead .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
  .brand { display: flex; align-items: center; gap: var(--sp-md); font: 600 1.25rem/1 var(--head); }
  .sitehead nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
  .sitehead nav a { padding: 0.5rem 0.875rem; border-radius: 999px; color: var(--text-primary); text-decoration: none; font-size: 1.0625rem; font-weight: 500; white-space: nowrap; }
  .sitehead nav a:hover { background: var(--bg-soft); }
  .sitehead nav a[aria-current="page"] { background: var(--bg-soft); color: var(--text-brand); font-weight: 600; }
  .sitehead .btn { flex: none; }
  .topbar { position: static; padding-top: 1rem; }
  .app > .screen, .app > .center, .app > .topbar, .app > .bottombar { width: 100%; max-width: 680px; margin-left: auto; margin-right: auto; }
  .app > .screen.wide { max-width: 1160px; padding: 2.5rem 2rem 3.5rem; }
  .bottombar { border: 1px solid var(--border-default); border-bottom: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .tile.accent .price { font-size: 1.1875rem; }
  .rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { padding: 3.5rem 0; }
  .band > .wrap { gap: 1.5rem; }
  .band h2 { font-size: 1.75rem; }
  .hero { padding: 3rem 0; }
  .hero > .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 3rem; }
  .hero h1 { font-size: 2.75rem; line-height: 1.18; letter-spacing: -0.02em; }
  .hero .lead { font-size: 1.25rem; max-width: 44ch; }
  .cta { flex-direction: row; }
  .anchor { scroll-margin-top: 100px; }
  .choose { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .pick { padding: 1.5rem; }
  .pick h3 { font-size: 1.25rem; }
  .pick:hover { border-color: var(--border-brand); }
  .hero .btn { flex: none; }
  .hero .portrait { justify-self: end; width: 100%; max-width: 380px; height: auto; border-radius: 24px; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  /* report cards: the question is the headline, the name a label above it, and a solid button */
  .tile { min-height: 320px; padding: 1.5rem; gap: 8px; border: 1.5px solid var(--border-accent); box-shadow: 0 10px 28px rgba(122, 17, 40, 0.07); }
  .tile .ic { order: 0; width: 52px; height: 52px; margin-bottom: 8px; }
  .tile .title { order: 1; font: 600 0.9375rem/1.3 var(--body); letter-spacing: 0.02em; color: var(--text-brand); }
  .tile .ask { order: 2; font: 600 1.375rem/1.25 var(--head); letter-spacing: -0.01em; color: var(--text-primary); }
  .tile .desc { order: 3; }
  .tile .foot { order: 4; padding-top: 0.75rem; }
  .tile .price { font-size: 1.5rem; color: var(--text-primary); }
  .go { width: auto; height: auto; min-height: 44px; padding: 0 0.875rem 0 1.125rem; border-radius: var(--r-md); font-size: 1rem; }
  .ctiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .ctile { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-height: 280px; padding: 1.5rem; border: 1.5px solid var(--border-accent); box-shadow: 0 10px 28px rgba(122, 17, 40, 0.07); }
  .ctile .ic { margin-bottom: 8px; }
  .ctile .title { font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.01em; }
  .ctile .foot { flex-direction: row; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 0.75rem; }
  .ctile .price { font-size: 1.5rem; color: var(--text-primary); }
  .ctile:hover { border-color: var(--border-brand); box-shadow: 0 14px 34px rgba(122, 17, 40, 0.13); }
  .tile .pdf { top: 1.5rem; right: 1.5rem; }
  .tile:hover { border-color: var(--border-brand); box-shadow: 0 14px 34px rgba(122, 17, 40, 0.13); }
  .listrow:hover, .rashi a:hover { border-color: var(--border-brand); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .step h3 { font-size: 1.1875rem; }
  .pages { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .quote { padding: 1.5rem; }
  .rashi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .band .rashi { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .posts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
  .post { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
  .post:nth-child(n+7) { display: flex; }
  .post img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 0; }
  .post .grow { padding: 0.875rem 1rem 1rem; gap: 4px; }
  .post:hover { border-color: var(--border-brand); }
  .post .ex { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .parts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .example { max-width: 820px; padding: 1.5rem; }
  .pages.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; }
  .pages.three img:last-child { grid-column: auto; max-width: none; }
  .hero .cover { justify-self: end; width: 100%; max-width: 330px; height: auto; border: 1px solid var(--border-default); border-radius: 10px; box-shadow: 0 18px 40px rgba(43, 26, 29, 0.16); }
  .faq { max-width: 780px; }
  .typesel { max-width: 460px; }
  .choices { max-width: 560px; gap: 14px; }
  .pagestack { justify-self: center; width: 380px; height: 460px; }
  .pagestack img { width: 280px; }
  .pagestack img:first-child { left: 100px; }
  .pagestack img:nth-child(2) { left: 0; }
  .pagestack .tag { bottom: 6px; }
  .choicecard { padding: 18px; }
  .choicecard .title { font-size: 1.1875rem; }
  .twocol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  /* Marriage 360 home (redesign) */
  .m360 .shead h2 { font-size: 2.125rem; }
  .mhero-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; padding-top: 3.5rem; padding-bottom: 4rem; }
  .mhero h1 { color: var(--text-primary); font-size: 3.25rem; text-shadow: none; }
  .mhero h1 .accent { color: var(--text-brand); }
  .mlead { color: var(--text-muted); font-size: 1.25rem; max-width: 44ch; }
  .mpick { margin-top: 10px; max-width: 580px; }
  #pick-label { padding: 0; background: none; box-shadow: none; }
  .mhero-art { position: relative; height: 620px; }
  .art-photo { position: absolute; right: 40px; top: 0; width: 360px; height: 600px; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 70px rgba(43,26,29,.25); }
  .art-page { position: absolute; left: 0; bottom: 0; width: 230px; transform: rotate(-5deg); }
  .art-page img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border-default); box-shadow: 0 24px 50px rgba(43,26,29,.28); }
  .art-badge { position: absolute; right: 0; top: 56px; display: flex; flex-direction: column; padding: 12px 18px; border-radius: 18px; background: #fff; box-shadow: 0 14px 34px rgba(43,26,29,.16); }
  .art-badge b { font: 700 1.75rem/1.1 var(--head); color: var(--text-brand); }
  .art-badge span { font-size: .9375rem; color: var(--text-muted); }
  .art-badge.two { top: auto; bottom: 150px; right: 6px; flex-direction: row; align-items: center; gap: 8px; color: var(--text-brand); font-weight: 600; }
  .art-badge.two span { color: var(--text-primary); }
  .mstats ul { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 2rem 0; }
  .mstats b { font-size: 2.5rem; }
  .vidwrap .shead { align-self: center; }
  .tcard-body { padding: 24px 26px 26px; }
  .offer { grid-template-columns: 1.1fr 0.9fr; }
  .maker { grid-template-columns: 0.7fr 1.3fr; gap: 3rem; }
  .maker-photo { width: 100%; max-width: 380px; }
  .msteps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .msteps li { padding: 24px; }
  .mcta-in { padding-top: 6rem; padding-bottom: 6rem; max-width: 1160px; }
  .mcta h2 { font-size: 2.75rem; }
  .mcta > img { object-position: center 64%; }
  .mcta::before { background: linear-gradient(90deg, rgba(30,10,15,.85) 0%, rgba(30,10,15,.6) 45%, rgba(30,10,15,.1) 80%); }
  .mcta .cta { flex-direction: row; }
  /* Marriage 360: desktop keeps the roomier layout */
  .m360 .band { padding: 3.5rem 0; }
  .m360 .shead h2 { font-size: 2.125rem; }
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choicecard { display: flex; flex-direction: column; padding: 18px; }
  .choicecard .pickbtn { width: auto; height: auto; min-height: 44px; padding: 0 6px; border-radius: var(--r-md); font-size: .9375rem; margin-top: 8px; }
  .mhero .facts { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .preview .peek { max-height: none; }
  .preview .peek::after, .peek-tag { display: none; }
  .preview .cta { display: flex; }
  .offer .pricecard { order: 0; }
  .maker { grid-template-columns: 0.7fr 1.3fr; align-items: center; }
  .maker-photo { width: 100%; max-width: 380px; aspect-ratio: 480 / 575; border-radius: 24px; border-width: 6px; }
  .maker > .stack { grid-column: auto; }
  .msteps li { display: flex; flex-direction: column; }


  .vidwrap { grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 3rem; }
  .vid { max-width: 560px; justify-self: end; }
  .benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  .preview { max-width: 760px; }
  .preview .btn { flex: none; }
  .allq { max-width: 820px; }
  .offer { grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: start; }
  .m360 .hero h1 { font-size: 2.375rem; }
  .vcard { padding: 1.5rem; gap: 1.25rem; }
  .vcard .avatar { width: 96px; height: 96px; }
  .vcard h3 { font-size: 1.375rem; }
  .sitefoot { padding: 3rem 0 2rem; }
  .cols4 { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
  .cols4 > :first-child { grid-column: auto; }
}

/* small laptops and tablets held sideways: keep the top bar inside the screen */
@media (min-width: 900px) and (max-width: 1179.98px) {
  .sitehead .btn { display: none; }
  .sitehead .wrap { gap: 1rem; }
  .sitehead nav a { padding: 0.5rem 0.5rem; font-size: 0.9375rem; }
  .brand span { font-size: 1.125rem; }
  .hero h1 { font-size: 2.25rem; }
  .cta { flex-direction: column; align-items: flex-start; }
  .hero > .wrap { gap: 2rem; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-height: 260px; }
  .ctiles { grid-template-columns: 1fr; }
  .ctile { min-height: 0; }
}

/* Marriage hero: report switch, video and one button */
.hseg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; max-width: 440px; border-radius: 16px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hseg button { min-height: 46px; padding: 0 8px; border: 0; border-radius: 12px; background: none; color: #fff; font: 600 1rem/1.2 var(--body); cursor: pointer; }
.hseg button[aria-pressed="true"] { background: #fff; color: var(--text-brand); box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.hvid { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #2b1a1d; box-shadow: 0 18px 40px rgba(43,26,29,.28); }
.hvid video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hvid-sound { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--text-brand); font: 600 .9375rem/1 var(--body); box-shadow: 0 6px 18px rgba(0,0,0,.25); cursor: pointer; }
.mhero .mpick { margin-top: 4px; gap: 6px; }
.hcta { width: 100%; min-height: 56px; gap: 14px; font-size: 1.0625rem; }
.hcta-price { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.35); }
.hsample { align-self: center; display: flex; align-items: center; min-height: 44px; color: var(--text-brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .hseg { background: var(--bg-page); border-color: var(--border-default); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hseg button { color: var(--text-muted); }
  .hseg button[aria-pressed="true"] { background: var(--bg-brand); color: #fff; }
  .mhero .mpick { margin-top: 6px; max-width: 440px; }
  .hsample { align-self: flex-start; }
  .mhero-in > .hvid { max-width: 540px; justify-self: end; width: 100%; }
}
/* phone: the video is the picture, so the hero is a plain dark band that turns cream behind it */
.m360 .mhero { background: linear-gradient(180deg, #3a1a20 0%, #4d2329 48%, #e9d6c4 66%, var(--bg-soft) 74%); }
@media (min-width: 900px) { .m360 .mhero { background: var(--bg-soft); } }
@media (max-width: 359.98px) { .hseg button { font-size: .875rem; padding: 0 4px; } }

/* Home: Marriage 360 as the featured report */
.feature { display: grid; grid-template-columns: 1fr; overflow: hidden; border: 1.5px solid var(--border-accent); border-radius: var(--r-lg); background: var(--bg-page); color: var(--text-primary); text-decoration: none; box-shadow: 0 10px 28px rgba(122, 17, 40, 0.07); }
.feature .fimg { display: block; aspect-ratio: 16 / 8; overflow: hidden; background: var(--bg-soft); }
.feature .fimg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.feature .fbody { display: flex; flex-direction: column; gap: 8px; padding: 1rem 1rem 1.125rem; }
.feature .ftop { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feature .fnew { padding: 2px 10px; border-radius: 999px; background: var(--bg-brand); color: #fff; font: 600 .75rem/1.6 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.feature .ftag { color: var(--text-brand); font: 600 .9375rem/1.3 var(--body); }
.feature .ftitle { font: 600 1.375rem/1.25 var(--head); letter-spacing: -0.01em; }
.feature .foot { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-md); }
.feature .price { font: 600 1.375rem/1 var(--head); }
.feature .go { display: inline-flex; align-items: center; gap: 4px; min-height: 48px; padding: 0 18px; border-radius: var(--r-md); background: var(--bg-brand); color: #fff; font: 600 1rem/1 var(--body); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 0.95fr 1.05fr; }
  .feature .fimg { aspect-ratio: auto; min-height: 300px; }
  .feature .fbody { justify-content: center; gap: 12px; padding: 2rem 2.25rem; }
  .feature .ftitle { font-size: 2rem; }
  .feature .desc { font-size: 1.0625rem; max-width: 46ch; }
  .feature .price { font-size: 1.75rem; }
  .feature .go { min-height: 54px; padding: 0 26px; font-size: 1.0625rem; }
  .feature:hover { border-color: var(--border-brand); }
}

/* Motion: the site should feel alive, never busy. Only opacity and transform move. */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(22px); }
  .rv.in { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.2,.7,.2,1) var(--rv-d, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--rv-d, 0ms); }

  /* first screen: the hero's parts rise in one after another */
  @keyframes av-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  .hero .stack > *, .hero .portrait, .mhero-text > *, .mhero-in > .hvid { animation: av-rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero .stack > :nth-child(2), .mhero-text > :nth-child(2) { animation-delay: .06s; }
  .hero .stack > :nth-child(3), .mhero-text > :nth-child(3) { animation-delay: .12s; }
  .hero .stack > :nth-child(4), .mhero-text > :nth-child(4) { animation-delay: .18s; }
  .hero .stack > :nth-child(5), .mhero-text > :nth-child(5) { animation-delay: .24s; }
  .hero .stack > :nth-child(n+6), .mhero-text > :nth-child(n+6) { animation-delay: .3s; }
  .hero .portrait, .mhero-in > .hvid { animation-delay: .2s; animation-duration: .9s; }

  /* cards lift under the pointer; their icon turns a little */
  .tile, .ctile, .pick, .tcard, .feature, .choicecard { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, border-color .2s ease; }
  .tile .ic, .ctile .ic, .ghic { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
  .feature .fimg img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
  .btn, .feature .go { transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease; }
  .btn:active, .feature:active .go { transform: scale(.97); }
  @media (hover: hover) {
    .tile:hover, .ctile:hover, .pick:hover, .tcard:hover, .feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(122, 17, 40, 0.14); }
    .tile:hover .ic, .ctile:hover .ic { transform: rotate(-8deg) scale(1.08); }
    .feature:hover .fimg img { transform: scale(1.04); }
    .btn:hover { box-shadow: 0 8px 20px rgba(122, 17, 40, 0.22); }
  }

  /* the main buttons catch the light now and then */
  @keyframes av-shine { 0%, 72% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(320%) skewX(-20deg); } }
  .hcta, .feature .go, .hero .cta .btn:first-child { position: relative; overflow: hidden; }
  .hcta::after, .feature .go::after, .hero .cta .btn:first-child::after { content: ''; position: absolute; top: 0; left: 0; width: 35%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.3), transparent); animation: av-shine 5s ease-in-out 2s infinite; pointer-events: none; }

  /* the "new" badge breathes */
  @keyframes av-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(122,17,40,.35); } 50% { box-shadow: 0 0 0 6px rgba(122,17,40,0); } }
  .feature .fnew { animation: av-glow 2.4s ease-in-out infinite; }

  /* open answers slide down */
  @keyframes av-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  details[open] > :not(summary) { animation: av-open .3s ease-out; }
}

/* Marriage hero: the first line of the headline turns through the questions */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mhero h1 .turner { display: grid; overflow: hidden; padding-bottom: .06em; }
.mhero h1 .turn { grid-area: 1 / 1; opacity: 0; transform: translateY(70%); }
.mhero h1 .turn.on { opacity: 1; transform: none; transition: opacity .5s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.mhero h1 .turn.off { opacity: 0; transform: translateY(-70%); transition: opacity .4s ease, transform .5s cubic-bezier(.4,0,.6,1); }
.mhero h1 .h1-rest { display: block; }
.mhero h1 .h1-rest { margin-top: .12em; font-size: .72em; line-height: 1.2; }
@media (max-width: 899.98px) { .mhero h1 .turner { font-size: .94em; } .mhero h1 .h1-rest { color: rgba(255,255,255,.88); } }

/* the video's sound button: small and dark, so the video stays visible */
.hvid-sound { left: 10px; bottom: 10px; gap: 8px; min-height: 40px; padding: 0 14px 0 12px; background: rgba(24, 10, 13, .62); color: #fff; border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 4px 14px rgba(0,0,0,.22); font-size: .875rem; }
