:root {
  color-scheme: light;
  --ink: #0b1b34;
  --muted: #5c687a;
  --soft: #f4f7fb;
  --surface: #ffffff;
  --line: #dfe7f1;
  --navy: #061c3d;
  --navy-2: #0b3f73;
  --blue: #0877d1;
  --blue-bright: #52b7ff;
  --green: #187a55;
  --max: 1180px;
  --reading: 760px;
  --shadow: 0 24px 70px rgba(9, 32, 64, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 16px/1.62 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::selection { color: #fff; background: var(--blue); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(var(--max), calc(100% - 40px));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.wordmark, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -.025em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark img, .footer-brand img { border-radius: 11px; }
.site-nav, .footer-nav { display: flex; align-items: center; gap: 16px; }
.site-nav a, .footer-nav a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .footer-nav a:hover { color: var(--blue); }
.site-nav .nav-cta {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 5px 18px rgba(8, 33, 67, .06);
}
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); }
.language-menu { position: relative; }
.language-menu summary {
  min-width: 116px;
  min-height: 42px;
  padding: 0 38px 0 14px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  list-style: none;
  position: relative;
  user-select: none;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #718096;
  border-bottom: 1.5px solid #718096;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .16s ease;
}
.language-menu summary:hover { border-color: #c3d1e1; background: #fafcff; }
.language-menu[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.language-options {
  position: absolute;
  z-index: 40;
  top: calc(100% + 9px);
  inset-inline-end: 0;
  width: 210px;
  padding: 7px;
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 22px 60px rgba(8, 33, 67, .18);
  backdrop-filter: blur(18px);
}
.language-options a {
  min-height: 40px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
}
.language-options a:hover { background: var(--soft); color: var(--blue); }
.language-options a[aria-current="page"] { background: #eef6ff; color: var(--blue); font-weight: 740; }
[dir="rtl"] .language-menu summary { padding: 0 14px 0 38px; }
[dir="rtl"] .language-menu summary::after { right: auto; left: 15px; }

.hero {
  overflow: hidden;
  padding: 80px 0 70px;
  background:
    radial-gradient(circle at 86% 4%, rgba(45, 156, 244, .34), transparent 30rem),
    radial-gradient(circle at 10% 100%, rgba(52, 115, 197, .24), transparent 32rem),
    linear-gradient(145deg, #051733 0%, #082d5c 62%, #0b5c9d 100%);
  color: #fff;
}
.hero-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  gap: clamp(38px, 7vw, 90px);
}
.hero-copy { max-width: 620px; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-size: clamp(46px, 6.8vw, 78px); line-height: .98; letter-spacing: -.062em; }
.lede { margin: 26px 0 0; color: #cbd9e9; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.55; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 740;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: #fff; color: #072551; box-shadow: 0 14px 34px rgba(0, 0, 0, .22); }
.button.secondary { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #fff; }
.button.blue { background: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(8, 119, 209, .22); }
.button.outline { border-color: var(--line); color: var(--ink); background: #fff; }
.proof-list { margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px 22px; color: #afc5dc; font-size: 14px; list-style: none; }
.proof-list strong { color: #fff; }
.localized-proof { margin: 22px 0 0; color: #afc5dc; font-size: 14px; }
.hero-media { position: relative; min-width: 0; }
.hero-media::before { content: ""; position: absolute; inset: 12% -10% -12% 22%; border-radius: 50%; background: rgba(57, 167, 255, .22); filter: blur(55px); }
.hero-window { position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.25); border-radius: 20px; background: #fff; box-shadow: 0 42px 90px rgba(0,0,0,.42); transform: perspective(1600px) rotateY(-4deg) rotateX(1deg); }
.hero-window img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }

.platform-strip {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.platform-strip ul { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.platform-strip li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); font-weight: 650; }

.section { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 104px 0; }
.section-heading { max-width: 780px; margin-bottom: 44px; }
.section-heading.center { margin-right: auto; margin-left: auto; text-align: center; }
.kicker { margin: 0 0 14px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .085em; text-transform: uppercase; }
h2 { margin: 0; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.06; letter-spacing: -.048em; }
.section-heading > p:last-child { max-width: 680px; margin: 20px 0 0; color: var(--muted); font-size: 19px; }
.section-heading.center > p:last-child { margin-right: auto; margin-left: auto; }

.feature-rail { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-rail article { min-height: 285px; padding: 30px; border-right: 1px solid var(--line); }
.feature-rail article:last-child { border-right: 0; }
.feature-number { color: var(--blue); font: 750 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.feature-rail h3 { margin: 68px 0 10px; font-size: 24px; line-height: 1.15; letter-spacing: -.028em; }
.feature-rail p { margin: 0; color: var(--muted); }

.showcase { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: clamp(38px, 7vw, 86px); border-top: 1px solid var(--line); }
.showcase.reverse { grid-template-columns: 1.22fr .78fr; }
.showcase.reverse .showcase-copy { order: 2; }
.showcase.reverse .product-shot { order: 1; }
.showcase-copy h2 { font-size: clamp(34px, 4.3vw, 52px); }
.showcase-copy > p { margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.check-list { margin: 25px 0 0; padding: 0; display: grid; gap: 11px; list-style: none; }
.check-list li { position: relative; padding-left: 28px; font-weight: 630; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 850; }
.product-shot { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--soft); box-shadow: var(--shadow); }
.product-shot img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.product-shot.ipad img { aspect-ratio: 4 / 3; }
.product-shot.ipad.portrait { max-width: 560px; justify-self: center; background: #082b59; }
.product-shot.ipad.portrait img { aspect-ratio: 3 / 4; object-fit: contain; }

.tour-band { padding: 80px 0; background: var(--soft); }
.tour-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 64px; }
.tour-inner video { width: 100%; border: 1px solid var(--line); border-radius: 20px; background: var(--navy); box-shadow: var(--shadow); }
.tour-copy p { color: var(--muted); }

.privacy-band { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 68px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; border-radius: 28px; background: radial-gradient(circle at 90% 20%, rgba(82,183,255,.2), transparent 23rem), var(--navy); color: #fff; }
.privacy-band .kicker { color: #79c8ff; }
.privacy-band p { margin: 7px 0 22px; color: #c4d4e6; font-size: 18px; }
.privacy-band a { color: #79c8ff; font-weight: 730; text-decoration: none; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.article-card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(8, 33, 67, .1); }
.article-card .meta { color: var(--blue); font-size: 12px; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }
.article-card h3 { margin: 20px 0 10px; font-size: 21px; line-height: 1.23; letter-spacing: -.025em; }
.article-card p { margin: 0; color: var(--muted); font-size: 15px; }

.faq-list { max-width: 900px; border-top: 1px solid var(--line); }
.faq-list details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-size: 18px; font-weight: 710; }
.faq-list p { max-width: 760px; margin: 12px 0 0; color: var(--muted); }

.final-cta { width: min(var(--max), calc(100% - 40px)); margin: 0 auto 86px; padding: 42px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; border-radius: 24px; background: linear-gradient(130deg, #061b3a, #0b4f8e); color: #fff; }
.final-cta img { border-radius: 18px; box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.final-cta h2 { max-width: 650px; font-size: clamp(28px, 4vw, 42px); }
.final-cta p { margin: 0 0 8px; color: #91cffb; font-size: 13px; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }

.page-hero { padding: 76px 0 64px; background: linear-gradient(145deg, #071b3a, #0b4f8e); color: #fff; }
.page-hero-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.page-hero h1 { max-width: 880px; font-size: clamp(44px, 7vw, 72px); }
.page-hero p { max-width: 720px; margin: 22px 0 0; color: #cadced; font-size: 19px; }
.page-hero .breadcrumb { margin: 0 0 24px; color: #9fc1df; font-size: 13px; }
.page-hero .breadcrumb a { color: inherit; }

.blog-layout { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 72px 0 100px; }
.blog-controls { margin-bottom: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.blog-controls a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: 13px; font-weight: 650; text-decoration: none; }

.article-shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 64px 0 100px; display: grid; grid-template-columns: minmax(0, var(--reading)) minmax(230px, 1fr); gap: clamp(44px, 8vw, 110px); align-items: start; }
.article-content { min-width: 0; }
.guide-table { max-width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 12px; }
.guide-table:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.guide-table table { width: 100%; min-width: 520px; border-collapse: collapse; text-align: left; font-size: 16px; line-height: 1.6; }
.guide-table caption { padding: 16px; text-align: left; font-weight: 700; background: var(--soft); }
.guide-table th, .guide-table td { padding: 14px 16px; vertical-align: top; border-top: 1px solid var(--line); }
.guide-table thead th { background: var(--soft); }
.guide-table tbody th { width: 25%; }
.article-image figcaption { padding: 14px 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.article-content .article-meta { margin: 0 0 28px; color: var(--muted); font-size: 14px; }
.article-content .article-image { margin: 0 0 42px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); box-shadow: var(--shadow); }
.article-content .article-image img { width: 100%; }
.article-content h2 { margin: 54px 0 18px; font-size: clamp(29px, 4vw, 40px); }
.article-content h3 { margin: 32px 0 12px; font-size: 22px; }
.article-content p, .article-content li { color: #28364a; font-size: 18px; }
.article-content ol, .article-content ul { padding-left: 24px; }
.article-content li + li { margin-top: 12px; }
.article-content .note { margin: 34px 0; padding: 22px 24px; border-left: 4px solid var(--blue); background: var(--soft); color: var(--muted); }
.article-content .honest-boundary { margin-top: 36px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.article-content .honest-boundary h3 { margin-top: 0; }
.guide-code { margin: 28px 0; display: grid; gap: 14px; }
.guide-code > div { min-width: 0; }
.guide-code p { margin: 0 0 7px; color: var(--muted); font-size: 14px; font-weight: 760; }
.guide-code pre { margin: 0; padding: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #071b3a; color: #e7f3ff; font: 600 14px/1.6 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.article-aside { position: sticky; top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.article-aside h2 { font-size: 22px; }
.article-aside p { color: var(--muted); font-size: 14px; }
.article-aside .button { width: 100%; margin-top: 10px; }
.related-list { margin: 18px 0 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.related-list a { color: var(--blue); font-size: 14px; font-weight: 650; text-decoration: none; }
.press-assets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.press-assets a { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--blue); font-weight: 680; text-decoration: none; }

.legal-page { width: min(var(--reading), calc(100% - 40px)); margin: 0 auto; padding: 74px 0 100px; }
.legal-page h1 { font-size: clamp(42px, 7vw, 64px); }
.legal-page h2 { margin-top: 48px; font-size: 30px; }
.legal-page p, .legal-page li { color: #2b394d; font-size: 17px; }

footer { width: min(var(--max), calc(100% - 40px)); min-height: 110px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer p { margin: 0; text-align: center; }
.footer-nav { justify-content: flex-end; }

:focus-visible { outline: 3px solid #4bb2ff; outline-offset: 3px; border-radius: 7px; }

[dir="rtl"] .check-list li { padding-right: 28px; padding-left: 0; }
[dir="rtl"] .check-list li::before { right: 0; left: auto; }
[dir="rtl"] .article-content ol, [dir="rtl"] .article-content ul { padding-right: 24px; padding-left: 0; }
[dir="rtl"] .article-content .note { border-right: 4px solid var(--blue); border-left: 0; }

@media (max-width: 1120px) {
  .site-nav { display: none; position: absolute; z-index: 20; top: 72px; right: 20px; width: min(340px, calc(100% - 40px)); padding: 14px; flex-direction: column; align-items: stretch; gap: 4px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px; }
  .menu-button { display: inline-flex; padding: 10px; }
  .language-menu { margin: 6px 0; }
  .language-menu summary { width: 100%; }
  .language-options { position: static; width: 100%; margin-top: 6px; box-shadow: none; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero-window { transform: none; }
  .feature-rail { grid-template-columns: 1fr 1fr; }
  .feature-rail article:nth-child(2) { border-right: 0; }
  .feature-rail article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .showcase, .showcase.reverse, .tour-inner, .privacy-band { grid-template-columns: 1fr; }
  .showcase.reverse .showcase-copy, .showcase.reverse .product-shot { order: initial; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .article-shell { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .final-cta { grid-template-columns: auto 1fr; }
  .final-cta .button { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .site-header { min-height: 70px; width: calc(100% - 28px); }
  .site-nav { top: 66px; right: 14px; left: 14px; width: auto; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px; }
  .menu-button { display: inline-flex; padding: 10px; }
  .hero { padding: 58px 0 48px; }
  .hero-grid, .section, .platform-strip, .tour-inner, .privacy-band, .page-hero-inner, .blog-layout, .article-shell, .legal-page, .final-cta, footer { width: calc(100% - 28px); }
  h1 { font-size: clamp(42px, 14vw, 60px); }
  .hero-actions .button { width: 100%; }
  .platform-strip { align-items: flex-start; flex-direction: column; }
  .section { padding: 78px 0; }
  .feature-rail, .article-grid { grid-template-columns: 1fr; }
  .feature-rail article { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-rail article:last-child { border-bottom: 0; }
  .privacy-band { padding: 34px 26px; }
  .final-cta { padding: 30px 24px; grid-template-columns: 1fr; }
  footer { padding: 30px 0; grid-template-columns: 1fr; justify-items: start; }
  footer p { text-align: left; }
  .footer-nav { justify-content: flex-start; }
  .article-content p, .article-content li { font-size: 17px; }
  .press-assets { grid-template-columns: 1fr; }
}

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