/* Shyba — головна. Палітра: папір + чорнило, один акцент — синій */
:root {
  --paper: #EEEFEA;
  --ink: #16181D;
  --blue: #3457D5;
  --blue-d: #2643B0;
  --text-2: #4D525D;
  --text-3: #5A5F6B;
  --on-dark-2: #B9BCC4;
  --line: #D3D5CE;
  --white: #FFFFFF;
  --head: "Unbounded", system-ui, sans-serif;
  --body: "Golos Text", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; touch-action: manipulation; -webkit-tap-highlight-color: rgba(52, 87, 213, 0.12); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--head); font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-weight: 700; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; }
a { color: var(--ink); }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 84px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn-lg { min-height: 58px; padding: 16px 28px; font-size: 18px; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-d); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #2B2E36; color: var(--white); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.link-strong { font-weight: 600; min-height: 48px; display: inline-flex; align-items: center; padding: 0 8px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--blue); color: var(--white); font-family: var(--body); letter-spacing: 0; vertical-align: middle; }
.tag-light { background: var(--white); color: var(--ink); }

/* шапка */
.head { position: sticky; top: 0; z-index: 20; background: rgba(238, 239, 234, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { display: inline-flex; align-items: flex-start; padding-top: 12px; text-decoration: none; color: var(--ink); }
.logo span { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 500; font-size: 30px; line-height: 1; }
.logo svg { margin: -14px 0 0 -2px; flex: none; }
.logo:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; }
.m-actions { display: none; align-items: center; gap: 2px; }
.m-login { min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px; font-weight: 600; font-size: 15px; text-decoration: none; }
.menu summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); border-radius: 12px; }
.menu summary::-webkit-details-marker { display: none; }
.menu .i-close, .menu[open] .i-open { display: none; }
.menu[open] .i-close { display: block; }
.menu-panel { position: fixed; left: 0; right: 0; top: 64px; bottom: 0; background: var(--paper); padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); }
.menu-panel a:not(.btn) { min-height: 56px; display: flex; align-items: center; font-size: 19px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-panel .btn { margin-top: 20px; min-height: 56px; }

/* перший екран */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 40px; padding-bottom: 96px; }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(28px, 4.4vw, 54px); line-height: 1.06; overflow-wrap: break-word; }
.lede { font-size: 20px; color: var(--text-2); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border: 1px solid #CFD1CA; border-radius: 999px; font-size: 14px; color: var(--text-2); }
.hero-art { flex: 1 1 440px; min-width: 0; position: relative; height: 600px; }
.phone { position: absolute; left: 30px; top: 0; width: 290px; height: 590px; border-radius: 44px; background: var(--ink); padding: 12px; }
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.ph-img { height: 290px; background: #E3E4DE; display: flex; align-items: center; justify-content: center; }
.ph-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.ph-body > b { font-size: 18px; line-height: 1.25; }
.ph-price { display: flex; align-items: baseline; gap: 8px; }
.ph-price b { font-size: 20px; }
.ph-price s { font-size: 14px; color: #7A7F8A; }
.ph-select { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--text-2); }
.ph-btn { background: var(--ink); color: var(--white); border-radius: 10px; padding: 12px; text-align: center; font-weight: 600; font-size: 15px; }
.ticket { position: absolute; background: var(--white); border-radius: 14px; padding: 16px 18px; box-shadow: 0 18px 40px rgba(22, 24, 29, 0.14); display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.ticket b { font-size: 16px; }
.t1 { right: 0; top: 140px; width: 260px; transform: rotate(3deg); }
.t2 { right: 24px; top: 370px; width: 230px; transform: rotate(-4deg); }
.t-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-3); }
.t-addr { color: var(--text-2); }
.t-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed #C9CBC3; padding-top: 10px; margin-top: 4px; }

/* темні смуги */
.dark { background: var(--ink); color: #F4F5F0; }
.dark a { color: var(--white); }
.shi { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 44px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sec-head h2 { max-width: 15em; }
.sec-head p { max-width: 28em; color: var(--on-dark-2); }
.shi-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.shi-steps li { border-top: 1px solid #2E3139; padding-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.shi-steps svg { color: var(--white); margin-bottom: 6px; }
.shi-steps b { font-size: 19px; }
.shi-steps span { color: var(--on-dark-2); }
.soon { color: var(--on-dark-2); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.soon a { font-weight: 600; }

/* кроки */
.section { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 44px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.steps li { padding: 28px 28px 0; border-left: 1px solid #C9CBC3; display: flex; flex-direction: column; gap: 10px; }
.steps li:first-child { padding-left: 0; border-left: 0; }
.steps .num { font-family: var(--head); font-weight: 800; font-size: 56px; line-height: 1; color: var(--blue); }
.steps b { font-size: 22px; }
.steps span:not(.num) { color: var(--text-2); }

/* можливості */
.white { background: var(--white); }
.feats { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 64px; }
.feats h2 { flex: 1 1 320px; font-size: clamp(28px, 3.6vw, 40px); }
.feat-list { flex: 2 1 600px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; row-gap: 32px; }
.feat { border-top: 1px solid var(--line); padding-top: 16px; }
.feat summary { list-style: none; font-size: 19px; font-weight: 700; cursor: default; }
.feat summary::-webkit-details-marker { display: none; }
.feat p { color: var(--text-2); font-size: 16px; margin-top: 6px; }

/* тарифи */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.plan { background: var(--white); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.plan-name { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.plan-price { font-family: var(--head); font-weight: 800; font-size: 56px; line-height: 1; }
.plan-price small { font-family: var(--body); font-weight: 500; font-size: 18px; color: var(--text-3); }
.plan ul { margin: 0; padding-left: 20px; color: var(--text-2); display: flex; flex-direction: column; gap: 4px; flex: 1; }
.plan .btn { align-self: flex-start; }
.plan-pro { background: var(--ink); color: #F4F5F0; }
.plan-pro .plan-price small, .plan-pro ul { color: #C9CCD3; }

/* фінал і підвал */
.final { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.final > div { flex: 1 1 520px; display: flex; flex-direction: column; gap: 14px; }
.final h2 { font-size: clamp(26px, 3.4vw, 40px); }
.final p { color: var(--on-dark-2); max-width: 32em; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 28px; padding-bottom: 28px; font-size: 15px; color: var(--text-3); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot a { color: var(--text-3); min-height: 44px; display: inline-flex; align-items: center; }

.sticky-cta { display: none; }

/* телефон */
@media (max-width: 860px) {
  .nav { display: none; }
  .m-actions { display: flex; }
  .head-in { min-height: 64px; }
  .head { border-bottom-color: #D9DAD4; }
  .logo span { font-size: 26px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .hero { padding-top: 24px; padding-bottom: 56px; gap: 28px; }
  .hero-text { gap: 18px; flex-basis: 100%; }
  .hero h1 { font-size: 28px; }
  .lede { font-size: 17px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-cta .link-strong { align-self: center; }
  .hero-art { flex-basis: 100%; height: 450px; order: 2; }
  .hero .chips { order: 3; }
  .phone { left: 4px; width: 224px; height: 440px; border-radius: 34px; padding: 9px; }
  .phone-screen { border-radius: 26px; }
  .ph-img { height: 200px; }
  .ph-img svg { width: 110px; height: 110px; }
  .ph-body { padding: 12px; gap: 7px; }
  .ph-body > b { font-size: 14px; }
  .ph-price b { font-size: 16px; }
  .ph-select { font-size: 11px; padding: 7px 9px; }
  .ph-btn { font-size: 12px; padding: 9px; }
  .t1 { width: 200px; top: 220px; right: 0; padding: 14px; font-size: 12px; }
  .t1 b { font-size: 14px; }
  .t2 { display: none; }
  .shi { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
  .shi-steps { grid-template-columns: 1fr; gap: 0; }
  .shi-steps li { padding: 18px 0; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 2px; }
  .shi-steps svg { grid-row: span 2; margin: 0; }
  .section { padding-top: 56px; padding-bottom: 56px; gap: 20px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:first-child { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; }
  .steps li:first-child { border-top: 0; }
  .steps .num { font-size: 30px; grid-row: span 2; }
  .steps b { font-size: 18px; }
  .feats { padding-top: 56px; padding-bottom: 56px; gap: 20px; }
  .feat-list { grid-template-columns: 1fr; row-gap: 0; border-bottom: 1px solid var(--line); }
  .feat { padding-top: 0; }
  .feat summary { cursor: pointer; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 17px; }
  .feat summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .15s; flex: none; margin-right: 4px; }
  .feat[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
  .feat p { margin: 0 0 16px; font-size: 15px; }
  .plans { grid-template-columns: 1fr; gap: 16px; }
  .plan-pro { order: -1; }
  .plan { padding: 24px; border-radius: 22px; gap: 12px; }
  .plan-price { font-size: 40px; }
  .plan .btn { align-self: stretch; }
  .final { padding-top: 48px; padding-bottom: 48px; gap: 20px; }
  .final .btn { width: 100%; }
  .btn-lg { font-size: 17px; padding: 14px 20px; }
  .foot-in { flex-direction: column; padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .foot nav { flex-direction: column; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(238, 239, 234, 0.96); border-top: 1px solid #D9DAD4; transform: translateY(110%); transition: transform .2s; }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta, .btn, .feat summary::after { transition: none; } }
