.site, .site * { box-sizing: border-box; }
.site { direction: rtl; font-family: var(--ds-text-font, inherit); color: var(--ds-ink); }
.site :is(h1,h2,h3,p,div,span,a,button) { text-align: right; }

.hero { background: linear-gradient(160deg, #0a1f33 0%, #0e2a47 55%, #11455f 100%); border-radius: 24px; padding: 40px 28px; display: flex; flex-direction: column; gap: 28px; overflow: hidden; }
.hero-text { color: #fff; }
.brand-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; color: #2ec4b6; margin-bottom: 10px; }
.hero-title { font-size: 34px; line-height: 1.15; font-weight: 600; color: #fff !important; margin: 0 0 12px; }
.hero-sub { font-size: 16px; line-height: 1.6; color: #cfe3e0; margin: 0 0 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img { width: 100%; max-width: 420px; border-radius: 20px; display: block; margin: 0 auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-primary { background: #2ec4b6; color: #07231f !important; }
.btn-ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,0.55); }
.btn-outline { border: 1px solid var(--ds-hairline, #eae9ea); color: var(--ds-ink) !important; background: #fff; width: 100%; }

.section { margin-top: 36px; scroll-margin-top: 16px; }
.section-title { font-size: 26px; font-weight: 600; margin: 0 0 6px; }
.section-sub { color: var(--ds-ink-2); font-size: 15px; margin: 0 0 20px; }

.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card { border: 1px solid var(--ds-hairline, #eae9ea); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.card-name { font-size: 19px; font-weight: 600; }
.card-tag { font-size: 13px; color: #2ec4b6; font-weight: 600; }
.card-text { font-size: 14px; line-height: 1.65; color: var(--ds-ink-2); margin: 4px 0 8px; flex: 1; }
.card-from { font-size: 14px; font-weight: 600; margin-bottom: 10px; }

.plan-block { border: 1px solid var(--ds-hairline, #eae9ea); border-radius: 20px; padding: 20px; margin-bottom: 16px; background: #fff; }
.plan-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.plan-name { font-size: 17px; font-weight: 600; }
.plan-tag { font-size: 13px; color: var(--ds-ink-2); }
.plans { display: grid; grid-template-columns: 1fr; gap: 10px; }
.plan { border: 1px solid var(--ds-hairline, #eae9ea); border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; font: inherit; cursor: pointer; min-height: 44px; }
.plan:hover { border-color: #2ec4b6; }
.plan-selected { border: 2px solid #2ec4b6; background: #eef8f6; }
.plan-users { font-size: 14px; color: var(--ds-ink-2); }
.plan-price { font-size: 18px; font-weight: 600; }
.plan-per { font-size: 13px; font-weight: 400; color: var(--ds-ink-2); }

.selection { border: 2px solid #2ec4b6; background: #eef8f6; border-radius: 14px; padding: 16px 18px; margin: 4px 0 16px; }
.selection-line { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.selection-note { font-size: 14px; line-height: 1.6; color: var(--ds-ink-2); }

.note { background: var(--ds-raised, #f4efec); border-radius: 14px; padding: 16px 18px; font-size: 14px; line-height: 1.65; color: var(--ds-ink-2); }

.footer { margin-top: 40px; border-top: 1px solid var(--ds-hairline, #eae9ea); padding-top: 24px; }
.footer-brand { font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.footer p { font-size: 14px; line-height: 1.65; color: var(--ds-ink-2); margin: 0 0 10px; }
.footer-small { font-size: 12px !important; }

@media (min-width: 700px) {
    .hero { flex-direction: row; align-items: center; padding: 48px 44px; }
    .hero-text { flex: 1; }
    .hero-img { max-width: 340px; margin: 0; }
    .hero-title { font-size: 42px; }
    .cards { grid-template-columns: 1fr 1fr; }
    .plans { grid-template-columns: 1fr 1fr 1fr; }
}
