:root {
    --ink: #20201e;
    --paper: #f7f7f2;
    --muted: #747470;
    --line: #dfdfd7;
    --accent: #6366f1;
    --soft: #efefff;
    --radius: 16px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased
}

button,
input,
select,
textarea {
    font: inherit
}

button,
a {
    touch-action: manipulation
}

button {
    cursor: pointer
}

a {
    color: inherit;
    text-decoration: none
}

button {
    color: inherit
}

button:disabled {
    opacity: .5;
    cursor: not-allowed
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 3px solid #9192ff;
    outline-offset: 4px
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px
}

h1,
h2,
h3,
p {
    margin: 0
}

h1,
h2,
h3 {
    font-family: 'Manrope', 'DM Sans', Arial, sans-serif
}

button {
    border: 0;
    background: none
}

svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
    flex: none
}

.container {
    max-width: 1312px;
    margin: auto;
    padding: 0 48px
}

.nav {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px
}

.brand {
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 38px;
    letter-spacing: -3px;
    font-weight: 800;
    line-height: 1
}

.brand span {
    color: #9698ff
}

.navlinks {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 13px
}

.navlinks a:hover {
    color: #b7b8ff
}

.navright {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 13px
}

.dark {
    background: var(--ink);
    color: #fff
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 9px;
    padding: 15px 21px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
    transition: transform .18s, background .18s;
    min-height: 44px
}

.btn:hover {
    transform: translateY(-2px)
}

.btn.primary {
    background: var(--accent);
    color: white
}

.btn.white {
    background: #fff;
    color: var(--ink)
}

.btn.outline {
    border: 1px solid #cfcfc8;
    background: transparent
}

.dark .btn.outline {
    border-color: #555551;
    color: white
}

.btn.small {
    padding: 11px 16px
}

.btn.full {
    width: 100%
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px
}

.eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a4a5ff
}

.hero {
    position: relative;
    padding: 59px 0 49px;
    overflow: hidden
}

.herogrid {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 32px;
    align-items: center;
    min-height: 520px
}

.hero h1 {
    font-size: clamp(54px, 5.6vw, 80px);
    line-height: 1.05;
    letter-spacing: -5px;
    font-weight: 550;
    max-width: 660px;
    margin: 26px 0
}

.hero h1 em {
    font-style: normal;
    color: #adafff
}

.hero .lead {
    color: #b4b4af;
    max-width: 410px;
    font-size: 16px;
    line-height: 1.8
}

.actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 30px 0 18px
}

.micro {
    font-size: 11px;
    color: #9d9d98;
    display: flex;
    gap: 8px;
    align-items: center
}

.micro svg {
    width: 14px;
    height: 14px
}

.hero-stage {
    height: 474px;
    position: relative;
    margin-left: 5px
}

.hero-stage:before {
    content: '';
    position: absolute;
    width: 382px;
    height: 382px;
    border: 1px solid #41413b;
    border-radius: 50%;
    left: 38px;
    top: 40px
}

.hero-stage:after {
    content: '';
    position: absolute;
    width: 440px;
    height: 440px;
    border: 1px solid #33332e;
    border-radius: 50%;
    left: 9px;
    top: 11px;
    pointer-events: none
}

.hero-card {
    position: absolute;
    width: 248px;
    height: 365px;
    top: 43px;
    left: 14px;
    transform: rotate(-10deg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 45px #0004;
    z-index: 1
}

.hero-card.second {
    left: 220px;
    top: 74px;
    transform: rotate(9deg);
    width: 238px
}

.hero-card .poster {
    height: 100%
}

.float-note {
    position: absolute;
    background: white;
    color: #252525;
    border-radius: 9px;
    padding: 13px 17px;
    box-shadow: 0 10px 30px #0002;
    bottom: 28px;
    left: 75px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 11px;
    transform: rotate(-3deg)
}

.float-note .check {
    background: #e5f1e7;
    color: #367447;
    border-radius: 50%;
    padding: 7px
}

.float-note small {
    color: #83837f;
    display: block;
    margin-top: 3px
}

.spark {
    position: absolute;
    right: 0;
    top: 8px;
    color: #adafff;
    font-size: 65px;
    font-weight: 300;
    z-index: 2
}

.hero-footer {
    border-top: 1px solid #41413b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0 0;
    margin-top: 20px;
    font-size: 11px;
    color: #94948e;
    gap: 20px
}

.occasion-list {
    display: flex;
    gap: 24px;
    color: #d0d0ca;
    flex-wrap: wrap
}

.occasion-list b {
    font-weight: 450
}

.section {
    padding: 90px 0
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px
}

.section h2 {
    font-size: 43px;
    line-height: 1.2;
    letter-spacing: -1.8px;
    font-weight: 550
}

.section .eyebrow {
    margin-bottom: 16px;
    color: #70706b
}

.section .intro {
    color: var(--muted);
    line-height: 1.7;
    margin-top: 15px;
    max-width: 510px
}

.text-link {
    font-size: 13px;
    display: inline-flex;
    gap: 14px;
    align-items: center;
    font-weight: 600
}

.text-link:hover {
    color: var(--accent)
}

.filters {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin: 30px 0
}

.chip {
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 9px 18px;
    color: #656560;
    font-size: 12px;
    min-height: 38px
}

.chip.active,
.chip:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: white
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px
}

