:root {
  color-scheme: light;
  --ink: #12171a;
  --muted: #5c6970;
  --line: #dbe3e7;
  --surface: #f4f8fa;
  --soft-blue: #eaf6fb;
  --white: #ffffff;
  --charcoal: #111417;
  --charcoal-soft: #1b2024;
  --blue: #0787bd;
  --blue-strong: #056d9b;
  --coral: #ff5c69;
  --gold: #ffba27;
  --green: #31b979;
  --radius: 8px;
  --max: 1180px;
  --shadow: 0 24px 60px rgba(20, 45, 56, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(7, 135, 189, .32);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: 12px;
  z-index: 100;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 750;
  transform: translateY(-180%);
}

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

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(18, 23, 26, .1);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 820;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(7, 135, 189, .18);
}

.nav-actions,
.nav-primary {
  display: flex;
  align-items: center;
}

.nav-actions {
  gap: 10px;
}

.nav-primary {
  gap: 2px;
}

.nav-primary > a,
.mobile-menu-panel > a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
}

.nav-primary > a:hover,
.mobile-menu-panel > a:hover {
  background: var(--soft-blue);
  color: var(--ink);
}

.nav-primary > a[aria-current="page"],
.mobile-menu-panel > a[aria-current="page"] {
  color: var(--ink);
  font-weight: 820;
}

.language-menu,
.mobile-menu {
  position: relative;
  flex: 0 0 auto;
}

.language-menu summary,
.mobile-menu summary {
  min-width: 42px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  list-style: none;
}

.language-menu summary::-webkit-details-marker,
.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary {
  gap: 8px;
  padding: 0 11px;
}

.language-menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.language-menu[open] summary,
.mobile-menu[open] summary {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--white);
}

.language-options,
.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  min-width: 186px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(12, 28, 34, .18);
}

.language-options {
  display: grid;
}

.language-options a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.language-options a:hover {
  background: var(--soft-blue);
  color: var(--ink);
}

.language-options a[aria-current="true"] {
  background: var(--charcoal);
  color: var(--white);
}

.language-options small {
  color: inherit;
  font-size: 11px;
  font-weight: 850;
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  flex-direction: column;
  gap: 4px;
}

.mobile-menu summary span {
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.mobile-menu-panel {
  width: 250px;
  display: grid;
}

.hero {
  position: relative;
  height: min(780px, calc(100svh - 98px));
  min-height: 610px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--charcoal);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 5px;
  background: linear-gradient(90deg, var(--blue) 0 42%, var(--coral) 42% 66%, var(--gold) 66% 100%);
}

.hero-backdrop,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-backdrop {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 16, 18, .99) 0%, rgba(14, 16, 18, .92) 30%, rgba(14, 16, 18, .58) 52%, rgba(14, 16, 18, .08) 78%),
    linear-gradient(0deg, rgba(14, 16, 18, .48), transparent 46%);
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 76px;
  position: relative;
  z-index: 2;
}

.hero-brand-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.hero-app-icon {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34);
  object-fit: cover;
}

.eyebrow {
  margin: 0;
  color: #ffd36c;
  font-size: 14px;
  font-weight: 820;
  letter-spacing: 0;
}

.eyebrow.dark {
  color: var(--blue-strong);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: 88px;
  font-weight: 870;
}

.hero-copy {
  max-width: 580px;
  margin: 0;
  color: #ecf2f4;
  font-size: 21px;
  line-height: 1.5;
}

.hero-badges {
  max-width: 600px;
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-badges span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(17, 20, 23, .46);
  color: var(--white);
  font-size: 13px;
  font-weight: 720;
  backdrop-filter: blur(10px);
}

.hero-badges i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(7, 135, 189, .2);
}

.hero-badges span:nth-child(2) i {
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 92, 105, .2);
}

.hero-badges span:nth-child(3) i {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 186, 39, .2);
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 14px 34px rgba(255, 186, 39, .2);
}

.button.primary:hover {
  background: #ffc94e;
}

.button.secondary {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .52);
}

