@font-face {
  font-family: "Garet";
  src: url("Garet-Book.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f6f4ee;
  --bg-2: #e9f1eb;
  --ink: #061715;
  --muted: #435653;
  --muted-strong: #243a37;
  --line: rgba(6, 23, 21, 0.18);
  --teal: #007a72;
  --teal-dark: #063b37;
  --mint: #6be0cc;
  --focus: #005f5a;
  --brand-wash: #e3f5f1;
  --paper: rgba(255, 255, 255, 0.86);
  --paper-solid: #ffffff;
  --shadow: 0 30px 90px rgba(6, 23, 21, 0.16);
  --radius: 8px;
  --max: 1180px;
  font-family: "Garet", "Noto Sans Arabic", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  overflow-x: clip;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(107, 224, 204, 0.24), transparent 34rem),
    linear-gradient(180deg, #f8f7f2 0%, var(--bg) 34%, #eef2ed 100%);
  color: var(--ink);
  min-width: 320px;
  overflow-x: clip;
}

[data-locale-dir="rtl"] .hero-copy,
[data-locale-dir="rtl"] .section-heading,
[data-locale-dir="rtl"] .sticky-copy,
[data-locale-dir="rtl"] .screen-copy,
[data-locale-dir="rtl"] .problem-grid article,
[data-locale-dir="rtl"] .feature-card,
[data-locale-dir="rtl"] .workflow-card,
[data-locale-dir="rtl"] .compare-cell,
[data-locale-dir="rtl"] .privacy-point,
[data-locale-dir="rtl"] .price-card,
[data-locale-dir="rtl"] .faq-item,
[data-locale-dir="rtl"] .final-cta,
[data-locale-dir="rtl"] .site-footer,
[data-locale-dir="rtl"] .legal-card {
  direction: rtl;
  text-align: right;
}

[data-locale-dir="rtl"] .hero-visual,
[data-locale-dir="rtl"] .screens-strip {
  direction: ltr;
}

[data-locale-dir="rtl"] .trust-row {
  justify-content: flex-end;
}

[data-locale-dir="rtl"] .hero-actions,
[data-locale-dir="rtl"] .pricing-summary {
  justify-content: flex-end;
}

[data-locale-dir="rtl"] .site-header {
  direction: rtl;
}

[data-locale-dir="rtl"] .hero-visual,
[data-locale-dir="rtl"] .screens-strip {
  direction: ltr;
}

[data-locale-dir="rtl"] .mobile-nav,
[data-locale-dir="rtl"] .trust-row span,
[data-locale-dir="rtl"] .price-card li {
  direction: rtl;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 74%, white);
  outline-offset: 3px;
}

section[id] {
  scroll-margin-top: 112px;
}

.site-header {
  width: min(calc(100% - 32px), var(--max));
  position: sticky;
  top: 16px;
  z-index: 20;
  margin: 16px auto 0;
  padding: 12px;
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px);
  box-shadow: 0 16px 50px rgba(6, 23, 21, 0.1);
  border-radius: var(--radius);
}

.brand img {
  width: 142px;
  height: auto;
}

.nav,
.header-actions,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav {
  justify-content: center;
}

.nav a,
.site-footer a,
.language-select {
  font-size: 0.88rem;
  color: var(--muted-strong);
}

.nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
}

.nav a:hover {
  background: rgba(6, 23, 21, 0.06);
  color: var(--ink);
}

.language-select {
  min-width: 112px;
  max-width: 142px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  padding: 10px 12px;
  border-radius: var(--radius);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  border: 1px solid rgba(6, 23, 21, 0.14);
  border-radius: var(--radius);
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 750;
  text-align: center;
}

.mobile-nav .mobile-nav-cta {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
}

.header-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 700;
  white-space: nowrap;
}

.header-cta,
.primary-action {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  box-shadow: 0 16px 34px rgba(0, 122, 114, 0.32);
}

.secondary-action {
  color: var(--ink);
  border: 1px solid rgba(6, 23, 21, 0.22);
  background: rgba(255, 255, 255, 0.92);
}

.kc-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.hero,
.section,
.screens-section,
.final-cta,
.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin-left: auto;
  margin-right: auto;
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 44px;
  align-items: center;
  padding: 64px 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

h1 {
  max-width: 9.5ch;
  font-size: clamp(3rem, 6.6vw, 6.35rem);
  line-height: 0.96;
}

h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 4.2vw, 4.15rem);
  line-height: 1;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.08;
}

p {
  overflow-wrap: anywhere;
}

