/* Pazo — landing page styles. Mobile first. */
:root {
  --paper: #FAF8F4;
  --paper-2: #F3EEE6;
  --card: #FFFFFF;
  --ink: #141414;
  --ink-2: #2A2724;
  --muted: #6E6860;
  --line: #E6DFD4;
  --warm: #B0784E;
  --warm-2: #8F5B36;
  --warm-soft: #F4E9DD;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(40, 28, 16, .05), 0 12px 40px -12px rgba(40, 28, 16, .18);
  --pad: 22px;
  --section: 84px;
}
@media (min-width: 760px) { :root { --pad: 40px; --section: 120px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--warm-soft); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left)); }
.container--narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.display, .h2, .h3, .wordmark, .tier__name, .tier__now, summary {
  font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; letter-spacing: -0.012em;
}
.display { font-size: clamp(40px, 9.4vw, 84px); line-height: 1.02; margin: 0 0 22px; font-variation-settings: "SOFT" 50; }
/* Hero H1: forced two-line break (one heading; the space between the spans keeps the text readable as a single phrase). */
.display__line { display: block; white-space: nowrap; }
/* Small phones: scale so the longest line ("Wedding Websites" / "Sitios Web de Boda") fits the 22px gutters without overflowing. */
@media (max-width: 424px) { .hero .display { font-size: min(10.2vw, 40px); } }
.display em { font-style: italic; font-weight: 340; color: var(--ink-2); }
.h2 { font-size: clamp(30px, 5.4vw, 50px); line-height: 1.08; margin: 0 0 18px; }
/* Two forced lines in a section heading; sized so the longest (ES) line fits the 22px gutters at 360px. */
.h2.h2--lines { font-size: clamp(21px, 6.8vw, 50px); }
.h3 { font-size: 22px; line-height: 1.25; margin: 0 0 8px; }
.eyebrow {
  font: 500 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px;
}
.eyebrow--light { color: rgba(250, 248, 244, .7); }
.lede { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 640px; margin: 0 auto 30px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 12px 26px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 500; font-size: 15px; line-height: 1.2;
  cursor: pointer; transition: background .2s, color .2s, transform .2s, box-shadow .2s; white-space: nowrap;
}
.btn:hover { background: #000; transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); }
.btn:focus-visible, .chip input:focus-visible + span, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--sm { min-height: 36px; padding: 7px 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 15px 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: #fff; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 244, .86);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.wordmark { font-size: 28px; line-height: 1; text-decoration: none; letter-spacing: -0.02em; font-variation-settings: "SOFT" 50; }
.nav__links { display: none; gap: 28px; margin: 0 auto; font-size: 15px; }
.nav__links a { text-decoration: none; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav .btn--sm { min-height: 44px; }
.nav .wordmark { display: inline-flex; align-items: center; min-height: 44px; padding-right: 10px; }
.nav__menu { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--ink); background: transparent; display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.nav__menu span, .nav__menu span::before { content: ""; display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav__menu span { position: relative; transform: translateY(-3px); }
.nav__menu span::before { position: absolute; left: 0; top: 7px; }
.nav__menu[aria-expanded="true"] span { transform: rotate(45deg); }
.nav__menu[aria-expanded="true"] span::before { transform: translateY(-7px) rotate(-90deg); }
.mobile-menu { position: absolute; left: 0; right: 0; top: 100%; display: grid; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(40, 28, 16, .3);
  padding: 4px max(var(--pad), env(safe-area-inset-right)) 22px max(var(--pad), env(safe-area-inset-left)); max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; }
.mobile-menu a:not(.btn) { display: flex; align-items: center; min-height: 54px; font: 400 22px/1.2 var(--serif); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu__cta { margin-top: 18px; }
.nav__cta { display: none; }
@media (min-width: 560px) { .nav__cta { display: inline-flex; } }
@media (min-width: 980px) { .nav__links { display: flex; } .nav__actions { margin-left: 0; } .nav__menu { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 28px 0 var(--section); text-align: center; }
@media (min-width: 760px) { .hero { padding-top: 48px; } }
.hero__inner { max-width: 1100px; }
.hero__copy .lede { text-wrap: balance; margin-left: auto; margin-right: auto; }
.hero__media { width: 100%; max-width: 760px; margin: 16px auto 0; }
.hero__ctas { display: flex; justify-content: center; margin-top: 16px; }
.hero__ctas .btn { min-width: 240px; }
.caption { margin-top: 12px; font-size: 14px; color: var(--muted); }

.frame { position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.frame__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #DDD3C6; flex: none; }
.frame__bar > span { flex: 1; margin: 0 8% 0 4%; height: 20px; border-radius: 10px; background: var(--paper); font: 500 12px/20px var(--sans); color: var(--muted); text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.frame--video video, .hero__poster { width: 100%; aspect-ratio: 16 / 9; background: var(--paper); display: block; object-fit: cover; }
.hero__video-wrap { position: relative; }
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; transition: opacity .35s ease; }
.hero__poster.is-off { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hero__poster { transition: none; } }

.sound-toggle {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 11px; border-radius: 999px;
  border: 0; cursor: pointer; background: var(--ink); color: var(--paper); font: 500 12px/1 var(--sans); white-space: nowrap;
  transition: background .2s, color .2s;
}
.sound-toggle::after { content: ""; position: absolute; inset: -10px -6px; } /* 44px tap area */
.sound-toggle:hover { background: #000; }
.sound-toggle__icon { font-size: 13px; line-height: 1; }
.sound-toggle.is-on { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.frame--video { background: var(--paper); }
/* phone-frame demo: 16:9 canvas on wider screens, 4:5 on phones (matches the two mp4/poster renders) */
@media (max-width: 640px) { .frame--video video, .hero__poster { aspect-ratio: 4 / 5; } }
.hero__video-wrap .sound-toggle { position: absolute; top: 12px; left: 12px; z-index: 2; height: 30px; padding: 0 13px; box-shadow: 0 4px 14px -6px rgba(20,20,20,.5); }
@media (max-width: 640px) {
  .hero__video-wrap .sound-toggle { top: 8px; left: 8px; width: 34px; height: 34px; padding: 0; justify-content: center; }
  .hero__video-wrap .sound-toggle [data-sound-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero__video-wrap .sound-toggle__icon { font-size: 15px; }
}

/* ---------- sample-site phone gallery ---------- */
.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; max-width: 1040px; margin: 0 auto; }
@media (min-width: 760px) { .phones { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; } }
.phone-shot { margin: 0; text-align: left; }
.phone-shot__frame { max-width: 270px; margin: 0 auto; padding: 7px; background: #181615; border-radius: 34px; box-shadow: var(--shadow); }
.phone-shot__frame img { display: block; width: 100%; height: auto; border-radius: 27px; background: #FAFAFA; }
.phone-shot figcaption { max-width: 270px; margin: 14px auto 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.phone-shot figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--ink); margin-bottom: 2px; }
@media (max-width: 480px) { .phone-shot__frame { padding: 5px; border-radius: 26px; } .phone-shot__frame img { border-radius: 21px; } .phone-shot figcaption strong { font-size: 17px; } .phone-shot figcaption { font-size: 13px; } }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section__head { text-align: center; max-width: 780px; margin: 0 auto 52px; }
@media (min-width: 760px) { .section__head { margin-bottom: 72px; } }
.section__lede { font-size: 18px; color: var(--ink-2); margin: 0 auto; max-width: 660px; }

/* ---------- compare ---------- */
.compare { margin-top: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 16px 20px; border-top: 1px solid var(--line); font-size: 15px; }
.compare__row:first-child { border-top: 0; }
.compare__row > [role="rowheader"] { grid-column: 1 / -1; font: 500 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.compare__row > [role="cell"]:last-child { color: var(--muted); }
.compare__pazo { font-weight: 500; }
.compare__row > .compare__pazo[role="cell"]::before { content: "✓ "; color: var(--warm); }
.compare__row--head { background: var(--paper-2); font-weight: 600; font-size: 14px; }
.compare__row--head > span:first-child { display: none; }
.compare__row--head .compare__pazo { font-family: var(--serif); font-size: 20px; font-weight: 400; }
@media (min-width: 760px) {
  .compare__row { grid-template-columns: 1.1fr 1.4fr 1.4fr; padding: 18px 28px; align-items: center; }
  .compare__row > [role="rowheader"] { grid-column: auto; }
  .compare__row--head > span:first-child { display: block; }
}

/* ---------- showcase ---------- */
.gallery { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; gap: 28px 24px; } }
@media (min-width: 1040px) { .gallery { grid-template-columns: repeat(3, 1fr); } .shot--wide { grid-column: span 3; } }
@media (min-width: 700px) and (max-width: 1039px) { .shot--wide { grid-column: span 2; } }
.shot { margin: 0; }
.shot .frame img { width: 100%; aspect-ratio: 41 / 40; object-fit: cover; object-position: top center; background: var(--paper); }
.shot--wide .frame img { aspect-ratio: 92 / 71; object-fit: cover; }
@media (min-width: 1040px) {
  .shot--wide .frame { max-width: 880px; margin: 0 auto; }
  .shot--wide figcaption { text-align: center; }
}
.shot figcaption { margin-top: 14px; font-size: 15px; color: var(--muted); }
.shot figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--ink); margin-bottom: 2px; }
.show__cta { margin-top: 52px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.show__cta p { margin: 0; max-width: 460px; }

/* ---------- sample page ---------- */
.sample__back { margin: 0 0 28px; }
.sample .section__head { margin-bottom: 44px; }
.nav__links a[aria-current="page"], .mobile-menu a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.step { border-top: 1px solid var(--ink); padding: 22px 4px 8px; }
.step p { margin: 0; color: var(--muted); }
.step__num { display: block; font: 400 15px/1 var(--serif); color: var(--warm-2); margin-bottom: 26px; letter-spacing: .04em; }

/* ---------- pricing ---------- */
.offer {
  display: grid; gap: 18px; align-items: center; margin: 0 auto 36px; max-width: 980px;
  padding: 26px 24px; border-radius: var(--radius); background: var(--warm-soft); border: 1px solid #E8D5C2;
}
@media (min-width: 860px) { .offer { grid-template-columns: 1fr auto; gap: 28px; padding: 28px 34px; align-items: center; } }
.offer__badge { justify-self: start; padding: 6px 14px; border-radius: 999px; background: var(--warm-2); color: #fff; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.offer .h3 { font-size: 23px; margin: 0 0 6px; }
.offer p { margin: 0; color: var(--ink-2); font-size: 15px; }
.offer__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px 22px; font-size: 15px; color: var(--ink-2); }
@media (min-width: 640px) { .offer__list { grid-template-columns: 1fr 1fr; } }
.offer__list li { position: relative; padding-left: 16px; }
.offer__list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--warm-2); }
.offer .btn { justify-self: start; }

.tiers { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.tier { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; }
.tier--featured { border-color: var(--ink); box-shadow: var(--shadow); }
@media (min-width: 900px) { .tier--featured { transform: translateY(-10px); } }
.tier__flag { position: absolute; top: -13px; left: 26px; margin: 0; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 500 12px/1.2 var(--sans); letter-spacing: .06em; }
.tier__name { font-size: 28px; margin: 0 0 6px; }
.tier__for { margin: 0 0 22px; color: var(--muted); font-size: 15px; min-height: 3em; }
.tier__price { display: grid; gap: 2px; padding-bottom: 22px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.chip__note { opacity: .6; font-size: .9em; }
.tiers-note { margin: 22px auto 10px; max-width: 640px; font-size: 16px; font-weight: 500; color: var(--ink); }
.tier__now { font-size: 50px; line-height: 1; letter-spacing: -0.02em; }
.tier__was { color: var(--muted); font-size: 15px; margin-top: 8px; }
.tier__was s { text-decoration-thickness: 1px; }
.tier__label { font: 500 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--warm-2); margin-top: 10px; }
.tier__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; font-size: 15px; flex: 1; align-content: start; }
.tier__list li { position: relative; padding-left: 24px; }
.tier__list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 1.5px solid var(--warm); border-bottom: 1.5px solid var(--warm); transform: rotate(-45deg); }
#pricing .small { margin-top: 30px; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 2px; font-size: 21px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 26px/1 var(--sans); color: var(--muted); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 0 24px; color: var(--ink-2); max-width: 680px; }

/* ---------- reserve ---------- */
.reserve { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .reserve { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } .reserve__intro { position: sticky; top: 110px; } }
.reserve__intro p { color: rgba(250, 248, 244, .78); font-size: 17px; margin: 0 0 22px; }
.reserve__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reserve__points li { padding-left: 26px; position: relative; color: var(--paper); }
.reserve__points li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 1.5px solid #D9A27A; border-bottom: 1.5px solid #D9A27A; transform: rotate(-45deg); }

.form { background: #1E1C1A; border: 1px solid #34302B; border-radius: var(--radius); padding: 26px 20px; display: grid; gap: 18px; }
@media (min-width: 760px) { .form { padding: 36px 34px; } }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; gap: 18px; align-items: start; }
.field-row .field { align-content: start; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field > label, .field legend { font-size: 14px; font-weight: 500; color: rgba(250, 248, 244, .9); padding: 0; margin-bottom: 0; }
.field legend { margin-bottom: 10px; }
.optional { color: rgba(250, 248, 244, .5); font-weight: 400; }
.form input[type="text"], .form input[type="email"], .form input[type="date"], .form textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid #45403A;
  background: #141312; color: var(--paper); font: 400 16px/1.4 var(--sans); transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.form input[type="date"] { color-scheme: dark; }
.form input:disabled { opacity: .45; }
.form textarea { resize: vertical; min-height: 96px; }
.form input::placeholder, .form textarea::placeholder { color: rgba(250, 248, 244, .38); }
.form input:focus, .form textarea:focus { outline: none; border-color: #D9A27A; box-shadow: 0 0 0 3px rgba(217, 162, 122, .22); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #E07A6A; }
.field.is-invalid > label, .field.is-invalid legend { color: #F2A397; }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: rgba(250, 248, 244, .75); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: #D9A27A; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid #514A42; color: rgba(250, 248, 244, .88); font-size: 14px; transition: background .15s, border-color .15s, color .15s; }
.chip:hover span { border-color: #8A7F72; }
.chip input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.form__fine { margin: -4px 0 0; font-size: 13px; color: rgba(250, 248, 244, .55); text-align: center; }
.form__status { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; background: #2A2724; }
.form__status.is-ok { background: rgba(140, 190, 120, .16); color: #CFE6C4; }
.form__status.is-error { background: rgba(224, 122, 106, .16); color: #F6C1B8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- /start/ page: plan selector, back pill on the dark section ---------- */
.startpage .sample__back { margin-bottom: 30px; }
.section--ink .btn--outline { color: var(--paper); border-color: rgba(250, 248, 244, .55); }
.section--ink .btn--outline:hover { background: var(--paper); color: var(--ink); }
/* Phones: keep the plan selector near the top; the billing details are repeated in the fine print under the form. */
@media (max-width: 640px) { .startpage .reserve__intro > p:not(.eyebrow), .startpage .reserve__points { display: none; } .startpage .reserve { gap: 22px; } .startpage .reserve__intro .h2 { margin-bottom: 0; } }
.plans { display: grid; gap: 10px; }
.plan-opt { position: relative; display: block; cursor: pointer; }
.plan-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.plan-opt__body { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: start; padding: 14px 16px 14px 46px; border: 1px solid #514A42; border-radius: var(--radius-sm); transition: background .15s, border-color .15s; }
.plan-opt__body::before { content: ""; position: absolute; left: 16px; top: 18px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #8A7F72; box-sizing: border-box; }
.plan-opt:hover .plan-opt__body { border-color: #8A7F72; }
.plan-opt.is-on .plan-opt__body, .plan-opt input:checked + .plan-opt__body { background: rgba(250, 248, 244, .08); border-color: var(--paper); }
.plan-opt input:checked + .plan-opt__body::before { border-color: var(--paper); background: radial-gradient(circle, var(--paper) 0 4px, transparent 5px); }
.plan-opt input:focus-visible + .plan-opt__body { outline: 2px solid #D9A27A; outline-offset: 2px; }
.plan-opt__name { font: 400 20px/1.2 var(--serif); color: var(--paper); }
.plan-opt__flag { font: 600 10.5px/1 var(--sans); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: #D9A27A; margin-left: 6px; white-space: nowrap; }
.plan-opt__price { text-align: right; display: grid; justify-items: end; gap: 2px; max-width: 150px; }
.plan-opt__price b { font: 400 20px/1.2 var(--serif); color: var(--paper); }
.plan-opt__price i { font: 500 10.5px/1.3 var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: rgba(250, 248, 244, .6); }
.plan-opt__for { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.4; color: rgba(250, 248, 244, .68); }

/* ---------- footer ---------- */
.footer { padding: 56px 0 44px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; gap: 26px; }
@media (min-width: 860px) { .footer__inner { grid-template-columns: 1fr auto; align-items: start; } .footer__legal, .footer__credit { grid-column: 1 / -1; } }
.footer .wordmark { font-size: 30px; display: inline-flex; align-items: center; min-height: 44px; }
.footer p { margin: 8px 0 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 22px; font-size: 15px; align-items: center; }
.footer__links a { text-decoration: none; color: var(--ink-2); }
.footer__links a, .footer__links .linklike { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { padding-top: 22px; border-top: 1px solid var(--line); }
.footer__credit { margin-top: -14px !important; font-size: 13px; }
.footer__credit a { color: var(--muted); text-underline-offset: 2px; }

/* Embedded Stripe Checkout (deposit) */
.checkout { background: #1E1C1A; border: 1px solid #34302B; border-radius: var(--radius); padding: 22px 16px; display: grid; gap: 12px; align-content: start; }
@media (max-width: 420px) { .checkout { padding: 20px 10px; } .checkout__head, .checkout__lede { padding: 0 6px; } }
@media (min-width: 760px) { .checkout { padding: 30px 30px; } }
.checkout__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.checkout__head .h3 { margin: 0; color: var(--paper); }
.checkout__back { color: rgba(250, 248, 244, .75); font-size: 14px; }
.checkout__fine { margin: 14px 0 0; font-size: 13px; text-align: center; color: rgba(250, 248, 244, .6); }
.checkout__fine a, .form__fine a { color: inherit; text-underline-offset: 3px; }
.checkout__lede { margin: 0; color: rgba(250, 248, 244, .72); font-size: 14px; }
.checkout__test { margin: 0; padding: 8px 12px; border-radius: var(--radius-sm); background: rgba(217, 162, 122, .16); color: #F1CDB3; font-size: 13px; }
.checkout__mount { background: #fff; border-radius: var(--radius-sm); overflow: hidden; min-height: 420px; }
[hidden] { display: none !important; }

/* /reserved return page */
.reserved { min-height: 70vh; display: grid; place-items: center; padding: var(--section) 0; }
.reserved__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px 26px; max-width: 620px; margin: 0 auto; text-align: center; }
.reserved__card .h2 { margin: 8px 0 14px; }
.reserved__card p { color: var(--ink-2); }
.reserved__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.reserved__icon { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 6px; display: grid; place-items: center; background: var(--warm-soft); color: var(--warm-2); font-size: 26px; }

/* ---------- sticky mobile CTA ---------- */
/* A small floating card (caption left, pill button right). js/main.js shows it only after the hero demo has scrolled past,
   and hides it again over #pricing and the footer so it never covers a main CTA. */
.sticky-cta { display: none; }
@media (max-width: 899px) {
  .sticky-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; z-index: 60; left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 540px; margin: 0 auto; padding: 8px 8px 8px 16px;
    background: rgba(250, 248, 244, .96); color: var(--ink); border: 1px solid var(--line); border-radius: 22px;
    box-shadow: 0 14px 34px -14px rgba(40, 28, 16, .45), 0 2px 6px rgba(40, 28, 16, .08);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    opacity: 0; transform: translateY(16px); visibility: hidden; pointer-events: none;
    transition: opacity .28s ease, transform .28s ease, visibility 0s .28s;
  }
  .sticky-cta.is-visible { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .28s ease, transform .28s ease; }
  .sticky-cta__text { margin: 0; min-width: 0; font-size: 12.5px; line-height: 1.3; color: var(--ink-2); }
  .sticky-cta__text strong { font-weight: 500; color: var(--ink-2); }
  .sticky-cta__btn { flex: none; width: auto; min-width: 124px; min-height: 44px; padding: 10px 22px; font-size: 15px; background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .footer { padding-bottom: calc(44px + 84px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta, .sticky-cta.is-visible { transition: none; transform: none; }
}

/* Phones: the primary CTA sits right under the intro text, above the demo video, so it is visible on first load. */
@media (max-width: 640px) {
  .hero__inner { display: flex; flex-direction: column; }
  .hero__ctas { order: 1; margin-top: 2px; }
  .hero__ctas .btn { width: 100%; max-width: 320px; }
  .hero__media { order: 2; margin-top: 22px; }
}

/* ---------- small-screen polish ---------- */
@media (max-width: 759px) {
  .hero { padding-top: 20px; }
  .hero .display { margin-bottom: 12px; }
  .hero .lede { margin-bottom: 0; }
  .hero__media { margin-top: 16px; }
  .hero__ctas { margin-top: 16px; }
  .hero__ctas .btn { width: 100%; max-width: none; }
}


/* ---------- wedding command center / admin mockup ---------- */
.dash-sec__head { margin-bottom: 28px; }
.dash-sec__points {
  list-style: none; margin: 0 auto 48px; padding: 0; max-width: 920px;
  display: grid; gap: 10px 28px;
}
@media (min-width: 720px) { .dash-sec__points { grid-template-columns: 1fr 1fr; } }
.dash-sec__points li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 16px; }
.dash-sec__points li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px;
  border-left: 1.5px solid var(--warm); border-bottom: 1.5px solid var(--warm); transform: rotate(-45deg);
}
.dash-sec__media { margin: 0; }
@media (max-width: 899px) { .dash-sec__media { margin-bottom: calc(24px + 100px + env(safe-area-inset-bottom)); } }
.frame--dash { background: #F6F3EE; }
.frame--dash .dash { padding: 28px 18px 24px; color: var(--ink); text-align: left; }
@media (min-width: 760px) { .frame--dash .dash { padding: 36px 36px 32px; } }

.dash__title {
  font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 22px; text-align: center;
}
.dash__tabs { display: flex; justify-content: center; gap: 8px; margin: 0 0 26px; }
.dash__tab {
  min-height: 44px; padding: 8px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink-2); font: 500 14px/1 var(--sans); cursor: pointer;
}
.dash__tab.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dash__tab:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; }

.dash__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
@media (min-width: 640px) { .dash__stats { gap: 14px; } }
.dash__stat {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 10px 14px; text-align: center;
}
.dash__stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 44px); line-height: 1; }
.dash__stat span {
  display: block; margin-top: 8px; font: 500 12px/1.3 var(--sans); letter-spacing: .10em;
  text-transform: uppercase; color: var(--muted);
}
@media (max-width: 430px) { .dash__stat span { letter-spacing: .04em; } }
.dash__label {
  margin: 16px 0 8px; font: 600 13px/1.3 var(--sans); color: var(--ink);
}
.dash__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dash__chips span {
  display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2);
}
.dash__toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 12px;
}
.dash__list-title { margin: 0 auto 0 0; font: 600 15px/1.3 var(--sans); }
.dash__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 6px 14px; border-radius: 999px; font: 500 13px/1 var(--sans); white-space: nowrap;
}
.dash__btn--outline { border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.dash__btn--solid { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.dash__btn--ghost { border: 1px dashed #C9C1B6; background: transparent; color: var(--ink-2); width: 100%; margin-top: 8px; }
.dash__search, .dash__select {
  display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font-size: 13px; color: var(--muted);
}
.dash__table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px; -webkit-overflow-scrolling: touch; }
.dash__table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 720px; }
.dash__table th {
  text-align: left; font: 500 12px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); padding: 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #FAF8F4;
}
.dash__table td { padding: 11px 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: middle; }
.dash__table tr:last-child td { border-bottom: 0; }
.dash__check {
  display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 4px;
  border: 1px solid #C9C1B6; background: var(--card); font-size: 11px; color: transparent;
}
.dash__check.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.dash__emergency {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; margin-bottom: 14px; border-radius: 14px;
  background: var(--warm-soft); border: 1px solid #E8D5C2;
  font: 500 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--warm-2);
}
.dash__msg-grid { display: grid; gap: 14px; }
@media (min-width: 880px) { .dash__msg-grid { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.dash__card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.dash__msgs { list-style: none; margin: 0; padding: 0; }
.dash__msgs li {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px;
  padding: 12px 8px; border-top: 1px solid var(--line);
}
.dash__msgs li:first-of-type { border-top: 0; }
.dash__msgs li.is-on { background: #F6F3EE; border-radius: 10px; border-top-color: transparent; }
.dash__msgs time { grid-column: 1; font-size: 12px; color: var(--muted); }
.dash__msgs strong { grid-column: 1; font-size: 14px; font-weight: 600; color: var(--ink); }
.dash__msgs li > span { grid-column: 1; font-size: 12px; color: var(--muted); }
.dash__msgs i {
  grid-column: 2; grid-row: 1 / span 3; align-self: center;
  font-style: normal; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap;
}
.dash__editor .dash__label { margin-top: 0; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; color: var(--muted); font-weight: 600; }
.dash__field-label { margin: 10px 0 4px; font-size: 13px; color: var(--ink-2); }
.dash__field {
  border: 1px solid var(--line); border-radius: 10px; background: #FFFDF9;
  padding: 10px 12px; font-size: 14px; color: var(--ink); min-height: 40px;
}
.dash__field--area { min-height: 64px; line-height: 1.45; }
.dash__checks { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 13px; }
.dash__box {
  display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 3px;
  background: var(--ink); color: var(--paper); font-size: 10px;
}
.dash__reach { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.dash__preview-label { margin: 14px 0 6px; font: 500 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dash__bubble {
  background: #EDE8E1; border-radius: 16px 16px 16px 4px; padding: 12px 14px;
  font-size: 13px; line-height: 1.45; color: var(--ink-2);
}
.dash__count { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.dash__editor-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dash__editor-actions .dash__btn--ghost { width: auto; margin: 0; }
.reserved__actions .btn.is-busy { opacity: .6; pointer-events: none; }

/* ---------- legal pages (/privacy, /terms) ---------- */
.legal { padding-top: 56px; }
.legal .h2 { margin-bottom: 10px; }
.legal__eff { margin: 0 0 6px; color: var(--ink-2); }
.legal__note { margin: 0 0 20px; }
.legal__lead { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.55; color: var(--ink-2); margin: 0 0 28px; }
.legal h2:not(.h2) { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 3.4vw, 28px); line-height: 1.2; margin: 44px 0 12px; scroll-margin-top: 90px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin: 0 0 8px; }
.legal a { color: var(--warm-2); text-underline-offset: 3px; }
.legal__toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; margin: 0 0 8px; }
.legal__toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .legal__toc ol { columns: 1; } }
.legal__toc li { font-size: 15px; line-height: 1.5; margin: 0 0 6px; break-inside: avoid; }
.legal-ph { background: #FFF3C4; padding: 0 4px; border-radius: 4px; }
.legal__optout { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; margin: 12px 0 4px; }
.legal__optout p { margin: 0 0 10px; font-size: 15px; }
.legal [id] { scroll-margin-top: 90px; }
.welcome__legal { text-align: center; margin: 22px 0 0; font-size: 13px; color: var(--muted); }
.welcome__legal a { color: var(--muted); text-underline-offset: 3px; margin: 0 8px; }

/* ---------- automatic-renewal disclosure (FRE-25) ---------- */
.renew-note { margin: 0 0 14px; padding: 12px 14px; border-left: 3px solid #D9A27A; background: rgba(250, 248, 244, .07); border-radius: 0 10px 10px 0; font-size: 14.5px; line-height: 1.5; color: rgba(250, 248, 244, .92); }
.renew-note strong { color: var(--paper); font-weight: 600; }
.checkout .renew-note { margin: 12px 0 0; }

/* ---------- accessibility helpers (FRE-25) ---------- */
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero__transcript { max-width: 760px; margin: 14px auto 0; text-align: left; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.hero__transcript summary { cursor: pointer; font: 500 15px/1.4 var(--sans); color: var(--warm-2); padding: 8px 0; min-height: 44px; display: flex; align-items: center; }
.hero__transcript summary:focus-visible { outline: 2px solid var(--warm-2); outline-offset: 3px; border-radius: 4px; }
.hero__transcript p { margin: 6px 0 0; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--warm-2); outline-offset: 3px; }
.section--ink a:focus-visible, .section--ink button:focus-visible { outline-color: #D9A27A; }
