/* ==========================================================================
   Plus Cloud — design system (v1.1, alinhado ao mockup aprovado)
   Branco dominante, roxo institucional, lilás em detalhes, gradientes
   discretos e sombras com tom roxo.
   ========================================================================== */

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+A720-A7FF;
}

:root {
	--paper: #ffffff;
	--mist: #f8f5ff;
	--plate: #f1eaff;
	--ink: #1a1238;
	--graphite: #555070;
	--quiet: #8a85a3;
	--line: #ece6f8;
	--line-strong: #ddd3f2;
	--violet: #5b21d6;
	--violet-deep: #3f12a6;
	--violet-press: #4c19bd;
	--violet-2: #7c3aed;
	--lilac: #c9b4ff;
	--lilac-soft: #f0e9ff;
	--night: #23094f;
	--night-2: #2f0d6b;
	--good: #12805c;
	--good-soft: #e2f5ec;
	--warn: #8a5a00;
	--warn-soft: #fdf3dc;
	--bad: #b42318;
	--bad-soft: #fde8e6;

	--grad: linear-gradient(135deg, #7c3aed 0%, #5b21d6 55%, #4c1d95 100%);
	--grad-text: linear-gradient(100deg, #8b5cf6 0%, #6d28d9 45%, #a855f7 100%);

	--font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1240px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(72px, 9vw, 120px);
	--radius-ui: 18px;
	--radius-btn: 999px;
	--shadow-card: 0 1px 2px rgba(60, 20, 140, .04), 0 18px 44px -18px rgba(91, 33, 214, .22);
	--shadow-float: 0 2px 6px rgba(60, 20, 140, .06), 0 30px 70px -26px rgba(91, 33, 214, .38);
	--shadow-menu: 0 22px 50px -18px rgba(40, 10, 100, .28);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--violet-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--lilac); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.site-main:focus { outline: none; }
.icon { width: 20px; height: 20px; flex: none; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title .w.grad > span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Badge pill (⚡ label) */
.badge-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--lilac-soft); color: var(--violet); font-size: .8125rem; font-weight: 700; line-height: 1.2; }
.badge-pill .icon { width: 15px; height: 15px; }
.badge-pill--light { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }

/* ---------- Buttons ---------- */
.btn {
	--h: 46px;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: var(--h); padding: 0 22px;
	border-radius: 12px; border: 1.5px solid transparent;
	font-weight: 700; font-size: .9375rem; line-height: 1; text-decoration: none; white-space: nowrap;
	cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn .icon:last-child:not(:first-child) { transition: transform .2s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--pill { border-radius: 999px; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(91, 33, 214, .7); }
.btn--primary:hover { color: #fff; box-shadow: 0 14px 30px -10px rgba(91, 33, 214, .85); filter: brightness(1.06); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--violet); color: var(--violet); }
.btn--outline { background: #fff; color: var(--violet); border-color: var(--violet); }
.btn--outline:hover { background: var(--lilac-soft); color: var(--violet-deep); }
.btn--light { background: #fff; color: var(--violet); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .35); }
.btn--light:hover { color: var(--violet-deep); background: #faf7ff; }
.btn--glow { background: linear-gradient(135deg, #a78bfa, #7c3aed); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 14px 34px -10px rgba(167, 139, 250, .8); }
.btn--glow:hover { color: #fff; filter: brightness(1.08); }
.btn--lg { --h: 54px; padding: 0 28px; font-size: 1rem; }
.btn--sm { --h: 40px; padding: 0 18px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; cursor: progress; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--violet); }
.link-more:hover { text-decoration: underline; }

.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s, color .2s, box-shadow .2s; }
.icon-btn:hover { border-color: var(--violet); color: var(--violet); }
.icon-btn--round { border-radius: 50%; box-shadow: var(--shadow-card); border-color: var(--line); }
.icon-btn .icon { width: 18px; height: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--violet); color: var(--violet); }
.chip[aria-pressed="true"], .chip.is-current { background: var(--grad); border-color: transparent; color: #fff; }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--lilac-soft); color: var(--violet); }
.empty-state { padding: 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-ui); color: var(--graphite); background: var(--mist); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: box-shadow .25s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(60, 20, 140, .35); }
body.menu-open .site-header::before { background: #fff; }
.admin-bar .site-header { top: 32px; }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__mark { width: 58px; height: 44px; }
.brand__word { display: grid; font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: .95; letter-spacing: -0.03em; color: #2e1077; }
.brand--light .brand__word { color: #fff; }
.custom-logo { max-height: 56px; width: auto; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__list > li { position: relative; display: flex; align-items: center; }
.nav__list a { display: block; padding: 9px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .9375rem; font-weight: 600; transition: background-color .2s, color .2s; }
.nav__list > li > a:hover { color: var(--violet); background: var(--lilac-soft); }
.nav__list > .current-menu-item > a, .nav__list > .current_page_item > a { background: var(--grad); color: #fff; box-shadow: 0 8px 18px -10px rgba(91, 33, 214, .8); }
.nav__list > .current-menu-item > a:hover, .nav__list > .current_page_item > a:hover { color: #fff; background: var(--grad); }
.nav__toggle { display: inline-grid; place-items: center; width: 22px; height: 28px; margin-left: -10px; border: 0; background: none; cursor: pointer; color: var(--graphite); border-radius: 6px; }
.nav__toggle .icon { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.nav__list .sub-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 236px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: var(--shadow-menu); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s; }
.nav__list .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__list .sub-menu a { border-radius: 12px; padding: 10px 14px; }
.nav__list .sub-menu a:hover { background: var(--lilac-soft); color: var(--violet); }
.nav__list > li.is-open > .sub-menu, .nav__list > li:hover > .sub-menu, .nav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__list > li.is-open > .nav__toggle .icon, .nav__list > li:hover > .nav__toggle .icon { transform: rotate(180deg); }
.nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-header__account { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; padding: 9px 12px; border-radius: 999px; }
.site-header__account:hover { background: var(--lilac-soft); color: var(--violet); }
.site-header__account .icon { width: 19px; height: 19px; }
.header-cta { background: linear-gradient(135deg, #4c1d95, #3b0f8c); }
.menu-button { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; cursor: pointer; place-items: center; }
.menu-button .icon--close { display: none; }
.menu-button[aria-expanded="true"] .icon--open { display: none; }
.menu-button[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1160px) { .site-header__account span { display: none; } }
@media (max-width: 1080px) {
	.menu-button { display: inline-grid; }
	.nav { position: fixed; inset: var(--header-h) 0 0; display: block; background: #fff; padding: 16px var(--gutter) 32px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; }
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
	.nav__list > li { flex-wrap: wrap; }
	.nav__list > li > a { flex: 1; padding: 14px 16px; font-size: 1.0625rem; border-radius: 14px; }
	.nav__toggle { width: 44px; height: 44px; margin: 0; }
	.nav__list .sub-menu { position: static; display: none; width: 100%; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 8px 12px; }
	.nav__list > li.is-open > .sub-menu { display: block; }
	.nav__list > li:hover > .sub-menu { display: none; }
	.nav__list > li.is-open:hover > .sub-menu { display: block; }
	.nav__mobile-extra { display: grid; gap: 10px; margin-top: 24px; }
	.site-header__actions .header-cta { display: none; }
	body.menu-open { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { :root { --header-h: 72px; } .brand__mark { width: 48px; height: 36px; } .brand__word { font-size: 1.2rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(12px, 2vw, 28px) 0 clamp(96px, 9vw, 120px); overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #f6f1ff 70%, #f1eaff 100%); }
.hero::before { content: ""; position: absolute; top: -120px; right: -160px; width: min(62vw, 900px); height: 760px; border-radius: 48% 52% 40% 60% / 50% 40% 60% 50%; background: radial-gradient(closest-side, rgba(167, 139, 250, .45), rgba(167, 139, 250, 0) 72%), linear-gradient(140deg, #e7dcff, #f3edff 60%, rgba(243, 237, 255, 0)); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: #fff; clip-path: ellipse(75% 100% at 50% 100%); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); gap: clamp(24px, 3vw, 48px); align-items: center; min-height: clamp(500px, calc(100vh - 230px), 600px); }
.hero__copy { display: grid; align-self: center; }
.hero__slide { grid-area: 1 / 1; align-self: center; transition: opacity .3s var(--ease), visibility 0s .3s; }
.hero__slide:not(.is-active) { opacity: 0; visibility: hidden; pointer-events: none; }
.hero__slide.is-active { transition-delay: 0s; }
.hero__badge { margin: 0 0 22px; }
.hero__title { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 22px; max-width: 13ch; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero__title .w > span { display: inline-block; will-change: transform; }
.hero__text { font-size: clamp(1.0625rem, 1.3vw, 1.2rem); color: var(--graphite); max-width: 42ch; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stage { position: relative; height: clamp(400px, 46vw, 560px); }
.scene { position: absolute; inset: 0; z-index: 1; }
.scene:not(.is-active) { visibility: hidden; }
.scene--art { display: grid; place-items: center; }
.art-glow { position: absolute; inset: 10% 6% 4% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 58, 237, .35), rgba(124, 58, 237, 0)); filter: blur(10px); }
.art-img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; -webkit-mask-image: radial-gradient(ellipse 72% 78% at 52% 48%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 72% 78% at 52% 48%, #000 58%, transparent 100%); }

.win { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-float); overflow: hidden; }
.win__bar { height: 42px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fdfbff; }
.win__dots { display: inline-flex; gap: 6px; }
.win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2d8f7; }
.win__title { flex: 1; text-align: center; font-size: .8125rem; color: var(--graphite); font-weight: 600; }
.chip--float { position: absolute; z-index: 2; height: 46px; padding: 0 18px 0 10px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-float); font-weight: 700; font-size: .875rem; cursor: default; }
.chip--float .icon { width: 26px; height: 26px; color: var(--violet); }
.chip--a { left: 0; top: 70%; }
.chip--b { right: 2%; top: 14%; }

.mini { position: absolute; width: 54%; background: #fff; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-float); overflow: hidden; }
.mini__bar { height: 26px; display: flex; gap: 5px; align-items: center; padding: 0 10px; border-bottom: 1px solid var(--line); }
.mini__bar i { width: 7px; height: 7px; border-radius: 50%; background: #e2d8f7; }
.mini__page { --c: #333; --bg: #fff; background: var(--bg); padding: 14px 16px 18px; min-height: 250px; }
.mini__nav { display: flex; gap: 12px; align-items: center; font-size: .6875rem; color: var(--c); opacity: .85; margin-bottom: 26px; }
.mini__nav b { font-size: .8125rem; margin-right: auto; opacity: 1; }
.mini__hero strong { display: block; font-size: 1.35rem; line-height: 1.1; letter-spacing: -0.02em; color: var(--c); margin-bottom: 14px; max-width: 13ch; }
.mini__btn { display: inline-block; font-size: .6875rem; font-weight: 700; padding: 7px 12px; border-radius: 6px; background: var(--c); color: var(--bg); }
.mini__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; }
.mini__row span { height: 46px; border-radius: 6px; background: color-mix(in srgb, var(--c) 10%, var(--bg)); }
.mini__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 18px; }
.mini__grid span { height: 44px; background: #e9e6e1; }
.mini__grid span:nth-child(2) { background: #c9c3b8; }
.mini__grid span:nth-child(3) { background: #b5ada0; }
.mini--bistro { left: 4%; top: 14%; transform: rotate(-5deg); }
.mini--bistro .mini__page { --c: #3f4a2a; --bg: #f6f1e7; font-family: ui-serif, Georgia, "Times New Roman", serif; }
.mini--clinic { left: 24%; top: 26%; z-index: 2; width: 58%; }
.mini--clinic .mini__page { --c: #0d5c63; --bg: #ffffff; }
.mini--clinic .mini__btn { border-radius: 999px; }
.mini--studio { right: 0; top: 10%; transform: rotate(4deg); }
.mini--studio .mini__page { --c: #111; --bg: #fafafa; }
.mini--studio .mini__hero strong { font-weight: 400; }

.win--site { left: 6%; right: 18%; top: 12%; }
.site-sim { --brand: #7a4b2a; padding: 18px 22px 22px; }
.site-sim__nav { display: flex; gap: 14px; align-items: center; font-size: .75rem; color: var(--graphite); margin-bottom: 34px; }
.site-sim__nav b { margin-right: auto; font-size: .9375rem; color: var(--brand); min-height: 1.2em; }
.site-sim__nav b::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--brand); margin-left: 2px; vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.site-sim__hero strong { display: block; font-size: 1.55rem; line-height: 1.1; letter-spacing: -0.025em; max-width: 15ch; color: var(--ink); margin-bottom: 10px; }
.site-sim__hero p { font-size: .8125rem; color: var(--graphite); margin-bottom: 16px; }
.site-sim__btn { display: inline-block; padding: 9px 14px; font-size: .75rem; font-weight: 700; border-radius: 8px; color: #fff; background: var(--brand); transition: background-color .5s var(--ease); }
.site-sim__swatches { display: flex; gap: 8px; margin-top: 26px; }
.site-sim__swatches i { width: 26px; height: 26px; border-radius: 8px; background: var(--c); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); transition: transform .3s var(--ease), box-shadow .3s; }
.site-sim__swatches i.is-picked { transform: translateY(-3px); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c); }
.agent-list { position: absolute; right: 0; bottom: 8%; width: 46%; list-style: none; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-float); z-index: 2; }
.agent-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: .875rem; color: var(--quiet); transition: color .3s; }
.agent-list li + li { border-top: 1px solid var(--line); }
.agent-list__tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.agent-list__tick .icon { width: 14px; height: 14px; color: #fff; stroke-width: 2.6; opacity: 0; transition: opacity .2s; }
.agent-list li.is-done { color: var(--ink); font-weight: 600; }
.agent-list li.is-done .agent-list__tick { background: var(--violet); border-color: var(--violet); }
.agent-list li.is-done .icon { opacity: 1; }

.hero__controls { position: relative; z-index: 2; display: flex; align-items: center; gap: 24px; margin-top: 8px; }
.hero__tabs { display: flex; gap: 8px; }
.hero__tab { padding: 10px 0; border: 0; background: none; cursor: pointer; }
.hero__tab-bar { display: block; width: 28px; height: 6px; background: var(--line-strong); border-radius: 6px; overflow: hidden; transition: width .3s var(--ease); }
.hero__tab.is-active .hero__tab-bar { width: 56px; }
.hero__tab-bar i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.hero__tab.is-done .hero__tab-bar i { transform: scaleX(1); background: var(--lilac); }
.hero__nav { display: flex; gap: 8px; margin-left: auto; }
.icon--play { display: none; }
[data-pause][aria-pressed="true"] .icon--pause { display: none; }
[data-pause][aria-pressed="true"] .icon--play { display: block; }
.hero:not(.has-js) .hero__nav, .hero:not(.has-js) .hero__tabs { display: none; }

@media (max-width: 960px) {
	.hero__inner { grid-template-columns: 1fr; min-height: 0; }
	.hero__title { max-width: 14ch; }
	.hero__stage { height: clamp(340px, 86vw, 520px); }
}
@media (max-width: 600px) {
	.hero__nav [data-prev], .hero__nav [data-next] { display: none; }
	.chip--float { height: 40px; font-size: .8125rem; }
	.chip--b { top: 6%; }
	.mini { width: 66%; } .mini--clinic { width: 68%; left: 18%; }
	.mini__page { min-height: 200px; }
	.agent-list { width: 62%; bottom: 2%; }
	.win--site { left: 2%; right: 6%; }
	.site-sim__hero strong { font-size: 1.2rem; }
}

/* ---------- Features card (overlaps the hero) ---------- */
.facts { position: relative; z-index: 3; margin-top: -86px; }
.facts__card { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 28px; box-shadow: var(--shadow-float); padding: 22px 12px; border: 1px solid var(--line); }
.fact { display: flex; align-items: center; gap: 16px; padding: 8px 26px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; color: var(--violet); }
.fact__icon .icon { width: 34px; height: 34px; }
.fact__title { font-weight: 700; font-size: .9875rem; line-height: 1.35; max-width: 13ch; }
@media (max-width: 900px) { .facts__card { grid-template-columns: 1fr 1fr; row-gap: 12px; } .fact:nth-child(3) { border-left: 0; } }
@media (max-width: 520px) { .facts { margin-top: -64px; } .facts__card { grid-template-columns: 1fr; } .fact + .fact { border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-head { margin-bottom: clamp(32px, 5vw, 52px); max-width: 720px; }
.section-head__title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); max-width: 22ch; margin-bottom: 14px; }
.section-head__lead { font-size: 1.0625rem; color: var(--graphite); max-width: 56ch; margin: 0; }

/* ---------- Plans ---------- */
.plans__inner { display: block; }
.plans--home .plans__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.plans__intro .badge-pill { margin-bottom: 18px; }
.plans__title { font-size: clamp(2rem, 3.4vw, 2.75rem); max-width: 14ch; }
.plans__intro p { color: var(--graphite); font-size: 1.0625rem; max-width: 30ch; margin-bottom: 28px; }
.plan-cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.plan-card.is-featured { border: 2px solid var(--violet); box-shadow: var(--shadow-float); }
.plan-card__flag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); padding: 6px 18px; border-radius: 999px; background: var(--grad); color: #fff; font-size: .8125rem; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(91, 33, 214, .8); }
.plan-card__icon { color: var(--violet); margin-bottom: 14px; }
.plan-card__icon .icon { width: 36px; height: 36px; }
.plan-card__name { font-size: 1.3rem; margin-bottom: 6px; }
.plan-card__tagline { color: var(--graphite); font-size: .875rem; max-width: 24ch; margin: 0 0 18px; min-height: 2.8em; }
.plan-card__price { display: flex; align-items: flex-start; justify-content: center; gap: 2px; font-variant-numeric: tabular-nums; line-height: 1; }
.plan-card__cur { font-size: 1rem; font-weight: 800; margin-top: .9em; margin-right: 4px; }
.plan-card__int { font-size: clamp(2.8rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; }
.plan-card__dec { font-size: 1.35rem; font-weight: 800; margin-top: .35em; }
.plan-card__per { font-size: .9375rem; color: var(--graphite); align-self: flex-end; margin: 0 0 .5em 6px; }
.plan-card__renew { min-height: 1.4em; font-size: .8125rem; color: var(--graphite); margin: 6px 0 18px; }
.plan-card__features { list-style: none; display: grid; gap: 10px; width: 100%; margin: 0 0 26px; text-align: left; }
.plan-card__features li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .9375rem; }
.plan-card__features .icon { width: 19px; height: 19px; color: var(--violet); }
.plan-card .btn { margin-top: auto; }
@media (max-width: 1080px) { .plans--home .plans__inner { grid-template-columns: 1fr; } .plans__intro p { max-width: none; } }
@media (max-width: 760px) { .plan-cards { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Purple technology banner ---------- */
.banner-wrap { padding-bottom: var(--section); }
.banner { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; gap: 24px; padding: clamp(32px, 4vw, 52px) clamp(28px, 4vw, 56px); border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, #7c3aed 0%, #5b21d6 40%, #3b0f8c 100%); color: #fff; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(76, 29, 149, .7); }
.banner::before { content: ""; position: absolute; inset: auto -10% -60% 30%; height: 120%; background: radial-gradient(closest-side, rgba(196, 167, 255, .5), transparent); pointer-events: none; }
.banner__copy { position: relative; z-index: 1; }
.banner__copy .badge-pill { margin-bottom: 18px; }
.banner__title { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.75rem); max-width: 16ch; }
.banner__text { color: rgba(255, 255, 255, .86); font-size: 1.0625rem; max-width: 42ch; margin-bottom: 26px; }
.banner__text strong { color: #fff; }
.banner__art { position: relative; z-index: 1; margin: -20px -30px -60px 0; }
.banner__art img { width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); border-radius: 0 28px 28px 0; }
@media (max-width: 860px) { .banner { grid-template-columns: 1fr; } .banner__art { margin: 0 -28px -40px; } .banner__art img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 25%); mask-image: linear-gradient(180deg, transparent 0, #000 25%); } }

/* ---------- Showcase rail ---------- */
.showcase { background: var(--mist); }
.showcase__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.showcase__head .section-head { margin-bottom: 24px; }
.showcase .chips { margin-bottom: 36px; }
.rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--lilac) transparent; padding-bottom: 16px; }
.rail:focus-visible { outline-offset: -3px; }
.rail__track { display: flex; gap: 22px; list-style: none; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); width: max-content; }
.rail__item { width: clamp(270px, 28vw, 360px); scroll-snap-align: start; }
.tpl-card { display: grid; gap: 14px; text-decoration: none; color: var(--ink); }
.tpl-card:hover .tpl-shot { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.tpl-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tpl-card__name { font-weight: 700; font-size: 1.0625rem; }
.tpl-card__cat { color: var(--graphite); font-size: .875rem; }
.tpl-card__price { font-size: .875rem; color: var(--graphite); margin-top: -10px; }
.tpl-shot { aspect-ratio: 16 / 10.5; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tpl-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tpl-shot--generated { display: flex; flex-direction: column; }
.tpl-shot__bar { height: 22px; flex: none; display: flex; gap: 4px; align-items: center; padding: 0 9px; border-bottom: 1px solid var(--line); }
.tpl-shot__bar i { width: 6px; height: 6px; border-radius: 50%; background: #e2d8f7; }
.tpl-shot__page { flex: 1; padding: 12px 14px; background: color-mix(in srgb, var(--tpl) 6%, #fff); display: flex; flex-direction: column; }
.tpl-shot__nav { display: flex; gap: 8px; align-items: center; margin-bottom: auto; }
.tpl-shot__nav b { width: 44px; height: 8px; border-radius: 4px; background: var(--tpl); margin-right: auto; }
.tpl-shot__nav span { width: 22px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--tpl) 30%, #fff); }
.tpl-shot__hero { padding: 14px 0; }
.tpl-shot__hero strong { display: block; font-size: 1.15rem; line-height: 1.05; letter-spacing: -0.02em; color: color-mix(in srgb, var(--tpl) 70%, #111); max-width: 12ch; }
.tpl-shot__hero em { display: block; font-style: normal; font-size: .6875rem; color: color-mix(in srgb, var(--tpl) 50%, #555); margin: 4px 0 10px; }
.tpl-shot__btn { display: inline-block; width: 64px; height: 18px; border-radius: 5px; background: var(--tpl); }
.tpl-shot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; }
.tpl-shot__cols span { height: 26px; border-radius: 5px; background: color-mix(in srgb, var(--tpl) 14%, #fff); }

/* ---------- Pipeline (how it works) ---------- */
.pipeline { background: radial-gradient(120% 90% at 100% 0%, #3b0f8c 0%, #23094f 55%, #1a0640 100%); color: #fff; padding-block: var(--section); position: relative; overflow: hidden; }
.pipeline__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.pipeline__title { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.75rem); max-width: 18ch; }
.pipeline__lead { color: rgba(255, 255, 255, .72); font-size: 1.0625rem; max-width: 44ch; margin-bottom: 40px; }
.pipeline__steps { list-style: none; display: grid; gap: 4px; }
.pipeline__step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .1); opacity: .55; transition: opacity .35s var(--ease); }
.pipeline__step.is-current, .pipeline__step.is-past { opacity: 1; }
.pipeline__step h3 { color: #fff; font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; margin: 6px 0 4px; }
.pipeline__step p { color: rgba(255, 255, 255, .7); font-size: .9375rem; margin: 0; }
.pipeline__num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .875rem; border: 1px solid rgba(255, 255, 255, .25); transition: background .35s, border-color .35s; }
.pipeline__step.is-current .pipeline__num { background: var(--grad); border-color: transparent; }
.pipeline__step.is-past .pipeline__num { background: rgba(201, 180, 255, .16); border-color: transparent; color: var(--lilac); }
.pipeline__visual { position: sticky; top: calc(var(--header-h) + 64px); }
.tracker { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; padding: 26px 26px 22px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); backdrop-filter: blur(6px); }
.tracker__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.tracker__domain { font-weight: 700; font-size: 1.0625rem; }
.tracker__state { font-size: .875rem; color: var(--lilac); font-weight: 700; text-align: right; }
.tracker__meter { height: 6px; background: rgba(255, 255, 255, .1); border-radius: 6px; overflow: hidden; margin-bottom: 18px; }
.tracker__meter i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(.12); background: linear-gradient(90deg, #7c3aed, #c9b4ff); transition: transform .5s var(--ease); }
.tracker__list { list-style: none; display: grid; }
.tracker__item { display: flex; align-items: center; gap: 12px; padding: 11px 0; color: rgba(255, 255, 255, .5); font-size: .9375rem; border-top: 1px solid rgba(255, 255, 255, .07); transition: color .3s; }
.tracker__dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.tracker__dot .icon { width: 13px; height: 13px; stroke-width: 2.6; opacity: 0; transition: opacity .2s; }
.tracker__item.is-done { color: rgba(255, 255, 255, .9); }
.tracker__item.is-done .tracker__dot { background: var(--violet-2); border-color: var(--violet-2); }
.tracker__item.is-done .icon { opacity: 1; }
.tracker__item.is-active { color: #fff; font-weight: 700; }
.tracker__item.is-active .tracker__dot { border-color: var(--lilac); box-shadow: 0 0 0 4px rgba(201, 180, 255, .18); }
.tracker__foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: .8125rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 900px) { .pipeline__inner { grid-template-columns: 1fr; } .pipeline__visual { display: none; } .pipeline__step { opacity: 1; } }

/* ---------- Benefits ---------- */
.benefits__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-card); }
.benefit__icon { width: 30px; height: 30px; color: var(--violet); margin-bottom: 16px; }
.benefit h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.benefit p { color: var(--graphite); margin: 0; font-size: .9375rem; }
@media (max-width: 900px) { .benefits__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefits__grid { grid-template-columns: 1fr; } }

/* ---------- AI ---------- */
.ai { background: linear-gradient(180deg, #fff, var(--mist)); }
.ai__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.ai__statement h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); max-width: 20ch; }
.ai__statement > p { font-size: 1.0625rem; color: var(--graphite); max-width: 56ch; }
.ai__guard { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); font-size: .9375rem; color: var(--ink) !important; }
.ai__guard .icon { color: var(--violet); margin-top: 1px; }
.ai__agents { list-style: none; display: grid; gap: 12px; }
.ai__agents li { padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-card); }
.ai__agents h3 { font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }
.ai__agents p { color: var(--graphite); margin: 0; font-size: .9375rem; }
@media (max-width: 900px) { .ai__inner { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quotes__head { text-align: center; margin-bottom: 36px; display: grid; justify-items: center; gap: 14px; }
.quotes__title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; }
.quotes__carousel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.quotes__track { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 4px 18px; }
.quotes__track::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-card); }
.quote__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.quote__photo--initial { display: grid; place-items: center; background: var(--lilac-soft); color: var(--violet); font-weight: 800; font-size: 1.5rem; }
.quote blockquote { margin: 0 0 14px; font-size: .9375rem; color: var(--ink); }
.quote__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.quote__who { margin: 0; font-size: .875rem; line-height: 1.35; }
.quote__who strong { display: block; }
.quote__who span { color: var(--violet); font-size: .8125rem; }
.quote__stars { display: inline-flex; gap: 2px; color: var(--violet); }
.quote__stars .icon { width: 15px; height: 15px; }
@media (max-width: 960px) { .quotes__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .quotes__carousel { grid-template-columns: 1fr; } .quotes__nav { display: none; } .quotes__track { grid-auto-columns: 88%; } }

/* ---------- FAQ ---------- */
.faq__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-card); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 22px; cursor: pointer; font-weight: 700; font-size: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--violet); }
.faq__icon { color: var(--violet); transition: transform .25s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__answer { padding: 0 22px 20px; color: var(--graphite); }
.faq__answer p:last-child { margin: 0; }
@media (max-width: 860px) { .faq__inner { grid-template-columns: 1fr; } .faq .section-head { position: static; } }

/* ---------- Domain CTA ---------- */
.cta { padding-block: clamp(56px, 7vw, 96px) clamp(96px, 10vw, 140px); background: linear-gradient(180deg, #fff, var(--plate)); }
.cta__inner { display: grid; justify-items: center; text-align: center; }
.cta__title { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 18ch; margin-bottom: 14px; }
.cta__text { font-size: 1.0625rem; color: var(--graphite); margin-bottom: 30px; }
.domain-form { display: flex; align-items: center; width: 100%; max-width: 680px; background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 6px 6px 24px; box-shadow: var(--shadow-card); transition: border-color .2s, box-shadow .2s; }
.domain-form:focus-within { border-color: var(--violet); box-shadow: 0 0 0 5px var(--lilac-soft); }
.domain-form__prefix { color: var(--quiet); font-size: 1.0625rem; }
.domain-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 1.0625rem; padding: 12px 8px 12px 2px; }
.domain-form .btn { --h: 50px; border-radius: 999px; }
@media (max-width: 560px) { .domain-form { flex-wrap: wrap; padding: 6px; border-radius: 22px; } .domain-form__prefix { display: none; } .domain-form input { padding-left: 14px; } .domain-form .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; color: rgba(255, 255, 255, .78); font-size: .9375rem; margin-top: -60px; }
.site-footer__wave { display: block; width: 100%; height: 60px; fill: #2a0b62; }
.site-footer__body { background: linear-gradient(180deg, #2a0b62 0%, #22084f 100%); padding: 24px 0 28px; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__strip { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.site-footer__brand { display: flex; align-items: center; gap: 24px; padding-right: 32px; border-right: 1px solid rgba(255, 255, 255, .18); }
.site-footer__brand p { margin: 0; max-width: 18ch; font-size: .875rem; }
.site-footer__items { list-style: none; display: flex; flex-wrap: wrap; gap: 28px; }
.site-footer__items li { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: .875rem; }
.site-footer__items .icon { width: 26px; height: 26px; color: var(--lilac); }
.site-footer__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 36px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.site-footer h2 { color: #fff; font-size: .9375rem; font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 22px; font-size: .8125rem; }
.site-footer__bottom p { margin: 0; margin-right: auto; }
.site-footer__legal { display: flex !important; gap: 20px !important; }
.social { display: flex !important; gap: 6px !important; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.social a:hover { background: rgba(255, 255, 255, .16); }
.social .icon { width: 18px; height: 18px; }
@media (max-width: 1000px) { .site-footer__strip { grid-template-columns: 1fr; } .site-footer__brand { border-right: 0; padding-right: 0; } }
@media (max-width: 640px) { .site-footer__links { grid-template-columns: 1fr 1fr; } .site-footer__brand { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* Video modal */
.video-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(20, 6, 50, .72); backdrop-filter: blur(4px); }
.video-modal[hidden] { display: none; }
.video-modal__box { position: relative; width: min(960px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8); }
.video-modal__frame, .video-modal__frame iframe { width: 100%; height: 100%; border: 0; }
.video-modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; }

/* ---------- Inner page header ---------- */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); background: linear-gradient(180deg, #fff 0%, var(--plate) 100%); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; top: -200px; right: -160px; width: 620px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(167, 139, 250, .35), transparent); pointer-events: none; }
.page-head .wrap { position: relative; }
.page-head__title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 20ch; margin-bottom: 14px; }
.page-head__lead { font-size: 1.125rem; color: var(--graphite); max-width: 58ch; margin: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: .8125rem; color: var(--graphite); margin-bottom: 18px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--graphite); text-decoration: none; }
.crumbs a:hover { color: var(--violet); }

.prose { max-width: 720px; font-size: 1.0625rem; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius-ui); }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--violet); font-size: 1.2rem; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Forms */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: .9375rem; }
.field .hint { font-size: .8125rem; color: var(--graphite); }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px var(--lilac-soft); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.field__error { color: var(--bad); font-size: .8125rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.notice { padding: 14px 16px; border-radius: 14px; font-size: .9375rem; margin-bottom: 18px; }
.notice--ok { background: var(--good-soft); color: var(--good); }
.notice--error { background: var(--bad-soft); color: var(--bad); }
.notice--info { background: var(--lilac-soft); color: var(--violet-deep); }
.hp { position: absolute; left: -9999px; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .18s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .28s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	@view-transition { navigation: none; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.wrap--text { max-width: calc(760px + var(--gutter) * 2); }
.table-scroll { overflow-x: auto; }
.table-title { font-size: 1.25rem; margin-bottom: 16px; }

/* Store */
.store__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.store__search { position: relative; flex: 1; max-width: 440px; }
.store__search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--quiet); width: 20px; height: 20px; }
.store__search .input { padding-left: 44px; }
.store__count { margin: 0; color: var(--graphite); font-size: .9375rem; }
.store__filters { margin-bottom: 36px; }
.store__grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 28px; }
.store__item[hidden] { display: none; }
.tpl-card--store { display: grid; gap: 16px; }
.tpl-card__media { display: block; }
.tpl-card__media:hover .tpl-shot { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.tpl-card__body .tpl-card__cat { margin: 0 0 4px; font-size: .8125rem; color: var(--violet); font-weight: 600; }
.tpl-card__body .tpl-card__name { font-size: 1.25rem; margin: 0 0 6px; letter-spacing: -0.02em; }
.tpl-card__body .tpl-card__name a { color: var(--ink); text-decoration: none; }
.tpl-card__body .tpl-card__name a:hover { color: var(--violet); }
.tpl-card__summary { color: var(--graphite); font-size: .9375rem; margin-bottom: 12px; }
.tpl-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.tpl-card--store .tpl-card__price { margin: 0; font-weight: 700; color: var(--ink); font-size: .9375rem; }
.tpl-card__demo { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; text-decoration: none; }
.tpl-card__demo .icon { width: 16px; height: 16px; }

/* Single template */
.tpl-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 5vw, 72px); background: linear-gradient(var(--mist), #fff); border-bottom: 1px solid var(--line); }
.tpl-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.tpl-hero__cat { color: var(--violet); font-weight: 600; font-size: .9375rem; margin-bottom: 8px; }
.tpl-hero__title { font-size: clamp(2.4rem, 4.6vw, 3.8rem); letter-spacing: -0.035em; margin-bottom: 14px; }
.tpl-hero__summary { font-size: 1.1875rem; color: var(--graphite); max-width: 42ch; }
.tpl-hero__preview .tpl-shot { box-shadow: var(--shadow-float); border-radius: 16px; }
.tpl-buy { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.tpl-buy__price strong { display: block; font-family: var(--font-display); font-size: 2.25rem; letter-spacing: -0.03em; line-height: 1.1; }
.tpl-buy__price span { color: var(--graphite); font-size: .9375rem; }
.tpl-buy__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.tpl-facts h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 28px 0 12px; }
.tpl-facts h2:first-child { margin-top: 0; }
.tpl-facts p { color: var(--graphite); }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.checklist .icon { width: 20px; height: 20px; color: var(--violet); stroke-width: 2; }
.tpl-plans { list-style: none; border-top: 1px solid var(--line); }
.tpl-plans li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.tpl-how { margin-top: 40px; padding: 32px; background: var(--mist); border-radius: 16px; }
.tpl-how h2 { font-size: 1.5rem; }
.numbered { padding-left: 1.4em; margin-bottom: 24px; display: grid; gap: 10px; }
.numbered li::marker { color: var(--violet); font-weight: 700; }
@media (max-width: 900px) { .tpl-hero__grid { grid-template-columns: 1fr; } }

/* Compare table, price table, data tables */
.compare__table, .price-table, .data-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.compare__table th, .compare__table td, .price-table th, .price-table td, .data-table th, .data-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.compare__table thead th, .price-table thead th, .data-table thead th { font-weight: 600; color: var(--graphite); font-size: .875rem; border-bottom-color: var(--line-strong); }
.compare__table thead th.is-featured { color: var(--violet); }
.compare__table tbody th { font-weight: 500; }
.compare__table td { text-align: center; }
.compare__yes { color: var(--violet); margin-inline: auto; stroke-width: 2; }
.compare__no { color: var(--quiet); }
.price-table tbody th, .data-table tbody th { font-weight: 600; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 600; background: var(--lilac-soft); color: var(--violet-deep); white-space: nowrap; }
.badge--good { background: var(--good-soft); color: var(--good); }
.badge--warn { background: var(--warn-soft); color: var(--warn); }
.badge--bad { background: var(--bad-soft); color: var(--bad); }

/* Domains */
.domain-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 88px); background: var(--plate); }
.domain-hero__title { font-size: clamp(2.4rem, 5.2vw, 4.4rem); letter-spacing: -0.04em; max-width: 15ch; }
.domain-hero__lead { font-size: 1.1875rem; color: var(--graphite); max-width: 52ch; margin-bottom: 32px; }
.domain-form--xl { max-width: 760px; }
.domain-form--xl input { font-size: 1.25rem; }
.domain-results { margin-top: 20px; max-width: 760px; }
.dres-list { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.dres { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 16px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dres:last-child { border-bottom: 0; }
.dres__name { font-weight: 700; word-break: break-all; }
.dres__status { font-size: .8125rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.dres.is-free .dres__status { background: var(--good-soft); color: var(--good); }
.dres.is-taken .dres__status { background: #f0eef4; color: var(--graphite); }
.dres__price { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.dres__price small { display: block; font-weight: 400; color: var(--graphite); font-size: .75rem; }
.dres__msg { padding: 12px 18px; background: var(--warn-soft); color: var(--warn); font-size: .875rem; }
.ways > div { padding: 18px 0; border-top: 1px solid var(--line); }
.ways dt { font-weight: 700; margin-bottom: 4px; }
.ways dd { margin: 0; color: var(--graphite); }
@media (max-width: 600px) { .dres { grid-template-columns: 1fr auto; } .dres__price { text-align: left; } }

/* About, channels, contact */
.about-hero { padding: clamp(48px, 7vw, 112px) 0 clamp(32px, 4vw, 56px); }
.about-hero__title { font-size: clamp(2.8rem, 6.4vw, 5.6rem); letter-spacing: -0.045em; line-height: .98; max-width: 14ch; }
.about-hero__lead { font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--graphite); max-width: 36ch; }
.about-photo { border-radius: 16px; }
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.channel { display: block; background: #fff; padding: 32px 28px; text-decoration: none; color: var(--ink); text-align: left; border: 0; cursor: pointer; font: inherit; transition: background-color .2s; }
.channel:hover { background: var(--mist); color: var(--ink); }
.channel__icon { width: 30px; height: 30px; color: var(--violet); margin-bottom: 20px; }
.channel h2 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.channel p { color: var(--graphite); font-size: .9375rem; }
.channels--compact .channel { padding: 24px; }
.contact-info h2 { font-size: 1.25rem; }
.contact-info dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-info dt { font-size: .875rem; color: var(--graphite); }
.contact-info dd { margin: 2px 0 0; font-weight: 600; }
.contact-form .notice:empty { display: none; }
.hint { font-size: .875rem; color: var(--graphite); }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.post-card__link { display: grid; gap: 16px; text-decoration: none; color: var(--ink); }
.post-card__media { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--plate); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card__link:hover img { transform: scale(1.03); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; font-family: var(--font-display); font-size: 4rem; color: var(--lilac); font-weight: 700; }
.post-card__meta { font-size: .8125rem; color: var(--graphite); margin-bottom: 6px; }
.post-card__title { font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.post-card__link:hover .post-card__title { color: var(--violet); }
.post-card__excerpt { color: var(--graphite); font-size: .9375rem; margin: 0; }
.post-card--lead { grid-column: 1 / -1; }
.post-card--lead .post-card__link { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.post-card--lead .post-card__title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 14px; text-decoration: none; color: var(--ink); }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.search-form { display: flex; gap: 8px; max-width: 480px; margin-top: 16px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } .post-card--lead .post-card__link { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.article__head { padding: clamp(40px, 6vw, 88px) 0 32px; }
.article__meta { color: var(--graphite); font-size: .9375rem; }
.article__title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.035em; }
.article__lead { font-size: 1.25rem; color: var(--graphite); }
.article__media { margin-bottom: 48px; }
.article__media img { border-radius: 16px; width: 100%; }
.article__foot { margin: 40px 0 72px; }

/* 404 */
.notfound__code { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 14rem); font-weight: 700; letter-spacing: -0.06em; line-height: .9; color: var(--plate); -webkit-text-stroke: 2px var(--lilac); margin: 0 0 16px; }
.notfound h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 20ch; }

/* ==========================================================================
   Checkout
   ========================================================================== */
.checkout { padding: clamp(28px, 4vw, 56px) 0 var(--section); }
.checkout__head { margin-bottom: 32px; }
.checkout__title { font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -0.03em; margin-bottom: 24px; }
.stepper { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.stepper__btn { width: 100%; display: grid; gap: 8px; padding: 10px 0 0; border: 0; border-top: 2px solid var(--line); background: none; text-align: left; cursor: pointer; color: var(--quiet); font-size: .8125rem; font-weight: 600; transition: color .2s, border-color .2s; }
.stepper__btn:disabled { cursor: default; }
.stepper__num { font-variant-numeric: tabular-nums; }
.stepper__item.is-done .stepper__btn { border-top-color: var(--violet); color: var(--graphite); }
.stepper__item.is-done .stepper__btn:hover { color: var(--violet); }
.stepper__item.is-current .stepper__btn { border-top-color: var(--violet); color: var(--ink); }
@media (max-width: 760px) {
	.stepper { gap: 4px; }
	.stepper__label { display: none; }
	.stepper__item.is-current .stepper__label { display: block; position: absolute; left: var(--gutter); margin-top: 26px; }
	.checkout__head { margin-bottom: 48px; position: relative; }
}

.checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .checkout__grid { grid-template-columns: 1fr; } .summary { position: static !important; } }
.step__title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; margin-bottom: 22px; }
.step__title:focus { outline: none; }
.step__subtitle { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 28px 0 12px; }
.step__lead { color: var(--graphite); margin-bottom: 24px; }
.step__actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.step__actions .btn:only-child { margin-left: auto; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; cursor: pointer; }
.choice input, .tpl-option input, .plan-option input, .pay-option input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.choice__body { display: grid; align-content: start; gap: 6px; padding: 22px; border: 1.5px solid var(--line-strong); border-radius: 14px; transition: border-color .15s, background-color .15s, box-shadow .15s; height: 100%; }
.choice__body strong { font-size: 1.0625rem; }
.choice__body span { color: var(--graphite); font-size: .9375rem; }
.choice__icon { color: var(--violet); width: 26px; height: 26px; margin-bottom: 6px; }
.choice input:checked + .choice__body, .tpl-option:has(input:checked), .plan-option:has(input:checked), .pay-option:has(input:checked) { border-color: var(--violet); background: #fcfbff; box-shadow: 0 0 0 3px var(--lilac-soft); }
.choice input:focus-visible + .choice__body, .tpl-option:has(input:focus-visible), .plan-option:has(input:focus-visible), .pay-option:has(input:focus-visible), .seg label:has(input:focus-visible) { outline: 3px solid var(--lilac); outline-offset: 2px; }

.template-list { display: grid; gap: 8px; margin-bottom: 14px; max-height: 360px; overflow-y: auto; padding: 2px; }
.tpl-option { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.tpl-option__swatch { width: 28px; height: 28px; border-radius: 8px; background: var(--tpl); }
.tpl-option__name { font-weight: 600; }
.tpl-option__name small { display: block; font-weight: 400; color: var(--graphite); font-size: .8125rem; }
.tpl-option__price { font-weight: 600; font-size: .9375rem; }

.seg { display: inline-flex; flex-wrap: wrap; padding: 4px; gap: 4px; background: var(--mist); border-radius: 12px; margin-bottom: 24px; }
.seg label { position: relative; cursor: pointer; }
.seg span { display: block; padding: 9px 16px; border-radius: 9px; font-weight: 600; font-size: .9375rem; color: var(--graphite); transition: background-color .15s, color .15s; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(23, 18, 43, .1); }
.seg--small span { padding: 7px 14px; font-size: .875rem; }
.inline-input { display: flex; gap: 8px; }
.inline-input input { flex: 1; }

.plan-list { display: grid; gap: 10px; }
.plan-option { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; }
.plan-option.is-disabled { opacity: .45; cursor: not-allowed; }
.plan-option__main { display: grid; gap: 2px; }
.plan-option__main strong { font-size: 1.125rem; }
.plan-option__main em { font-style: normal; font-size: .75rem; color: var(--violet); background: var(--lilac-soft); padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.plan-option__main > span { color: var(--graphite); font-size: .875rem; }
.plan-option__feat { font-size: .8125rem !important; color: var(--quiet) !important; }
.plan-option__price { text-align: right; display: grid; }
.plan-option__price strong { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.02em; }
.plan-option__price small { color: var(--graphite); font-size: .8125rem; }

.colors { display: flex; gap: 14px; flex-wrap: wrap; }
.colors label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 14px; }
.colors input[type="color"] { width: 36px; height: 30px; border: 0; padding: 0; background: none; cursor: pointer; }
.field__label { font-weight: 600; font-size: .9375rem; }
.coupon { margin-top: 28px; max-width: 420px; }

.pay-list { display: grid; gap: 10px; margin-bottom: 20px; }
.pay-option { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; }
.pay-option::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; }
.pay-option:has(input:checked)::before { border: 6px solid var(--violet); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--violet); }

.review { border-top: 1px solid var(--line); margin-bottom: 16px; }
.review > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.review dt { color: var(--graphite); }
.review dd { margin: 0; font-weight: 600; }
@media (max-width: 560px) { .review > div { grid-template-columns: 1fr; gap: 2px; } }

.summary { position: sticky; top: calc(var(--header-h) + 24px); padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.summary__title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.summary__lines { list-style: none; border-top: 1px solid var(--line); }
.summary__lines li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.summary__lines li small { display: block; color: var(--graphite); font-size: .8125rem; }
.summary__lines strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary__empty { color: var(--graphite); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 8px; }
.summary__total strong { font-family: var(--font-display); font-size: 1.75rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.summary__note { font-size: .8125rem; color: var(--graphite); }
.summary__secure { display: flex; gap: 8px; align-items: center; font-size: .8125rem; color: var(--graphite); margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.summary__secure .icon { width: 18px; height: 18px; color: var(--good); }

/* ==========================================================================
   Client area
   ========================================================================== */
.auth { padding: clamp(48px, 8vw, 112px) 0; background: var(--plate); }
.auth__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.auth__copy h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.04em; }
.auth__copy > p:first-of-type { font-size: 1.1875rem; color: var(--graphite); }
.auth__form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-float); }
.auth__form h2 { font-size: 1.5rem; }
.auth__form p { margin-bottom: 14px; }
.auth__form label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.auth__form input[type="text"], .auth__form input[type="password"] { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 14px; }
.auth__form input[type="text"]:focus, .auth__form input[type="password"]:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px var(--lilac-soft); }
.auth__form .login-remember label { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.auth__form input[type="submit"] { width: 100%; height: 50px; border: 0; border-radius: 14px; background: var(--violet); color: #fff; font-weight: 600; cursor: pointer; }
.auth__form input[type="submit"]:hover { background: var(--violet-press); }
@media (max-width: 860px) { .auth__inner { grid-template-columns: 1fr; } }

.portal { padding: clamp(28px, 4vw, 56px) 0 var(--section); }
.portal__inner { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.portal__nav { position: sticky; top: calc(var(--header-h) + 24px); }
.portal__hello { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.portal__nav ul { list-style: none; display: grid; gap: 2px; }
.portal__nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.portal__nav a .icon { width: 20px; height: 20px; color: var(--quiet); }
.portal__nav a:hover { background: var(--mist); color: var(--ink); }
.portal__nav a[aria-selected="true"] { background: var(--lilac-soft); color: var(--violet-deep); font-weight: 600; }
.portal__nav a[aria-selected="true"] .icon { color: var(--violet); }
.portal__logout { display: inline-block; margin: 20px 12px 0; font-size: .875rem; color: var(--graphite); }
.portal__title { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.03em; margin-bottom: 24px; }
.portal__title:focus { outline: none; }
.portal__h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 36px 0 14px; }
@media (max-width: 860px) {
	.portal__inner { grid-template-columns: 1fr; }
	.portal__nav { position: static; }
	.portal__nav ul { display: flex; overflow-x: auto; gap: 4px; padding-bottom: 6px; }
	.portal__nav a { white-space: nowrap; }
	.portal__logout { display: none; }
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.stat { background: #fff; padding: 20px 22px; text-decoration: none; color: var(--ink); display: grid; gap: 6px; transition: background-color .2s; }
.stat:hover { background: var(--mist); color: var(--ink); }
.stat span { font-size: .875rem; color: var(--graphite); }
.stat strong { font-family: var(--font-display); font-size: 2.2rem; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat--warn strong { color: var(--warn); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

.job { border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-bottom: 16px; background: #fff; }
.job__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 18px; }
.job__domain { font-family: var(--font-body); font-size: 1.125rem; font-weight: 700; letter-spacing: 0; margin: 0 0 2px; }
.job__label { margin: 0; color: var(--violet); font-weight: 600; font-size: .9375rem; }
.job__note { margin: 16px 0 0; padding: 12px 14px; background: var(--warn-soft); color: var(--warn); border-radius: 14px; font-size: .875rem; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 0; }
.timeline__step { position: relative; display: grid; gap: 8px; padding-right: 10px; font-size: .8125rem; color: var(--quiet); }
.timeline__step::before { content: ""; position: absolute; top: 11px; left: 26px; right: 0; height: 2px; background: var(--line); }
.timeline__step:last-child::before { display: none; }
.timeline__step.is-done::before { background: var(--violet); }
.timeline__dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; display: grid; place-items: center; }
.timeline__dot .icon { width: 13px; height: 13px; color: #fff; stroke-width: 2.8; opacity: 0; }
.timeline__step.is-done { color: var(--ink); }
.timeline__step.is-done .timeline__dot { background: var(--violet); border-color: var(--violet); }
.timeline__step.is-done .timeline__dot .icon { opacity: 1; }
.timeline__step.is-active { color: var(--ink); font-weight: 600; }
.timeline__step.is-active .timeline__dot { border-color: var(--violet); box-shadow: 0 0 0 4px var(--lilac-soft); }
.timeline__step.is-active .timeline__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); animation: live-v 1.6s ease-in-out infinite; }
.timeline__step.is-held .timeline__dot { border-color: #d9a400; background: var(--warn-soft); }
.timeline__step.just-done .timeline__dot { animation: pop .5s var(--ease); }
.timeline__time { color: var(--quiet); font-size: .75rem; font-variant-numeric: tabular-nums; min-height: 1em; }
@keyframes live-v { 50% { transform: scale(.6); opacity: .5; } }
@keyframes pop { 40% { transform: scale(1.25); } }
@media (max-width: 640px) {
	.timeline { grid-template-columns: 1fr; gap: 14px; }
	.timeline__step { grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px; }
	.timeline__step::before { top: 26px; left: 11px; right: auto; width: 2px; height: calc(100% - 10px); }
}

/* Generated previews scale with their container (cards, product page). */
.tpl-shot { container-type: inline-size; }
.tpl-card, .tpl-card__media, .tpl-shot * { text-decoration: none; }
.tpl-shot__page { padding: 4cqw 5cqw; }
.tpl-shot__nav b { width: 15cqw; height: 2.6cqw; border-radius: 1cqw; }
.tpl-shot__nav span { width: 7cqw; height: 1.6cqw; }
.tpl-shot__hero strong { font-size: clamp(1rem, 6.4cqw, 3.4rem); }
.tpl-shot__hero em { font-size: clamp(.6875rem, 2.2cqw, 1.1rem); margin: 1.4cqw 0 3.2cqw; }
.tpl-shot__btn { width: 22cqw; height: 6cqw; border-radius: 1.4cqw; }
.tpl-shot__cols { gap: 2cqw; }
.tpl-shot__cols span { height: 9cqw; border-radius: 1.4cqw; }
.site-list { list-style: none; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.site-list li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.site-list li:last-child { border-bottom: 0; }
.site-list__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px var(--good-soft); }
.site-list__domain { flex: 1; font-weight: 700; }
.site-list__domain small { display: block; font-weight: 400; color: var(--graphite); font-size: .8125rem; }

@media (max-width: 760px) {
	.stepper__item.is-current .stepper__label { left: 0; }
}
.site-list { list-style: none; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.site-list li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.site-list li:last-child { border-bottom: 0; }
.site-list__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px var(--good-soft); }
.site-list__domain { flex: 1; font-weight: 700; }
.site-list__domain small { display: block; font-weight: 400; color: var(--graphite); font-size: .8125rem; }

/* Mobile refinements */
.hero__tab-short { display: none; }
@media (max-width: 600px) {
	.hero__tab-full { display: none; }
	.hero__tab-short { display: inline; }
	.console__list { display: none; }
	.console__chart { border-bottom: 0; }
	.spark { height: 120px; }
	.chip--a { top: auto; bottom: 18%; left: 4%; }
	.chip--b { top: auto; bottom: 6%; right: 2%; }
	.hero__stage { height: 380px; }
}
@media (max-width: 960px) {
	.checkout__grid .summary { order: 0; }
}
@media (max-width: 760px) {
	.stepper__item.is-current .stepper__label { left: 0; }
}

/* v1.1 fixes */
.punct { margin-left: -0.14em; }
.art-img { height: auto; max-height: 100%; }
.rail { scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.tpl-card { grid-template-columns: minmax(0, 1fr); }
.tpl-shot { width: 100%; }
.site-footer .site-footer__items { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 32px; }
.punct { margin-left: -0.05em; }
.art-img {
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 86%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 86%, transparent 100%);
	mask-composite: intersect;
}
.hero__inner { min-height: clamp(460px, calc(100vh - 300px), 560px); }
.banner__art { margin: -10px -20px -40px 0; }
.banner__art img {
	border-radius: 0;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 84%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 84%, transparent 100%);
	mask-composite: intersect;
}

/* ==========================================================================
   Client area v2: invoices, Pix, tickets, profile
   ========================================================================== */
.portal__nav a { position: relative; }
.portal__count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--violet); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.portal__titlebar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.portal__titlebar .portal__title { margin-bottom: 0; }
.site-list__dot--warn { background: #d99a1e; box-shadow: 0 0 0 4px rgba(217, 154, 30, .16); }
.site-list__dot--bad { background: var(--bad, #b42318); box-shadow: 0 0 0 4px rgba(180, 35, 24, .14); }
.field > span { font-weight: 700; font-size: .9375rem; }
.card-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 28px); margin-bottom: 24px; }
.card-form h2 { font-family: var(--font-body); font-size: 1.125rem; letter-spacing: -0.01em; margin-bottom: 16px; }
.card-form > .hint { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.form-row .field--xs { max-width: 110px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.field-error { color: var(--bad, #b42318); font-size: .875rem; font-weight: 600; margin: 0 0 14px; }
.ticket-list { list-style: none; display: grid; gap: 10px; margin: 0 0 24px; padding: 0; }
.ticket-list__item { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.ticket-list__item:hover { border-color: var(--violet); box-shadow: 0 10px 24px -18px rgba(76, 29, 149, .5); }
.ticket-list__subject { display: grid; gap: 3px; font-weight: 700; }
.ticket-list__subject small { font-weight: 500; color: var(--graphite); font-size: .8125rem; }
.ticket-view { border-top: 1px solid var(--line); padding-top: 24px; }
.ticket-view__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.ticket-view__head h2 { font-family: var(--font-body); font-size: 1.25rem; letter-spacing: -0.01em; }
.ticket-thread { list-style: none; display: grid; gap: 12px; margin: 0 0 20px; padding: 0; }
.ticket-msg { padding: 14px 16px; border-radius: 16px; max-width: 760px; }
.ticket-msg--client { background: var(--lilac-soft); margin-left: auto; }
.ticket-msg--staff { background: #fff; border: 1px solid var(--line); }
.ticket-msg__meta { font-size: .8125rem; color: var(--graphite); margin-bottom: 6px; font-weight: 600; }
.ticket-msg__text { line-height: 1.6; overflow-wrap: anywhere; }
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(23, 17, 46, .55); backdrop-filter: blur(3px); }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 24px; padding: clamp(22px, 4vw, 32px); box-shadow: 0 30px 80px -24px rgba(40, 10, 100, .5); }
.modal__box h2 { font-family: var(--font-body); font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 4px; padding-right: 36px; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 12px; border: 0; background: var(--mist); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.modal__close .icon { width: 18px; height: 18px; }
body.modal-open { overflow: hidden; }
.invoice-lines { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .9375rem; }
.invoice-lines td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.invoice-lines td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: 16px; }
.invoice-lines__total td { font-weight: 800; font-size: 1.0625rem; border-bottom: 0; }
.pix { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 20px; border-radius: 18px; background: var(--mist); margin-bottom: 14px; }
.pix h3 { font-family: var(--font-body); font-size: 1.0625rem; }
.pix .hint { margin: 0; }
.pix__qr { width: 200px; height: 200px; border-radius: 12px; background: #fff; padding: 8px; }
.pix .field { width: 100%; text-align: left; margin-bottom: 4px; }
.pix textarea { min-height: 84px; font-family: ui-monospace, Menlo, monospace; font-size: .8125rem; }
.invoice-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 14px; }
.pix-paid { text-align: center; padding: 24px 0; }
.pix-paid h2 { color: #0f7a55; padding-right: 0; }
@media (max-width: 640px) {
	.ticket-list__item { flex-direction: column; align-items: flex-start; }
	.ticket-msg { max-width: none; }
}

/* ---------- Ready-made site: second price, gallery, lightbox (2.1) ---------- */
.tpl-buy__price--alt { margin-top: 14px; }
.tpl-buy__price--alt strong { font-size: 1.5rem; }
.tpl-gallery { border-bottom: 1px solid var(--line); }
.tpl-gallery__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 20px; }
.tpl-gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.tpl-gallery__grid a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.tpl-gallery__grid img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .3s var(--ease); }
.tpl-gallery__grid a:hover img { transform: scale(1.02); }
.tpl-gallery__grid a:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 12, 40, .82); }
.lightbox img { display: block; max-width: 100%; max-height: 84vh; border-radius: 10px; margin: 0 auto; }
.lightbox__close, .lightbox__nav { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.lightbox__close svg, .lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__close { top: -14px; right: -14px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: -22px; }
.lightbox__nav--next { right: -22px; }
.lightbox__count { text-align: center; color: #fff; margin: 10px 0 0; font-size: .9375rem; }
@media (max-width: 700px) { .lightbox__nav--prev { left: 6px; } .lightbox__nav--next { right: 6px; } .lightbox__close { right: 6px; top: 6px; } }
.tpl-how__sub { font-size: 1rem; margin: 18px 0 8px; }
.delivery { border: 0; padding: 0; margin: 0; min-width: 0; }
.delivery .choice__price { font-style: normal; font-weight: 700; color: var(--ink); margin-top: 4px; }
.stepper__item[hidden] { display: none; }
.job__access { margin: 16px 0 0; padding: 14px 16px; background: var(--good-soft); border-radius: 14px; font-size: .9375rem; display: grid; gap: 4px; }
.job__access p { margin: 0; }
.job__access code { font-size: .875rem; }
.site-files { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 14px; }
.site-files__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.site-files__head h3 { font-size: 1.0625rem; margin: 0 0 2px; }
.site-files__list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.site-files__list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.site-files__name { display: grid; flex: 1; min-width: 0; }
.site-files__name small { color: var(--graphite); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-files__list .btn svg { width: 16px; height: 16px; margin-right: 6px; }
.site-files__how { margin-top: 14px; }
.site-files__how summary { cursor: pointer; font-weight: 600; color: var(--violet); }
.site-files__how ol { margin: 10px 0; padding-left: 20px; display: grid; gap: 6px; }
.tpl-option__thumb { width: 56px; height: 36px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--line); }
