:root {
  --plum: #6b2d73;
  --plum-dark: #3e1745;
  --text: #2a1530;
  --muted: #5a3f60;
  --tint-1: #f8f0fa;
  --tint-2: #faf5fb;
  --tint-3: #ead9ee;
  --gold: #f7d58a;
  --white: #ffffff;
  --radius: 14px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
#pricing .container { max-width: 1320px; }

:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 4px; }
.form-section :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--plum-dark); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; border-radius: 999px; padding: 12px 24px; min-height: 44px;
  transition: background-color .15s, transform .15s;
}
.btn-primary { background: var(--plum); color: var(--white); }
.btn-primary:hover { background: var(--plum-dark); }
.btn-gold { background: var(--gold); color: var(--plum-dark); font-weight: 700; }
.btn-gold:hover { background: #fbe2a9; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-small { padding: 8px 16px; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--tint-3);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.05rem; color: var(--plum-dark); text-decoration: none; white-space: nowrap; }
.nav { display: none; gap: 24px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; padding: 8px 4px; }
.nav a:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 4px; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-toggle { display: inline-flex; border: 2px solid var(--plum); border-radius: 999px; overflow: hidden; }
.lang-toggle button {
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  border: 0; background: var(--white); color: var(--plum); padding: 6px 12px; min-height: 36px;
}
.lang-toggle button[aria-pressed="true"] { background: var(--plum); color: var(--white); }
.lang-toggle button:focus-visible { outline-offset: -3px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--tint-2), var(--white)); padding: 48px 0 64px; }
.hero-inner { display: grid; gap: 40px; align-items: center; }
.eyebrow { color: var(--plum); font-weight: 700; font-size: .95rem; letter-spacing: .02em; margin-bottom: .75em; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 36em; }
.lead-strong { color: var(--plum-dark); font-weight: 700; }
.hero .btn { margin-top: 8px; }

