:root {
  color-scheme: light;
  --navy: #102a36;
  --teal: #20b6a4;
  --teal-ink: #08796d;
  --teal-deep: #076659;
  --mint: #b7e6d9;
  --ice: #e6f5f0;
  --paper: #f4f7f6;
  --white: #fff;
  --body: #3b5358;
  --line: #dce6e5;
  --heading: "Manrope", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;
  --shell: 1180px;
}

:root[lang="ar-EG"] {
  --heading: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  --text: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 102px; }
body { margin: 0; background: var(--paper); color: var(--navy); font: 400 1rem/1.65 var(--text); }
body:has(dialog[open]) { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font: 800 1rem/1.15 var(--heading); }
:lang(ar-EG) h1, :lang(ar-EG) h2, :lang(ar-EG) h3 { font-weight: 700; line-height: 1.28; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 4px; }
:where(section) { scroll-margin-top: 10px; }

.shell { max-width: var(--shell); width: calc(100% - 96px); margin-inline: auto; }
.icon { display: block; width: 22px; height: 22px; flex: none; }
.bridge-mark { display: block; width: 45px; height: auto; flex: none; }

.skip-link {
  position: fixed; z-index: 20; inset-block-start: .65rem; inset-inline-start: .65rem;
  padding: .75rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: .5rem;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; z-index: 5; inset-block-start: 0;
  background: color-mix(in srgb, var(--white) 94%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 74px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; gap: 1.25rem;
}
.header-inner .brand { justify-self: start; }
.brand { display: inline-flex; direction: ltr; align-items: center; gap: .52rem; flex: none; }
.wordmark { color: var(--navy); font: 800 .97rem/1 "Manrope", system-ui, sans-serif; letter-spacing: -.055em; }
.wordmark span { color: #058c7f; }
.main-nav { display: flex; align-items: center; gap: .35rem; }
.main-nav a, .site-footer nav a { color: var(--body); font-size: .9rem; font-weight: 600; transition: color .18s ease; }
.main-nav a { display: inline-flex; align-items: center; min-height: 42px; padding: .4rem .8rem; border-radius: 8px; }
.main-nav a[aria-current] { background: var(--ice); }
.main-nav .icon, .mobile-nav { display: none; }
.main-nav a:hover, .main-nav a[aria-current], .site-footer nav a:hover { color: var(--teal-deep); }
.language { display: inline-flex; justify-self: end; align-items: center; gap: .35rem; color: var(--body); font-size: .88rem; font-weight: 650; white-space: nowrap; }
.language:hover { color: var(--teal-deep); }
.language .icon { width: 18px; height: 18px; }
.language[lang="ar"] span { font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif; }

.button {
  min-height: 51px; display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 1.4rem; border-radius: .65rem; border: 1px solid transparent;
  background: var(--teal-deep); color: var(--white);
  font-size: .93rem; line-height: 1.35; font-weight: 700; text-align: center;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.button:hover { background: #08564d; box-shadow: 0 7px 18px #0d514b25; transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button:disabled { cursor: wait; opacity: .7; transform: none; box-shadow: none; }
.button-quiet, .button-outline { color: var(--teal-deep); background: var(--white); border-color: #c7ddd8; }
.button-quiet:hover, .button-outline:hover { background: var(--ice); border-color: #a5d4ca; }

.hero {
  position: relative; isolation: isolate; overflow: clip;
  background: radial-gradient(ellipse at 50% 94%, #d8f2e9 0, transparent 67%), #f8fbfa;
  border-bottom: 1px solid var(--line);
}
.hero-watermark {
  position: absolute; z-index: -1; left: 50%; inset-block-start: clamp(3rem, 7vw, 6rem);
  width: clamp(38rem, 88vw, 92rem); transform: translateX(-50%);
  opacity: .3; pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 47%, #0001 9%, #0003 34%, #000 72%);
}
.hero-watermark .bridge-mark { width: 100%; overflow: visible; }
.hero-watermark path { fill-opacity: .38; stroke: currentColor; stroke-width: .15; stroke-opacity: .52; }
.hero-shell { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 5.2vw, 4.8rem); }
.hero-copy { max-width: 55rem; margin-inline: auto; text-align: center; }
.eyebrow {
  display: flex; align-items: center; gap: .65rem; color: var(--teal-deep);
  font-weight: 700; font-size: .89rem; letter-spacing: .035em;
}
:root[dir="rtl"] .eyebrow { letter-spacing: 0; }
.eyebrow-line { width: 24px; height: 2px; border-radius: 1px; background: var(--teal); }
.hero-eyebrow { justify-content: center; }
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; inline-size: 17px; block-size: 1px; background: #81b9ad;
}
.hero h1 {
  font-size: clamp(2.8rem, 6.2vw, 5.2rem); letter-spacing: -.072em;
  line-height: 1.1; margin-block: .6rem .85rem; text-wrap: balance;
}
:root[dir="rtl"] .hero h1 { font-size: clamp(2.6rem, 5.75vw, 5rem); letter-spacing: 0; line-height: 1.25; }
.hero h1 em { color: var(--teal-ink); font-style: normal; }
.hero-intro { max-width: 39rem; margin-inline: auto; color: var(--body); font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.75; text-wrap: pretty; }
.hero-actions { margin-block-start: 1.55rem; display: flex; justify-content: center; flex-wrap: wrap; gap: .65rem; }

.demo-stage {
  position: relative; isolation: isolate; max-width: 65rem;
  margin: clamp(1.75rem, 4vw, 3rem) auto 0;
}
.demo-stage::before, .demo-stage::after {
  content: ""; position: absolute; z-index: -1; inset-inline: -15%; inset-block-start: 32%;
  block-size: 75%; border: 1px solid #a7dace; border-radius: 50%; pointer-events: none;
}
.demo-stage::before { transform: rotate(-10deg); }
.demo-stage::after { transform: rotate(9deg); border-color: #c0e3da; }
.demo-frame {
  background: var(--white); border: 1px solid #c4dfd9; border-radius: 20px;
  overflow: hidden; box-shadow: 0 22px 64px #102a361c, 0 3px 9px #102a3609;
}
.demo-bar {
  min-height: 55px; display: flex; justify-content: space-between; align-items: center; gap: .75rem;
  padding: .55rem 1.15rem; border-bottom: 1px solid #e6eeec;
}
.demo-brand { display: inline-flex; align-items: center; gap: .45rem; font: 800 .86rem/1 "Manrope", sans-serif; white-space: nowrap; }
.demo-brand .bridge-mark { width: 31px; }
.demo-bar h2 { color: var(--body); font: 600 .87rem/1.4 var(--text); }
:lang(ar-EG) .demo-bar h2 { font-weight: 600; }
.demo-tabs {
  display: flex; align-items: center; justify-content: center; gap: .35rem;
  padding: .55rem .9rem; border-bottom: 1px solid #e6eeec;
}
.demo-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 42px; padding: .4rem .9rem; border-radius: 9px; border: 1px solid transparent;
  background: var(--white); color: var(--body); font-size: .9rem; font-weight: 650;
  line-height: 1.25; text-align: center; transition: background .18s ease, border-color .18s ease;
}
.demo-tab .icon { width: 18px; height: 18px; }
.demo-tab:hover { background: #f0f8f5; }
.demo-tab[aria-selected="true"] { color: var(--teal-deep); background: var(--ice); border-color: #c4e8df; }
.demo-tab:focus-visible { outline-offset: 1px; }
.demo-panel {
  display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: .8rem; padding: .85rem; background: #f6fbf9;
}
.demo-panel:focus-visible { outline-offset: -3px; }
.demo-agenda, .demo-journey { min-width: 0; border: 1px solid #dfebe8; border-radius: 12px; padding: .9rem 1rem; }
.demo-agenda { background: var(--white); }
.demo-journey { background: #e8f6f0; border-color: #d0e8e0; }
.demo-panel h3 { font-size: 1.03rem; margin-block-end: .65rem; }
.demo-item-value { font: 650 .8rem/1.3 "Inter", var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo-appointment {
  display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) auto; align-items: center;
  gap: .4rem; min-height: 39px; padding: .3rem .45rem; border-radius: 7px;
  font-size: .89rem; color: var(--body);
}
.demo-appointment-tracked { background: #f0f8f5; color: var(--navy); font-weight: 650; }
.demo-status { padding: .1rem .45rem; border-radius: 5px; font-size: .79rem; font-weight: 650; text-align: center; }
.demo-status-neutral { color: #46616f; background: #eaf0f3; }
.demo-status-done { color: var(--teal-deep); background: #def0e8; }
.demo-status-expense { color: #795218; background: #fbf1df; }
.demo-timeline {
  display: grid; gap: .53rem; margin: 0; padding: .18rem 0;
  list-style: none; font-size: .9rem; color: var(--body);
}
.demo-timeline li { position: relative; display: flex; align-items: center; gap: .55rem; }
.demo-timeline li:not(:last-child)::after {
  content: ""; position: absolute; inset-inline-start: 9px; inset-block-start: calc(50% + 9px);
  width: 1px; height: calc(100% - 9px); background: #a1cdbf;
}
.demo-node {
  display: grid; place-items: center; width: 19px; height: 19px; flex: none; z-index: 1;
  border: 1px solid #97c6b9; border-radius: 50%; background: #f7fcfa;
}
.demo-node-reached { color: var(--white); border-color: var(--teal-ink); background: var(--teal-ink); }
.demo-node .icon { width: 12px; height: 12px; }
.demo-timeline li[aria-current="step"] { color: var(--teal-deep); font-weight: 700; }
.demo-timeline li[aria-current="step"] .demo-node { box-shadow: inset 0 0 0 4px #e8f6f0; }

.section { padding-block: clamp(3.25rem, 7vw, 6.25rem); }
.about { background: var(--white); }
.about-lead { max-width: 42rem; margin-block-end: clamp(1.35rem, 3vw, 2.4rem); }
.about-hook {
  margin-block-start: .65rem; color: var(--teal-deep);
  font: 700 clamp(1.18rem, 2vw, 1.55rem)/1.45 var(--heading);
}
.about-intro { color: var(--body); margin-block-start: .7rem; }
.section h2, .contact-copy h1 { font-size: clamp(2.05rem, 3.45vw, 3.45rem); letter-spacing: -.05em; margin-block-start: .45rem; }
:root[dir="rtl"] .section h2, :root[dir="rtl"] .contact-copy h1 { letter-spacing: 0; }
.plans-lead > p:last-child { color: var(--body); max-width: 36rem; }
.about-platform { border-block-start: 1px solid var(--line); padding-block-start: clamp(1.1rem, 2.5vw, 1.65rem); }
.about-platform h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-block-end: .8rem; }
.features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.feature {
  border: 1px solid var(--line); border-radius: 16px; background: var(--white);
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
}
.feature { background: #fbfdfc; }
.feature-icon, .plan-icon, .contact-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  color: var(--teal-deep); background: var(--ice); flex: none;
}
.feature h4 { font: 800 1.15rem/1.25 var(--heading); margin-block: 1rem .5rem; }
:lang(ar-EG) .feature h4 { font-weight: 700; }
.feature p { color: var(--body); font-size: .98rem; }

.finance {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 4rem); margin-block-start: clamp(1.4rem, 3vw, 2.4rem);
  padding: clamp(1.25rem, 3.4vw, 2.6rem); border: 1px solid #d5e8e2;
  border-radius: 16px; background: linear-gradient(125deg, #f2faf7, #e9f6f1);
}
.finance h3 { font-size: clamp(1.5rem, 2.75vw, 2.5rem); letter-spacing: -.035em; text-wrap: balance; }
:root[dir="rtl"] .finance h3 { letter-spacing: 0; }
.finance p, .finance dd { color: var(--body); }
.finance p { margin-block-start: .65rem; }
.finance dl, .finance dd { margin: 0; }
.finance dl > div + div { border-block-start: 1px solid #d1e4df; margin-block-start: .65rem; padding-block-start: .65rem; }
.finance dt { color: var(--teal-deep); font-weight: 700; }

.pricing {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, #eef8f4 0%, var(--paper) 76%);
}
.plans-lead { text-align: center; margin-block-end: clamp(1.7rem, 4vw, 2.75rem); }
.plans-lead .eyebrow { justify-content: center; }
.plans-lead > p:last-child { margin: .8rem auto 0; }
.plan-help {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: .85rem; margin-block-end: 1.1rem; padding: clamp(1rem, 2.1vw, 1.4rem);
  background: #e3f5ed; border: 1px solid #c9e5da; border-radius: 16px;
}
.plan-help .plan-icon { background: var(--white); }
.plan-help h3 { font-size: 1.12rem; margin-block-end: .2rem; }
.plan-help p { color: var(--body); font-size: .93rem; }
.plan-help .button { min-height: 45px; }
.plan-families { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.plan-family {
  display: flex; flex-direction: column; min-width: 0; padding: .8rem;
  border: 1px solid #d7e8e1; border-radius: 18px; background: #f7fbf9;
}
.plan-family-heading {
  display: flex; align-items: center; gap: .55rem; padding: .15rem .2rem .8rem;
  color: var(--teal-deep);
}
.plan-family-heading h3 { font-size: 1rem; }
.plan-family-heading .icon { width: 18px; height: 18px; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; flex: 1; }
.plan {
  display: flex; flex-direction: column; min-width: 0; padding: clamp(.95rem, 1.75vw, 1.35rem);
  background: var(--white); border: 1px solid #d9e6e2; border-radius: 13px;
  box-shadow: 0 5px 14px #102a3608; transition: border-color .2s ease, box-shadow .2s ease;
}
.plan-pro { background: linear-gradient(180deg, #eaf8f2 0, var(--white) 66%); border-color: #a8d8ca; }
.plan:hover, .plan:focus-within { border-color: #78c5b8; box-shadow: 0 12px 30px #102a3611; }
.plan-tier {
  align-self: flex-start; padding: .2rem .47rem; border-radius: 5px;
  background: #edf4f1; color: #3b5d55; font-size: .8rem; font-weight: 700; line-height: 1.4;
}
.plan-pro .plan-tier { background: #d5f0e6; color: var(--teal-deep); }
.plan h4 {
  margin-block: .65rem .35rem; font: 800 clamp(1.45rem, 2.3vw, 1.92rem)/1.12 "Manrope", sans-serif;
  letter-spacing: -.045em;
}
.plan-description { min-block-size: 3.15em; margin-block-end: .85rem; color: var(--body); font-size: .94rem; line-height: 1.55; }
.plan-device {
  display: flex; align-items: center; gap: .45rem; min-height: 41px;
  padding: .46rem .58rem; border: 1px solid #dce9e5; border-radius: 8px;
  background: #f3f9f6; color: var(--teal-deep); font-size: .88rem; font-weight: 700; line-height: 1.35;
}
.plan-device .icon { width: 18px; height: 18px; }
.plan-benefits { display: grid; gap: .46rem; margin-block: .85rem 1rem; }
.plan-benefits li { display: flex; align-items: start; gap: .32rem; color: var(--body); font-size: .88rem; line-height: 1.45; }
.plan-benefits .icon, .detail-features .icon { width: 16px; height: 16px; margin-block-start: .12em; color: var(--teal-ink); }
.plan .button { width: 100%; margin-block-start: auto; min-height: 45px; }

.site-footer { background: var(--white); }
.footer-inner { padding-block: 2rem 1.35rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem; }
.footer-inner p { color: var(--body); margin-block-start: .32rem; font-size: .9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; align-items: center; padding-block-start: .5rem; }
.footer-end { border-top: 1px solid var(--line); padding-block: 1rem; color: var(--body); }
.footer-end small { font-size: .82rem; }

.contact-section {
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 52% 5%, #e0f4ec 0, transparent 54%), var(--paper);
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(2rem, 7vw, 6rem); padding-block: clamp(3.25rem, 8vw, 7rem); }
.contact-copy { padding-block-start: clamp(0rem, 2.8vw, 2.5rem); }
.contact-copy h1 { font-size: clamp(2.8rem, 4.6vw, 4.45rem); }
.contact-copy > p:not(.eyebrow) { color: var(--body); max-width: 29rem; margin-block: 1rem 1.6rem; font-size: 1.1rem; }
.contact-panel { border: 1px solid var(--line); background: var(--white); border-radius: 22px; padding: clamp(1.2rem, 3.3vw, 2.1rem); box-shadow: 0 14px 38px #102a3609; }
.contact-panel h2 { margin-block-end: .8rem; font-size: 1.3rem; }
.contact-channels li + li { border-top: 1px solid var(--line); }
.channel-row { display: flex; align-items: center; gap: .8rem; padding-block: .65rem; min-height: 65px; }
.channel-row strong, .contact-value { display: block; }
.channel-row strong { font-size: .96rem; }
a.channel-row:hover strong { color: var(--teal-deep); text-decoration: underline; }
.contact-icon { width: 40px; height: 40px; }
.contact-icon .icon { width: 20px; height: 20px; }
.contact-value { font-size: .87rem; color: var(--body); }

.plan-dialog {
  width: min(39rem, calc(100% - 26px)); max-height: calc(100dvh - 28px);
  padding: 0; border: 1px solid var(--line); border-radius: 20px;
  background: var(--white); color: var(--navy);
  box-shadow: 0 26px 84px #102a364a; overscroll-behavior: contain;
}
.plan-dialog::backdrop { background: #102a3677; backdrop-filter: blur(4px); }
.plan-dialog[open] { animation: dialog-in .23s cubic-bezier(.2,.75,.25,1) both; }
.dialog-inner { position: relative; padding: clamp(1.3rem, 4vw, 2.1rem); }
.dialog-close {
  position: absolute; inset-block-start: .8rem; inset-inline-end: .8rem; display: grid; place-items: center;
  width: 40px; height: 40px; border: 0; border-radius: 10px; color: var(--navy); background: var(--paper);
}
.dialog-close:hover { background: var(--ice); }
.dialog-inner .eyebrow { padding-inline-end: 2.5rem; }
.dialog-inner h2 { font-size: clamp(1.6rem, 4vw, 2rem); margin-block: .3rem .55rem; padding-inline-end: 1.25rem; }
.dialog-intro, .success-view > p { color: var(--body); }
.detail-device { display: inline-flex; margin-block: .7rem .85rem; }
.plan-detail-context { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; }
.plan-detail-context > div { padding: .75rem .85rem; border: 1px solid #dfeae6; border-radius: 9px; background: #f7fbf9; }
.plan-detail-context h3, .detail-feature-heading { font-size: 1rem; }
.plan-detail-context p, .detail-features dd { color: var(--body); font-size: .91rem; }
.plan-detail-context p { margin-block-start: .28rem; }
.detail-feature-heading { margin-block-start: 1rem; }
.detail-features { display: grid; gap: .55rem; margin-block: .55rem 1.05rem; }
.detail-features > div { border-block-start: 1px solid #e4eee9; padding-block-start: .5rem; }
.detail-features dt { display: flex; gap: .4rem; align-items: start; font-weight: 700; }
.detail-features dd { margin-inline-start: 1.4rem; }
.detail-request { width: 100%; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem .75rem; margin-block: 1.1rem .9rem; }
.form-grid label { display: grid; gap: .25rem; font-size: .9rem; font-weight: 650; }
.form-wide { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea {
  width: 100%; min-height: 45px; padding: .55rem .65rem; color: var(--navy);
  background: #fcfefd; border: 1px solid #bfcece; border-radius: .55rem; font-size: 1rem;
}
.form-grid textarea { resize: vertical; min-height: 5.3rem; }
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--teal-deep); outline: 2px solid #a5ded3; outline-offset: 1px; }
.note-optional, .form-grid small { color: var(--body); font-size: .82rem; font-weight: 400; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-error { color: #9d2525; font-weight: 600; font-size: .9rem; margin-block: 0 1rem; }
.form-submit { width: 100%; }
.form-back { width: 100%; min-height: 42px; margin-block-start: .52rem; }
.success-view { text-align: center; padding-block: .7rem; }
.success-view h2 { padding-inline-end: 0; }
.success-icon { width: 57px; height: 57px; display: grid; place-items: center; background: var(--ice); color: var(--teal-deep); border-radius: 50%; margin: 0 auto .85rem; }
.success-icon .icon { width: 27px; height: 27px; }
.success-reference { margin-block: .6rem 1rem; font-size: .87rem; }
.success-reference bdi { font-weight: 700; padding-inline-start: .25rem; }

@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes enter { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .contact-copy { animation: enter .55s cubic-bezier(.2,.75,.25,1) both; }
  .demo-stage, .contact-panel { animation: enter .65s .07s cubic-bezier(.2,.75,.25,1) both; }
  .demo-panel:not([hidden]) > * { animation: enter .22s ease-out both; }
  [data-reveal].in-view { animation: enter .52s cubic-bezier(.2,.75,.25,1) both; }
}
@media (max-width: 1040px) {
  .shell { width: calc(100% - 64px); }
}
@media (max-width: 950px) {
  .plan-families { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 835px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 66px; gap: .65rem; }
}
@media (max-width: 690px) {
  html {
    --mobile-nav-clearance: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    scroll-padding-top: 78px; scroll-padding-bottom: var(--mobile-nav-clearance);
  }
  .header-inner { min-height: 62px; grid-template-columns: minmax(0, 1fr) auto; }
  .brand .bridge-mark { width: 38px; }
  .wordmark { font-size: .9rem; }
  .main-nav { display: none; }
  .mobile-nav {
    position: fixed; z-index: 6; inset-inline: 0; inset-block-end: calc(.75rem + env(safe-area-inset-bottom, 0px));
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem;
    width: min(23rem, calc(100% - 2rem)); margin-inline: auto; padding: .3rem;
    border: 1px solid #cfe1db; border-radius: 16px; background: #fffffff2; backdrop-filter: blur(12px);
    box-shadow: 0 12px 34px #102a3629, 0 2px 6px #102a3610;
  }
  .mobile-nav a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .18rem;
    min-height: 54px; padding: .38rem .2rem; border-radius: 11px; color: var(--body);
    font-size: .9rem; font-weight: 650; line-height: 1.3; text-align: center;
    transition: background .18s ease, color .18s ease;
  }
  .mobile-nav .icon { width: 20px; height: 20px; }
  .mobile-nav a:hover { background: #f1f8f5; }
  .mobile-nav a[aria-current] { background: var(--ice); color: var(--teal-deep); }
  .mobile-nav a:focus-visible { outline-offset: -2px; }
  .language { min-height: 42px; }
  .finance, .contact-grid { grid-template-columns: minmax(0,1fr); }
  .hero-watermark { width: min(136vw, 48rem); inset-block-start: 4.5rem; opacity: .22; }
  .hero h1 { font-size: clamp(2.45rem, 8.5vw, 3.55rem); }
  :root[dir="rtl"] .hero h1 { font-size: clamp(2.3rem, 8vw, 3.45rem); }
  .hero-actions { margin-block-start: 1.25rem; }
  .demo-panel { grid-template-columns: minmax(0,1fr); }
  .demo-frame { border-radius: 15px; }
  .demo-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-inline: .55rem; }
  .demo-tab { padding-inline: .25rem; }
  .demo-bar { padding-inline: .85rem; }
  .features { grid-template-columns: minmax(0,1fr); gap: .65rem; }
  .feature h4 { margin-block: .65rem .3rem; }
  .contact-grid { gap: 1.75rem; }
  .contact-copy { padding-block-start: 0; }
  .site-footer { padding-block-end: var(--mobile-nav-clearance); }
  .footer-inner { flex-direction: column; gap: .6rem; }
}
@media (max-width: 550px) {
  .plan-help { grid-template-columns: auto minmax(0, 1fr); }
  .plan-help .button { grid-column: 1 / -1; width: 100%; }
  .plan-grid, .plan-detail-context { grid-template-columns: minmax(0,1fr); }
  .plan { padding: 1.15rem; }
  .plan-description { min-block-size: 0; }
}
@media (max-width: 430px) {
  .shell { width: calc(100% - 34px); }
  .hero-actions .button { padding-inline: .8rem; min-height: 47px; }
  .demo-bar h2 { font-size: .82rem; }
  .demo-tab { font-size: .85rem; }
  .demo-tab .icon { display: none; }
  .demo-panel { padding: .55rem; gap: .55rem; }
  .demo-agenda, .demo-journey { padding: .7rem .6rem; }
  .demo-appointment { grid-template-columns: 3.5rem minmax(0,1fr) auto; padding-inline: .3rem; }
  .form-grid { grid-template-columns: minmax(0,1fr); gap: .48rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