.hero-lead,
.section-heading p,
.sticky-copy p,
.screen-copy p,
.privacy-section > div > p,
.final-cta p {
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.55;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
}

.hero-copy {
  min-width: 0;
}

.hero-copy > *,
.section-heading > *,
.sticky-copy > *,
.screen-copy > * {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.hero-copy h1,
.hero-copy p,
.section-heading h2,
.section-heading p,
.sticky-copy h2,
.screen-copy h2,
.final-cta h2 {
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.pricing-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pricing-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(0, 122, 114, 0.22);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(227, 245, 241, 0.9);
  font-size: 0.84rem;
  font-weight: 850;
}

.mobile-hero-proof {
  display: none;
  margin: 24px auto 0;
  width: min(74vw, 250px);
  aspect-ratio: 9 / 16;
  padding: 8px;
  border-radius: 30px;
  background: linear-gradient(145deg, var(--ink), var(--teal-dark));
  box-shadow: 0 18px 52px rgba(6, 23, 21, 0.2);
  overflow: hidden;
}

.mobile-hero-proof img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
}

[data-locale-dir="rtl"] .mobile-hero-proof {
  position: relative;
  background:
    linear-gradient(145deg, var(--ink), var(--teal-dark));
}

[data-locale-dir="rtl"] .mobile-hero-proof img {
  opacity: 1;
  transform: scaleX(-1);
}

[data-locale-dir="rtl"] .mobile-hero-proof::before {
  content: none;
  position: absolute;
  inset: 18px 18px auto;
  height: 34%;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 26%, transparent 26% 34%, rgba(255,255,255,0.78) 34% 72%, transparent 72%),
    rgba(227, 245, 241, 0.96);
}

[data-locale-dir="rtl"] .mobile-hero-proof::after {
  content: none;
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 38%;
  border-radius: 18px;
  background:
    linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)) 0 0 / 100% 27% no-repeat,
    linear-gradient(rgba(107,224,204,0.9), rgba(107,224,204,0.9)) 0 50% / 74% 12% no-repeat,
    linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)) 0 76% / 52% 10% no-repeat,
    rgba(255, 255, 255, 0.24);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.trust-row span,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(6, 23, 21, 0.2);
  background: rgba(255, 255, 255, 0.94);
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 750;
}

.hero-visual {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.device-stack {
  position: relative;
  width: min(100%, 520px);
  min-height: 650px;
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  width: min(76vw, 330px);
  aspect-ratio: 9 / 19.5;
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(145deg, var(--ink), var(--teal-dark));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 34%;
  height: 27px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--ink);
  z-index: 2;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

.phone-main {
  transform: rotate(-3deg);
}

.floating-card {
  position: absolute;
  width: min(265px, 56vw);
  border: 1px solid rgba(6, 23, 21, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: 0 22px 54px rgba(6, 23, 21, 0.14);
}

.floating-card-icon,
.problem-icon,
.feature-icon,
.workflow-icon,
.outcome-icon,
.privacy-icon,
.usecase-icon,
.price-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-wash);
  color: var(--teal-dark);
}

.floating-card-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
}

.quality-card {
  top: 12%;
  right: 0;
}

.archive-card {
  bottom: 15%;
  left: 0;
}

.card-label {
  display: block;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.section-heading.compact h2 {
  max-width: 12ch;
}

.section-heading p {
  margin: 0;
}

.problem-grid,
.workflow-grid,
.pricing-grid,
.privacy-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.problem-grid article,
.feature-card,
.workflow-card,
.price-card,
.privacy-point,
.faq-item {
  border: 1px solid rgba(6, 23, 21, 0.1);
  background: var(--paper);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(6, 23, 21, 0.08);
}

.problem-grid article {
  min-height: 240px;
  padding: 26px;
}

.problem-grid span {
  display: block;
  color: var(--teal);
  font-weight: 900;
  margin-bottom: 58px;
}

.problem-grid .problem-icon {
  margin-bottom: 18px;
  color: var(--teal-dark);
}

.problem-grid article > span:not(.problem-icon) {
  margin-bottom: 38px;
}

.problem-grid p,
.feature-card p,
.workflow-card p,
.price-card p,
.privacy-point p,
.faq-item p,
.compare-cell {
  color: var(--muted-strong);
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 120px;
}

.sticky-copy h2 {
  max-width: 10ch;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 245px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-icon {
  margin-bottom: 28px;
}

.workflow-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.workflow-number {
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 900;
}

.workflow-section {
  padding-top: 74px;
}

.workflow-grid {
  margin-top: 34px;
  grid-template-columns: repeat(4, 1fr);
}

.workflow-card {
  padding: 22px;
  min-height: 255px;
}

.outcome-section {
  padding-top: 74px;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.outcome-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-solid);
  box-shadow: 0 16px 48px rgba(6, 23, 21, 0.07);
}

.outcome-icon,
.privacy-icon,
.usecase-icon,
.price-icon {
  margin-bottom: 22px;
}

.outcome-card h3 {
  font-size: 1.14rem;
}

.outcome-card p {
  color: var(--muted-strong);
  line-height: 1.55;
}

.screens-section {
  padding: 84px 0;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  align-items: center;
  overflow: hidden;
}

.screen-copy h2 {
  max-width: 9ch;
}

.screens-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(178px, 1fr));
  gap: 16px;
}

