.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 90% 86%, #ebe2fd 0, transparent 52%), radial-gradient(ellipse at 10% 0, #fff 0, transparent 66%), #f9f6ff; border-bottom: 1px solid var(--line); }
.hero-inner { min-height: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; padding-block: 75px 85px; }
.hero-copy { position: relative; z-index: 1; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--purple-deep); font-size: .8rem; letter-spacing: .105em; text-transform: uppercase; font-weight: 800; }
.kicker .icon { width: 17px; height: 17px; }
.hero .kicker { padding: 9px 13px; border: 1px solid #e7dcfa; border-radius: 99px; background: #fff9; letter-spacing: .05em; text-transform: none; font-size: .87rem; }
.hero h1 { margin-block: 23px 22px; font-size: clamp(3.6rem, 7.4vw, 7rem); letter-spacing: -.09em; line-height: .96; font-weight: 810; }
.hero h1 span { display: block; color: var(--purple); }
.hero-copy > p { max-width: 440px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-actions .btn { min-height: 53px; }
.hero-figure { position: relative; isolation: isolate; display: grid; place-items: center; padding: 48px 32px; min-height: 425px; }
.hero-figure::before, .hero-figure::after { content: ""; position: absolute; z-index: -1; border-radius: 34px; }
.hero-figure::before { inset: 18px 4px 12px 4px; background: radial-gradient(circle at 80% 20%, #c0a9f5 0, transparent 55%), linear-gradient(130deg, #f1e6ff, #dbcbf9); transform: rotate(-8deg); }
.hero-figure::after { inset: 14px 0; border: 1px solid #aa8ce4a1; transform: rotate(5deg); background-image: radial-gradient(#9c7cdd73 1px, transparent 1px); background-size: 16px 16px; }
.figure-sticker { z-index: 1; position: absolute; right: 6px; top: 20px; display: grid; place-items: center; width: 64px; aspect-ratio: 1; border-radius: 19px; background: #faf5ff; color: var(--purple); border: 1px solid #e1d2f9; transform: rotate(11deg); box-shadow: 0 8px 24px #6f4ab230; }
.figure-sticker .icon { width: 32px; height: 32px; }
.figure-spark { position: absolute; bottom: 21px; left: 4px; color: var(--purple-deep); transform: rotate(-11deg); }
.figure-spark .icon { width: 37px; height: 37px; fill: #fff; stroke-width: 1.25; }
.agenda { width: 100%; max-width: 465px; background: white; border: 1px solid #eee8f7; border-radius: 24px; padding: 23px; box-shadow: 0 28px 55px #4b2d8033; }
.agenda-top { display: flex; align-items: center; gap: 13px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.agenda-top h2 { font-size: clamp(1.02rem, 1.5vw, 1.27rem); letter-spacing: -.045em; line-height: 1.22; margin-bottom: 3px; }
.agenda-top p { color: var(--muted); font-size: .85rem; }
.agenda-list { list-style: none; }
.agenda-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding-block: 13px; }
.agenda-row + .agenda-row { border-top: 1px solid var(--line); }
.agenda-row .icon-box { width: 36px; height: 36px; border-radius: 10px; }
.agenda-row .icon { width: 19px; height: 19px; }
.agenda-row:nth-child(2) .icon-box { background: #e7f6f0; color: #146851; }
.agenda-row:nth-child(3) .icon-box { background: #fcebf1; color: #91354d; }
.agenda-name { display: block; font-size: .93rem; font-weight: 760; }
.agenda-category { display: block; color: var(--muted); margin-top: 2px; font-size: .79rem; }
.badge { padding: 6px 9px; border-radius: 99px; background: var(--soft); color: var(--purple-deep); white-space: nowrap; font-size: .78rem; font-weight: 730; }
.badge-today { background: #fdf1dd; color: var(--amber); }
.badge-later { background: #e7f6f0; color: #146851; }
.section { padding-block: clamp(65px, 8vw, 112px); }
.section-head { max-width: 700px; margin-bottom: 34px; }
.section-head.centered { text-align: center; margin-inline: auto; }
.section-head h2, .niva-copy h2, .closing h2 { margin-top: 10px; font-size: clamp(2.35rem, 4.7vw, 4.5rem); letter-spacing: -.075em; line-height: 1.04; }
.section-head p { margin-top: 13px; color: var(--muted); max-width: 570px; }
.section-head.centered p { margin-inline: auto; }
.three-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lift-card { background: white; border: 1px solid var(--line); border-radius: 21px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.lift-card:hover, .lift-card:focus-within { border-color: #cfc2ef; transform: translateY(-3px); box-shadow: var(--shadow); }
.benefit { min-height: 262px; padding: 24px; overflow: hidden; display: flex; flex-direction: column; }
.benefit h3 { margin-top: 16px; font-size: 1.19rem; letter-spacing: -.037em; }
.benefit p, .profile p, .guide p { color: var(--muted); margin-top: 7px; font-size: .95rem; }
.benefit-art { display: flex; align-items: flex-end; gap: 6px; margin-top: auto; padding-top: 19px; min-height: 61px; }
.benefit-art span { display: inline-flex; align-items: center; min-height: 31px; border: 1px solid #e6dbf7; border-radius: 9px; padding: 5px 8px; background: #faf6ff; color: var(--purple-deep); white-space: nowrap; font-size: .76rem; font-weight: 720; }
.benefit-art span:first-child { background: var(--soft); }
.benefit-art.calendar span { justify-content: center; min-width: 35px; }
.benefit-art.calendar span:first-child { background: var(--purple); color: white; }
.niva-wrap { display: grid; grid-template-columns: .82fr 1fr; min-height: 500px; position: relative; overflow: hidden; border: 1px solid #e7dbfa; border-radius: 33px; background: radial-gradient(ellipse at 10% 80%, #e5d0fc, transparent 66%), #f3ecff; }
.niva-scene { position: relative; min-height: 400px; overflow: hidden; }
.niva-stage { position: absolute; width: min(79%, 394px); height: 83%; left: 11%; bottom: 0; overflow: hidden; border-radius: 190px 190px 38px 38px; background: radial-gradient(ellipse at 20% 65%, #ad77f0, #48229a 84%); box-shadow: 0 0 0 10px #ffffff44, 0 0 0 11px #ffffffe0, 0 24px 55px #6342b23b; }
.niva-stage img { position: absolute; top: 0; left: 0; width: 100%; height: auto; clip-path: polygon(0 0, 98% 0, 89% 45%, 93% 45.5%, 96% 47%, 99% 49.5%, 100% 52%, 97% 55%, 92% 59%, 83% 65.5%, 81% 72%, 74% 90%, 68% 100%, 0 100%); }
.niva-copy { align-self: center; position: relative; padding: 48px clamp(26px, 5vw, 72px) 54px 12px; }
.niva-copy h2 span { display: block; color: var(--purple-deep); }
.niva-copy p { max-width: 430px; margin-block: 17px 22px; color: var(--muted); }
.niva-demo { background: #ffffffc9; padding: 16px 19px; border-radius: 17px; margin-top: 17px; border: 1px solid #e3d7fa; }
.niva-demo p { margin: 0; color: var(--ink); font-size: .94rem; }
.niva-demo p + p { margin-top: 8px; color: var(--muted); }
.wide-band { background: #fff; border-block: 1px solid var(--line); }
.solutions-layout { display: grid; grid-template-columns: 1fr .95fr; gap: 22px; }
.profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; list-style: none; }
.profile { min-height: 137px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #faf9fd; }
.profile h3 { display: flex; align-items: center; gap: 8px; font-size: .99rem; }
.profile .icon { color: var(--purple); width: 20px; height: 20px; }
.profile p { font-size: .88rem; }
.examples { padding: 24px; border-radius: 23px; background: var(--soft); border: 1px solid #e6dcfa; }
.examples h3 { font-size: 1.22rem; letter-spacing: -.04em; margin-bottom: 14px; }
.tabs { display: flex; align-items: stretch; flex-wrap: wrap; gap: 5px; margin-bottom: 20px; }
.tabs button { background: #fff8; border: 1px solid #dcd0f4; border-radius: 9px; padding: 7px 10px; min-height: 40px; color: var(--purple-deep); font-weight: 700; font-size: .82rem; transition: background .2s; }
.tabs button:hover { background: white; }
.tabs button[aria-selected="true"] { color: white; background: var(--purple); border-color: var(--purple); }
.tab-panel { outline-offset: 4px; }
.tab-panel p { color: var(--muted); font-size: .92rem; margin: 12px 0; }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 8px; line-height: 1.44; }
.checklist .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--purple-deep); }
.examples .checklist { background: #fff9; border: 1px solid #fff; padding: 16px; border-radius: 14px; font-size: .93rem; }
.plan { padding: 25px; display: flex; flex-direction: column; align-items: flex-start; }
.plan.primary { border-color: #bcaaf3; background: linear-gradient(155deg, #f3edff, white 78%); }
.plan h3 { font-size: 1.15rem; letter-spacing: -.03em; }
.price { margin-block: 6px 17px; font-size: clamp(1.86rem, 3.2vw, 2.66rem); letter-spacing: -.07em; line-height: 1.22; font-weight: 810; }
.price small { margin-left: 4px; font-size: .87rem; letter-spacing: 0; font-weight: 620; color: var(--muted); }
.plan .checklist { margin-bottom: 24px; font-size: .93rem; }
.plan .btn { margin-top: auto; width: 100%; }
.tools-band { background: #eeebfc; border-block: 1px solid #e7def4; }
.tools-layout, .faq-layout { display: grid; grid-template-columns: .75fr 1fr; gap: 38px; align-items: start; }
.tools-layout .section-head, .faq-layout .section-head { margin-bottom: 0; }
.calculator { padding: 24px; border-radius: 23px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.calculator h3 { font-size: 1.27rem; letter-spacing: -.035em; margin-bottom: 17px; }
.calc-fields { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; }
.calc-field { display: grid; gap: 7px; min-width: 0; }
.calc-field label { font-size: .88rem; font-weight: 750; }
.calc-field input { width: 100%; min-width: 0; height: 49px; padding: 8px 11px; border-radius: 10px; color: var(--ink); border: 1px solid #d7cce8; background: #fbf9ff; }
.calc-result { margin-top: 15px; padding: 12px 14px; border-radius: 12px; display: grid; gap: 3px; background: var(--soft); color: var(--purple-deep); }
.calc-result output { font-size: .96rem; font-weight: 750; }
.calc-result span { font-size: .81rem; }
.guide { display: flex; flex-direction: column; padding: 23px; }
.guide h3 { font-size: 1.18rem; letter-spacing: -.035em; line-height: 1.28; margin-top: 17px; }
.guide .read-button { margin-top: auto; align-self: flex-start; padding: 12px 0 2px; min-height: 44px; border: 0; background: transparent; text-decoration: underline; }
.dialog { width: min(580px, calc(100% - 36px)); border: 1px solid var(--line); color: var(--ink); border-radius: 24px; padding: clamp(24px, 5vw, 40px); box-shadow: var(--shadow); max-height: 85dvh; }
.dialog::backdrop { background: #24183890; }
.dialog h2 { font-size: clamp(1.65rem, 4vw, 2.35rem); line-height: 1.12; letter-spacing: -.05em; }
.dialog p { margin-top: 15px; color: var(--muted); }
.dialog .btn { margin-top: 22px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 15px; background: white; }
.faq-list details[open] { border-color: #d9cdef; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; list-style: none; min-height: 58px; padding: 13px 16px; gap: 13px; font-weight: 730; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-symbol { color: var(--purple-deep); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: var(--soft); flex: none; }
.faq-symbol::before, .faq-symbol::after { content: ""; grid-area: 1 / 1; width: 10px; height: 1.5px; border-radius: 2px; background: currentColor; }
.faq-symbol::after { transform: rotate(90deg); }
.faq-list details[open] .faq-symbol::after { visibility: hidden; }
.faq-list details p { padding: 0 16px 15px; color: var(--muted); font-size: .94rem; }
.closing-section { padding-block: 0 clamp(65px, 8vw, 108px); }
.closing { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #e0d2fa; border-radius: 32px; background: radial-gradient(circle at 50% 5%, #fcf8ff, transparent 62%), #e9defb; padding: clamp(40px, 8vw, 82px) 20px; text-align: center; }
.closing::before, .closing::after { content: ""; position: absolute; z-index: -1; width: 56%; aspect-ratio: 1; border: 1px solid #ad90e4a1; border-radius: 50%; box-shadow: 0 0 0 26px #ffffff40, 0 0 0 27px #ad90e470, 0 0 0 54px #ffffff3a, 0 0 0 55px #ad90e44d; }
.closing::before { right: 79%; top: 16%; }
.closing::after { left: 79%; bottom: 16%; }
.closing h2 { margin-top: 0; }
.closing p { margin-block: 14px 22px; color: var(--muted); }
.site-footer { background: white; border-top: 1px solid var(--line); padding-block: 39px; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 18px 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; align-content: center; justify-content: end; }
.site-footer nav a { color: var(--muted); font-weight: 690; font-size: .89rem; text-underline-offset: 4px; padding-block: 4px; text-decoration: none; }
.site-footer nav a:hover { color: var(--purple-deep); text-decoration: underline; }
.site-footer p { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 15px; color: var(--muted); font-size: .88rem; }
.reveal-in { animation: reveal .52s both cubic-bezier(.18,.75,.4,1); }
@keyframes reveal { from { opacity: .34; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 850px) {
  .hero-inner { gap: 12px; min-height: 570px; }
  .hero-figure { min-height: 385px; padding-inline: 14px; }
  .figure-sticker { right: 0; width: 53px; }
  .agenda { padding: 16px; }
  .agenda-row { gap: 7px; }
  .three-grid { gap: 12px; }
  .benefit, .plan, .guide { padding: 18px; }
  .solutions-layout { gap: 13px; }
  .tools-layout, .faq-layout { gap: 22px; }
  .niva-wrap { min-height: 435px; }
}
@media (max-width: 710px) {
  .hero-inner, .solutions-layout, .tools-layout, .faq-layout { grid-template-columns: 1fr; }
  .hero-inner { gap: 22px; padding-block: 52px 32px; min-height: 0; }
  .hero-figure { margin-inline: auto; width: min(100%, 490px); padding-block: 32px; padding-inline: 24px; min-height: 0; }
  .hero h1 { margin-block: 17px; font-size: clamp(3.35rem, 10vw, 5.3rem); }
  .figure-sticker { top: 5px; width: 46px; }
  .figure-sticker .icon { width: 25px; height: 25px; }
  .figure-spark { bottom: 8px; }
  .three-grid { grid-template-columns: 1fr; }
  .benefit { min-height: 0; }
  .niva-wrap { grid-template-columns: 1fr; }
  .niva-copy { grid-row: 1; padding: 29px 24px 9px; }
  .niva-scene { min-height: clamp(235px, 61vw, 365px); }
  .niva-stage { width: min(61%, 300px); left: 50%; transform: translateX(-50%); }
  .footer-inner { display: flex; flex-direction: column; }
  .site-footer nav { justify-content: start; }
}
@media (max-width: 420px) {
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-figure { padding-inline: 10px; }
  .agenda-row .icon-box { width: 31px; height: 31px; }
  .agenda-row .icon { width: 17px; height: 17px; }
  .badge { font-size: .72rem; padding-inline: 7px; }
  .calculator, .examples { padding: 17px; }
}