.platform-rail {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.platform-rail-inner {
  min-height: 112px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 26px;
}

.platform-rail-inner > strong {
  font-size: 14px;
}

.platform-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.platform-list > span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.platform-list i {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--soft-blue);
  color: var(--blue-strong);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.platform-list span:nth-child(2) i,
.platform-list span:nth-child(5) i {
  background: #fff0f2;
  color: #c73f4b;
}

.platform-list span:nth-child(3) i,
.platform-list span:nth-child(6) i {
  background: #fff6dd;
  color: #946a00;
}

.section {
  padding: 104px 0;
}

.section-head {
  max-width: 760px;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.privacy-copy h2,
.download-copy h2 {
  margin-bottom: 18px;
  font-size: 52px;
  font-weight: 840;
}

.section-head p,
.privacy-copy > p,
.download-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.visual-section {
  background: var(--surface);
}

.visual-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  grid-template-rows: repeat(2, minmax(270px, 1fr));
  gap: 16px;
}

.visual-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.visual-card.player {
  grid-row: 1 / 3;
  display: grid;
  grid-template-rows: minmax(420px, 1fr) auto;
  background: var(--charcoal);
  color: var(--white);
}

.visual-card.plugins,
.visual-card.sync {
  display: grid;
  grid-template-columns: minmax(160px, .9fr) minmax(150px, 1fr);
  align-items: stretch;
}

.visual-copy {
  padding: 25px 26px 28px;
}

.visual-copy h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.visual-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.visual-card.player .visual-copy p {
  color: #b9c4c9;
}

.visual-mockup {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.player-mockup {
  min-height: 420px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 18px;
  padding: 24px;
  background: #161a1e;
}

.mock-sidebar {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 14px 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  background: #20262b;
}

.mock-sidebar i {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, .36);
  border-radius: 6px;
}

.mock-sidebar i:first-child {
  border-color: var(--blue);
  background: rgba(7, 135, 189, .2);
}

.mock-sidebar i:last-child {
  margin-top: auto;
  border-color: var(--gold);
}

.mini-screen {
  position: relative;
  min-height: 300px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  background:
    linear-gradient(118deg, rgba(7, 135, 189, .86), rgba(7, 135, 189, .08) 58%),
    linear-gradient(35deg, #202327 0 45%, #ff5c69 45% 58%, #ffba27 58% 72%, #f1f4f5 72% 100%);
}

.mini-screen::before {
  content: "";
  position: absolute;
  inset: auto 20px 21px;
  height: 5px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--coral) 0 38%, rgba(255, 255, 255, .35) 38% 100%);
}

.mini-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 14px rgba(255, 186, 39, .16);
  transform: translate(-50%, -50%);
}

.mini-play::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 17px;
  border-left: 18px solid var(--charcoal);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.mini-bar {
  display: none;
}

.mock-caption {
  display: grid;
  gap: 9px;
  padding: 2px 4px;
}

.mock-caption i {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .42);
}

.mock-caption i:last-child {
  width: 62%;
  background: rgba(255, 255, 255, .18);
}

.plugin-mockup {
  min-height: 270px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
  background: #181c20;
}

.plugin-tile {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
}

.plugin-tile i {
  width: 27px;
  height: 27px;
  border: 7px solid rgba(255, 255, 255, .86);
  border-radius: 50%;
}

.plugin-tile b {
  width: 68%;
  height: 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .74);
}

.plugin-tile.coral {
  background: #d84f5c;
}

.plugin-tile.blue {
  background: #0879aa;
}

.plugin-tile.gold {
  background: #d99c20;
}

.plugin-tile.white {
  background: #eef3f5;
}

.plugin-tile.white i {
  border-color: var(--charcoal);
}

.plugin-tile.white b {
  background: rgba(18, 23, 26, .58);
}

.sync-mockup {
  min-height: 270px;
  background: #0b7ead;
}

.sync-mockup::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 30px 30px;
}

.device {
  position: absolute;
  top: 73px;
  width: 60px;
  height: 105px;
  padding: 7px;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 12px;
  background: rgba(17, 20, 23, .42);
  box-shadow: 0 16px 32px rgba(7, 42, 57, .22);
}

.device i {
  display: block;
  width: 100%;
  height: 58%;
  border-radius: 5px;
  background: linear-gradient(145deg, var(--coral), var(--gold));
}

.device.one {
  left: 24px;
}

.device.two {
  right: 24px;
  width: 72px;
  transform: rotate(3deg);
}

