* { box-sizing: border-box; }
:root { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; color: #191b20; background: #fafaf9; --muted: #505966; --line: #d7dbe0; --blue: #164fc3; }
body { margin: 0; }
.wrap { width: min(100% - 40px, 740px); margin: auto; }
header, footer, nav, .section-title, .contact { display: flex; align-items: center; justify-content: space-between; }
header { min-height: 63px; border-bottom: 1px solid var(--line); }
header img { display: block; width: 114px; height: auto; }
nav { gap: 18px; }
a { text-decoration: none; color: inherit; }
a:hover { color: var(--blue); text-decoration: underline; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.intro { padding: clamp(26px, 5vw, 52px) 0 clamp(25px, 4vw, 38px); }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(28px, 6.8vw, 52px); line-height: 1.18; letter-spacing: -.035em; margin-bottom: 14px; }
h2 { font-size: clamp(20px, 4.5vw, 26px); line-height: 1.3; }
p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.section-title { gap: 8px; margin-bottom: 12px; }
.section-title span, .note, small { color: var(--muted); font-size: 13px; }
table { width: 100%; border-spacing: 0; border-collapse: collapse; text-align: left; }
th, td { padding: 14px 6px; text-align: right; }
tr > :first-child { text-align: left; padding-left: 10px; }
tr > :last-child { padding-right: 10px; }
thead { background: #edf0f4; }
thead th { font-size: 15px; padding-block: 8px; }
thead span { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
tbody tr { border-bottom: 1px solid var(--line); }
tbody th, td { font-size: clamp(18px, 4.6vw, 25px); font-weight: 650; font-variant-numeric: tabular-nums; }
.note { margin: 10px 0 0; }
.support { margin: 30px 0 20px; }
.support > p { margin: 7px 0 9px; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 12px 0; min-height: 44px; cursor: pointer; font-size: 15px; }
details p { padding: 0 0 12px; }
.contact { background: #eaf0fd; border-radius: 12px; padding: 16px; gap: 10px; flex-wrap: wrap; }
.contact small, .contact strong { display: block; }
.contact strong { font-size: 20px; letter-spacing: .01em; }
button { min-height: 44px; border: 0; border-radius: 8px; background: var(--blue); color: white; padding: 0 16px; font: inherit; cursor: pointer; }
[role=status]:empty { display: none; }
[role=status] { flex-basis: 100%; font-size: 13px; }
footer { color: var(--muted); margin: 15px 0; font-size: 13px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
::selection { background: #cadcff; }


.home { background: #fff; --blue: #0b5cff; --muted: #59606c; }
.home .wrap { width: min(100% - 40px, 1000px); }
.home header { min-height: 66px; border-bottom-color: #e6e8ec; }
.home header nav a:last-child { background: #13151a; color: white; border-radius: 30px; padding: 0 18px; min-height: 35px; font-size: 13px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 27px; padding: 40px 0 38px; }
.hero-copy h1 { margin: 0 0 16px; font-size: clamp(40px, 4.8vw, 63px); line-height: 1.08; font-weight: 730; letter-spacing: -.035em; }
.hero-copy h1 span { color: #144fd0; }
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); list-style: none; margin: 0 0 24px; padding: 0; }
.benefits li { padding: 0 16px; border-inline-start: 1px solid #dce1ec; }
.benefits li:first-child { padding-inline-start: 0; border: 0; }
.benefits strong { display: block; color: #1647ae; font-size: clamp(23px, 2.5vw, 34px); line-height: 1.25; letter-spacing: -.035em; }
.benefits span { display: block; margin-top: 4px; color: #505966; font-size: 13px; line-height: 1.45; }
.support h3 { font-size: 18px; margin: 18px 0 4px; }
.hero figure { margin: 0; }
.hero figure img { display: block; width: 100%; height: auto; border: 1px solid #d8dbe1; border-radius: 13px; box-shadow: 0 12px 28px -16px #4d576f; }
.home .pricing { border-top: 1px solid #e0e4eb; padding-top: 22px; }
.home .section-title { margin-bottom: 13px; }
.plans { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.plan { padding: clamp(15px,2.5vw,27px); border: 1px solid #dce0e7; border-radius: 16px; background: #f9fafc; color: #151821; }
.plan.dark { color: white; background: #17191f; border-color: #17191f; }
.plan-title { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.plan-title h3 { margin: 0; font-size: clamp(23px,3vw,34px); letter-spacing: -.04em; }
.plan-title span, .plan .spec, .upgrade span, .plan small { color: #565e6c; font-size: 13px; }
.plan.dark .plan-title span, .plan.dark .spec, .plan.dark .upgrade span, .plan.dark small { color: #c7cbd3; }
.plan .spec { margin-top: 10px; }
.plan .primary-price { color: inherit; line-height: 1.25; white-space: nowrap; }
.primary-price strong { font-size: clamp(27px, 3.6vw, 43px); letter-spacing: -.045em; }
.plan small { margin-left: 3px; font-weight: 450; }
.upgrade { margin-top: 13px; padding-top: 10px; border-top: 1px solid #d5d9e0; }
.dark .upgrade { border-color: #414650; }
.upgrade span,.upgrade b { display: block; line-height: 1.45; }
.upgrade b { font-size: 18px; }
.plan a { display: grid; place-items: center; min-height: 42px; margin-top: 15px; color: #101520; border: 1px solid #c2c9d4; border-radius: 8px; font-weight: 600; font-size: 14px; background: white; }
.dark a { background: #1059ec; border-color: #1059ec; color: white; }
.home .support { margin-top: 30px; }
.home .contact { border: 1px solid #cfdcf6; }
@media (max-width: 650px) {
 .home .wrap { width: calc(100% - 32px); }
 .home header { min-height: 54px; }
 .home header img { width: 99px; }
 .hero { position: relative; display: block; padding: 25px 0 15px; overflow: hidden; }
 .hero-copy { position: relative; z-index: 1; }
 .hero-copy h1 { font-size: clamp(31px, 8.2vw, 47px); margin: 0 0 12px; }
 .benefits { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 16px; margin: 4px 0 18px; }
 .benefits li { padding: 0 0 0 12px; }
 .benefits li:nth-child(odd) { padding: 0 10px 0 0; border: 0; }
 .benefits strong { font-size: clamp(24px,7.2vw,34px); }
 .benefits span { font-size: 14px; }
 .hero { min-height: 124px; }

 .hero figure { position: absolute; top: 28px; right: -12px; width: 39%; transform: rotate(-4deg); pointer-events: none; }
 .hero figure img { border-radius: 6px; }
 .home .pricing { padding-top: 16px; }
 .plans { gap: 9px; }
 .plan { padding: 13px 11px; border-radius: 13px; }
 .plan-title { gap: 6px; }
 .plan-title span,.plan small { font-size: 11px; }
 .plan .spec,.upgrade span { font-size: 12px; }
 .home:lang(en) .hero figure { position: static; transform: none; width: 100%; max-width: 160px; margin-top: 7px; }
}
@media (max-width: 355px) { .hero figure { width: 31%; } .plan { padding-inline: 9px; } .primary-price strong { font-size: 25px; } }

.wide-link { display: none; }
@media (min-width: 960px) {
  .home .wrap { width: min(calc(100% - 96px), 1160px); }
  header .wide-link { display: inline-flex; }
  .home header nav { gap: 28px; }
  .home main { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 62px); align-items: start; }
  .home .hero { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: 1fr; gap: 20px; padding: 44px 0 26px; }
  .home .hero h1 { font-size: clamp(42px, 4.1vw, 62px); margin: 0; }
  .home .hero figure { max-width: 455px; }
  .home .benefits { grid-column: 2; grid-row: 1; align-self: start; grid-template-columns: repeat(2, minmax(0,1fr)); margin: 44px 0 0; gap: 12px 20px; }
  .home .benefits li { padding: 0; border: 0; }
  .home .benefits strong { font-size: clamp(23px, 2.1vw, 31px); }
  .home .pricing { grid-column: 2; grid-row: 1; align-self: end; margin: 208px 0 25px; padding-top: 15px; }
  .home:lang(en) .pricing { margin-top: 255px; }
  .home .plan { padding: clamp(14px,1.25vw,22px); }
  .home .primary-price strong { font-size: clamp(29px,2.6vw,39px); }
  .home .support { grid-column: 1; border-top: 1px solid var(--line); margin: 12px 0 30px; padding-top: 23px; }
  .home .contact { grid-column: 2; align-self: center; margin: 18px 0; padding: 23px; }
  .home footer { border-top: 1px solid var(--line); }
}
