:root {
  color-scheme: light;
  --black: #050507;
  --ink: #111114;
  --card: #131318;
  --secondary: #1c1c22;
  --off-white: #f2f2f5;
  --paper: #f4f4f6;
  --muted: #a8a8b2;
  --muted-dark: #666674;
  --line: rgba(17, 17, 20, 0.14);
  --line-dark: rgba(242, 242, 245, 0.16);
  --red: #ff3b30;
  --green: #30d158;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header { min-height: 84px; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-size: 14px; font-weight: 700; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; text-decoration: none; letter-spacing: 0.18em; font-size: 13px; font-weight: 800; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-header-dark { color: var(--off-white); }
.language-picker { position: relative; display: inline-flex; align-items: center; min-height: 44px; }
.language-picker select { min-height: 44px; max-width: 180px; padding: 0 34px 0 12px; border: 1px solid var(--line-dark); border-radius: 7px; color: var(--off-white); background: var(--card); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.language-picker select:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.eyebrow, .section-number { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255,59,48,.12); }

.home-hero { min-height: calc(100svh - 84px); padding: 72px max(24px, calc((100vw - 1180px) / 2)) 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .8fr); align-items: center; gap: 84px; color: var(--off-white); background: var(--black); overflow: hidden; }
.home-copy h1 { max-width: 720px; margin: 22px 0 24px; font-size: clamp(3.25rem, 7.6vw, 7rem); line-height: .91; letter-spacing: -.075em; }
.home-copy h1 span { color: var(--muted); }
.lede { max-width: 560px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.25rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 42px; }
.button { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; text-decoration: none; font-size: 14px; font-weight: 750; }
.button-light { color: var(--ink); background: var(--off-white); }
.button-dark, .button-primary { color: var(--off-white); background: var(--black); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: var(--off-white); text-underline-offset: 5px; font-size: 14px; }

.recording-frame { position: relative; width: min(100%, 470px); aspect-ratio: .73; margin-inline: auto; border: 1px solid rgba(242,242,245,.2); border-radius: 42px; overflow: hidden; background: radial-gradient(circle at 54% 28%, rgba(184,199,217,.2), transparent 25%), linear-gradient(145deg, #151922 0%, #07090d 58%, #101318 100%); box-shadow: 0 40px 90px rgba(0,0,0,.46); }
.recording-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5,5,7,.72), transparent 28%, transparent 65%, rgba(5,5,7,.9)); }
.frame-top, .frame-bottom { position: absolute; z-index: 2; left: 25px; right: 25px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 750; letter-spacing: .08em; }
.frame-top { top: 28px; }
.frame-top span:first-child { color: #ff7068; }
.frame-bottom { bottom: 26px; }
.protect-pill, .location-pill { min-width: 82px; height: 36px; padding: 0 11px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line-dark); border-radius: 7px; background: rgba(19,19,24,.8); }
.protect-pill { color: var(--green); }
.location-pill { min-width: 58px; color: var(--muted); }
.record-button { width: 58px; height: 58px; border: 4px solid var(--off-white); border-radius: 50%; box-shadow: inset 0 0 0 5px var(--black); background: var(--red); }
.road-lines { position: absolute; z-index: 1; inset: 30% -30% -4%; transform: perspective(280px) rotateX(60deg); transform-origin: bottom; border-top: 1px solid rgba(242,242,245,.18); }
.road-lines i { position: absolute; bottom: 0; width: 1px; height: 100%; background: linear-gradient(transparent, rgba(242,242,245,.42)); }
.road-lines i:nth-child(1) { left: 27%; transform: rotate(18deg); }
.road-lines i:nth-child(2) { left: 50%; }
.road-lines i:nth-child(3) { right: 27%; transform: rotate(-18deg); }