.sample { margin: 0; background: var(--white); border: 2px solid var(--tint-3); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 32px rgba(62, 23, 69, .1); }
.sample-bar { display: flex; gap: 6px; padding: 12px 14px; background: var(--tint-1); border-bottom: 1px solid var(--tint-3); }
.sample-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--tint-3); }
.sample-body { position: relative; aspect-ratio: 16 / 10; background: var(--tint-1); }
.sample-slide { position: absolute; inset: 0; margin: 0; opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.sample-slide.on { opacity: 1; pointer-events: auto; }
.sample-open { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.sample-chip { position: absolute; right: 10px; bottom: 10px; background: rgba(62, 23, 69, .88); color: var(--white); font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.sample-open:focus-visible { outline-offset: -4px; }
.sample-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sample-cap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 12px; border-top: 1px solid var(--tint-3); background: var(--white); }
.sample-caption { font-size: .85rem; color: var(--muted); font-weight: 600; min-width: 0; }
.sample-ctl { display: inline-flex; gap: 4px; flex: none; }
.sample-ctl button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--plum); font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.sample-ctl button:hover { background: var(--tint-1); }
.sample-ctl #sample-toggle { font-size: .8rem; }

/* Sections */
.section { padding: 64px 0; }
.section-tint { background: var(--tint-1); }
.section-intro { color: var(--muted); max-width: 40em; margin-bottom: 2em; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.steps li { background: var(--white); border: 1px solid var(--tint-3); border-radius: var(--radius); padding: 24px; }
.steps p { color: var(--muted); margin: 0; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--plum); color: var(--white); font-weight: 700; margin-bottom: 12px; }

/* Pricing */
.badge { display: inline-block; background: var(--tint-3); color: var(--plum-dark); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.badge[hidden] { display: none; }
#pricing-custom { margin-top: 20px; }
.custom-card { display: grid; gap: 20px; padding: 28px; background: var(--white); border: 2px dashed var(--tint-3); border-radius: var(--radius); }
.custom-card.selected { border-style: solid; border-color: var(--plum); box-shadow: 0 0 0 2px var(--plum); }
.custom-card h3 { margin-bottom: .1em; }
.custom-from { margin: 0; color: var(--muted); font-size: .85rem; font-weight: 500; }
.custom-price { margin: 0; font-size: 1.6rem; font-weight: 800; color: var(--plum); line-height: 1.15; }
.custom-note { margin: 0 0 12px; color: var(--muted); font-size: .85rem; }
.custom-card .desc { margin: 0 0 4px; color: var(--muted); max-width: 32em; }
.custom-card .features { margin: 0; align-self: center; }
.custom-card .custom-btn { margin-top: 12px; }
.custom-card .custom-btn[aria-pressed="true"] { background: var(--plum); color: var(--white); }
.custom-card .custom-btn[aria-pressed="true"]::before { content: "\2713\00a0"; }
.pricing-grid { display: grid; gap: 20px; }
.card { background: var(--tint-2); border: 1px solid var(--tint-3); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .25em; }
.card .from { color: var(--muted); font-size: .85rem; font-weight: 500; margin: 0; }
.card .price { font-size: 2.5rem; font-weight: 800; color: var(--plum); line-height: 1.1; margin: 0 0 .4em; }
.card .desc { color: var(--muted); margin-bottom: 1em; }
.features { list-style: none; margin: 0 0 1.25em; padding: 0; }
.features li { position: relative; padding-left: 1.6em; margin-bottom: .45em; font-size: .95rem; }
.features li::before { content: "\2713"; position: absolute; left: 0; color: var(--plum); font-weight: 700; }
.card .tag { margin: auto 0 0; color: var(--plum-dark); font-weight: 600; font-size: .9rem; }
.btn-outline { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-outline:hover { background: var(--tint-1); }
.details { padding-top: 56px; }
.plan-info { margin-top: 20px; }
.info-cta { margin-top: 16px; }
.info-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.info-tabs button { font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--plum); background: var(--white); color: var(--plum); }
.info-tabs button:hover { background: var(--tint-1); }
.info-tabs button[aria-selected="true"] { background: var(--plum); color: var(--white); }
.cover-body { margin-top: 14px; max-width: 60em; padding: 14px 18px; background: var(--tint-1); border-left: 4px solid var(--plum); border-radius: 0 10px 10px 0; }
.panel-stack { display: grid; }
.panel-stack > .cover-body { grid-area: 1 / 1; margin-top: 14px; visibility: hidden; }
.panel-stack > .cover-body.active { visibility: visible; }
.time-note { margin-top: 10px !important; color: var(--muted) !important; font-size: .92rem; }
.faq-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.faq-tabs button { font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--tint-3); background: var(--white); color: var(--plum); }
.faq-tabs button:hover { border-color: var(--plum); }
.faq-tabs button[aria-selected="true"] { background: var(--tint-3); border-color: var(--plum); color: var(--plum-dark); }
.faq-tabs + h3 { margin-top: 14px; }
.cover-body h3 { font-size: 1rem; margin: 0 0 4px; }
.cover-body p + h3 { margin-top: 14px; }
.cover-body p { margin: 0; color: var(--text); }
.care-section { margin-top: 40px; }
.care-section h3 { font-size: 1.5rem; margin-bottom: .25em; }
.care-intro { color: var(--muted); margin-bottom: 20px; }
.care-grid { display: grid; gap: 16px; align-items: stretch; }
.care-card { position: relative; display: flex; flex-direction: column; min-width: 0; margin: 0; font-weight: 400; cursor: pointer; background: var(--white); border: 2px solid var(--tint-3); border-radius: var(--radius); padding: 22px; }
.care-card:hover { border-color: var(--plum); }
.care-card input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.care-card:has(input:checked) { border-color: var(--plum); box-shadow: 0 0 0 1px var(--plum); }
.care-card:has(.care-pick input:focus-visible) { outline: 3px solid var(--plum); outline-offset: 3px; }
.care-for { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }
.care-value { margin: auto 0 0; padding: 10px 12px; background: var(--tint-1); border-radius: 10px; font-size: .88rem; color: var(--text); }
.care-card .pane { margin-bottom: 14px; }
.pane-stack { display: grid; grid-template-columns: minmax(0, 1fr); }
.pane-stack > .pane { grid-area: 1 / 1; visibility: hidden; }
.pane-stack > .pane.active { visibility: visible; }
.care-pick { display: block; margin: 0; font-weight: 400; cursor: pointer; }
.care-head { display: flex; align-items: center; margin-bottom: 4px; }
.care-name { font-size: 1.1rem; font-weight: 600; }
.care-card .tabs { margin: 0 0 14px; }
.care-radio { flex: none; width: 20px; height: 20px; margin-right: 10px; border: 2px solid var(--plum); border-radius: 50%; background: var(--white); }
.care-card:has(input:checked) .care-radio { background: var(--plum); box-shadow: inset 0 0 0 3px var(--white); }
.care-card h4 { margin: 0 0 4px; font-size: 1.1rem; }
.care-card .care-price { display: block; margin: 0 0 14px; color: var(--plum); font-weight: 800; font-size: 1.6rem; line-height: 1.1; }
.care-card .features { margin: 0; }
.care-continue { margin-top: 24px; }
.care-note { margin: 18px 0 0; color: var(--muted); font-size: .95rem; max-width: 60em; }
.pricing-error { color: var(--muted); }

.plan { display: flex; flex-direction: column; gap: 12px; }
.plan .card { flex: 1; }
.card.selected { border-color: var(--plum); box-shadow: 0 0 0 2px var(--plum); background: var(--white); }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.card-btn { margin-top: 0; }
.card-btn[aria-pressed="true"] { background: var(--plum-dark); }
.card-btn[aria-pressed="true"]::before { content: "\2713\00a0"; }
.fine-print { margin: 0; padding: 14px 16px; font-size: .9rem; color: var(--text); background: var(--tint-1); border-left: 4px solid var(--plum); border-radius: 0 10px 10px 0; }
.tabs { display: inline-flex; align-self: flex-start; border: 2px solid var(--plum); border-radius: 999px; overflow: hidden; margin: 0 0 14px; }
.tabs button { font: inherit; font-size: .85rem; font-weight: 600; border: 0; background: var(--white); color: var(--plum); padding: 7px 14px; min-height: 36px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--plum); color: var(--white); }
.tabs button:focus-visible { outline-offset: -4px; }
.pane { margin-bottom: 14px; }
.pane .features { margin-bottom: 0; }
.xh { margin: 0 0 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--plum-dark); font-weight: 700; }
.pane .xh + .xlist, .pane .xh + .xlist { list-style: none; margin: 0; padding: 0; }
.xh-big { margin-top: 16px; }
.xitem { display: flex; justify-content: space-between; align-items: flex-start; gap: 2px 12px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--tint-3); font-size: .92rem; }
.xitem:last-child { border-bottom: 0; }
.xprice { font-weight: 700; color: var(--plum); white-space: nowrap; }
.addons-custom { margin: 20px 0 0; color: var(--muted); font-size: .95rem; }
.turnaround { color: var(--muted); }

