/* Taste: 6 / 3 / 3. White brand theme, one teal accent.
   Radius scale: controls 12px; surfaces 24px; device frames 32px. */
:root {
  --accent: #14635e;
  --accent-dark: #0f4745;
  --accent-soft: #edf3f2;
  --accent-line: #d4e4e2;
  --ink: #171717;
  --muted: #62666a;
  --line: #e7e9e9;
  --surface: #ffffff;
  --wash: #f6f7f7;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent-line); color: var(--accent-dark); }
[data-lang] { display: none; }
body[data-active-language="ar"] [data-lang="ar"], body[data-active-language="en"] [data-lang="en"] { display: revert; }
.shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.15rem; font-weight: 750; white-space: nowrap; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.header-actions, .site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { padding-block: 12px; color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 600; white-space: nowrap; }
.site-nav a:hover, .footer-links a:hover { color: var(--accent); }
.language-switcher { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 12px; }
.language-switcher button { min-width: 42px; min-height: 38px; padding: 4px 9px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; cursor: pointer; font-size: .875rem; font-weight: 650; }
.language-switcher button.active { color: var(--surface); background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(3rem, 5.5vw, 5rem); font-weight: 750; line-height: 1.12; letter-spacing: -.045em; }
h2 { margin-bottom: 20px; font-size: clamp(2rem, 3.3vw, 3rem); font-weight: 700; line-height: 1.25; letter-spacing: -.03em; }
h3 { margin-bottom: 12px; font-size: 1.4rem; line-height: 1.4; font-weight: 700; letter-spacing: -.02em; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; }
:lang(ar) h1 { line-height: 1.3; }
.lead { max-width: 60ch; color: var(--muted); font-size: 1.0625rem; }
.eyebrow { margin-bottom: 18px; color: var(--accent); font-size: .94rem; font-weight: 650; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 76px; padding-block: 36px 48px; }
.hero-copy { padding-block: 24px; }
.hero h1 span { color: var(--accent); }
.hero .lead { max-width: 35ch; font-size: 1.125rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 20px; border-radius: 12px; text-decoration: none; font-size: .9375rem; font-weight: 650; white-space: nowrap; transition: transform .18s ease, opacity .18s ease; }
.button.primary { color: var(--surface); background: var(--accent); border: 1px solid var(--accent); }
.button.secondary { color: var(--accent-dark); background: var(--surface); border: 1px solid var(--accent-line); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.hero-visual { display: grid; place-items: center; align-self: stretch; padding: 24px; background: var(--wash); border-radius: 24px; }
.device-frame { width: 230px; max-width: 100%; padding: 7px; background: #242b2a; border: 1px solid #46504f; border-radius: 32px; box-shadow: 0 18px 36px rgb(20 99 94 / .10); }
.device-frame img { width: 100%; border-radius: 25px; background: var(--surface); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 36px; padding-block: 22px 30px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.section { padding-block: 96px; }
.section-tint { background: var(--wash); }
.landing #features { background: var(--surface); }
.section-heading { max-width: 710px; margin-bottom: 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feature-card { min-width: 0; padding: 32px; border-radius: 24px; background: var(--wash); }
.feature-card p { margin-bottom: 0; color: var(--muted); max-width: 52ch; }
.landing .feature-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.landing .feature-card { grid-column: span 7; display: flex; flex-direction: column; justify-content: center; min-height: 210px; padding: 36px; }
.landing .feature-card:nth-child(2), .landing .feature-card:nth-child(4) { grid-column: span 5; grid-row: span 2; justify-content: flex-start; background: var(--accent-soft); }
.landing .feature-card:nth-child(1), .landing .feature-card:nth-child(6) { background: #f0f4f3; }
.feature-preview { width: 170px; margin: 28px auto 0; flex-shrink: 0; }
.feature-icon { display: none; }
.drive-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 76px; align-items: center; }
#google-drive { background: var(--wash); }
.drive-mark { color: var(--accent); font-size: 1rem; font-weight: 650; margin-bottom: 24px; }
.drive-details { padding-inline-start: 36px; border-inline-start: 1px solid var(--accent-line); }
.detail-row { padding-block: 22px; }
.detail-row p { margin: 0; color: var(--muted); }
.detail-row strong { display: block; color: var(--ink); margin-bottom: 7px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-nav { position: sticky; top: 24px; display: grid; gap: 8px; padding: 16px; border-radius: 24px; background: var(--wash); }
.legal-nav a { padding: 10px 12px; border-radius: 12px; color: var(--muted); text-decoration: none; }
.legal-nav a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.legal-content { min-width: 0; max-width: 760px; overflow-wrap: anywhere; }
.legal-content > header { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal-content h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); line-height: 1.3; }
.legal-content h2 { font-size: 1.6rem; letter-spacing: 0; line-height: 1.5; }
.legal-content section { padding-block: 28px; border-bottom: 1px solid var(--line); }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content strong { color: var(--ink); }
.updated { color: var(--muted); font-size: .9rem; }
.notice { padding: 20px 24px; border-inline-start: 3px solid var(--accent); border-radius: 0; background: var(--accent-soft); }
.support-card { padding: 44px; border-radius: 24px; background: var(--wash); text-align: center; }
.landing .support-card { background: var(--surface); padding-block: 20px; }
.landing .section:last-child { background: var(--surface); }
.support-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.support-card .lead { margin-inline: auto; }
.support-tips { margin-top: 32px; }
.not-found { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 32px; text-align: center; }
.not-found img { border-radius: 24px; }
.not-found h2, .not-found p { margin-bottom: 0; }
.site-footer { padding-block: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { text-decoration: none; }
@media (max-width: 1023px) {
  .hero, .drive-panel { gap: 36px; }
  .site-nav, .header-actions { gap: 16px; }
  .hero-actions .button { padding-inline: 16px; }
  .legal-layout { gap: 32px; grid-template-columns: 210px minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 72px; gap: 12px; flex-wrap: wrap; padding-block: 10px; }
  .header-actions { gap: 12px; }
  .site-nav { display: none; }
  .landing .site-header { display: grid; grid-template-columns: 1fr auto; }
  .landing .header-actions { display: contents; }
  .landing .language-switcher { grid-column: 2; grid-row: 1; }
  .landing .site-nav { display: flex; grid-column: 1 / -1; grid-row: 2; }
  .hero, .drive-panel, .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 28px; padding-block: 24px 32px; }
  .hero-copy { padding-block: 8px; }
  .hero h1 { font-size: 3.5rem; }
  .hero .lead { font-size: 1.0625rem; max-width: 38ch; }
  .hero-visual { padding: 28px; }
  .hero-actions { margin-top: 24px; gap: 10px; }
  .hero-actions .button { min-width: 0; font-size: .875rem; }
  .hero-actions .button.primary { flex-grow: 1; }
  .hero-actions .button.secondary { flex-grow: 1; }
  .trust-row { justify-content: flex-start; gap: 12px 24px; }
  .section { padding-block: 64px; }
  .landing .feature-grid, .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .landing .feature-card, .landing .feature-card:nth-child(2), .landing .feature-card:nth-child(4) { grid-column: auto; grid-row: auto; min-height: 0; padding: 28px; }
  .feature-card { padding: 28px; }
  .drive-details { border-inline-start: 0; border-top: 1px solid var(--accent-line); padding-inline-start: 0; }
  .legal-nav { position: static; }
  .support-card { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover, .button:active { transform: none; }
}