.template-card {
    text-align: left;
    min-width: 0
}

.template-art {
    background: #e9e9e2;
    border-radius: 12px;
    overflow: hidden;
    padding: 28px;
    height: 355px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center
}

.template-art .poster {
    width: 215px;
    height: 300px;
    box-shadow: 0 8px 14px #00000014;
    transition: transform .3s
}

.template-card:hover .poster {
    transform: translateY(-5px) rotate(-2deg)
}

.template-card:nth-child(2) .template-art {
    background: #e5e4ef
}

.template-card:nth-child(3) .template-art {
    background: #e4e8de
}

.template-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 17px
}

.template-bottom h3 {
    font-size: 15px;
    letter-spacing: -.3px;
    font-weight: 650
}

.template-bottom p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ededE5;
    border-radius: 5px;
    padding: 5px 8px;
    font-size: 9px;
    letter-spacing: .6px;
    text-transform: uppercase
}

.badge.plus {
    background: #e9e8fe;
    color: #585abb
}

.poster {
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 28px 20px;
    color: #272924;
    background: #f1f0e8;
    font-family: Georgia, serif
}

.poster .tiny {
    font-size: 7px;
    letter-spacing: 2px;
    z-index: 1;
    font-family: Arial, sans-serif;
    text-transform: uppercase
}

.poster .big {
    font-size: 39px;
    line-height: 1.05;
    font-weight: 400;
    z-index: 1;
    overflow-wrap: anywhere
}

.poster .foot {
    font-size: 8px;
    letter-spacing: 1px;
    line-height: 1.8;
    z-index: 1;
    font-family: Arial, sans-serif
}

.poster .ornament {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 155px;
    height: 235px;
    border: 1px solid #a4aa90;
    transform: translate(-50%, -50%);
    border-radius: 100px
}

.poster .scribble {
    font-size: 46px;
    color: #647054;
    line-height: 1;
    margin: 4px
}

.poster.electric {
    background: #b9b7ee;
    color: #292444;
    font-family: 'Manrope', Arial, sans-serif
}

.poster.electric .big {
    font-size: 51px;
    font-weight: 750;
    letter-spacing: -4px;
    line-height: .96
}

.poster.electric .ornament {
    border: 0;
    border-radius: 0;
    width: 190px;
    height: 190px;
    background: #d6fa82;
    clip-path: polygon(50% 0, 60% 25%, 80% 7%, 79% 35%, 100% 35%, 85% 53%, 100% 73%, 72% 72%, 77% 100%, 53% 85%, 33% 100%, 30% 74%, 4% 82%, 18% 56%, 0 40%, 29% 34%, 23% 8%, 44% 26%)
}

.poster.electric .tiny,
.poster.electric .foot {
    font-weight: 700
}

.poster.olive {
    background: #555f45;
    color: #f0efd6
}

.poster.olive .big {
    font-size: 40px;
    font-style: italic
}

.poster.olive .ornament {
    border-color: #b1b995;
    border-radius: 100px 100px 0 0;
    width: 165px;
    height: 235px
}

.poster.olive .scribble {
    color: #c9cfb7
}

.poster.noir {
    background: #262829;
    color: #eeece1
}

.poster.noir .big {
    font-size: 41px;
    letter-spacing: -2px;
    font-family: 'Manrope', Arial, sans-serif
}

.poster.noir .ornament {
    border-radius: 50%;
    width: 195px;
    height: 195px;
    border-color: #727176
}

.poster.kids {
    background: #f0ad79;
    color: #6c3326;
    font-family: 'Manrope', Arial, sans-serif
}

.poster.kids .big {
    font-size: 41px;
    font-weight: 800;
    letter-spacing: -2px
}

.poster.kids .ornament {
    border: 16px solid #e36945;
    transform: translate(-50%, -50%) rotate(15deg);
    border-radius: 30px;
    width: 185px;
    height: 185px
}

.poster.editorial {
    background: #eee3df;
    color: #632f38
}

.poster.editorial .big {
    font-size: 40px;
    font-style: italic
}

.poster.editorial .ornament {
    border-radius: 0;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 154px;
    height: 154px;
    border-color: #b9878b
}

.how {
    border-top: 1px solid var(--line)
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 44px
}

.step-number {
    width: 39px;
    height: 39px;
    background: #e9e8fb;
    color: #6062bc;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    margin-bottom: 22px
}