/* Form */
.form-section { background: var(--plum-dark); color: var(--white); }
.form-section h2, .form-section .section-intro { color: var(--white); }
.form-section .section-intro { color: var(--tint-3); }
.form-wrap { max-width: 640px; }
.field { margin-bottom: 20px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--white);
  border: 2px solid var(--tint-3); border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
.form-section input:focus-visible, .form-section textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.hint { font-size: .875rem; color: var(--tint-3); margin: 6px 0 0; }
.plan-summary { margin: 0 0 20px; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .1); font-weight: 600; }
.plan-summary[hidden] { display: none; }
.choices { border: 0; padding: 0; margin: 0 0 24px; }
.choices legend { font-weight: 600; padding: 0; margin-bottom: 10px; }
.choice { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; padding: 12px 14px; margin-bottom: 8px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 10px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--gold); background: rgba(255, 255, 255, .08); }
.choice input { width: 20px; min-height: 0; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--gold); }
#next-step:not(:empty) { margin-top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 16px 0 0; min-height: 1.6em; font-weight: 600; }
.form-status.ok { color: var(--gold); }
.form-status.error { color: var(--white); background: #7a1f2b; padding: 10px 14px; border-radius: 10px; }

/* Footer */
.site-footer { background: var(--tint-1); padding: 28px 0 16px; color: var(--text); font-size: .95rem; line-height: 1.6; }
.footer-inner { display: grid; gap: 20px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { margin-bottom: 4px; }
.site-footer a { color: var(--plum); font-weight: 600; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--plum-dark); }
.footer-h { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--plum-dark); margin-bottom: .4em; }
.site-footer p { color: var(--muted); margin: 0; }
.rights { font-size: .85rem; padding-top: 12px; border-top: 1px solid var(--tint-3); }

/* Larger screens */
@media (min-width: 700px) {
  .custom-card { grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
  .nav { display: flex; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .care-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-why { grid-column: 1 / -1; }
  .rights { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr 1.6fr; gap: 20px 56px; }
  .footer-why { grid-column: auto; }
  .hero { padding: 80px 0 96px; }
  .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .section { padding: 88px 0; }
}
@media (max-width: 420px) {
  .logo span { font-size: .95rem; }
  .btn-small { padding: 8px 12px; font-size: .875rem; }
  .lang-toggle button { padding: 6px 9px; }
}
@media (max-width: 340px) {
  .header-actions .btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sample-slide { transition: none; }
  * { transition: none !important; }
}

body.modal-open { overflow: hidden; }
.sample-dialog { width: min(1000px, calc(100% - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: var(--radius); background: var(--white); color: var(--text); box-shadow: 0 24px 64px rgba(42, 21, 48, .4); overflow: auto; }
.sample-dialog::backdrop { background: rgba(42, 21, 48, .65); }
.sample-dialog-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; background: var(--white); border-bottom: 1px solid var(--tint-3); }
.sample-dialog-head h2 { margin: 0; font-size: 1rem; }
.sample-dialog-close { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--tint-1); color: var(--plum-dark); font: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.sample-dialog-close:hover { background: var(--tint-3); }
.sample-dialog img { display: block; width: 100%; height: auto; }

/* Privacy and terms page */
.legal-inner { max-width: 720px; padding-block: 40px 64px; }
.legal-inner h1 { margin: 16px 0 8px; }
.legal-inner h2 { margin: 32px 0 8px; font-size: 1.25rem; }
.legal-inner p { margin: 0 0 12px; }
