/* stile.css — colori, caratteri e impaginazione. I colori principali sono in :root qui sotto. */
/* Layout: pagina nera e ariosa; l'unico momento "forte" è la pila di finestre nell'apertura. Le card dei servizi contengono mini anteprime di ciò che Giuse costruisce. */
/* sito sempre nero */
:root {
  --bg: #050506;
  --surface: #101114;
  --surface-2: #17191e;
  --ink: #eef1f5;
  --muted: #9aa3af;
  --faint: #6b7380;
  --line: #22252c;
  --accent: #ff6a2b;
  --accent-ink: #ffffff;
  --accent-soft: rgba(255, 106, 43, .12);
  --ok: #3ad29a;
  --code-bg: #0c0e12;
  --code-line: #1c2029;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .8);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .9);
  --sans: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* barra */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand svg { width: 30px; height: 30px; }
.nav nav { display: flex; gap: 2px; margin-left: auto; }
.nav nav a { text-decoration: none; font-size: 14.5px; color: var(--muted); padding: 8px 14px; border-radius: 99px; transition: color .15s, background .15s; }
.nav nav a:hover { color: var(--ink); background: var(--surface); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 99px; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; border: 0; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--faint); }
.nav .btn { height: 40px; padding: 0 18px; font-size: 14px; }