.steps h3 {
    font-size: 20px;
    letter-spacing: -.5px;
    font-weight: 600;
    margin-bottom: 12px
}

.steps p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 295px
}

.feature-section {
    background: #eaeae2;
    border-radius: 22px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center
}

.feature-section h2 {
    font-size: 38px
}

.feature-section p {
    line-height: 1.8;
    color: #74746e;
    margin: 22px 0
}

.feature-list {
    display: grid;
    gap: 15px;
    font-size: 13px
}

.feature-list span {
    display: flex;
    gap: 10px;
    align-items: center
}

.feature-list svg {
    color: #6366bd;
    width: 17px
}

.mini-dashboard {
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 12px 25px #20201e09;
    padding: 26px;
    transform: rotate(-2deg)
}

.mini-dash-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px
}

.mini-dash-head strong {
    font-size: 14px
}

.mini-dash-head small {
    font-size: 9px;
    color: #8b8b87
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px
}

.mini-stat {
    background: #f6f6f2;
    border-radius: 7px;
    padding: 13px
}

.mini-stat strong {
    display: block;
    font-size: 23px;
    font-weight: 550
}

.mini-stat small {
    font-size: 8px;
    color: #82827c
}

.mini-row {
    border-top: 1px solid #efefeb;
    padding: 13px 0;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 10px
}

.avatar {
    width: 27px;
    height: 27px;
    background: #eeecfa;
    color: #7871a0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 8px
}

.mini-row .status {
    margin-left: auto;
    color: #487654;
    background: #edf5ee;
    padding: 4px 7px;
    border-radius: 5px;
    font-size: 8px
}

.demo-label {
    font-size: 9px;
    letter-spacing: 1px;
    color: #93938c;
    text-transform: uppercase;
    margin-top: 15px;
    text-align: center
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 880px;
    margin: 38px auto 0
}

.price-card {
    padding: 35px;
    border: 1px solid var(--line);
    border-radius: 15px
}

.price-card.plus {
    background: var(--ink);
    color: white;
    border: 0
}

.price-card h3 {
    font-size: 21px
}

.price-card .price {
    font-size: 39px;
    letter-spacing: -1.5px;
    margin: 25px 0 8px
}

.price-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7
}

.price-card.plus p {
    color: #b2b2aa
}

.price-card ul {
    list-style: none;
    padding: 22px 0;
    margin: 20px 0;
    border-top: 1px solid #dddcd3;
    display: grid;
    gap: 13px;
    font-size: 13px
}

.price-card.plus ul {
    border-color: #484842
}

.price-card li {
    display: flex;
    gap: 10px;
    align-items: center
}

.price-card li svg {
    width: 15px
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 85px
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 21px 0
}

.faq summary {
    cursor: pointer;
    font-size: 15px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 20px
}

.faq summary:after {
    content: '+';
    font-size: 20px;
    color: #77776d
}

.faq details[open] summary:after {
    content: '−'
}

.faq details p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
    margin-top: 15px;
    padding-right: 25px
}

.final-cta {
    text-align: center;
    padding: 73px 20px 78px;
    border-radius: 20px;
    background: #e8e7fa;
    margin-bottom: 80px
}

.final-cta .eyebrow {
    justify-content: center;
    color: #6c6b84
}

.final-cta h2 {
    font-size: 48px;
    letter-spacing: -2px;
    line-height: 1.2;
    font-weight: 550;
    margin: 20px 0 26px
}

.footer {
    border-top: 1px solid var(--line);
    padding: 30px 0
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}

.footer .brand {
    font-size: 30px
}

.footer-links {
    display: flex;
    gap: 24px;
    font-size: 11px;
    color: #74746e
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #8b8b83;
    font-size: 10px;
    margin-top: 24px
}

.page-heading {
    padding-top: 58px
}

.page-heading h1 {
    font-size: 52px;
    font-weight: 550;
    letter-spacing: -2px;
    margin: 15px 0
}

.page-heading p {
    color: var(--muted);
    max-width: 570px;
    line-height: 1.7
}

.light-header {
    background: var(--ink);
    color: white
}

.empty {
    text-align: center;
    padding: 90px 20px;
    border: 1px dashed #ccc;
    border-radius: 15px;
    margin: 30px 0
}

.empty h2 {
    font-size: 25px;
    margin: 15px 0
}

.empty p {
    color: var(--muted);
    margin-bottom: 25px
}

.draft-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 35px 0 70px
}

.draft-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px
}

.draft-thumb {
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 18px
}

.draft-thumb .poster {
    height: 300px;
    transform: scale(.75);
    transform-origin: top center
}

.draft-card h3 {
    font-size: 20px
}

.draft-card p {
    font-size: 12px;
    color: var(--muted);
    margin: 10px 0
}

.draft-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px
}

