.edit-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: end;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafaf7;
}

.edit-options > div > b { font-size: 12px; }
.palette.compact { margin-top: 10px; }
.palette.compact label { padding: 6px 9px; }
.palette.compact i { width: 16px; height: 16px; }
.palette input { width: 1px; height: 1px; margin: 0; }
.compact-upload { min-height: 92px; background: #fff; }
.edit-options + .edit-grid { margin-top: 14px; }
.result-note { margin: 22px 0 10px; padding: 12px 14px; border-left: 4px solid var(--yellow); background: #fff9dc; color: #5d5330; font-size: 10px; line-height: 1.55; }
.consent { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0; color: #555; font-size: 10px; line-height: 1.45; }
.consent input { width: 17px; height: 17px; margin: 0; flex: 0 0 17px; }
.consent a { text-decoration: underline; color: #111; }
.package-field { margin: 24px 0 14px; }
.package-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.package-options label { position: relative; cursor: pointer; }
.package-options input { position: absolute; opacity: 0; pointer-events: none; }
.package-options span { min-height: 132px; display: grid; align-content: center; gap: 5px; padding: 18px; border: 2px solid var(--line); border-radius: 13px; background: #fafaf7; transition: .18s ease; }
.package-options small { color: #8a7200; font-size: 8px; letter-spacing: .12em; }
.package-options b { font-size: 18px; }
.package-options strong { font-size: 25px; }
.package-options em { color: var(--muted); font-size: 9px; font-style: normal; }
.package-options label:has(input:checked) span { border-color: #111; background: #111; color: #fff; box-shadow: 0 0 0 3px #ffd00055; }
.package-options label:has(input:checked) strong { color: var(--yellow); }
.package-options label:has(input:checked) em { color: #bbb; }
.package-options .popular::after { content: 'ЛУЧШИЙ ВЫБОР'; position: absolute; right: 10px; top: -8px; padding: 5px 7px; border-radius: 5px; background: var(--yellow); color: #111; font-size: 7px; font-weight: 900; letter-spacing: .08em; }

html { scroll-behavior: smooth; }
.ai-head { height: 76px; }
.ai-brand { display: flex; align-items: center; gap: 16px; }
.ai-brand span { display: grid; gap: 2px; padding-left: 16px; border-left: 1px solid #deded9; }
.ai-brand b { font-size: 10px; letter-spacing: .03em; }
.ai-brand small { color: var(--muted); font-size: 9px; }
.ai-head img { width: 150px; height: 54px; }

.ai-hero { min-height: 610px; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 7vw, 110px); padding-top: 64px; padding-bottom: 92px; background:
  radial-gradient(circle at 78% 45%, #3f330d 0, #151205 18%, transparent 44%),
  linear-gradient(120deg, #070707 0%, #0a0a0a 62%, #15130a 100%); }
.ai-hero__copy { position: relative; z-index: 3; }
.ai-hero h1 { max-width: 760px; font-size: clamp(54px, 5.5vw, 78px); margin-bottom: 22px; }
.ai-hero p { max-width: 620px; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-actions a { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 9px; padding: 0 20px; font-size: 11px; font-weight: 900; transition: transform .18s ease, background .18s ease; }
.hero-actions a:hover { transform: translateY(-2px); }
.hero-primary { background: var(--yellow); color: #111; }
.hero-secondary { color: #fff; border: 1px solid #444; background: #ffffff0a; }
.hero-secondary:hover { border-color: #777; background: #ffffff10; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; color: #d1d1cb; font-size: 9px; font-weight: 800; }
.hero-trust span::first-letter { color: var(--yellow); }

.ai-hero__visual { min-height: 460px; isolation: isolate; }
.ai-hero__visual::before { content: ''; position: absolute; width: 520px; height: 520px; border: 1px solid #9d801d4d; border-radius: 50%; z-index: -2; }
.ai-hero__visual::after { content: ''; position: absolute; width: 390px; height: 390px; border: 1px dashed #9d801d4d; border-radius: 50%; z-index: -2; animation: spin 45s linear infinite; }
.hero-result-card { width: min(430px, 84%); margin: 0; border: 1px solid #66571e; border-radius: 18px; overflow: hidden; background: #111; box-shadow: 0 42px 85px #000, 0 0 0 9px #ffffff08; transform: rotate(2deg); }
.hero-result-card img { display: block; width: 100%; aspect-ratio: 1.12; object-fit: cover; }
.hero-result-card figcaption { display: grid; gap: 3px; padding: 16px 18px 18px; }
.hero-result-card figcaption span { color: var(--yellow); font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.hero-result-card figcaption b { color: #fff; font-size: 15px; }
.hero-result-card figcaption small { color: #878787; font-size: 9px; }
.hero-prompt { position: absolute; left: 0; bottom: 10px; width: min(270px, 54%); padding: 14px 16px; border: 1px solid #ffffff20; border-radius: 12px; background: #1b1b1bf0; color: #fff; box-shadow: 0 18px 38px #0009; transform: rotate(-2deg); z-index: 3; }
.hero-prompt small { color: var(--yellow); font-size: 7px; font-weight: 900; letter-spacing: .14em; }
.hero-prompt p { margin: 6px 0 0; color: #d1d1d1; font-size: 10px; line-height: 1.45; }
.hero-ready { position: absolute; right: -10px; top: 48px; padding: 8px 11px; border-radius: 7px; background: var(--yellow); color: #111; font-size: 7px; font-weight: 900; letter-spacing: .09em; transform: rotate(3deg); box-shadow: 0 12px 30px #0008; z-index: 3; }

.shell { width: min(1220px, calc(100% - 32px)); margin-top: -46px; }
.flow-strip { display: grid; grid-template-columns: 1fr 50px 1fr 50px 1fr; align-items: center; min-height: 112px; padding: 22px 30px; border: 1px solid #e1e1dc; border-radius: 18px; background: #fff; box-shadow: 0 22px 60px #00000017; margin-bottom: 24px; }
.flow-strip > div { display: flex; align-items: center; gap: 14px; }
.flow-strip > div > span { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #111; color: var(--yellow); font-size: 10px; font-weight: 900; }
.flow-strip p { display: grid; gap: 4px; margin: 0; }
.flow-strip b { font-size: 12px; }
.flow-strip small { color: var(--muted); font-size: 9px; }
.flow-strip i { height: 1px; background: linear-gradient(90deg, #d2d2cb, var(--yellow), #d2d2cb); }

.examples-panel { display: grid; grid-template-columns: .7fr 1.3fr; gap: 28px; align-items: stretch; padding: 34px; margin-bottom: 24px; border: 1px solid #e5e5df; border-radius: 18px; background: #ecece7; }
.examples-copy { align-self: center; padding: 8px 12px 8px 2px; }
.examples-copy h2,.trust-copy h2,.faq-panel h2 { margin: 10px 0 14px; font-size: clamp(27px, 3vw, 40px); line-height: 1.05; letter-spacing: -.05em; }
.examples-copy p,.trust-copy p { margin: 0; color: #5f5f5b; font-size: 11px; line-height: 1.7; }
.example-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.example-grid figure { position: relative; min-width: 0; margin: 0; border-radius: 13px; overflow: hidden; background: #111; box-shadow: 0 12px 28px #00000016; }
.example-grid img { display: block; width: 100%; height: 100%; min-height: 290px; object-fit: cover; transition: transform .35s ease; }
.example-grid figure:hover img { transform: scale(1.035); }
.example-grid figcaption { position: absolute; inset: auto 0 0; display: grid; gap: 3px; padding: 36px 14px 14px; color: #fff; background: linear-gradient(transparent, #000d); }
.example-grid figcaption b { font-size: 11px; }
.example-grid figcaption span { color: #c6c6c1; font-size: 8px; }

.brief-panel { padding: clamp(24px, 4vw, 46px); }
.section-lead { max-width: 640px; margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.secure-note { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 999px; background: #edf7f0; }
.secure-note::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22a35a; box-shadow: 0 0 0 3px #22a35a1c; }
.brief-panel textarea { min-height: 145px; }
.auth-gate { overflow: hidden; background: linear-gradient(135deg, #fff 0%, #fff 56%, #fff8d6 100%); }
.auth-gate ul { display: grid; gap: 7px; padding: 0; margin: 18px 0 0; list-style: none; color: #3e3e3b; font-size: 10px; }
.auth-gate li::before { content: '✓'; margin-right: 8px; color: #168b4a; font-weight: 900; }
.brief-panel.auth-needed { box-shadow: 0 20px 55px #00000012; }

.trust-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 38px; padding: 42px; margin-bottom: 24px; border-radius: 18px; background: #111; color: #fff; overflow: hidden; position: relative; }
.trust-panel::after { content: 'МР'; position: absolute; right: -18px; bottom: -90px; color: #ffffff05; font-size: 240px; font-weight: 900; line-height: 1; }
.trust-copy { position: relative; z-index: 1; }
.trust-copy p { color: #a8a8a3; }
.trust-copy a { display: inline-flex; margin-top: 20px; padding: 12px 15px; border-radius: 8px; background: var(--yellow); color: #111; font-size: 9px; font-weight: 900; }
.trust-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; position: relative; z-index: 1; }
.trust-points article { min-height: 125px; display: grid; align-content: center; gap: 8px; padding: 18px; border: 1px solid #333; border-radius: 12px; background: #191919; }
.trust-points b { color: var(--yellow); font-size: 11px; }
.trust-points span { color: #aaa; font-size: 9px; line-height: 1.55; }

.faq-panel { display: grid; grid-template-columns: .72fr 1.28fr; gap: 36px; padding: 38px; margin-bottom: 24px; border: 1px solid #e5e5df; border-radius: 18px; background: #fff; }
.faq-list { display: grid; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { padding: 17px 26px 17px 0; cursor: pointer; list-style: none; position: relative; font-size: 11px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 2px; top: 14px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #f0f0eb; font-size: 15px; }
.faq-list details[open] summary::after { content: '−'; background: var(--yellow); }
.faq-list p { margin: -5px 36px 18px 0; color: var(--muted); font-size: 10px; line-height: 1.65; }

@media (max-width: 760px) {
  .edit-options { grid-template-columns: 1fr; padding: 14px; }
  .package-options { grid-template-columns: 1fr; }
  .package-options span { min-height: 92px; grid-template-columns: 1fr auto; align-items: center; }
  .package-options small, .package-options em { grid-column: 1; }
  .package-options strong { grid-column: 2; grid-row: 1 / 4; }
  .ai-head { height: 64px; }
  .ai-brand { gap: 0; }
  .ai-brand span { display: none; }
  .ai-head img { width: 118px; height: 48px; }
  .ai-head__actions { gap: 7px; }
  .ai-head__actions a { padding: 8px 10px; font-size: 9px; }
  .ai-hero { grid-template-columns: 1fr; gap: 35px; padding: 42px 18px 104px; }
  .ai-hero h1 { font-size: clamp(43px, 13vw, 58px); }
  .ai-hero p { font-size: 13px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions a { min-height: 45px; padding: 0 11px; font-size: 9px; }
  .hero-trust { gap: 9px 13px; font-size: 8px; }
  .offer { align-items: flex-start; }
  .ai-hero__visual { min-height: 370px; }
  .ai-hero__visual::before { width: 350px; height: 350px; }
  .ai-hero__visual::after { width: 270px; height: 270px; }
  .hero-result-card { width: 82%; }
  .hero-result-card img { aspect-ratio: 1; }
  .hero-result-card figcaption { padding: 12px 14px 14px; }
  .hero-prompt { left: 2px; bottom: 2px; width: 66%; }
  .hero-ready { right: 0; top: 30px; }
  .shell { width: calc(100% - 18px); margin-top: -58px; }
  .flow-strip { grid-template-columns: 1fr; gap: 13px; padding: 18px; border-radius: 15px; }
  .flow-strip i { display: none; }
  .flow-strip > div > span { width: 34px; height: 34px; flex-basis: 34px; }
  .flow-strip small { font-size: 8px; }
  .examples-panel { grid-template-columns: 1fr; padding: 21px; }
  .examples-copy { padding: 0; }
  .examples-copy h2,.trust-copy h2,.faq-panel h2 { font-size: 29px; }
  .example-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 9px; margin: 0 -21px; padding: 0 21px 8px; }
  .example-grid figure { flex: 0 0 78%; scroll-snap-align: center; }
  .example-grid img { min-height: 300px; }
  .brief-panel { padding: 21px; }
  .auth-gate { grid-template-columns: 1fr; }
  .auth-gate ul { margin-bottom: 8px; }
  .trust-panel { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; }
  .trust-points { grid-template-columns: 1fr; }
  .trust-points article { min-height: 105px; }
  .faq-panel { grid-template-columns: 1fr; gap: 12px; padding: 24px 21px; }
  .faq-list summary { font-size: 10px; }
}