/* apertura */
.hero { padding-block: 72px 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 99px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 500; color: var(--muted); }
.pill i { width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 18%, transparent); display: grid; place-items: center; }
.pill i::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); line-height: 1.02; margin-top: 22px; letter-spacing: -.045em; font-weight: 800; }
.hero h1 span { color: var(--accent); }
.hero .lead { margin-top: 22px; font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 46ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.facts div { display: grid; gap: 2px; }
.facts b { font-size: 22px; letter-spacing: -.03em; }
.facts span { font-size: 13.5px; color: var(--muted); }

/* pila di finestre */
.stage { position: relative; aspect-ratio: 1 / .92; max-width: 100%; }
.stage::before { content: ""; position: absolute; inset: 8% 4% 4% 10%; border-radius: 40px; background: radial-gradient(60% 60% at 60% 40%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); filter: blur(30px); }
.win { position: absolute; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.editor { left: 0; top: 6%; width: 82%; background: var(--code-bg); color: #c9d1dc; transform: rotate(-1.5deg); animation: float 7s ease-in-out infinite; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--code-line); }
.editor .bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--code-line); }
.editor .bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a303c; }
.editor .bar span { margin-left: 10px; font: 500 12px/1 var(--mono); color: #7d8796; }
.editor pre { margin: 0; padding: 16px 18px 20px; font: 400 12.5px/1.75 var(--mono); overflow: hidden; white-space: pre; }
.editor .ln { color: #3d4553; display: inline-block; width: 22px; user-select: none; }
.k { color: #ff8a5c; } .f { color: #7cc4ff; } .s { color: #95e0b3; } .n { color: #f5c46b; } .c { color: #5c6677; font-style: italic; }
.resmon { right: 0; top: 0; width: 46%; background: var(--surface); padding: 16px 18px; transform: rotate(2deg); animation: float 6s -2s ease-in-out infinite; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.resmon small { display: flex; justify-content: space-between; gap: 10px; font: 500 11px/1 var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.resmon .val { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.resmon .val b { font: 600 30px/1 var(--mono); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.resmon .val span { font-size: 13px; color: var(--ok); font-weight: 600; }
.resmon svg { display: block; width: 100%; height: 38px; margin-top: 10px; }
.dc { right: 3%; bottom: 0; width: 62%; background: #2b2d31; color: #dbdee1; padding: 14px 16px; transform: rotate(1deg); animation: float 8s -4s ease-in-out infinite; font-size: 13.5px; }
.dc .row { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.dc .av { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; }
.dc .who { display: flex; align-items: center; gap: 6px; font-weight: 600; color: #fff; }
.dc .who em { font-style: normal; font-size: 10px; background: #5865f2; padding: 1px 5px; border-radius: 3px; }
.dc .who small { color: #949ba4; font-weight: 400; font-size: 11.5px; }
.dc .emb { margin-top: 6px; border-left: 4px solid #3ba55d; background: #232428; border-radius: 4px; padding: 10px 12px; display: grid; gap: 4px; }
.dc .emb b { color: #fff; }
.dc .emb span { color: #b5bac1; font-size: 12.5px; }
@keyframes float { 50% { translate: 0 -8px; } }

/* framework */
.logos { padding-block: 32px 8px; }
.logos .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.logos p { font-size: 14px; color: var(--faint); }
.logos ul { display: flex; flex-wrap: wrap; gap: 10px 30px; list-style: none; margin: 0; padding: 0; }
.logos li { font-weight: 600; font-size: 17px; letter-spacing: -.02em; color: var(--muted); }

/* sezioni */
section { padding-block: 112px 0; scroll-margin-top: 70px; }
.head { display: grid; gap: 14px; max-width: 640px; margin-bottom: 48px; }
.eyebrow { font: 500 13px/1 var(--mono); color: var(--accent); letter-spacing: .02em; }
.head h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.04em; }
.head p { font-size: 18px; color: var(--muted); }

/* servizi */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.svc { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .3s, box-shadow .3s; }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.vig { height: 220px; background: var(--surface-2); position: relative; overflow: hidden; display: grid; place-items: center; padding: 24px; }
.svc-body { padding: 26px 28px 28px; display: grid; gap: 10px; align-content: start; }
.svc-body .top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.svc h3 { font-size: 23px; }
.svc .price { font-size: 14px; color: var(--muted); white-space: nowrap; }
.svc .price b { color: var(--ink); font-size: 17px; }
.svc p { color: var(--muted); }
.svc ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc li { font-size: 13px; padding: 5px 11px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }

/* vignette */
.hud { width: min(300px, 100%); display: grid; gap: 10px; }
.hud .money { justify-self: end; display: grid; gap: 6px; text-align: right; }
.hud .money b { font: 700 24px/1 var(--mono); letter-spacing: -.03em; }
.hud .money span { font-size: 12px; color: var(--muted); background: var(--surface); padding: 4px 10px; border-radius: 99px; box-shadow: var(--shadow); justify-self: end; }
.bars { display: grid; gap: 7px; margin-top: 18px; }
.bar { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 13px; }
.bar div { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 10%, transparent); overflow: hidden; }
.bar div i { display: block; height: 100%; border-radius: inherit; }
.garage { width: min(320px, 100%); background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; display: grid; gap: 2px; }
.garage > div { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; font-size: 13.5px; }
.garage > div:first-child { background: var(--surface-2); }
.garage .car { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.garage .car svg { width: 18px; height: 18px; }
.garage b { display: block; font-weight: 600; }
.garage small { color: var(--faint); font: 400 11.5px/1 var(--mono); }
.tag-ok, .tag-off { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 99px; }
.tag-ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.tag-off { color: var(--muted); background: var(--surface-2); }
.slash { width: min(330px, 100%); background: #2b2d31; border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; color: #dbdee1; font-size: 13px; }
.slash .opt { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 12px; }
.slash .opt.on { background: #35373c; }
.slash .opt i { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; font-size: 12px; }
.slash .opt b { color: #fff; font-weight: 600; }
.slash .opt small { display: block; color: #949ba4; font-size: 11.5px; }
.slash .input { margin: 8px; padding: 10px 12px; border-radius: 8px; background: #383a40; font-family: var(--mono); color: #fff; }
.slash .input span { color: #949ba4; }
.chat { width: min(320px, 100%); background: #18181b; color: #efeff1; border-radius: 12px; box-shadow: var(--shadow); padding: 12px 14px; display: grid; gap: 7px; font-size: 13px; line-height: 1.45; }
.chat b { font-weight: 700; }
.chat .sys { background: rgba(145, 70, 255, .16); border-radius: 8px; padding: 8px 10px; border-left: 3px solid #9146ff; }

/* catalogo script */
.cat-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.chips { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 26px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); max-width: 100%; }
.chips button { border: 0; background: none; padding: 10px 18px; border-radius: 99px; font: 600 14.5px/1 var(--sans); color: var(--muted); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.chips button span { font: 500 12px/1 var(--mono); opacity: .6; margin-left: 6px; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.search { position: relative; width: min(280px, 100%); }
.search input { width: 100%; height: 48px; border-radius: 99px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); padding: 0 18px 0 44px; font: 400 15px/1 var(--sans); }
.search input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
.search svg { position: absolute; left: 16px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.scripts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sc { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .3s, box-shadow .3s; }
.sc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.sc-cover { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; display: grid; place-items: center; }
.sc-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.sc-cover .gen { width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 30px; font-weight: 800; letter-spacing: -.05em; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent); }
.sc-badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 99px; background: var(--surface); color: var(--muted); box-shadow: var(--shadow); }
.sc-badge.nuovo { background: var(--accent); color: var(--accent-ink); }
.sc-badge.presto { color: #f0b93a; }
.sc-body { padding: 24px; display: grid; gap: 12px; align-content: start; }
.sc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sc h3 { font-size: 20px; }
.sc .cat { font: 500 12px/1 var(--mono); color: var(--faint); white-space: nowrap; }
.sc p { color: var(--muted); font-size: 15px; }
.sc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sc li { font-size: 12.5px; padding: 5px 10px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.sc .fw { font: 500 12px/1.4 var(--mono); color: var(--faint); }
.sc-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--line); }
.sc-foot b { font-size: 22px; letter-spacing: -.04em; font-weight: 800; font-variant-numeric: tabular-nums; }
.sc-foot .btn { height: 40px; padding: 0 18px; font-size: 14px; }
.empty { grid-column: 1 / -1; padding: 48px 24px; text-align: center; color: var(--muted); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); }

/* perché */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.why > div { padding: 30px 28px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; }
.why b { font-size: clamp(36px, 4vw, 48px); letter-spacing: -.05em; line-height: 1; font-weight: 800; }
.why b span { color: var(--accent); }
.why h3 { font-size: 18px; letter-spacing: -.02em; margin-top: 8px; }
.why p { color: var(--muted); font-size: 15.5px; }

/* prezzi */
.tabs { display: inline-flex; padding: 5px; border-radius: 99px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 24px; max-width: 100%; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 10px 20px; border-radius: 99px; font: 600 14.5px/1 var(--sans); color: var(--muted); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { position: relative; background: var(--surface); border-radius: 24px; padding: 30px 28px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 16px; align-content: start; }
.plan.best { box-shadow: inset 0 0 0 2px var(--accent), var(--shadow-lg); }
.plan .badge { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 99px; }
.plan h3 { font-size: 19px; letter-spacing: -.02em; padding-right: 110px; }
.plan .amt { display: flex; align-items: baseline; gap: 6px; }
.plan .amt small { font-size: 14px; color: var(--muted); }
.plan .amt b { font-size: 46px; letter-spacing: -.05em; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.plan > p { color: var(--muted); font-size: 15px; min-height: 3.2em; }
.plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 15px; }
.plan li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5.5 9.2 2.3 2.3 4.7-5' fill='none' stroke='%23ff6a2b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.plan .time { font: 500 13px/1 var(--mono); color: var(--faint); }
.plan .btn { width: 100%; margin-top: 4px; }
.price-note { margin-top: 20px; font-size: 14px; color: var(--faint); }

/* processo */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--line); position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font: 500 13px/1 var(--mono); color: var(--accent); }
.step::after { content: ""; position: absolute; top: -2px; left: 0; width: 36px; height: 2px; background: var(--accent); }
.step h3 { font-size: 19px; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 15.5px; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' stroke='%238d95a1' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 64ch; }

/* chiusura */
.final { padding-block: 112px 80px; }
.final-card { position: relative; overflow: hidden; border-radius: 32px; background: var(--code-bg); color: #f3f5f8; padding: 72px 56px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 32px; align-items: end; isolation: isolate; box-shadow: inset 0 0 0 1px var(--line); }
.final-card::before { content: ""; position: absolute; inset: auto -10% -60% 30%; height: 140%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 90, 31, .55), transparent); filter: blur(20px); }
.final-card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); }
.final h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -.05em; font-weight: 800; }
.final p { margin-top: 18px; color: #aab3c0; font-size: 18px; max-width: 46ch; }
.final-side { display: grid; gap: 12px; justify-items: stretch; }
.final-side .btn { height: 56px; font-size: 16px; }
.invite { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 99px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font: 500 13.5px/1 var(--mono); color: #aab3c0; }
.invite code { color: #fff; overflow-wrap: anywhere; user-select: all; }
.invite button { border: 0; border-radius: 99px; padding: 9px 14px; background: rgba(255, 255, 255, .1); color: #fff; font: 600 13px/1 var(--sans); cursor: pointer; flex: none; }

footer { padding-block: 28px 40px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 14px; color: var(--faint); }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

@keyframes up { from { opacity: .001; transform: translateY(16px); } }
.hero h1, .hero .lead, .hero .cta, .hero .facts { animation: up .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero .lead { animation-delay: .08s; } .hero .cta { animation-delay: .16s; } .hero .facts { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .stage { max-width: 560px; width: 100%; justify-self: center; }
  .plans, .why { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .scripts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .final-card { grid-template-columns: minmax(0, 1fr); padding: 48px 32px; }
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 700px) {
  .services, .scripts { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .search { width: 100%; }
  .hero { padding-block: 40px 24px; }
  section { padding-block: 80px 0; }
  .final { padding-block: 80px 56px; }
  .final-card { padding: 40px 22px; border-radius: 24px; }
  .editor pre { font-size: 10.5px; padding: 12px; }
  .resmon { padding: 12px 14px; }
  .resmon .val b { font-size: 22px; }
  .dc { font-size: 12px; padding: 12px; }
  .dc .emb span, .dc .who small, .resmon small span:last-child { display: none; }
  .vig { height: 200px; padding: 18px; }
  .svc-body { padding: 22px; }
  .plan .badge { position: static; justify-self: start; }
  .plan h3 { padding-right: 0; }
}

/* ═══════ checkout ═══════ */
[hidden] { display: none !important; }
html.co-open { overflow: hidden; }
.co { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.co-back { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
.co-panel { position: relative; width: min(480px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); padding: 26px; display: grid; gap: 18px; transform: translateY(14px) scale(.98); opacity: 0; transition: transform .25s cubic-bezier(.2, .8, .2, 1), opacity .2s; }
.co.on .co-back { opacity: 1; }
.co.on .co-panel { transform: none; opacity: 1; }
.co-h { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.co-h h3 { font-size: 22px; margin-top: 8px; }
.co-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--muted); cursor: pointer; display: grid; place-items: center; flex: none; }
.co-x:hover { color: var(--ink); }
.co-x svg { width: 18px; height: 18px; }
#coForm { display: grid; gap: 18px; }
.co-steps { display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); color: var(--faint); }
.co-steps span.on { color: var(--accent); }
.co-steps i { flex: 1; height: 1px; background: var(--line); }
.co-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--surface-2); }
.co-item .gen { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 18px; letter-spacing: -.04em; }
.co-item b { display: block; font-size: 16px; }
.co-item small { color: var(--faint); font-size: 13px; }
.co-item .pr { font-size: 18px; letter-spacing: -.03em; white-space: nowrap; }
.co-fields { display: grid; gap: 14px; }
.fld { display: grid; gap: 8px; }
.fld > span { font-size: 14px; font-weight: 600; }
.fld input { height: 50px; border-radius: 12px; border: 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); padding: 0 16px; font: 500 16px/1 var(--mono); }
.fld input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
.fld input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #f87171; }
.fld small { font-size: 12.5px; color: var(--faint); }
.chk { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14px; color: var(--muted); cursor: pointer; }
.chk input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.co-sum { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; }
.co-sum div { display: flex; justify-content: space-between; color: var(--muted); }
.co-sum .tot { color: var(--ink); font-size: 17px; padding-top: 6px; }
.co-sum .tot b { font-size: 22px; letter-spacing: -.03em; }
.co-hint { font-size: 13px; color: var(--faint); text-align: center; }
.pp { min-height: 52px; border-radius: 14px; }
.pp-load, .pp-off { padding: 16px; border-radius: 14px; text-align: center; font-size: 14px; color: var(--muted); background: var(--surface-2); }
.co-fields:not(.ready) ~ .pp { opacity: .55; }
.co-msg { min-height: 1.2em; font-size: 14px; color: var(--muted); text-align: center; }
.co-msg.err { color: #f87171; }
.co-safe { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; color: var(--faint); }
.co-safe svg { width: 15px; height: 15px; }
.co-done { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 8px 0 4px; outline: none; }
.ok-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.ok-ico svg { width: 30px; height: 30px; }
.co-done h3 { font-size: 24px; }
.co-done p { color: var(--muted); }
.co-done .pend { color: #f0b93a; font-size: 14px; }
.co-done .next { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); font-size: 14px; color: var(--muted); }
.co-done .next b { color: var(--ink); font-family: var(--mono); }
.co-done .small { font-size: 13.5px; }
.co-done .btn { width: 100%; }
button.btn { font-family: var(--sans); }
@media (max-width: 520px) {
  .co { place-items: end center; padding: 0; }
  .co-panel { width: 100%; border-radius: 22px 22px 0 0; max-height: 92dvh; padding: 22px max(18px, env(safe-area-inset-left, 0px)) max(22px, env(safe-area-inset-bottom, 0px)); }
  .co-steps { display: none; }
}