.icon-btn {
    padding: 10px;
    border-radius: 7px;
    min-width: 40px;
    min-height: 40px
}

.icon-btn:hover {
    background: #ebebe5
}

.icon-btn svg {
    width: 17px;
    height: 17px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    text-align: left;
    margin-bottom: 17px
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #d9d9d3;
    border-radius: 8px;
    padding: 12px 13px;
    color: var(--ink);
    background: white;
    min-width: 0
}

.field textarea {
    resize: vertical;
    min-height: 95px
}

.field small {
    font-size: 10px;
    color: #85857e
}

.span2 {
    grid-column: 1/-1
}

.form-error {
    color: #a73636;
    font-size: 12px;
    margin: 10px 0
}

.wizard-wrap {
    max-width: 780px;
    margin: 45px auto 80px
}

.wizard-panel {
    border: 1px solid var(--line);
    background: white;
    border-radius: 16px;
    padding: 35px
}

.wizard-progress {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    color: #92928c;
    font-size: 12px
}

.wizard-progress .active {
    color: var(--accent)
}

.wizard-panel h2 {
    font-size: 28px;
    letter-spacing: -1px;
    margin-bottom: 10px
}

.wizard-panel>p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 24px
}

.event-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px
}

.type-card {
    border: 1px solid var(--line);
    border-radius: 9px;
    min-height: 95px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 12px
}

.type-card svg {
    width: 25px;
    height: 25px
}

.type-card.active,
.type-card:hover {
    border-color: var(--accent);
    background: var(--soft);
    color: #5558bf
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px
}

.wizard-templates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px
}

.wizard-templates button {
    padding: 7px;
    border: 2px solid transparent;
    border-radius: 10px;
    text-align: left
}

.wizard-templates button.active {
    border-color: var(--accent);
    background: var(--soft)
}

.wizard-templates .poster {
    height: 220px;
    padding: 18px 10px
}

.wizard-templates .big {
    font-size: 29px
}

.wizard-templates .ornament {
    width: 110px;
    height: 160px
}

.wizard-templates .tiny {
    font-size: 5px
}

.wizard-templates .foot {
    font-size: 6px
}

.wizard-templates .name {
    font-size: 11px;
    margin: 9px 0
}

.editor-top {
    padding: 18px 28px;
    background: white;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 5
}

.editor-title {
    display: flex;
    gap: 16px;
    align-items: center
}

.editor-title h1 {
    font-size: 16px;
    letter-spacing: -.3px
}

.editor-title p {
    font-size: 10px;
    color: var(--muted);
    margin-top: 4px
}

.editor-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    min-height: calc(100vh - 80px)
}

.editor-sidebar {
    background: white;
    border-right: 1px solid var(--line);
    padding: 25px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    position: sticky;
    top: 80px
}

.editor-sidebar h2 {
    font-size: 17px;
    margin-bottom: 20px
}

.editor-tabs {
    display: flex;
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px
}

.editor-tabs button {
    padding: 12px 10px;
    font-size: 12px;
    border-bottom: 2px solid transparent
}

.editor-tabs button.active {
    border-color: var(--accent);
    color: var(--accent)
}

.section-control {
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden
}

.section-control summary {
    padding: 12px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between
}

.section-control .inner {
    padding: 12px;
    border-top: 1px solid var(--line)
}

.section-control .order {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 11px
}

.section-control input[type=checkbox] {
    accent-color: var(--accent);
    width: 16px;
    height: 16px
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 7px
}

.editor-preview {
    padding: 30px;
    background: #eeeee8;
    min-width: 0
}

.preview-bar {
    display: flex;
    justify-content: center;
    gap: 7px;
    align-items: center;
    margin-bottom: 23px
}

.preview-bar button {
    font-size: 11px;
    padding: 8px 14px;
    border-radius: 6px
}

.preview-bar button.active {
    background: white;
    box-shadow: 0 2px 3px #0001
}

.preview-phone {
    max-width: 380px;
    margin: auto;
    background: white;
    box-shadow: 0 8px 35px #0001;
    border-radius: 18px;
    border: 7px solid #fff;
    overflow: hidden;
    transition: max-width .2s
}

.preview-phone.wide {
    max-width: 740px
}

.invitation {
    background: #f1f0e8;
    color: #272924;
    min-height: 300px;
    text-align: center
}

.invitation.electric {
    background: #b9b7ee;
    color: #292444
}

.invitation.olive {
    background: #555f45;
    color: #f0efd6
}

.invitation.noir {
    background: #262829;
    color: #eeece1
}

.invitation.kids {
    background: #f0ad79;
    color: #6c3326
}

.invitation.editorial {
    background: #eee3df;
    color: #632f38
}

.invitation .poster {
    height: 430px;
    background: transparent;
    color: inherit;
    padding: 37px 24px
}

.invitation .poster .big {
    font-size: 54px
}