.screens-strip figure {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 10px solid var(--ink);
  border-radius: 34px;
  background: var(--ink);
  box-shadow: 0 24px 70px rgba(6, 23, 21, 0.16);
}

.screens-strip figure:nth-child(2) {
  transform: translateY(34px);
}

.screens-strip figure:nth-child(4) {
  transform: translateY(18px);
}

.screens-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.screens-strip figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 10px;
  border-radius: 16px;
  color: #fff;
  background: rgba(5, 18, 17, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
}

.screen-placeholder {
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(227, 245, 241, 0.96), rgba(255, 255, 255, 0.92)),
    var(--brand-wash);
}

.screen-placeholder div {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.screen-placeholder span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 900;
}

.screen-placeholder strong {
  max-width: 9ch;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.05;
}

.compare-section {
  padding-top: 120px;
}

.compare-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
}

.compare-row {
  display: grid;
  grid-template-columns: 0.78fr repeat(4, 1fr);
}

.compare-row + .compare-row {
  border-top: 1px solid var(--line);
}

.compare-cell {
  padding: 16px;
  min-width: 0;
  border-left: 1px solid var(--line);
  font-size: 0.94rem;
}

.compare-cell:first-child {
  border-left: 0;
  color: var(--ink);
  font-weight: 850;
}

.compare-row:first-child .compare-cell {
  color: var(--ink);
  font-weight: 900;
  background: rgba(6, 59, 55, 0.08);
}

.compare-row .compare-cell:last-child {
  background: rgba(227, 245, 241, 0.64);
}

.usecase-section {
  padding-top: 90px;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.usecase-card {
  padding: 26px;
  min-height: 230px;
  background: var(--paper-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(6, 23, 21, 0.08);
}

.usecase-card h3 {
  font-size: 1.22rem;
}

.usecase-card p {
  color: var(--muted-strong);
  line-height: 1.55;
}

.privacy-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
}

.privacy-points {
  grid-template-columns: repeat(2, 1fr);
}

.privacy-point {
  padding: 22px;
}

.pricing-grid {
  margin-top: 34px;
}

.price-card {
  position: relative;
  min-height: 390px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  color: #fff;
  background: linear-gradient(145deg, var(--teal-dark), var(--teal));
}

.price-card.featured .price-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.price-card.featured p,
.price-card.featured li {
  color: rgba(255, 255, 255, 0.9);
}

.price {
  margin: 22px 0 12px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 0.96;
  font-weight: 900;
}

.price-card ul {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.4;
}

.price-card li::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--teal);
  font-weight: 900;
}

[data-locale-dir="rtl"] .price-card li {
  flex-direction: row-reverse;
}

.featured li::before {
  color: var(--mint);
}

.pricing-note {
  color: var(--muted);
  margin-top: 18px;
  line-height: 1.5;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.faq-item {
  padding: 24px;
}

.faq-item h3 {
  font-size: 1.1rem;
  line-height: 1.2;
}

.final-cta {
  margin-top: 36px;
  margin-bottom: 72px;
  padding: 72px clamp(24px, 6vw, 72px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(5, 43, 40, 0.94), rgba(0, 139, 130, 0.9)),
    var(--teal-dark);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.final-cta img {
  width: 72px;
  filter: brightness(0) invert(1);
  margin: 0 auto 24px;
}

.final-cta h2 {
  max-width: 780px;
  margin: 0 auto;
}

.final-cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  margin: 20px auto 30px;
}

.final-cta .primary-action {
  background: #fff;
  color: var(--teal-dark);
  box-shadow: none;
}

.site-footer {
  padding: 38px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 122px;
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
  color: var(--muted-strong);
}

.legal-main {
  width: min(calc(100% - 32px), 900px);
  margin: 64px auto;
}

.legal-card {
  padding: clamp(24px, 6vw, 56px);
  background: var(--paper-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(6, 23, 21, 0.08);
}

.legal-card h1 {
  max-width: none;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
}

.legal-card h2 {
  max-width: none;
  margin-top: 34px;
  font-size: 1.45rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted-strong);
  line-height: 1.65;
}

.js.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 460ms ease, transform 460ms ease;
}