.device.two i {
  background: linear-gradient(145deg, #eef3f5, var(--blue));
}

.sync-line {
  position: absolute;
  left: 78px;
  right: 88px;
  top: 123px;
  height: 4px;
  background: repeating-linear-gradient(90deg, #ffd36c 0 10px, transparent 10px 18px);
}

.lock-dot {
  position: absolute;
  left: 50%;
  top: 93px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 12px rgba(255, 186, 39, .18);
  transform: translateX(-50%);
}

.lock-dot::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  width: 20px;
  height: 20px;
  border: 4px solid var(--charcoal);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.lock-dot::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 29px;
  width: 26px;
  height: 18px;
  border-radius: 4px;
  background: var(--charcoal);
}

.principles-section {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
}

.principles-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue) 0 42%, var(--coral) 42% 66%, var(--gold) 66% 100%);
}

.principles-section .section-head p {
  color: #aebbc1;
}

.principles {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .17);
}

.principle {
  min-width: 0;
  padding: 30px 34px 8px 0;
}

.principle + .principle {
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, .17);
}

.principle-number {
  display: block;
  margin-bottom: 58px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.principle:nth-child(2) .principle-number {
  color: var(--coral);
}

.principle:nth-child(3) .principle-number {
  color: var(--gold);
}

.principle h3 {
  margin-bottom: 11px;
  font-size: 23px;
}

.principle p {
  margin: 0;
  color: #aebbc1;
  font-size: 15px;
}

.privacy-story {
  padding: 108px 0;
  background: var(--white);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: 78px;
}

.privacy-visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b82b3;
  box-shadow: var(--shadow);
}

.privacy-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 38px 38px;
}

.privacy-device {
  position: absolute;
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  background: #151a1e;
  box-shadow: 0 32px 68px rgba(5, 44, 60, .35);
}

.privacy-device i {
  display: block;
  height: 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .16);
}

.privacy-device i:first-child {
  width: 58%;
  background: var(--coral);
}

.privacy-device i:last-child {
  width: 78%;
  background: var(--gold);
}

.privacy-device.back {
  left: 64px;
  top: 80px;
  width: 68%;
  height: 245px;
  opacity: .76;
  transform: rotate(-6deg);
}

.privacy-device.front {
  right: 46px;
  bottom: 52px;
  width: 62%;
  height: 230px;
  transform: rotate(3deg);
}

.privacy-lock {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 102px;
  height: 102px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 20px rgba(255, 186, 39, .18), 0 24px 48px rgba(8, 55, 74, .3);
  transform: translate(-50%, -50%);
}

.privacy-lock::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 21px;
  width: 34px;
  height: 34px;
  border: 6px solid var(--charcoal);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
}

.privacy-lock i {
  position: absolute;
  left: 28px;
  top: 51px;
  width: 46px;
  height: 32px;
  border-radius: 5px;
  background: var(--charcoal);
}

.cipher-line {
  position: absolute;
  height: 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .72);
}

.cipher-line.one {
  left: 28px;
  bottom: 24px;
  width: 94px;
}

.cipher-line.two {
  right: 26px;
  top: 26px;
  width: 132px;
  background: var(--coral);
}

.privacy-copy .eyebrow {
  margin-bottom: 18px;
}

.privacy-copy h2 {
  margin-bottom: 20px;
}

.text-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--blue-strong);
  font-weight: 820;
  text-decoration: none;
}

.text-link span {
  transition: transform .18s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.download-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: #15181b;
  color: var(--white);
}

.download-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--gold) 0 34%, var(--coral) 34% 58%, var(--blue) 58% 100%);
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  align-items: center;
  gap: 90px;
}

.download-copy h2 {
  max-width: 660px;
  margin: 16px 0 18px;
}

.download-copy > p {
  max-width: 620px;
  color: #bdc8cd;
}

.download-visual {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.download-visual > img {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  box-shadow: 0 28px 58px rgba(0, 0, 0, .32);
}

.download-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.download-platforms span {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
  color: #dfe6e9;
  font-size: 13px;
  font-weight: 720;
}

.download-visual > p {
  grid-column: 1 / 3;
  margin: 0;
  color: #98a7ae;
  font-size: 13px;
}

.legal-hero,
.download-hero {
  position: relative;
  overflow: hidden;
}

.legal-hero {
  border-bottom: 1px solid var(--line);
  background: var(--soft-blue);
}

.legal-hero::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: -120px;
  width: 340px;
  height: 340px;
  background: url("/assets/app-icon.png") center / contain no-repeat;
  opacity: .055;
  transform: rotate(8deg);
}

