:root {
  --ink: #101214;
  --paper: #f4f6f7;
  --white: #ffffff;
  --muted: #5e676d;
  --line: #d7dcdf;
  --cyan: #4dd6d0;
  --green: #b8f35a;
  --blue: #1f5eff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
body[dir="rtl"] { font-family: Arial, "Helvetica Neue", sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; min-height: 72px; padding: 10px max(20px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr); align-items: center; gap: 20px; background: rgba(244, 246, 247, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 8px; }
.brand span { display: grid; line-height: 1.1; }
.brand strong { font-size: 15px; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 4px; }
nav { display: flex; align-items: center; gap: 24px; }
nav a { font-size: 13px; font-weight: 700; text-decoration: none; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.language-switcher { display: flex; border: 1px solid #bbc2c6; border-radius: 6px; overflow: hidden; }
.language-switcher button { width: 39px; height: 34px; border: 0; border-inline-end: 1px solid #bbc2c6; background: transparent; color: var(--muted); cursor: pointer; font-weight: 800; }
.language-switcher button:last-child { border-inline-end: 0; }
.language-switcher button.is-active { background: var(--ink); color: var(--white); }

.button { min-height: 48px; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 6px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; text-align: center; transition: transform 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button--compact { min-height: 36px; padding: 8px 12px; background: var(--ink); color: var(--white); }
.button--ghost { color: var(--white); background: rgba(16,18,20,0.58); border-color: rgba(255,255,255,0.7); }
.button--light { background: var(--green); border-color: var(--green); }

.hero { position: relative; min-height: min(790px, calc(100vh - 72px)); display: flex; align-items: flex-end; overflow: hidden; background: #0a0c0e; }
.hero__background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__scrim { position: absolute; inset: 0; background: rgba(5, 7, 9, 0.61); }
.hero__content { position: relative; z-index: 1; width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 120px 0 76px; color: var(--white); }
.eyebrow { margin: 0 0 14px; color: #167c78; font-size: 12px; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.hero .eyebrow, .download-panel .eyebrow { color: var(--cyan); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 880px; margin: 0; font-size: clamp(48px, 8vw, 100px); line-height: 0.98; letter-spacing: 0; }
.hero__lead { max-width: 700px; margin: 24px 0 0; color: #eef1f2; font-size: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { margin: 16px 0 0; color: #cdd2d5; font-size: 13px; }

.signal-band { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-bottom: 1px solid var(--line); }
.signal-band div { min-height: 118px; padding: 28px; display: grid; align-content: center; border-inline-end: 1px solid var(--line); }
.signal-band div:last-child { border-inline-end: 0; }
.signal-band strong { font-size: 26px; line-height: 1.1; }
.signal-band span { color: var(--muted); font-size: 13px; margin-top: 6px; }

.section { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 112px 0; }
.section-heading { max-width: 780px; }
h2 { margin: 0; font-size: clamp(36px, 5.5vw, 66px); line-height: 1.04; letter-spacing: 0; }
.section-heading > p:last-child { max-width: 650px; margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.feature-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #aeb6ba; }
.feature-grid article { padding: 32px 28px 10px 0; border-inline-end: 1px solid #aeb6ba; }
[dir="rtl"] .feature-grid article { padding: 32px 0 10px 28px; }
.feature-grid article + article { padding-inline-start: 28px; }
.feature-grid article:last-child { border-inline-end: 0; }
.feature-number { color: var(--blue); font-size: 13px; font-weight: 900; }
.feature-grid h3 { margin: 28px 0 12px; font-size: 25px; }
.feature-grid p { margin: 0; color: var(--muted); }

.product-band { display: grid; grid-template-columns: 0.78fr 1.22fr; background: var(--ink); color: var(--white); }
.product-band__copy { padding: 88px max(32px, calc((100vw - var(--max)) / 2)); padding-inline-end: 56px; }
.product-band__copy h2 { font-size: clamp(36px, 4vw, 56px); }
.product-band ol { margin: 42px 0 0; padding: 0; list-style: none; border-top: 1px solid #454b50; }
.product-band li { padding: 20px 0; display: grid; grid-template-columns: 100px 1fr; border-bottom: 1px solid #454b50; }
.product-band li span { color: #bdc4c8; }
.product-band__media { margin: 0; min-width: 0; align-self: center; padding: 48px 42px 48px 0; }
[dir="rtl"] .product-band__media { padding: 48px 0 48px 42px; }
.product-band__media img { width: 100%; border: 1px solid #4f5559; border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.product-band__media figcaption { margin-top: 12px; color: #aeb7bc; font-size: 12px; }

.privacy { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 68px; }
.privacy__visual img { border: 1px solid #bac1c5; border-radius: 8px; box-shadow: 0 20px 50px rgba(30,39,44,0.13); }
.privacy__copy h2 { font-size: clamp(38px, 5vw, 60px); }
.privacy__copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 13px 0 13px 31px; border-bottom: 1px solid var(--line); }
[dir="rtl"] .check-list li { padding: 13px 31px 13px 0; }
.check-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: #087f77; font-weight: 900; }

.model-note, .story-preview { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; border-top: 1px solid #aeb6ba; }
.model-note h2, .story-preview h2 { font-size: clamp(34px, 4.5vw, 54px); }
.model-note p, .story-preview p { margin-top: 0; color: var(--muted); font-size: 18px; }
.fine-print { font-size: 13px !important; }
.text-link { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 900; text-underline-offset: 5px; }

.download-panel { width: min(var(--max), calc(100% - 40px)); margin: 0 auto 36px; padding: 44px; display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 28px; background: var(--ink); color: var(--white); border-radius: 8px; }
.download-panel img { width: 96px; height: 96px; border-radius: 8px; }
.download-panel h2 { font-size: clamp(30px, 4vw, 48px); }
.download-panel p:last-child { color: #bfc6ca; margin-bottom: 0; }

footer { min-height: 110px; padding: 28px max(20px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; background: var(--white); border-top: 1px solid var(--line); font-size: 13px; }
footer > div:first-child { display: grid; }
footer span { color: var(--muted); }
.footer-links { display: flex; gap: 20px; }

.article-page { background: var(--white); }
.article-hero { width: min(960px, calc(100% - 40px)); margin: 0 auto; padding: 100px 0 56px; }
.article-hero h1 { max-width: 900px; font-size: clamp(46px, 7vw, 86px); }
.article-hero .dek { max-width: 760px; color: var(--muted); font-size: 21px; }
.article-hero .byline { color: #167c78; font-size: 13px; font-weight: 800; }
.article-cover { width: min(1180px, calc(100% - 40px)); margin: 0 auto; border-radius: 8px; }
.article-body { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 110px; }
.article-body h2 { margin: 58px 0 20px; font-size: clamp(32px, 4vw, 46px); }
.article-body p, .article-body li { color: #343b3f; font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.72; }
.article-body .callout { margin: 42px 0; padding: 30px; background: var(--paper); border-inline-start: 5px solid var(--cyan); }
.article-body .callout p { margin: 0; font-family: inherit; font-weight: 700; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .button--compact { display: none; }
  .signal-band { grid-template-columns: repeat(2, 1fr); }
  .signal-band div:nth-child(2) { border-inline-end: 0; }
  .signal-band div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-grid, .privacy, .model-note, .story-preview { grid-template-columns: 1fr; gap: 42px; }
  .feature-grid article { padding: 26px 0; border-inline-end: 0; border-bottom: 1px solid #aeb6ba; }
  .feature-grid article + article { padding-inline-start: 0; }
  .product-band { grid-template-columns: 1fr; }
  .product-band__copy { padding: 70px 28px 40px; }
  .product-band__media, [dir="rtl"] .product-band__media { padding: 0 20px 52px; }
  .download-panel { grid-template-columns: 80px 1fr; }
  .download-panel img { width: 80px; height: 80px; }
  .download-panel .button { grid-column: 1 / -1; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { min-height: 64px; padding: 8px 14px; gap: 8px; }
  .brand img { width: 38px; height: 38px; }
  .brand small { display: none; }
  .language-switcher button { width: 34px; height: 32px; }
  .hero { min-height: 690px; }
  .hero__background { object-position: 52% center; }
  .hero__content { width: calc(100% - 28px); padding: 110px 0 44px; }
  h1 { font-size: 50px; }
  .hero__lead { font-size: 17px; }
  .hero__actions { display: grid; }
  .section { width: calc(100% - 28px); padding: 78px 0; }
  .signal-band div { min-height: 100px; padding: 20px 16px; }
  .signal-band strong { font-size: 21px; }
  .product-band li { grid-template-columns: 76px 1fr; }
  .download-panel { width: calc(100% - 28px); padding: 26px; gap: 18px; }
  .footer-links { flex-wrap: wrap; }
  .article-hero { padding-top: 72px; }
  .article-body p, .article-body li { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
