:root {
  color-scheme: light;
  --paper: #f7f7f8;
  --white: #fff;
  --ink: #18191d;
  --muted: #515563;
  --line: #dcdde1;
  --accent: #007e5e;
  --accent-hover: #006b50;
  --accent-light: #e9f8f2;
  --berry: #d93691;
  --red: #ed4c42;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { width: min(90%, 1232px); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 10; padding: 10px 16px; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; width: 105px; height: 62px; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.navigation, .header-actions, .languages { display: flex; align-items: center; }
.navigation { gap: clamp(20px, 3.4vw, 50px); }
.navigation a { text-decoration: none; font-size: 0.93rem; font-weight: 620; }
.navigation a:hover, .footer a:hover { color: var(--accent); }
.header-actions { gap: 16px; }
.languages { gap: 2px; background: var(--paper); border-radius: 8px; border: 1px solid var(--line); padding: 2px; }
.languages a { display: block; padding: 7px 8px; border-radius: 5px; color: var(--muted); text-decoration: none; font-size: 0.72rem; font-weight: 680; }
.languages a[aria-current] { background: var(--white); color: var(--accent); box-shadow: 0 1px 2px #18191d19; }

.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid transparent; border-radius: 8px; font-size: 0.93rem; line-height: 1.25; font-weight: 680; text-decoration: none; text-align: center; }
.button-outline { border-color: var(--line); background: var(--white); color: var(--ink); }
.button-outline:hover { border-color: var(--accent); color: var(--accent); }
.button-accent { background: var(--accent); color: var(--white); }
.button-accent:hover { background: var(--accent-hover); }

.hero { overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: 570px; align-items: center; gap: clamp(8px, 2.6vw, 36px); padding-block: clamp(42px, 6vw, 86px); }
.hero-copy { position: relative; z-index: 1; padding-bottom: 12px; }
.hero h1 { max-width: 11ch; margin: 0; font-size: clamp(3.2rem, 6.7vw, 6.1rem); line-height: 1; letter-spacing: -.073em; font-weight: 780; text-wrap: balance; }
:lang(ru) .hero h1 { max-width: 13ch; font-size: clamp(2.9rem, 5.8vw, 5.35rem); }
.hero p { max-width: 42ch; margin: 24px 0 30px; color: var(--muted); font-size: clamp(1.04rem, 1.65vw, 1.26rem); line-height: 1.58; }
.hero .button { min-height: 50px; padding-inline: 23px; }
.hero-art { position: relative; display: grid; place-items: center; align-self: stretch; isolation: isolate; min-width: 0; }
.hero-art::before { content: ""; position: absolute; inset: -8% -11% 0 -6%; z-index: -1; background-image: radial-gradient(#c6c9d1 1px, transparent 1px); background-size: 17px 17px; mask-image: radial-gradient(ellipse closest-side, black 38%, transparent 99%); }
.hero-art img { width: 111%; max-width: none; aspect-ratio: 1.17; object-fit: contain; margin-top: -5%; }
.platforms { align-self: end; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: -2% 0 0; padding: 0; list-style: none; }
.platforms li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-size: .73rem; font-weight: 650; }
.platforms li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.platform-tiktok::before { background: #17171b; box-shadow: -1px -1px #25f4ee, 1px 1px #fe2c55; }
.platform-instagram::before { background: var(--berry); }
.platform-youtube::before { background: var(--red); }

.section { padding-block: clamp(52px, 8vw, 106px); }
.features { background: var(--white); }
.section-intro { margin-bottom: clamp(25px, 4.6vw, 58px); }
.section h2 { margin: 0; font-size: clamp(2rem, 4.8vw, 4.15rem); line-height: 1.08; letter-spacing: -.058em; font-weight: 750; }
.section-intro p { margin: 13px 0 0; color: var(--muted); font-size: clamp(1rem, 1.42vw, 1.16rem); line-height: 1.6; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 42px 1fr; align-items: start; gap: 18px; padding: 26px clamp(16px, 3.4vw, 46px) 28px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.feature:nth-child(even) { border-left: 1px solid var(--line); padding-left: clamp(16px, 3.4vw, 46px); padding-right: 0; }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; color: var(--accent); background: var(--accent-light); border-radius: 10px; }
.feature-icon svg { width: 22px; height: 22px; }
.feature h3, .plan h3 { margin: 0; font-size: clamp(1.14rem, 1.95vw, 1.48rem); line-height: 1.15; letter-spacing: -.024em; }
.feature p { max-width: 56ch; margin: 8px 0 0; color: var(--muted); line-height: 1.6; }

.pricing { border-block: 1px solid var(--line); }
.plan-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 245px; padding: clamp(20px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: 13px; min-width: 0; background: var(--white); }
.plan-pro { background: var(--accent-light); border-color: #91c7b8; }
.price { display: flex; flex-direction: column; gap: 5px; margin: 5px 0 11px; }
.price strong { font-size: clamp(2.22rem, 4.2vw, 4.1rem); line-height: 1.02; letter-spacing: -.07em; overflow-wrap: anywhere; }
.price span { color: var(--muted); }
.plan-trial .price strong { font-size: clamp(1.85rem, 3.3vw, 3.5rem); }
.plan .button { align-self: flex-start; }
.pricing-note { color: var(--muted); font-size: .89rem; margin: 18px 0 0; }

.footer { background: var(--white); padding-block: 30px 35px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 22px; }
.footer-brand { font-weight: 780; text-decoration: none; }
.footer-email { color: var(--muted); font-size: .88rem; }
.text-button { padding: 3px 0; border: 0; background: transparent; color: var(--muted); font-size: .88rem; text-decoration: underline; }
.footer details { margin-top: 14px; color: var(--muted); font-size: .88rem; }
.footer summary { cursor: pointer; width: fit-content; }
.footer details p { max-width: 78ch; line-height: 1.6; }

.cookie-banner { position: fixed; z-index: 2; right: clamp(10px, 3vw, 30px); bottom: clamp(10px, 3vw, 30px); display: flex; align-items: center; justify-content: space-between; gap: 12px 21px; width: min(670px, calc(100% - 20px)); padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); box-shadow: 0 7px 30px #18191d20; }
.cookie-banner strong { font-size: .95rem; }
.cookie-banner p { margin: 5px 0 0; color: var(--muted); font-size: .83rem; line-height: 1.45; }
.cookie-actions { display: flex; align-items: center; flex: 0 0 auto; gap: 6px; }
.cookie-actions .button { padding-inline: 12px; }

.dialog { position: fixed; width: min(470px, calc(100% - 28px)); max-height: calc(100% - 34px); overflow: auto; padding: 32px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: var(--white); box-shadow: 0 18px 70px #18191d26; }
.dialog::backdrop { background: #18191d7e; }
.dialog h2 { margin: 0 35px 12px 0; font-size: 1.7rem; letter-spacing: -.04em; line-height: 1.12; }
.dialog p { margin: 0 0 17px; color: var(--muted); line-height: 1.55; }
.dialog p strong { color: var(--ink); }
.close-button { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: var(--white); font-size: 1.6rem; line-height: 1; }
.close-button:hover { color: var(--ink); }
.cookie-check { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; cursor: pointer; }
.cookie-check input { width: 18px; height: 18px; accent-color: var(--accent); }

@media (min-width: 801px) and (max-height: 720px) {
  .hero-inner { min-height: min(500px, calc(100svh - 74px)); padding-block: 30px 36px; }
  .hero h1 { font-size: clamp(3.1rem, 9svh, 4.3rem); }
  :lang(ru) .hero h1 { max-width: 16ch; font-size: clamp(3rem, 8.5svh, 4rem); }
  .hero p { margin-block: 16px 22px; }
  .hero-art { align-self: center; gap: 8px; }
  .hero-art img { width: 105%; height: min(56svh, 420px); aspect-ratio: auto; margin-top: 0; }
  .platforms { margin-top: 0; }
}

@media (max-width: 800px) {
  .hero-inner { min-height: 480px; }
  .hero h1 { font-size: clamp(2.8rem, 7.5vw, 4rem); }
  :lang(ru) .hero h1 { font-size: clamp(2.65rem, 6.5vw, 3.55rem); }
  .plan { min-height: 225px; }
}

@media (max-width: 640px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; }
  .brand { width: 75px; height: 53px; }
  .header-actions { gap: 7px; }
  .header-actions .button { padding-inline: 10px; }
  .navigation { grid-column: 1 / -1; grid-row: 2; gap: 25px; border-top: 1px solid var(--line); }
  .navigation a { padding-block: 10px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 46px 30px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1, :lang(ru) .hero h1 { max-width: 16ch; }
  .hero p { margin: 17px 0 23px; }
  .hero-art { width: min(100%, 500px); margin-inline: auto; }
  .hero-art img { width: 100%; margin-top: 0; }
  .platforms { margin-top: -4%; }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .feature, .feature:nth-child(even) { border-left: 0; padding-inline: 0; }
  .plan-list { grid-template-columns: minmax(0, 1fr); }
  .plan { min-height: 0; }
  .plan .button { align-self: stretch; }
  .cookie-banner { flex-wrap: wrap; }
  .cookie-actions { margin-left: auto; }
}