.legal-hero-inner {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 76px;
  position: relative;
  z-index: 1;
}

.legal-meta {
  margin: 0 0 18px;
  color: var(--blue-strong);
  font-size: 13px;
  font-weight: 850;
}

.legal-hero h1,
.download-hero h1 {
  margin-bottom: 20px;
  font-size: 64px;
  font-weight: 860;
}

.legal-hero-inner > p:last-child,
.download-hero-inner > div > p:last-child {
  max-width: 820px;
  margin: 0;
  color: #43545d;
  font-size: 19px;
  line-height: 1.65;
}

.legal-content {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 90px;
}

.legal-section {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  column-gap: 54px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  grid-column: 1;
  grid-row: 1 / span 20;
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

.legal-section p,
.legal-section ul {
  grid-column: 2;
}

.legal-section p,
.legal-section li {
  color: #3f5058;
  font-size: 16px;
  line-height: 1.75;
}

.legal-section p {
  margin: 0;
}

.legal-section p + p,
.legal-section ul + p {
  margin-top: 16px;
}

.legal-section ul {
  margin: 0;
  padding-left: 22px;
}

.legal-section li + li {
  margin-top: 12px;
}

.download-hero {
  min-height: 410px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(17, 20, 23, .99), rgba(17, 20, 23, .84) 56%, rgba(17, 20, 23, .24)),
    url("/assets/shinuda-product-hero.jpg") center / cover no-repeat;
  color: var(--white);
}

.download-hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.download-hero-inner > img {
  width: 104px;
  height: 104px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 23px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, .34);
}

.download-hero .legal-meta {
  color: #ffd36c;
}

.download-hero h1 {
  margin-bottom: 15px;
}

.download-hero-inner > div > p:last-child {
  max-width: 650px;
  color: #d9e2e5;
}

.download-catalog {
  padding: 74px 0 92px;
  background: var(--surface);
}

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

.download-item {
  min-width: 0;
  min-height: 126px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(20, 45, 56, .05);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.download-item:hover {
  border-color: #9fcddd;
  box-shadow: 0 20px 42px rgba(20, 45, 56, .1);
  transform: translateY(-2px);
}

.download-item-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--soft-blue);
  color: var(--blue-strong);
  font-size: 10px;
  font-weight: 900;
}

.download-item:nth-child(2n) .download-item-icon {
  background: #fff0f2;
  color: #bd3d48;
}

.download-item:nth-child(3n) .download-item-icon {
  background: #fff5d8;
  color: #8c6500;
}

.download-item-copy {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}

.download-item-copy strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 16px;
}

.download-item .arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue-strong);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.download-item .arrow i {
  font-size: 16px;
  font-style: normal;
}

.integrity-note {
  margin-top: 38px;
  padding: 26px 0;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.integrity-note > span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ddf6e9;
  color: #14794b;
  font-weight: 900;
}

.integrity-note h2 {
  margin-bottom: 6px;
  font-size: 19px;
}

