:root {
  --ink: #172b3a;
  --muted: #5f6f7a;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --line: #dbe3e7;
  --coral: #e84f3d;
  --coral-dark: #bd3428;
  --blue: #2d9ed2;
  --yellow: #ffd23f;
  --green: #16825d;
  --shadow: 0 20px 60px rgba(23, 43, 58, .12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); line-height: 1.55; }
button, input { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; }

.site-header { position: sticky; top: 0; z-index: 50; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px clamp(20px, 5vw, 72px); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.05rem; font-weight: 800; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: white; background: var(--coral); border-radius: 7px; }
.site-header nav { display: flex; align-items: center; gap: 24px; }
.site-header nav a, .link-button { color: var(--ink); font-size: .92rem; font-weight: 700; text-decoration: none; }
.site-header nav a:hover, .link-button:hover { color: var(--coral); }
.site-header .nav-register { padding: 9px 14px; color: white; background: var(--ink); border-radius: 6px; }
.nav-form { margin: 0; }
.link-button, .menu-button { border: 0; background: transparent; cursor: pointer; }
.menu-button { display: none; padding: 8px 0; font-weight: 800; }

.hero { position: relative; min-height: min(720px, calc(100vh - 68px)); display: grid; align-items: center; overflow: hidden; background: #eaf3f7; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 31%, rgba(255,255,255,.12) 65%, rgba(255,255,255,0) 100%); }
.hero-content { position: relative; z-index: 1; width: min(640px, 90%); padding: 72px clamp(24px, 7vw, 110px); }
.eyebrow { margin-bottom: 12px; color: var(--coral-dark); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.hero h1 { margin-bottom: 20px; font-size: clamp(3.4rem, 8vw, 7rem); color: var(--ink); }
.hero-content > p:not(.eyebrow) { max-width: 530px; font-size: 1.22rem; color: #344d5e; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid transparent; border-radius: 6px; color: var(--ink); background: white; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { color: white; background: var(--coral); }
.button--primary:hover { background: var(--coral-dark); }
.button--dark { color: white; background: var(--ink); }
.button--quiet { border-color: var(--line); background: white; }
.button--ghost { border-color: rgba(23,43,58,.35); background: rgba(255,255,255,.75); }
.button--wide { width: 100%; }
.button--small { min-height: 38px; padding: 8px 12px; font-size: .86rem; }
.button:disabled { opacity: .48; cursor: not-allowed; transform: none; }

.steps { padding: 92px clamp(24px, 7vw, 110px); }
.section-heading { max-width: 620px; margin-bottom: 44px; }
.section-heading h2, .package-copy h2 { font-size: clamp(2.1rem, 4vw, 4rem); }
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.step-list li { min-height: 230px; padding: 28px; background: white; }
.step-list span { display: block; margin-bottom: 46px; color: var(--blue); font-weight: 900; }
.step-list h3 { margin-bottom: 10px; font-size: 1.35rem; }
.step-list p { margin: 0; color: var(--muted); }
.package-band { display: grid; grid-template-columns: 1.4fr .8fr; gap: 64px; align-items: center; padding: 84px clamp(24px, 7vw, 110px); background: #e8f5fa; border-top: 1px solid #cfe5ee; }
.package-copy p:last-child { max-width: 670px; color: #416171; font-size: 1.1rem; }
.package-price { padding: 30px; background: white; border: 1px solid #c8dbe3; border-top: 6px solid var(--yellow); border-radius: var(--radius); box-shadow: var(--shadow); }
.price-label { margin-bottom: 2px; color: var(--muted); font-size: .86rem; }
.price { margin-bottom: 18px; }
.price strong { font-size: 2.4rem; }
.package-price ul { padding-left: 20px; }
.package-price .button { width: 100%; margin-top: 8px; }
.package-price small { display: block; margin-top: 12px; color: var(--muted); }

.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(24px, 7vw, 110px); color: white; background: var(--ink); font-size: .88rem; }
.site-footer span:first-child { font-weight: 900; }

.flash-stack { position: fixed; z-index: 100; inset: 0; display: grid; place-content: center; gap: 8px; width: 100%; padding: 20px; pointer-events: none; }
.flash { position: relative; width: min(430px, calc(100vw - 40px)); padding: 16px 17px 19px; overflow: hidden; color: var(--ink); background: white; border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: 6px; box-shadow: 0 24px 70px rgba(23,43,58,.24); transform: translateY(clamp(-180px, -18vh, -100px)); pointer-events: auto; }
.flash::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 4px; background: var(--blue); transform-origin: left; animation: flash-timer 6s linear forwards; }
.flash--success { border-left-color: var(--green); }
.flash--error { border-left-color: var(--coral); }
.flash--success::after { background: var(--green); }
.flash--error::after { background: var(--coral); }
@keyframes flash-timer { to { transform: scaleX(0); } }

.editor-shell { min-height: calc(100vh - 68px); display: grid; grid-template-columns: minmax(320px, 430px) 1fr; background: #edf3f5; }
.editor-panel { position: relative; z-index: 2; padding: 40px clamp(24px, 4vw, 48px); background: white; border-right: 1px solid var(--line); box-shadow: 16px 0 35px rgba(23,43,58,.06); }
.editor-title-row { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.editor-heading h1 { margin-bottom: 8px; font-size: 2.4rem; }
.editor-heading > p:last-child { margin-bottom: 28px; color: var(--muted); }
form label { display: grid; gap: 7px; margin-bottom: 18px; font-size: .9rem; font-weight: 800; }
input[type="text"], input[type="email"], input[type="password"], input[type="date"], input[type="time"] { width: 100%; min-height: 48px; padding: 10px 12px; color: var(--ink); background: white; border: 1px solid #bdcbd2; border-radius: 5px; outline: none; }
input[type="tel"] { width: 100%; min-height: 48px; padding: 10px 12px; color: var(--ink); background: white; border: 1px solid #bdcbd2; border-radius: 5px; outline: none; }
input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,158,210,.15); }
input.is-locked { color: #687983; background: #edf1f3; border-color: #d4dde1; cursor: not-allowed; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.locked-note { margin: 16px 0 22px !important; padding: 11px 12px; color: #705900 !important; background: #fff4bd; border: 1px solid #ead474; border-radius: 5px; font-size: .82rem; }
.toggle-row { grid-template-columns: 1fr auto; align-items: center; gap: 18px; margin-top: 4px; padding: 15px; background: #eef7fa; border: 1px solid #cfe4ec; border-radius: 6px; cursor: pointer; }
.toggle-row span { display: grid; gap: 2px; }
.toggle-row small { color: var(--muted); font-weight: 500; }
.toggle-row input { position: relative; width: 46px; height: 26px; margin: 0; appearance: none; background: #aab7bd; border-radius: 20px; cursor: pointer; transition: background .16s ease; }
.toggle-row input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: white; border-radius: 50%; box-shadow: 0 1px 3px rgba(23,43,58,.24); transition: transform .16s ease; }
.toggle-row input:checked { background: var(--green); }
.toggle-row input:checked::after { transform: translateX(20px); }
.whatsapp-fields { margin: 0 0 18px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; }
.whatsapp-fields.is-disabled { display: none; }
.whatsapp-fields legend { padding: 0 7px; color: var(--ink); font-size: .82rem; font-weight: 800; }
.whatsapp-contact-list { display: grid; gap: 9px; margin-bottom: 10px; }
.whatsapp-contact { display: grid; grid-template-columns: minmax(120px, 1fr) 90px minmax(135px, 1fr) 34px; gap: 8px; align-items: end; padding: 10px; background: var(--soft); border: 1px solid var(--line); border-radius: 5px; }
.whatsapp-contact label { margin: 0; font-size: .7rem; }
.whatsapp-contact input { min-width: 0; }
.contact-remove { display: grid; place-items: center; width: 34px; height: 42px; padding: 0; color: #8a2019; background: white; border: 1px solid #efb9b4; border-radius: 5px; font-size: 1.25rem; cursor: pointer; }
.contact-remove:hover { color: white; background: #a92c22; }
.phone-fields { display: grid; grid-template-columns: minmax(110px, .55fr) 1.45fr; gap: 10px; }
.field-help { margin: -4px 0 0; color: var(--muted); font-size: .78rem; }
.message-preview { margin: 6px 0 0; padding: 10px; color: #36515e; background: #f0f6f8; border-left: 3px solid var(--green); font-size: .78rem; }
.editor-sections { display: grid; gap: 12px; margin-bottom: 18px; }
.editable-section-block { background: white; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.section-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 48px; padding: 7px 9px 7px 12px; background: #eef5f7; border-bottom: 1px solid var(--line); }
.section-row > label { display: flex; align-items: center; gap: 9px; margin: 0; cursor: pointer; }
.section-row > label input { width: 18px; height: 18px; margin: 0; accent-color: var(--green); }
.section-arrows { display: flex; gap: 4px; }
.section-arrows button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 4px; font-size: 1.05rem; font-weight: 900; cursor: pointer; }
.section-arrows button:hover:not(:disabled) { color: white; background: var(--ink); border-color: var(--ink); }
.section-arrows button:disabled { opacity: .3; cursor: default; }
.section-fields { padding: 14px 14px 0; }
.section-fields.field-row { padding-bottom: 0; }
.section-fields.whatsapp-fields { margin: 0; border: 0; border-radius: 0; }
.editor-status { min-height: 42px; margin: 5px 0 14px; padding: 10px 12px; color: var(--muted); background: var(--soft); border-radius: 5px; font-size: .82rem; }
.editor-status.is-saved { color: var(--green); background: #e9f8f2; }
.editor-primary-actions { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.modal-backdrop { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(9,20,28,.58); }
.save-modal { width: min(520px, 100%); padding: clamp(28px, 6vw, 46px); background: white; border-radius: var(--radius); box-shadow: 0 28px 90px rgba(0,0,0,.3); text-align: center; }
.save-modal h2 { margin-bottom: 24px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.save-modal-actions { display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; }
.phone-stage { display: grid; justify-items: center; align-content: start; gap: 14px; min-width: 0; padding: 30px 24px 50px; overflow: auto; }
.phone-label { color: var(--muted); font-size: .82rem; font-weight: 800; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 5px; background: var(--green); border-radius: 50%; }
.phone-frame { position: relative; width: min(390px, 100%); aspect-ratio: 390 / 760; padding: 14px; background: #172027; border: 3px solid #0b1115; border-radius: 38px; box-shadow: 0 24px 55px rgba(23,43,58,.22); }
.phone-speaker { position: absolute; z-index: 4; top: 7px; left: 50%; width: 86px; height: 21px; transform: translateX(-50%); background: #080c0f; border-radius: 0 0 13px 13px; }
.phone-screen { height: 100%; overflow-y: auto; background: white; border-radius: 25px; scrollbar-width: thin; }

.invitation-view { min-height: 100%; color: var(--ink); background: white; text-align: center; }
.invite-cover { min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 52px 24px; background: #fef7e8; border-bottom: 10px solid var(--yellow); }
.invite-kicker, .detail-label { margin-bottom: 10px; color: var(--coral-dark); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.invite-cover h1, .editable-preview #preview-name { display: block; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 11vw, 5.2rem); line-height: .98; overflow-wrap: anywhere; }
.invite-message { max-width: 290px; margin: 24px auto 0; color: #5b6670; }
.invite-draft, .invite-live { display: inline-flex; margin-bottom: 28px; padding: 5px 9px; color: #735d00; background: #fff0a8; border-radius: 4px; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.invite-live { color: #075c40; background: #c9f4e4; }
.cake-mark { display: flex; align-items: end; justify-content: center; gap: 8px; width: 92px; height: 66px; margin-top: 28px; padding: 0 10px 10px; background: var(--coral); border-bottom: 14px solid #bf392d; border-radius: 8px 8px 3px 3px; }
.cake-mark span { position: relative; width: 7px; height: 30px; background: white; }
.cake-mark span::before { content: ""; position: absolute; top: -13px; left: -2px; width: 11px; height: 11px; background: var(--yellow); border-radius: 50% 50% 45% 45%; }
.invite-details { padding: 52px 26px 64px; border-bottom: 1px solid #e2e8eb; }
.invite-section--alternate { background: #edf7fb; }
.invite-confirmation { background: #f2f8f5; }
.invite-details h2 { margin-bottom: 6px; font-size: 1.65rem; overflow-wrap: anywhere; }
.invite-details hr { width: 54px; margin: 34px auto; border: 0; border-top: 3px solid var(--blue); }
.invite-rsvp { display: inline-flex; justify-content: center; margin-top: 30px; padding: 12px 16px; color: white; background: var(--ink); border-radius: 5px; font-weight: 900; text-decoration: none; }
.invite-rsvp--whatsapp { background: #167a55; }
.invite-rsvp--whatsapp:hover { background: #0d6243; }
.invite-rsvp-list { display: flex; justify-content: center; align-items: stretch; gap: 9px; flex-wrap: wrap; }
.invite-rsvp-list .invite-rsvp { flex: 0 1 auto; margin-top: 20px; }
.whatsapp-icon { display: inline-grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; margin-right: 7px; color: #167a55; background: white; border-radius: 50%; font-size: .8rem; line-height: 1; }
.editable-preview { max-width: 100%; padding: 2px 6px; color: inherit; background: transparent; border: 1px dashed transparent; cursor: pointer; }
.editable-preview:hover, .editable-preview:focus { border-color: var(--blue); outline: none; }
.editable-preview strong { font-size: 1.65rem; overflow-wrap: anywhere; }

.auth-page { background: var(--soft); }
.auth-layout { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-intro { display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 9vw, 130px); color: white; background: var(--ink); }
.auth-intro .eyebrow { color: var(--yellow); }
.auth-intro h1 { margin-bottom: 18px; font-size: clamp(2.8rem, 6vw, 5.3rem); }
.auth-intro p:last-child { max-width: 500px; color: #bdd0dc; font-size: 1.08rem; }
.auth-card { align-self: center; width: min(480px, calc(100% - 44px)); margin: 45px auto; padding: clamp(26px, 5vw, 44px); background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.auth-card--wide { width: min(560px, calc(100% - 44px)); }
.auth-card small { color: var(--muted); font-weight: 500; }
.auth-alt { margin: 18px 0 0; color: var(--muted); text-align: center; }
.auth-alt a, .text-action { color: var(--coral-dark); font-weight: 800; }

.notice-page { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 40px 20px; background: var(--soft); }
.notice { width: min(600px, 100%); padding: clamp(30px, 6vw, 60px); background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.notice--wide { width: min(720px, 100%); }
.verification-list { display: grid; gap: 10px; margin: 24px 0; text-align: left; }
.verification-list form { margin: 0; }
.verification-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; }
.verification-item div { display: grid; gap: 3px; min-width: 0; }
.verification-item span:not(.account-status) { color: var(--muted); overflow-wrap: anywhere; }
.pending-setup { display: grid; gap: 4px; margin-top: 12px !important; padding: 18px; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; }
.pending-setup h2 { margin-bottom: 4px; font-size: 1.35rem; }
.pending-setup p { margin-top: 0; color: var(--muted); }
.notice h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.notice-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 22px; color: white; background: var(--blue); border-radius: 50%; font-size: 1.3rem; font-weight: 900; }
.secondary-form { margin-top: 16px; }
.text-action { border: 0; background: none; cursor: pointer; }
.dev-box { display: grid; gap: 5px; margin-top: 22px; padding: 12px; background: #fff7cf; border: 1px solid #f1d968; border-radius: 5px; }
.loading-ring { width: 46px; height: 46px; margin: 0 auto 24px; border: 5px solid var(--line); border-top-color: var(--coral); border-radius: 50%; animation: spin .8s linear infinite; }
.is-hidden { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }

.dashboard { min-height: calc(100vh - 68px); padding: 54px clamp(22px, 7vw, 100px) 90px; background: var(--soft); }
.account-subnav { display: inline-flex; gap: 4px; margin-bottom: 34px; padding: 4px; background: #e4ebee; border-radius: 6px; }
.account-subnav a { padding: 9px 14px; color: var(--muted); border-radius: 4px; font-weight: 800; text-decoration: none; }
.account-subnav a.is-active { color: var(--ink); background: white; box-shadow: 0 1px 4px rgba(23,43,58,.1); }
.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.dashboard-heading h1 { margin-bottom: 8px; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.dashboard-heading p:last-child { margin: 0; color: var(--muted); }
.invitation-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 18px; }
.invitation-card { padding: 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.card-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 30px; }
.status { padding: 5px 8px; border-radius: 4px; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.status--draft { color: #775d00; background: #fff0a8; }
.status--published { color: #075c40; background: #c9f4e4; }
.status--inactive { color: #394a52; background: #dce4e8; }
.card-date { color: var(--muted); font-size: .82rem; }
.invitation-card h2 { margin-bottom: 8px; font-size: 1.7rem; }
.invitation-card > p { min-height: 50px; color: var(--muted); }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.card-actions form, .decision-actions form { margin: 0; }
.button--danger { color: #8a2019; background: #fff0ee; border-color: #efb9b4; }
.button--danger:hover { color: white; background: #a92c22; border-color: #a92c22; }
.panel-dev-link { margin: -16px 0 28px; }
.share-wrap { position: relative; }
.share-menu { position: absolute; z-index: 20; right: 0; bottom: calc(100% + 7px); display: none; width: 190px; padding: 6px; background: white; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 16px 38px rgba(23,43,58,.2); }
.share-menu.is-open { display: grid; }
.share-menu a, .share-menu button { width: 100%; padding: 10px 11px; color: var(--ink); background: transparent; border: 0; border-radius: 4px; font-size: .86rem; font-weight: 700; text-align: left; text-decoration: none; cursor: pointer; }
.share-menu a:hover, .share-menu button:hover { color: var(--coral-dark); background: var(--soft); }
.empty-state { grid-column: 1 / -1; padding: 70px 24px; background: white; border: 1px dashed #b5c4cb; text-align: center; }
.account-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 24px; align-items: start; }
.account-form, .account-password { padding: clamp(22px, 4vw, 34px); background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.account-section h2, .account-verification h2, .account-password h2 { font-size: 1.5rem; }
.account-verification { margin: 26px 0; padding-top: 24px; border-top: 1px solid var(--line); }
.account-verification > p, .account-password > p:not(.eyebrow) { color: var(--muted); }
.account-status { display: inline-flex; margin-left: 7px; padding: 3px 6px; border-radius: 3px; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.account-status--ok { color: #075c40; background: #c9f4e4; }
.account-status--pending { color: #775d00; background: #fff0a8; }
.account-password { position: sticky; top: 92px; }
.masked-phone { display: grid; gap: 4px; margin-bottom: 16px; padding: 13px; background: var(--soft); border: 1px solid var(--line); border-radius: 5px; }
.masked-phone span { color: var(--muted); font-size: .78rem; font-weight: 800; }
.masked-phone strong { font-size: 1.05rem; letter-spacing: 0; }
.masked-phone small { color: var(--muted); }
#resend-alternate-form { display: none; }

.decision-page { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 24px; background: rgba(23,43,58,.12); }
.decision-dialog { width: min(560px, 100%); padding: clamp(28px, 6vw, 48px); background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 26px 80px rgba(23,43,58,.22); text-align: center; }
.decision-dialog h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.decision-dialog > p:not(.eyebrow) { color: var(--muted); }
.decision-actions { display: flex; justify-content: center; gap: 9px; margin-top: 25px; flex-wrap: wrap; }
.delete-summary { display: grid; gap: 1px; margin: 24px 0; background: var(--line); border: 1px solid var(--line); text-align: left; }
.delete-summary div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 12px; background: white; }
.delete-summary dt { color: var(--muted); font-weight: 800; }
.delete-summary dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }

.preview-toolbar { position: sticky; z-index: 10; top: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px clamp(16px, 5vw, 60px); background: white; border-bottom: 1px solid var(--line); font-size: .85rem; }
.preview-toolbar > a:first-child { font-weight: 800; }
.public-invite-shell { position: relative; width: min(720px, 100%); margin: auto; box-shadow: 0 0 70px rgba(23,43,58,.1); }
.public-owner-nav { position: absolute; z-index: 12; top: 16px; right: 16px; }
.public-owner-nav + .invitation-view .invite-cover { padding-top: 104px; }
.public-invite .invitation-view { width: 100%; min-height: 100vh; margin: auto; }
.public-invite .invite-cover { min-height: min(720px, 75vh); }
.public-invite .invite-cover h1 { font-size: clamp(4rem, 11vw, 7.5rem); }
.invitation-page { background: #e9eff1; }
.invitation-page .site-footer { display: none; }
.invitation-credit { display: flex; align-items: center; flex-direction: column; gap: 8px; padding: 30px clamp(20px, 6vw, 44px); color: white; background: #080b0d; text-align: center; }
.invitation-credit p { margin: 0; color: #d2d9dd; font-size: .96rem; }
.invitation-credit small { color: #87969e; }
.invitation-credit small a { color: #b9c4c9; text-decoration: underline; text-underline-offset: 3px; }
.invitation-create-link { color: white; font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; transition: color .16s ease; }
.invitation-create-link:hover, .invitation-credit small a:hover { color: var(--yellow); }

.checkout { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 1fr minmax(350px, 520px); gap: 70px; align-items: start; padding: 70px clamp(24px, 7vw, 110px); background: var(--soft); }
.checkout-summary h1 { max-width: 700px; font-size: clamp(2.6rem, 5vw, 5rem); }
.checkout-summary dl { max-width: 650px; margin-top: 50px; }
.checkout-summary dl div { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.checkout-summary dt { color: var(--muted); }
.checkout-summary dd { margin: 0; font-weight: 800; }
.sandbox-card { padding: 30px; background: white; border: 2px dashed var(--blue); border-radius: var(--radius); box-shadow: var(--shadow); }
.sandbox-label { display: inline-flex; padding: 5px 9px; color: #075471; background: #d9f4ff; border-radius: 4px; font-size: .75rem; font-weight: 900; text-transform: uppercase; }
.sandbox-card h2 { margin: 20px 0 5px; }
.sandbox-price { margin-bottom: 12px; font-size: 2.5rem; font-weight: 900; }
.sandbox-price small { font-size: .9rem; }
.check-row { grid-template-columns: 22px 1fr; align-items: start; padding: 14px; background: var(--soft); border-radius: 5px; font-weight: 500; }
.check-row input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--coral); }
.sandbox-note { margin: 16px 0 0; color: var(--muted); font-size: .78rem; }

@media (max-width: 860px) {
  .site-header nav { position: absolute; top: 68px; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px 22px 20px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px rgba(23,43,58,.08); }
  .site-header nav.is-open { display: flex; }
  .site-header nav a, .site-header nav .link-button { display: block; width: 100%; padding: 12px 0; text-align: left; }
  .site-header .nav-register { padding-left: 12px; }
  .menu-button { display: block; }
  .hero { min-height: 660px; align-items: end; }
  .hero > img { object-position: 64% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 42%, rgba(255,255,255,.12) 78%); }
  .hero-content { width: 100%; padding: 48px 24px; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 5.5rem); }
  .step-list { grid-template-columns: 1fr; }
  .step-list li { min-height: 190px; }
  .step-list span { margin-bottom: 28px; }
  .package-band, .auth-layout, .checkout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-password { position: static; }
  .package-band { gap: 28px; }
  .editor-shell { grid-template-columns: 1fr; }
  .editor-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .phone-stage { padding-top: 28px; }
  .auth-intro { min-height: 330px; padding: 48px 24px; }
  .dashboard-heading { align-items: start; flex-direction: column; }
  .checkout { gap: 34px; padding-top: 44px; }
}

@media (max-width: 520px) {
  .site-header { padding-inline: 16px; }
  .brand-mark { width: 31px; height: 31px; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .steps, .package-band { padding-inline: 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .phone-fields { grid-template-columns: 120px 1fr; }
  .whatsapp-contact { grid-template-columns: 1fr 90px 34px; }
  .whatsapp-contact label:first-child { grid-column: 1 / -1; }
  .phone-stage { padding-inline: 10px; }
  .phone-frame { border-radius: 30px; }
  .phone-screen { border-radius: 20px; }
  .site-footer { flex-direction: column; }
  .preview-toolbar { align-items: stretch; flex-direction: column; }
  .preview-toolbar > span { display: none; }
  .card-actions .button { flex: 1 1 auto; }
  .invitation-credit { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
