:root {
  --background: #f8fbff;
  --text: #07142f;
  --muted: #50607f;
  --blue: #245fe8;
  --blue-light: #2686ea;
  --cyan: #1fb3c2;
  --green: #0f9f45;
  --shadow-xs: 0 5px 18px rgba(21, 58, 122, .05);
  --shadow-sm: 0 12px 34px rgba(20, 56, 120, .08);
  --content-width: 1424px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; background: var(--background); }
body {
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(850px 520px at 72% 19%, rgba(68, 135, 255, .13), transparent 65%),
    radial-gradient(620px 460px at 35% 34%, rgba(46, 201, 210, .055), transparent 72%),
    linear-gradient(180deg, #fff 0%, #f7fbff 49%, #fff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
main { flex: 1 0 auto; }

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--text);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }
:focus-visible { outline: 3px solid rgba(47, 164, 255, .44); outline-offset: 4px; border-radius: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -.015em;
  white-space: nowrap;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button .arrow { font-size: 20px; line-height: 1; transform: translateY(-1px); transition: transform .24s var(--ease); }
.button:hover .arrow { transform: translate(4px, -1px); }
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #2457e6 0%, #2870ea 52%, #1d8fd4 100%);
  box-shadow: 0 14px 32px rgba(36, 95, 232, .23), inset 0 1px 0 rgba(255, 255, 255, .30);
}
.button-primary:hover { box-shadow: 0 19px 40px rgba(36, 95, 232, .29), inset 0 1px 0 rgba(255, 255, 255, .32); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(59, 93, 151, .12);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.header-inner {
  width: min(var(--content-width), calc(100% - 96px));
  height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 398px;
  align-items: center;
  gap: 24px;
}
.brand { width: 196px; display: inline-flex; align-items: center; transition: transform .22s var(--ease), opacity .22s var(--ease); }
.brand:hover { transform: translateY(-1px); opacity: .96; }
.brand img { width: 196px; height: auto; display: block; }
.desktop-nav {
  min-width: 0;
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 38px);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.012em;
}
.desktop-nav a,
.header-login { position: relative; color: #0c1731; white-space: nowrap; transition: color .18s var(--ease); }
.desktop-nav a::after,
.header-login::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s var(--ease);
}
.header-login::after { bottom: 2px; }
.desktop-nav a:hover,
.header-login:hover { color: var(--blue); }
.desktop-nav a:hover::after,
.header-login:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; font-size: 16px; font-weight: 650; }
.header-account-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-width: 0; }
.header-login { min-height: 44px; display: inline-flex; align-items: center; font-weight: 650; }
.header-start { order: 2; }
.mobile-menu { display: none; position: relative; z-index: 80; }
.menu-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  border: 1px solid rgba(64, 97, 156, .16);
  border-radius: 13px;
  color: var(--text);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, .95);
  cursor: pointer;
  user-select: none;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease), color .22s var(--ease);
}
.menu-button::-webkit-details-marker { display: none; }
.menu-button:hover { transform: translateY(-1px); border-color: rgba(36, 104, 242, .26); color: var(--blue); box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .96); }
.burger-lines { width: 18px; height: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.burger-lines span { height: 2px; display: block; border-radius: 99px; background: currentColor; transition: transform .22s var(--ease), opacity .22s var(--ease); }
.mobile-menu[open] .burger-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu[open] .burger-lines span:nth-child(2) { opacity: 0; }
.mobile-menu[open] .burger-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(286px, calc(100vw - 28px));
  padding: 9px;
  border: 1px solid rgba(63, 98, 156, .16);
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 70px rgba(20, 56, 120, .16), inset 0 1px 0 rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.mobile-nav a {
  min-height: 46px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  border-radius: 13px;
  color: var(--text);
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -.015em;
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.mobile-nav a:hover { color: var(--blue); background: rgba(36, 104, 242, .07); transform: translateX(2px); }

.pricing-page { flex: 1 0 auto; }
.pricing-hero,
.pricing-section { width: min(var(--content-width), calc(100% - 96px)); margin: 0 auto; }
.pricing-hero { padding: 48px 0 36px; text-align: center; }
.pricing-chips { margin-bottom: 30px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.pricing-chip {
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(36, 104, 242, .20);
  border-radius: 13px;
  color: var(--blue);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 24px rgba(38, 100, 219, .055), inset 0 1px 0 rgba(255, 255, 255, .9);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.01em;
}
.pricing-chip-highlight { color: #168a45; border-color: rgba(15, 159, 69, .16); background: rgba(240, 252, 245, .82); }
.pricing-title {
  max-width: 850px;
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(50px, 5vw, 76px);
  font-weight: 830;
  line-height: .98;
  letter-spacing: -.062em;
}
.pricing-intro { max-width: 850px; margin: 18px auto 0; color: var(--muted); font-size: 17px; font-weight: 540; line-height: 1.58; }
.pricing-section { padding: 18px 0 52px; }
.plans-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 22px; }
.plan-card {
  position: relative;
  min-height: 452px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(63, 98, 156, .15);
  border-radius: 28px;
  background: rgba(255, 255, 255, .80);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, .92);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
}
.plan-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(250px 170px at 86% 0%, rgba(36, 104, 242, .075), transparent 72%); pointer-events: none; }
.plan-card > * { position: relative; z-index: 1; }
.plan-card:hover { transform: translateY(-4px); border-color: rgba(36, 104, 242, .25); background: rgba(255, 255, 255, .94); box-shadow: 0 20px 48px rgba(20, 56, 120, .11), inset 0 1px 0 rgba(255, 255, 255, .95); }
.plan-card-popular { border-color: rgba(36, 95, 232, .34); box-shadow: 0 22px 58px rgba(36, 95, 232, .13), inset 0 1px 0 rgba(255, 255, 255, .94); }
.plan-card-popular::before { background: radial-gradient(270px 190px at 86% 0%, rgba(36, 95, 232, .15), transparent 74%); }
.plan-card-popular::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #245fe8, #2686ea); opacity: .95; }
.plan-topline { min-height: 48px; margin-bottom: 12px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.plan-title { margin: 0; color: var(--text); font-size: 25px; font-weight: 840; line-height: 1.04; letter-spacing: -.045em; }
.plan-subtitle { margin: 6px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; line-height: 1.32; }
.plan-badge { min-height: 26px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(36, 104, 242, .14); border-radius: 99px; color: var(--blue); background: rgba(255, 255, 255, .82); font-size: 11.5px; font-weight: 820; white-space: nowrap; }
.plan-badge-popular { border: 0; color: #fff; background: linear-gradient(135deg, #2457e6, #2686ea); box-shadow: 0 10px 22px rgba(36, 95, 232, .20); }
.plan-badge-discount { color: #15934c; border-color: rgba(15, 159, 69, .15); background: #edf9f0; }
.plan-pricing { margin: 0 0 35px; }
.plan-month-row { margin-bottom: 5px; display: flex; align-items: flex-end; gap: 8px; }
.plan-monthly-price { color: var(--text); font-size: 38px; font-weight: 880; line-height: .94; letter-spacing: -.06em; white-space: nowrap; }
.plan-monthly-period { padding-bottom: 3px; color: var(--muted); font-size: 14px; font-weight: 740; line-height: 1.1; white-space: nowrap; }
.plan-total-price { color: var(--muted); font-size: 14px; font-weight: 760; line-height: 1.35; }
.billing-box { margin: 0 0 14px; padding: 10px 12px; display: grid; gap: 4px; border: 1px solid rgba(63, 98, 156, .10); border-radius: 15px; background: rgba(245, 248, 255, .86); }
.billing-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12.5px; font-weight: 720; line-height: 1.25; }
.billing-row strong { color: var(--text); font-size: 13px; font-weight: 840; text-align: right; }
.features { margin: 0 0 16px; padding: 0; display: grid; gap: 9px; list-style: none; }
.features li { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 9px; color: var(--muted); font-size: 13.2px; font-weight: 650; line-height: 1.35; }
.check { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: rgba(36, 104, 242, .08); font-size: 12px; }
.plan-button { width: 100%; min-height: 48px; margin-top: auto; font-size: 15px; }

.site-footer { margin-top: auto; background: rgba(255, 255, 255, .52); }
.footer-inner {
  width: min(var(--content-width), calc(100% - 96px));
  margin: 0 auto;
  padding: 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.footer-note { min-width: 250px; display: flex; align-items: baseline; gap: 13px; color: #6f7f9b; }
.footer-note p,
.copyright { margin: 0; color: #6f7f9b; font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; }
.footer-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { color: var(--muted); font-size: 13px; font-weight: 650; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer-links a:hover { color: var(--blue); transform: translateY(-1px); }
.socials { display: flex; align-items: center; gap: 10px; }
.social-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(63, 98, 156, .12); border-radius: 12px; color: #31415f; background: rgba(255, 255, 255, .62); }

@media (min-width: 1261px) {
  .header-start { width: 138px; min-width: 138px; min-height: 52px; padding: 0 18px; border-radius: 14px; font-size: 16px; }
  .header-start { gap: 12px; }
}

@media (min-width: 1261px) and (max-width: 1320px) {
  .header-inner { grid-template-columns: 205px minmax(0, 1fr) 388px; gap: 18px; }
  .desktop-nav { gap: clamp(14px, 1.6vw, 22px); }
  .brand,
  .brand img { width: 176px; }
}

@media (max-width: 1360px) {
  .pricing-hero,
  .pricing-section { width: min(100% - 48px, var(--content-width)); }
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-card { min-height: 430px; }
}

@media (max-width: 1260px) {
  .header-inner { width: min(100% - 40px, var(--content-width)); height: 72px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; }
  .brand,
  .brand img { width: 164px; }
  .desktop-nav,
  .header-start { display: none; }
  .header-actions { justify-self: end; gap: 12px; font-size: 15px; }
  .header-account-actions { gap: 8px; }
  .header-login { min-height: 44px; font-size: 15px; }
  .mobile-menu { display: block; }
}

@media (max-width: 900px) {
  .pricing-hero,
  .pricing-section { width: min(100% - 28px, 760px); }
  .pricing-hero { padding-top: 30px; }
  .pricing-title { font-size: clamp(42px, 8.4vw, 60px); line-height: 1.02; }
  .pricing-intro { font-size: 16px; }
  .footer-inner {
    width: min(100% - 28px, 720px);
    padding: 22px 0 26px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .socials { order: 1; }
  .footer-links { order: 2; }
  .footer-note { order: 3; min-width: 0; width: max-content; max-width: 100%; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .site-header { transition: padding-bottom .24s var(--ease); }
  .mobile-menu { position: static; }
  .site-header:has(.mobile-menu[open]) { padding-bottom: 322px; }
  .mobile-nav { position: absolute; top: 82px; right: 14px; left: 14px; z-index: 70; width: auto; padding: 0; display: none; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .mobile-menu[open] .mobile-nav { display: grid; gap: 10px; }
  .mobile-nav a { min-height: 50px; padding: 0 18px; border: 1px solid rgba(63, 98, 156, .16); border-radius: 18px; color: var(--muted); background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, .96); font-size: 17px; font-weight: 760; }
  .mobile-nav a:hover { transform: none; color: var(--blue); background: rgba(248, 251, 255, .98); }
}

@media (max-width: 640px) {
  .pricing-hero { padding-top: 28px; padding-bottom: 28px; }
  .pricing-chips { margin-bottom: 24px; gap: 8px; }
  .pricing-chip { min-height: 34px; padding: 0 12px; font-size: 13.5px; }
  .pricing-title { font-size: clamp(38px, 11.4vw, 50px); }
  .plans-grid { grid-template-columns: 1fr; gap: 16px; }
  .plan-card { min-height: 0; padding: 20px; border-radius: 25px; }
  .plan-topline { min-height: 0; margin-bottom: 12px; }
  .plan-title { font-size: 24px; }
  .plan-subtitle { font-size: 13px; }
  .plan-monthly-price { font-size: 35px; }
  .plan-monthly-period { font-size: 13px; }
  .billing-box { padding: 10px 11px; }
}

@media (max-width: 560px) {
  body { background: linear-gradient(180deg, #fff 0%, #f7fbff 56%, #fff 100%); }
  .header-inner { width: calc(100% - 20px); height: 64px; gap: 8px; }
  .brand,
  .brand img { width: 132px; }
  .header-actions,
  .header-account-actions { gap: 6px; }
  .header-login { min-height: 36px; font-size: 13.5px; line-height: 1; }
  .mobile-menu { margin-right: -4px; }
  .menu-button { width: 38px; min-width: 38px; height: 38px; min-height: 38px; border-radius: 12px; }
  .burger-lines { width: 17px; height: 13px; }
  .mobile-nav { top: 72px; }
  .site-header:has(.mobile-menu[open]) { padding-bottom: 304px; }
  .footer-note { flex-direction: column; align-items: flex-start; gap: 5px; }
  .footer-note p { order: 1; line-height: 1; white-space: normal; }
  .footer-note .copyright { order: 2; }
  .footer-links { gap: 9px 16px; }
}

@media (max-width: 380px) {
  .header-inner { width: calc(100% - 18px); height: 62px; gap: 6px; }
  .brand,
  .brand img { width: 118px; }
  .header-actions,
  .header-account-actions { gap: 5px; }
  .header-login { min-height: 34px; font-size: 13px; }
  .menu-button { width: 36px; min-width: 36px; height: 36px; min-height: 36px; border-radius: 11px; }
  .mobile-menu { margin-right: -5px; }
  .mobile-nav { top: 68px; right: 10px; left: 10px; }
  .site-header:has(.mobile-menu[open]) { padding-bottom: 294px; }
  .pricing-title { font-size: 35px; }
  .pricing-chip { font-size: 12.5px; }
}

@media (max-width: 340px) {
  .brand,
  .brand img { width: 106px; }
  .header-login { min-height: 32px; font-size: 12.5px; }
  .menu-button { width: 34px; min-width: 34px; height: 34px; min-height: 34px; }
  .burger-lines { width: 16px; height: 12px; }
  .mobile-nav { top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms; animation-iteration-count: 1; transition-duration: .001ms; }
}