.invitation .poster .tiny {
    font-size: 10px
}

.invitation .poster .foot {
    font-size: 11px
}

.invitation .poster .ornament {
    width: 245px;
    height: 335px
}

.invite-block {
    padding: 32px 28px;
    border-top: 1px solid #8883
}

.invite-block h3 {
    font-size: 22px;
    font-family: Georgia, serif;
    font-weight: 400;
    margin-bottom: 14px
}

.invite-block p {
    white-space: pre-line;
    line-height: 1.8;
    font-size: 13px
}

.invite-block a {
    display: inline-flex;
    margin-top: 18px;
    border-bottom: 1px solid;
    padding-bottom: 3px;
    font-size: 12px
}

.invite-brand {
    padding: 22px;
    font-size: 10px;
    opacity: .6
}

.countdown {
    font-size: 38px;
    letter-spacing: -2px
}

.countdown small {
    font-size: 12px;
    letter-spacing: 0;
    display: block;
    margin-top: 5px
}

.cover-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block
}

.notice {
    background: #eeedfb;
    border: 1px solid #dbdaf2;
    color: #646183;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.7;
    margin: 20px 0
}

.preview-note {
    text-align: center;
    color: #85857f;
    font-size: 10px;
    margin: 18px 0;
    line-height: 1.6
}

.editor-actions {
    display: flex;
    gap: 9px
}

dialog {
    border: 0;
    padding: 0;
    background: white;
    color: var(--ink);
    border-radius: 15px;
    max-width: 560px;
    width: calc(100% - 32px);
    max-height: 90vh;
    box-shadow: 0 30px 90px #0004
}

dialog::backdrop {
    background: #12121099;
    backdrop-filter: blur(3px)
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 26px;
    border-bottom: 1px solid var(--line)
}

.modal-head h2 {
    font-size: 19px
}

.modal-body {
    padding: 26px
}

.modal-body p {
    font-size: 14px;
    line-height: 1.8;
    color: #74746c;
    margin-bottom: 16px
}

.modal-preview {
    max-width: 330px;
    margin: 0 auto
}

.modal-preview .poster {
    height: 440px
}

.modal-preview .poster .big {
    font-size: 56px
}

.modal-preview .poster .ornament {
    width: 230px;
    height: 320px
}

.modal-preview .poster .tiny {
    font-size: 9px
}

.modal-preview .poster .foot {
    font-size: 10px
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px
}

.skip {
    position: fixed;
    top: -100px;
    left: 20px;
    background: white;
    color: black;
    padding: 12px;
    z-index: 100
}

.skip:focus {
    top: 10px
}

#toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    background: #20201e;
    color: white;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 12px;
    box-shadow: 0 8px 30px #0002;
    transition: .2s;
    max-width: calc(100vw - 30px);
    text-align: center
}

#toast.show {
    opacity: 1;
    transform: translate(-50%, 0)
}

.mobile-menu {
    display: none
}

.arch-link {
    font-size: 12px;
    color: var(--accent);
    text-decoration: underline
}

.release-notice {
    background: #e9e8fc;
    color: #55577d;
    text-align: center;
    padding: 9px 20px;
    font-size: 10px;
    line-height: 1.5
}

.release-notice button {
    text-decoration: underline;
    margin-left: 8px;
    padding: 0;
    font-size: inherit
}

.template-footer {
    margin-top: 38px;
    display: flex;
    justify-content: center
}

.saved-indicator {
    color: #787873;
    font-size: 10px
}

.center {
    text-align: center
}

.center .eyebrow {
    justify-content: center
}

.center .intro {
    margin: 16px auto 0
}

@media(min-width:1500px) {
    .hero h1 {
        font-size: 80px
    }

    .hero-stage {
        margin-left: 20px
    }
}

@media(max-width:1100px) {
    .container {
        padding: 0 32px
    }

    .hero h1 {
        font-size: 64px;
        letter-spacing: -3.8px
    }

    .hero-stage {
        transform: scale(.86);
        transform-origin: center left
    }

    .herogrid {
        gap: 10px;
        grid-template-columns: 1fr .9fr
    }

    .navlinks {
        gap: 19px
    }

    .feature-section {
        padding: 40px;
        gap: 35px
    }

    .template-art {
        padding: 20px;
        height: 320px
    }

    .template-art .poster {
        height: 280px;
        width: 200px
    }

    .hero-footer {
        font-size: 10px
    }

    .occasion-list {
        gap: 15px
    }
}