.principles { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 132px 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.principles h2 { margin: 20px 0 0; font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.06em; }
.section-number { color: var(--muted-dark); }
.principle-list article { padding: 26px 0; display: grid; grid-template-columns: 52px 1fr; border-top: 1px solid var(--line); }
.principle-list article:last-child { border-bottom: 1px solid var(--line); }
.principle-list article > span { color: var(--muted-dark); font-size: 12px; font-weight: 700; }
.principle-list h3 { margin: 0 0 8px; font-size: 1.15rem; }
.principle-list p { margin: 0; color: var(--muted-dark); }

.download-callout { width: min(1180px, calc(100% - 48px)); margin: 0 auto 100px; padding: 34px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; border: 1px solid var(--line); background: #fff; }
.download-callout img { width: 74px; border-radius: 17px; }
.download-callout h2 { margin: 5px 0 0; font-size: clamp(1.25rem, 3vw, 2rem); letter-spacing: -.035em; }

.downloads-page { color: var(--off-white); background: var(--black); }
.downloads-main { overflow: hidden; }
.download-hero { min-height: calc(100svh - 84px); padding: 54px 24px 105px; display: flex; align-items: center; flex-direction: column; text-align: center; background: radial-gradient(circle at 50% 46%, rgba(184,199,217,.1), transparent 27%); }
.release-tag { align-self: center; margin-bottom: 50px; padding: 8px 12px; border: 1px solid var(--line-dark); border-radius: 6px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.hero-icon { width: clamp(96px, 13vw, 140px); border-radius: 28%; box-shadow: 0 28px 70px rgba(0,0,0,.4); }
.download-hero .eyebrow { margin-top: 30px; color: var(--muted); }
.download-hero h1 { margin: 18px 0 20px; font-size: clamp(3rem, 8vw, 6.8rem); line-height: .92; letter-spacing: -.075em; }
.download-lede { margin: 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.7; }
.store-grid { width: min(100%, 660px); margin-top: 46px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.store-badge-card { min-height: 74px; padding: 12px 13px 12px 18px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; border: 1px solid var(--line-dark); border-radius: 8px; text-align: left; background: var(--card); color: var(--off-white); }
.store-badge-card img { width: auto; height: 40px; max-width: 100%; }
.store-badge-card em { padding: 5px 7px; border-radius: 5px; color: var(--muted); background: var(--secondary); font-size: 10px; font-style: normal; white-space: nowrap; }
.store-note { margin: 15px 0 0; color: var(--muted-dark); font-size: 12px; }

.release-details { width: min(940px, calc(100% - 48px)); margin: 0 auto; padding: 110px 0; display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; border-top: 1px solid var(--line-dark); }
.details-heading h2 { margin: 14px 0 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.055em; }
.status-list > div { min-height: 82px; display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 16px; border-top: 1px solid var(--line-dark); }
.status-list > div:last-child { border-bottom: 1px solid var(--line-dark); }
.check-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.status-list p { display: flex; flex-direction: column; margin: 0; }
.status-list strong { font-size: 14px; }
.status-list small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.status-list b { color: var(--green); font-size: 11px; }
.status-list b.pending { color: var(--muted); }
.status-list div:has(.pending) .check-dot { background: var(--muted-dark); }

.download-bottom { width: min(940px, calc(100% - 48px)); margin: 0 auto 100px; padding: 44px; display: flex; align-items: end; justify-content: space-between; gap: 24px; color: var(--ink); background: var(--off-white); }
.download-bottom p { margin: 0; font-size: clamp(1.45rem, 3vw, 2.5rem); line-height: 1.2; letter-spacing: -.04em; }
.download-bottom a { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; text-underline-offset: 5px; font-size: 14px; font-weight: 700; }
.site-footer { min-height: 82px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted-dark); font-size: 12px; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
.site-footer-dark { border-color: var(--line-dark); color: var(--muted); }

.error-page { min-height: 100svh; padding: 24px; display: grid; place-items: center; background: var(--black); color: var(--off-white); }
.error-card { width: min(100%, 560px); }
.error-card .eyebrow { margin-top: 64px; color: var(--red); }
.error-card h1 { margin: 12px 0 18px; font-size: clamp(2.7rem, 9vw, 5rem); line-height: .96; letter-spacing: -.06em; }
.error-card p:not(.eyebrow) { margin-bottom: 28px; color: var(--muted); }
.error-card .button-primary { color: var(--ink); background: var(--off-white); }

@media (max-width: 820px) {
  .home-hero { grid-template-columns: 1fr; gap: 72px; padding-top: 70px; }
  .recording-frame { width: min(100%, 390px); }
  .principles, .release-details { grid-template-columns: 1fr; gap: 56px; }
  .download-callout { grid-template-columns: auto 1fr; }
  .download-callout .button { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .site-header, .site-footer, .principles, .download-callout, .release-details, .download-bottom { width: calc(100% - 32px); }
  .site-header { min-height: 72px; }
  .site-header nav { gap: 10px; }
  .language-picker select { width: 148px; max-width: 148px; }
  .home-link { width: 44px; justify-content: center; font-size: 0 !important; }
  .home-link::before { content: "←"; font-size: 18px; }
  html[dir="rtl"] .home-link::before { content: "→"; }
  .home-hero { min-height: auto; padding: 64px 16px 76px; }
  .home-copy h1 { font-size: clamp(3.2rem, 16vw, 4.8rem); }
  .recording-frame { border-radius: 30px; }
  .principles { padding: 90px 0; }
  .download-callout { margin-bottom: 72px; padding: 24px; }
  .download-callout img { width: 58px; border-radius: 14px; }
  .download-hero { min-height: calc(100svh - 72px); padding: 38px 16px 80px; }
  .release-tag { margin-bottom: 36px; }
  .download-hero h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .store-grid { grid-template-columns: 1fr; }
  .store-badge-card { min-height: 72px; }
  .release-details { padding: 80px 0; }
  .download-bottom { margin-bottom: 72px; padding: 28px; align-items: start; flex-direction: column; }
}

html[dir="rtl"] body { font-family: Tahoma, Arial, sans-serif; }
html[dir="rtl"] .status-list p,
html[dir="rtl"] .details-heading,
html[dir="rtl"] .download-bottom { text-align: right; }
html[dir="rtl"] .download-bottom a span[aria-hidden="true"] { display: inline-block; transform: rotate(180deg); }

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