.integrity-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav-primary {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    height: calc(100svh - 92px);
    min-height: 590px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(14, 16, 18, .99) 0%, rgba(14, 16, 18, .91) 45%, rgba(14, 16, 18, .36) 78%),
      linear-gradient(0deg, rgba(14, 16, 18, .55), transparent 50%);
  }

  .hero h1 {
    font-size: 72px;
  }

  .platform-rail-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  .platform-list > span:first-child {
    border-left: 0;
  }

  .visual-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .visual-card.player {
    grid-row: auto;
  }

  .visual-card.plugins,
  .visual-card.sync {
    min-height: 300px;
  }

  .privacy-layout,
  .download-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .privacy-visual {
    min-height: 520px;
  }

  .download-visual {
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  .wrap,
  .nav,
  .hero-inner,
  .legal-hero-inner,
  .legal-content,
  .download-hero-inner {
    width: calc(100% - 32px);
  }

  .nav {
    min-height: 64px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero {
    height: calc(100svh - 84px);
    min-height: 560px;
  }

  .hero-backdrop {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(14, 16, 18, .98), rgba(14, 16, 18, .82) 72%, rgba(14, 16, 18, .54)),
      linear-gradient(0deg, rgba(14, 16, 18, .58), transparent 52%);
  }

  .hero-inner {
    padding: 42px 0 54px;
  }

  .hero-brand-line {
    gap: 12px;
    margin-bottom: 20px;
  }

  .hero-app-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }

  .hero h1 {
    margin-bottom: 14px;
    font-size: 56px;
  }

  .hero-copy {
    max-width: 510px;
    font-size: 18px;
  }

  .hero-badges {
    margin-top: 20px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .platform-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .platform-list > span:nth-child(4) {
    border-left: 0;
  }

  .platform-list > span {
    padding: 9px 10px;
  }

  .section,
  .privacy-story,
  .download-section {
    padding: 76px 0;
  }

  .section-head h2,
  .privacy-copy h2,
  .download-copy h2 {
    font-size: 40px;
  }

  .visual-grid {
    margin-top: 36px;
  }

  .visual-card.plugins,
  .visual-card.sync {
    grid-template-columns: 1fr;
  }

  .plugin-mockup,
  .sync-mockup {
    min-height: 230px;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principle,
  .principle + .principle {
    padding: 26px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .17);
  }

  .principle-number {
    margin-bottom: 24px;
  }

  .privacy-layout {
    gap: 40px;
  }

  .privacy-visual {
    min-height: 420px;
  }

  .privacy-device.back {
    left: 36px;
  }

  .privacy-device.front {
    right: 28px;
  }

  .download-layout {
    gap: 44px;
  }

  .legal-hero-inner {
    padding: 62px 0 58px;
  }

  .legal-hero h1,
  .download-hero h1 {
    font-size: 48px;
  }

  .legal-content {
    padding-top: 28px;
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0;
  }

  .legal-section h2,
  .legal-section p,
  .legal-section ul {
    grid-column: 1;
    grid-row: auto;
  }

  .download-hero {
    min-height: 440px;
  }

  .download-hero-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand span {
    font-size: 15px;
  }

  .nav-actions {
    gap: 7px;
  }

  .language-menu summary,
  .mobile-menu summary {
    min-width: 40px;
    min-height: 38px;
  }

  .mobile-menu-panel {
    width: min(250px, calc(100vw - 32px));
  }

  .hero {
    min-height: 590px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-badges {
    gap: 7px;
  }

  .hero-badges span {
    min-height: 30px;
    padding: 0 9px;
    font-size: 11px;
  }

  .hero-actions,
  .download-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .platform-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-list > span:nth-child(3),
  .platform-list > span:nth-child(5) {
    border-left: 0;
  }

  .platform-list > span:nth-child(4) {
    border-left: 1px solid var(--line);
  }

  .section-head h2,
  .privacy-copy h2,
  .download-copy h2 {
    font-size: 34px;
  }

  .section-head p,
  .privacy-copy > p,
  .download-copy > p {
    font-size: 16px;
  }

  .player-mockup {
    min-height: 330px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .visual-card.player {
    grid-template-rows: minmax(330px, 1fr) auto;
  }

  .mini-screen {
    min-height: 230px;
  }

  .visual-copy {
    padding: 22px;
  }

  .privacy-visual {
    min-height: 350px;
  }

  .privacy-device {
    padding: 18px;
  }

  .privacy-device.back {
    left: 24px;
    top: 50px;
    width: 74%;
    height: 190px;
  }

  .privacy-device.front {
    right: 18px;
    bottom: 36px;
    width: 68%;
    height: 180px;
  }

  .privacy-lock {
    width: 82px;
    height: 82px;
  }

  .privacy-lock::before {
    left: 25px;
    top: 17px;
    width: 27px;
    height: 27px;
    border-width: 5px;
  }

  .privacy-lock i {
    left: 23px;
    top: 42px;
    width: 37px;
    height: 26px;
  }

  .download-visual {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
  }

  .download-visual > img {
    width: 84px;
    height: 84px;
    border-radius: 19px;
  }

  .download-platforms span {
    min-height: 34px;
    padding-inline: 8px;
    font-size: 11px;
  }

  .legal-hero h1,
  .download-hero h1 {
    font-size: 40px;
  }

  .legal-hero-inner > p:last-child,
  .download-hero-inner > div > p:last-child {
    font-size: 17px;
  }

  .download-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    padding: 17px;
  }

  .download-item-icon {
    width: 48px;
    height: 48px;
  }

  .download-item .arrow {
    grid-column: 2;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