@media(max-width:800px) {
    .nav {
        height: 78px
    }

    .navlinks {
        display: none
    }

    .navright>a {
        display: none
    }

    .mobile-menu {
        display: inline-flex;
        color: white
    }

    .hero {
        padding-top: 38px
    }

    .herogrid {
        grid-template-columns: 1fr;
        gap: 10px;
        min-height: 0
    }

    .hero h1 {
        font-size: 64px;
        max-width: 500px
    }

    .hero .lead {
        max-width: 390px
    }

    .hero-stage {
        width: 480px;
        height: 465px;
        margin: auto;
        transform: scale(.92);
        transform-origin: center center
    }

    .hero-footer {
        margin-top: 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 17px
    }

    .occasion-list {
        gap: 20px
    }

    .section {
        padding: 65px 0
    }

    .section h2 {
        font-size: 35px
    }

    .template-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px
    }

    .template-art {
        height: 340px
    }

    .steps {
        gap: 25px
    }

    .feature-section {
        grid-template-columns: 1fr;
        gap: 38px
    }

    .mini-dashboard {
        max-width: 460px;
        width: 100%;
        margin: auto
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .draft-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .editor-layout {
        grid-template-columns: 300px 1fr
    }

    .editor-sidebar {
        padding: 18px
    }

    .editor-top {
        padding: 15px
    }

    .editor-preview {
        padding: 25px 16px
    }

    .editor-actions .btn {
        font-size: 11px;
        padding: 12px
    }

    .preview-phone .poster .big {
        font-size: 42px
    }

    .preview-phone .poster .ornament {
        width: 90%
    }

    .footer-links {
        gap: 16px
    }

    .final-cta h2 {
        font-size: 40px
    }
}

@media(max-width:550px) {
    .container {
        padding: 0 22px
    }

    .nav {
        gap: 15px
    }

    .brand {
        font-size: 34px
    }

    .navright {
        gap: 7px
    }

    .navright .btn {
        font-size: 11px;
        padding: 11px 13px
    }

    .hero h1 {
        font-size: 53px;
        letter-spacing: -3px;
        margin: 23px 0
    }

    .hero .lead {
        font-size: 14px;
        max-width: 320px
    }

    .hero .eyebrow {
        font-size: 9px
    }

    .hero-stage {
        width: 410px;
        height: 400px;
        transform: scale(.82);
        transform-origin: left top;
        margin-top: 15px;
        margin-bottom: -50px
    }

    .hero-card {
        width: 230px;
        left: 8px
    }

    .hero-card.second {
        width: 220px;
        left: 179px
    }

    .hero-stage:before {
        width: 350px;
        height: 350px;
        left: 20px
    }

    .hero-stage:after {
        width: 400px;
        height: 400px;
        left: 0
    }

    .spark {
        right: 5px
    }

    .float-note {
        bottom: 0;
        left: 65px
    }

    .hero-footer {
        padding-top: 25px
    }

    .occasion-list {
        font-size: 10px;
        gap: 15px
    }

    .actions .btn {
        font-size: 12px;
        padding: 14px 16px
    }

    .section-head {
        align-items: start;
        flex-direction: column;
        gap: 20px
    }

    .section h2 {
        font-size: 32px;
        letter-spacing: -1.4px
    }

    .section .intro {
        font-size: 14px
    }

    .template-grid {
        gap: 22px 13px
    }

    .template-art {
        height: 240px;
        padding: 16px 11px;
        border-radius: 8px
    }

    .template-art .poster {
        width: 150px;
        height: 211px;
        padding: 18px 9px
    }

    .template-art .poster .big {
        font-size: 29px
    }

    .template-art .poster.electric .big {
        font-size: 33px;
        letter-spacing: -2px
    }

    .template-art .poster .tiny {
        font-size: 5px;
        letter-spacing: 1.3px
    }

    .template-art .poster .foot {
        font-size: 5px
    }

    .template-art .poster .ornament {
        width: 100px;
        height: 167px
    }

    .template-art .poster .scribble {
        font-size: 30px
    }

    .template-bottom {
        align-items: start;
        gap: 6px
    }

    .template-bottom h3 {
        font-size: 12px
    }

    .template-bottom p {
        font-size: 9px
    }

    .badge {
        font-size: 7px;
        padding: 4px 5px
    }

    .filters {
        gap: 6px
    }

    .chip {
        padding: 8px 13px;
        font-size: 11px
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .step-number {
        margin-bottom: 13px
    }

    .steps p {
        max-width: none;
        font-size: 13px
    }

    .feature-section {
        padding: 30px 22px;
        border-radius: 14px
    }

    .feature-section h2 {
        font-size: 31px
    }

    .feature-section p {
        font-size: 13px
    }

    .mini-dashboard {
        padding: 18px
    }

    .pricing-grid {
        grid-template-columns: 1fr
    }

    .price-card {
        padding: 28px
    }

    .faq summary {
        font-size: 13px
    }

    .final-cta {
        padding: 48px 20px;
        margin-bottom: 50px
    }

    .final-cta h2 {
        font-size: 34px
    }

    .footer-row,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 17px
    }

    .page-heading {
        padding-top: 35px
    }

    .page-heading h1 {
        font-size: 38px
    }

    .draft-grid {
        grid-template-columns: 1fr
    }

    .wizard-wrap {
        margin-top: 25px
    }

    .wizard-panel {
        padding: 24px 18px
    }

    .wizard-panel h2 {
        font-size: 25px
    }

    .wizard-progress {
        gap: 13px;
        font-size: 10px
    }

    .event-types {
        grid-template-columns: repeat(2, 1fr)
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .span2 {
        grid-column: auto
    }

    .wizard-templates {
        grid-template-columns: repeat(2, 1fr);
        gap: 7px
    }

    .editor-top {
        flex-wrap: wrap;
        gap: 12px;
        position: relative
    }

    .editor-title {
        gap: 7px
    }

    .editor-title h1 {
        font-size: 13px
    }

    .editor-actions {
        width: 100%;
        justify-content: flex-end
    }

    .editor-actions .saved-indicator {
        margin-right: auto;
        align-self: center
    }

    .editor-layout {
        display: flex;
        flex-direction: column
    }

    .editor-sidebar {
        position: relative;
        top: 0;
        height: auto;
        max-height: 530px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        width: 100%;
        padding: 22px
    }

    .editor-preview {
        padding: 25px 22px
    }

    .editor-sidebar .field {
        margin-bottom: 13px
    }

    .editor-tabs {
        margin-bottom: 17px
    }

    .preview-phone .poster .big {
        font-size: 48px
    }

    .modal-body {
        padding: 22px
    }

    .release-notice {
        font-size: 9px
    }

    .saved-indicator {
        font-size: 9px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}

/* Aplicación de producción */
.console-nav {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    align-items: center
}

.console-nav .push {
    margin-left: auto
}

.console-nav a {
    padding: 9px 13px;
    font-size: 12px;
    border-radius: 8px
}

.console-nav a.active {
    background: var(--ink);
    color: white
}

.app-main {
    padding-top: 35px;
    padding-bottom: 70px;
    min-height: 70vh
}

.app-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 0 0 28px
}

.app-title h1 {
    font-size: 36px;
    letter-spacing: -1.4px
}

.app-title p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 10px
}

.stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 25px 0
}

.stat {
    padding: 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px
}

.stat strong {
    display: block;
    font-size: 29px;
    font-weight: 550
}

.stat span {
    font-size: 11px;
    color: var(--muted)
}

.panel {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    margin-bottom: 22px
}

.panel h2 {
    font-size: 21px;
    margin-bottom: 20px
}

.table-wrap {
    overflow: auto
}

.data-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 12px
}

.data-table th {
    text-align: left;
    white-space: nowrap;
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px
}

.data-table td,
.data-table th {
    padding: 15px 12px;
    border-bottom: 1px solid var(--line)
}

.data-table td small {
    display: block;
    color: var(--muted);
    margin-top: 4px
}

.data-table td .btn {
    padding: 8px 10px;
    min-height: 34px;
    font-size: 10px
}

.status-confirmed {
    background: #e7f4e8;
    color: #3c764d
}

.status-declined {
    background: #f9e7e5;
    color: #ae4f48
}

.status-pending {
    background: #eeeefa;
    color: #696bb1
}

.row-actions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap
}

.check-field {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    margin-bottom: 17px;
    line-height: 1.6
}

.check-field input {
    width: 17px;
    height: 17px;
    accent-color: var(--accent)
}

.auth-box {
    max-width: 450px;
    margin: 50px auto;
    background: white;
    padding: 35px;
    border: 1px solid var(--line);
    border-radius: 15px
}

.auth-box h1 {
    font-size: 30px;
    margin-bottom: 12px;
    letter-spacing: -1px
}

.auth-box>p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 26px;
    font-size: 13px
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    font-size: 12px;
    color: var(--accent)
}

.loading {
    padding: 70px;
    text-align: center;
    color: var(--muted);
    font-size: 14px
}

.loading span {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #dadaef;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
    margin-right: 8px
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.share-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px
}

.qr-image {
    width: 230px;
    height: 230px;
    max-width: 100%;
    object-fit: contain
}

.copy-box {
    background: #f5f5ef;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 7px;
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 1.8
}

.question-editor {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 15px
}

.question-editor .field {
    margin-bottom: 10px
}

.invitation-page {
    max-width: 640px;
    margin: auto;
    min-height: 100vh
}

.invitation-page .poster {
    height: 78vh;
    min-height: 500px;
    max-height: 760px;
    padding: 60px 35px
}

.invitation-page .poster .big {
    font-size: clamp(48px, 10vw, 86px)
}

.invitation-page .poster .tiny {
    font-size: 12px
}

.invitation-page .poster .foot {
    font-size: 13px
}

.invitation-page .poster .ornament {
    width: 78%;
    height: 75%
}