.js.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}


.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--teal-dark);
  background: var(--brand-wash);
  font-weight: 850;
}

@media (max-width: 720px) {
  .legal-main {
    width: min(calc(100% - 22px), 900px);
    margin: 42px auto;
  }

  .legal-card {
    padding: 24px;
  }

  .legal-card h1 {
    font-size: clamp(2rem, 11vw, 2.75rem);
    line-height: 1.04;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero,
  .section-heading,
  .split-section,
  .screens-section,
  .privacy-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  h1 {
    max-width: 9.5ch;
  }

  h2 {
    max-width: 12ch;
  }

  .sticky-copy {
    position: static;
  }

  .problem-grid,
  .outcome-grid,
  .workflow-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .feature-list,
  .privacy-points,
  .faq-list,
  .usecase-grid {
    grid-template-columns: 1fr 1fr;
  }

  .screens-strip {
    grid-template-columns: repeat(5, minmax(170px, 1fr));
    overflow-x: auto;
    padding: 0 0 46px;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: calc(100% - 20px);
    top: 10px;
    margin-top: 10px;
    gap: 10px;
  }

  .brand img {
    width: 116px;
  }

  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr;
  }

  .header-actions {
    justify-content: end;
  }

  .mobile-nav {
    grid-template-columns: 1fr 1fr;
  }

  .language-select {
    min-width: 92px;
    max-width: 110px;
    padding: 9px 8px;
  }

  .hero,
  .section,
  .screens-section,
  .final-cta,
  .site-footer {
    width: min(calc(100% - 22px), var(--max));
  }

  .hero {
    gap: 22px;
    padding-top: 48px;
    padding-bottom: 32px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions > a {
    width: 100%;
  }

  .trust-row span {
    width: 100%;
  }

  .pricing-summary {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pricing-summary span {
    justify-content: center;
    min-height: 30px;
    padding: 5px 9px;
    border-color: rgba(6, 23, 21, 0.14);
    background: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
  }

  .mobile-hero-proof {
    display: block;
    width: min(70vw, 220px);
    aspect-ratio: 5 / 6;
    margin-top: 16px;
  }

  h1 {
    max-width: 10.5ch;
    font-size: clamp(2.55rem, 11.8vw, 3.55rem);
    line-height: 1;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(1.85rem, 9.4vw, 2.9rem);
    line-height: 1.05;
  }

  .hero-lead,
  .section-heading p,
  .sticky-copy p,
  .screen-copy p,
  .privacy-section > div > p,
  .final-cta p {
    font-size: 1rem;
  }

  .hero-visual {
    display: none;
  }

  .device-stack {
    min-height: 540px;
  }

  .floating-card {
    width: min(230px, 70vw);
    padding: 14px;
  }

  .quality-card {
    right: 2px;
    top: 7%;
  }

  .archive-card {
    left: 2px;
    bottom: 7%;
  }

  .section {
    padding: 70px 0;
  }

  .problem-grid,
  .feature-list,
  .outcome-grid,
  .workflow-grid,
  .pricing-grid,
  .privacy-points,
  .faq-list,
  .usecase-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid article,
  .feature-card,
  .workflow-card,
  .price-card {
    min-height: auto;
  }

  .problem-grid span {
    margin-bottom: 34px;
  }

  .screens-section {
    padding: 52px 0;
  }

  .screens-strip {
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
  }

  .screens-strip figure:nth-child(2),
  .screens-strip figure:nth-child(4) {
    transform: none;
  }

  .compare-table {
    background: transparent;
    border: 0;
  }

  .compare-row {
    grid-template-columns: 1fr;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.82);
  }

  .compare-row + .compare-row {
    border-top: 1px solid var(--line);
  }

  .compare-cell {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .compare-cell:first-child {
    border-top: 0;
  }

  .compare-row:first-child {
    display: none;
  }

  .compare-cell::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .compare-cell:first-child::before {
    display: none;
  }

  .site-footer {
    display: block;
  }

  .site-footer nav {
    flex-wrap: wrap;
    margin-top: 20px;
  }
}