.invitation-page .invite-block {
    padding: 48px 30px
}

.invitation-page .invite-block h3 {
    font-size: 29px
}

.rsvp-form {
    text-align: left;
    max-width: 390px;
    margin: 25px auto 0
}

.rsvp-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0
}

.rsvp-choice button {
    border: 1px solid currentColor;
    border-radius: 8px;
    padding: 14px;
    font-size: 12px;
    color: inherit
}

.rsvp-choice button.active {
    background: var(--ink);
    color: white;
    border-color: var(--ink)
}

.rsvp-form .field input,
.rsvp-form .field select,
.rsvp-form .field textarea {
    background: #ffffffed
}

.invitation .warm {
    filter: sepia(.13)
}

.invitation.font-serif h3,
.invitation.font-serif .big {
    font-family: Georgia, serif
}

.invitation.font-sans h3,
.invitation.font-sans .big {
    font-family: Arial, sans-serif
}

.invitation.color-warm {
    background: #eadbd1;
    color: #503f33
}

.invitation.color-cool {
    background: #dfe6ee;
    color: #29374e
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 7px
}

.upload-thumb {
    display: inline-block;
    position: relative;
    margin: 5px
}

.upload-thumb img {
    width: 70px;
    height: 70px;
    object-fit: cover
}

.upload-thumb button {
    position: absolute;
    right: 0;
    top: 0;
    background: white;
    border-radius: 50%
}

.success-box {
    background: #e6f1e9;
    color: #245b37;
    padding: 20px;
    border-radius: 9px;
    line-height: 1.7
}

.legal {
    max-width: 800px;
    line-height: 1.9
}

.legal h1 {
    font-size: 38px;
    margin-bottom: 25px
}

.legal h2 {
    font-size: 22px;
    margin: 25px 0 10px
}

.legal p,
.legal li {
    font-size: 14px
}

.mobile-nav-links {
    display: none
}

.editor-top a {
    font-size: 12px
}

.preview-phone .rsvp-form {
    display: none
}

.editor-sidebar select {
    max-width: 100%
}

.invitation a {
    text-decoration: underline
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: #0007;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px
}

.modal-card {
    background: white;
    border-radius: 13px;
    padding: 27px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto
}

.modal-card h2 {
    margin-bottom: 20px
}

.pre-wrap {
    white-space: pre-wrap
}

.legal-notice {
    padding: 14px;
    background: #faf2d9;
    color: #67562e;
    border-radius: 8px
}

.search-input {
    border: 1px solid var(--line);
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    max-width: 370px;
    margin-bottom: 20px
}

.save-warning {
    color: #a75a25;
    font-size: 11px;
    margin: 10px 0
}

.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap
}

.feedback {
    padding: 12px;
    background: #e8f2e9;
    color: #356342;
    font-size: 12px;
    border-radius: 8px;
    margin: 12px 0
}

@media(max-width:750px) {
    .stats {
        grid-template-columns: repeat(2, 1fr)
    }

    .stats .stat:last-child {
        grid-column: 1/-1
    }

    .app-title {
        align-items: start;
        flex-direction: column
    }

    .app-title h1 {
        font-size: 30px
    }

    .share-grid {
        grid-template-columns: 1fr
    }

    .console-nav {
        gap: 3px
    }

    .console-nav a {
        font-size: 11px;
        padding: 9px
    }

    .auth-box {
        padding: 25px;
        margin: 30px auto
    }

    .editor-top {
        position: relative
    }

    .mobile-nav-links {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        padding: 12px 22px;
        background: var(--ink);
        color: white;
        font-size: 11px
    }

    .data-table td,
    .data-table th {
        padding: 12px 9px
    }

    .panel {
        padding: 20px
    }

    .gallery-grid img {
        height: 160px
    }
}


.invitation.vogue {
    background: #111110;
    color: #e6e4dc;
    min-height: 400px;
    text-align: center;
    border: 1px solid #33322d;
}

.invitation.vogue .poster {
    height: 460px;
    background: radial-gradient(circle at center, #1c1c1a 0%, #111110 100%);
    color: #f4f3ef;
    padding: 45px 24px;
    border-bottom: 1px solid #2a2925;
}

.invitation.vogue .poster .big {
    font-size: 50px;
    letter-spacing: -1px;
    font-weight: 300;
    line-height: 1.1;
    margin: 15px 0;
}

.invitation.vogue .poster .tiny {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c2b59b; /* Tono acento dorado sutil */
}

.invitation.vogue .poster .foot {
    font-size: 12px;
    color: #99978e;
    letter-spacing: 1px;
}

.invitation.vogue .poster .ornament {
    width: 220px;
    height: 310px;
    border: 1px solid #3d3b34;
    margin: 0 auto;
}

.invitation.vogue h3 {
    color: #c2b59b;
    font-weight: 400;
    letter-spacing: 1px;
}