@font-face {
  font-family: "Sora";
  src: url("./assets/fonts/Sora-Variable.ttf") format("truetype");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f7f8fb;
  --text: #10151d;
  --muted: #697481;
  --line: rgba(17, 26, 38, 0.1);
  --line-strong: rgba(17, 26, 38, 0.16);
  --glass: rgba(255, 255, 255, 0.54);
  --menu-bg: rgba(249, 251, 255, 0.82);
  --menu-text: #10151d;
  --menu-hover: rgba(22, 141, 255, 0.08);
  --slot-bg: rgba(255, 255, 255, 0.34);
  --grid-line: rgba(17, 26, 38, 0.055);
  --grid-line-wide: rgba(17, 26, 38, 0.032);
  --noise-opacity: 0.035;
  --icon-shadow: rgba(17, 26, 38, 0.14);
  --trust-card-border-base: rgba(17, 26, 38, 0.1);
  --trust-card-border-accent: 10%;
  --trust-card-inner-rim: rgba(255, 255, 255, 0.2);
  --trust-card-shadow: rgba(17, 26, 38, 0.1);
  --preview-paper: #f8f6f3;
  --preview-wash: #dfeefe;
  --preview-ink: rgba(16, 21, 29, 0.84);
  --preview-shadow: rgba(17, 26, 38, 0.2);
  --preview-shape-strength: 74%;
  --phone-frame: #07090d;
  --phone-glow: rgba(22, 141, 255, 0.14);
  --cyan: #55dcff;
  --blue: #168dff;
  --violet: #8b3cff;
  --yellow: #ffe25b;
  --green: #75f348;
  --orange: #ff7b2a;
  --pad: clamp(20px, 5vw, 72px);
  --sans: "Sora", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #03070d;
    --text: #f7f8fb;
    --muted: #8d98a8;
    --line: rgba(211, 226, 246, 0.13);
    --line-strong: rgba(211, 226, 246, 0.22);
    --glass: rgba(8, 13, 22, 0.62);
    --menu-bg: rgba(6, 10, 17, 0.82);
    --menu-text: #f7f8fb;
    --menu-hover: rgba(85, 220, 255, 0.08);
    --slot-bg: rgba(3, 7, 13, 0.26);
    --grid-line: rgba(211, 226, 246, 0.055);
    --grid-line-wide: rgba(211, 226, 246, 0.026);
    --noise-opacity: 0.06;
    --icon-shadow: rgba(0, 0, 0, 0.42);
    --trust-card-border-base: rgba(211, 226, 246, 0.22);
    --trust-card-border-accent: 28%;
    --trust-card-inner-rim: rgba(255, 255, 255, 0.09);
    --trust-card-shadow: rgba(0, 0, 0, 0.34);
    --preview-paper: #070b12;
    --preview-wash: #101928;
    --preview-ink: rgba(247, 248, 251, 0.78);
    --preview-shadow: rgba(0, 0, 0, 0.54);
    --preview-shape-strength: 30%;
    --phone-frame: #05070a;
    --phone-glow: rgba(85, 220, 255, 0.16);
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f8fb;
  --text: #10151d;
  --muted: #697481;
  --line: rgba(17, 26, 38, 0.1);
  --line-strong: rgba(17, 26, 38, 0.16);
  --glass: rgba(255, 255, 255, 0.54);
  --menu-bg: rgba(249, 251, 255, 0.82);
  --menu-text: #10151d;
  --menu-hover: rgba(22, 141, 255, 0.08);
  --slot-bg: rgba(255, 255, 255, 0.34);
  --grid-line: rgba(17, 26, 38, 0.055);
  --grid-line-wide: rgba(17, 26, 38, 0.032);
  --noise-opacity: 0.035;
  --icon-shadow: rgba(17, 26, 38, 0.14);
  --trust-card-border-base: rgba(17, 26, 38, 0.1);
  --trust-card-border-accent: 10%;
  --trust-card-inner-rim: rgba(255, 255, 255, 0.2);
  --trust-card-shadow: rgba(17, 26, 38, 0.1);
  --preview-paper: #f8f6f3;
  --preview-wash: #dfeefe;
  --preview-ink: rgba(16, 21, 29, 0.84);
  --preview-shadow: rgba(17, 26, 38, 0.2);
  --preview-shape-strength: 74%;
  --phone-frame: #07090d;
  --phone-glow: rgba(22, 141, 255, 0.14);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #03070d;
  --text: #f7f8fb;
  --muted: #8d98a8;
  --line: rgba(211, 226, 246, 0.13);
  --line-strong: rgba(211, 226, 246, 0.22);
  --glass: rgba(8, 13, 22, 0.62);
  --menu-bg: rgba(6, 10, 17, 0.82);
  --menu-text: #f7f8fb;
  --menu-hover: rgba(85, 220, 255, 0.08);
  --slot-bg: rgba(3, 7, 13, 0.26);
  --grid-line: rgba(211, 226, 246, 0.055);
  --grid-line-wide: rgba(211, 226, 246, 0.026);
  --noise-opacity: 0.06;
  --icon-shadow: rgba(0, 0, 0, 0.42);
  --trust-card-border-base: rgba(211, 226, 246, 0.22);
  --trust-card-border-accent: 28%;
  --trust-card-inner-rim: rgba(255, 255, 255, 0.09);
  --trust-card-shadow: rgba(0, 0, 0, 0.34);
  --preview-paper: #070b12;
  --preview-wash: #101928;
  --preview-ink: rgba(247, 248, 251, 0.78);
  --preview-shadow: rgba(0, 0, 0, 0.54);
  --preview-shape-strength: 30%;
  --phone-frame: #05070a;
  --phone-glow: rgba(85, 220, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  letter-spacing: 0;
  overflow-x: hidden;
}

a,
button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
}

.background-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 24%, rgba(85, 220, 255, 0.07), transparent 24rem),
    radial-gradient(circle at 58% 45%, rgba(139, 60, 255, 0.055), transparent 22rem),
    radial-gradient(circle at 48% 61%, rgba(255, 226, 91, 0.035), transparent 22rem),
    var(--bg);
}

.background-fx::before,
.background-fx::after,
.noise-overlay {
  position: absolute;
  inset: 0;
  content: "";
}

.background-fx::before {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-position: center;
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.22));
}

.background-fx::after {
  background-image:
    linear-gradient(var(--grid-line-wide) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-wide) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 34%, rgba(85, 220, 255, 0.055), transparent 31%),
    radial-gradient(ellipse at 52% 54%, rgba(255, 226, 91, 0.035), transparent 28%);
  background-position: center;
  background-size: 128px 128px;
}

.noise-overlay {
  opacity: var(--noise-opacity);
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.site-header,
.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.site-header {
  min-height: 76px;
}

.site-footer {
  display: grid;
  width: 100%;
  max-width: none;
  margin: 0;
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
  justify-items: center;
  gap: clamp(92px, 9vw, 132px);
  padding: 0 var(--pad);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.site-main + .site-footer {
  margin-top: clamp(72px, 9vw, 118px);
}

.legal-page .site-footer {
  margin-top: clamp(56px, 8vw, 92px);
  padding-top: 0;
}

.footer-bar {
  display: grid;
  width: min(100%, 1180px);
  min-height: 76px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-top: 0;
  color: color-mix(in srgb, var(--text) 64%, transparent);
}

.footer-copyright,
.footer-origin p,
.footer-links {
  margin: 0;
}

.footer-copyright {
  justify-self: start;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.16rem;
  font-weight: 700;
}

.footer-origin {
  display: grid;
  gap: 5px;
  justify-items: center;
  color: color-mix(in srgb, var(--text) 58%, transparent);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 560;
}

.footer-origin a {
  color: inherit;
  text-decoration: none;
}

.footer-contact {
  color: color-mix(in srgb, var(--text) 62%, transparent);
}

.footer-contact a {
  color: color-mix(in srgb, var(--text) 78%, transparent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--text);
}

.footer-studio {
  color: color-mix(in srgb, var(--text) 72%, transparent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-origin a:hover .footer-studio,
.footer-origin a:focus-visible .footer-studio {
  color: var(--text);
}

.footer-origin a:focus-visible {
  border-radius: 6px;
  outline: 2px solid color-mix(in srgb, var(--cyan) 70%, transparent);
  outline-offset: 4px;
}

.footer-links {
  display: flex;
  justify-self: end;
  gap: 32px;
  color: color-mix(in srgb, var(--text) 62%, transparent);
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 650;
}

.footer-fineprint {
  max-width: min(100%, 860px);
  margin: -72px auto 22px;
}

.footer-privacy-note,
.footer-legal {
  margin: 0;
  color: color-mix(in srgb, var(--text) 36%, transparent);
  font-size: 0.66rem;
  font-weight: 430;
  line-height: 1.55;
  text-wrap: balance;
}

.footer-legal {
  margin-top: 10px;
}

.download-section {
  display: grid;
  justify-items: center;
  gap: 22px;
  width: min(100%, 760px);
}

.download-cta {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.download-cta h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.35rem, 6vw, 4.85rem);
  font-weight: 720;
  line-height: 0.96;
  text-wrap: balance;
}

.download-cta p {
  margin: 0;
  color: color-mix(in srgb, var(--text) 62%, transparent);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  font-weight: 430;
  line-height: 1.4;
  text-wrap: balance;
}

.store-buttons {
  display: grid;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 8px;
}

.store-link {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 10px;
}

.app-store-badge {
  display: block;
  width: auto;
  height: clamp(56px, 7vw, 68px);
}

.google-play-badge {
  display: block;
  width: clamp(198px, 24vw, 204px);
  height: auto;
  transition:
    opacity 220ms ease,
    transform 260ms ease,
    filter 260ms ease;
}

.google-play-soon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(198px, 24vw, 204px);
  aspect-ratio: 646 / 250;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #050505;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 12px 32px rgba(0, 0, 0, 0.24);
  font-size: clamp(1.42rem, 3.6vw, 1.84rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translate(-50%, -38%) scale(0.94);
  transition:
    opacity 220ms ease,
    transform 280ms cubic-bezier(0.2, 0.9, 0.22, 1.12);
}

.google-play-link.is-coming-soon .google-play-badge {
  opacity: 0;
  filter: blur(2px);
  transform: translateY(-8px) scale(0.96);
}

.google-play-link.is-coming-soon .google-play-soon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 650;
}

.brand img {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(85, 220, 255, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-menu,
.language-menu {
  position: relative;
}

.theme-toggle,
.language-toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: color-mix(in srgb, var(--text) 88%, transparent);
  background: var(--glass);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.theme-toggle svg,
.language-toggle svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.theme-toggle[aria-expanded="true"] svg,
.language-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.language-code,
.theme-label {
  min-width: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.theme-list,
.language-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: 184px;
  gap: 2px;
  padding: 8px;
  margin: 0;
  border: 1px solid rgba(4, 8, 14, 0.12);
  border-radius: 8px;
  color: var(--menu-text);
  background: var(--menu-bg);
  backdrop-filter: blur(18px);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  list-style: none;
}

.theme-list {
  width: 168px;
}

.language-list[hidden] {
  display: none;
}

.theme-list[hidden] {
  display: none;
}

.theme-list button,
.language-list button {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  border-radius: 7px;
  color: inherit;
  background: transparent;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.theme-list button:hover,
.theme-list button[aria-current="true"],
.language-list button:hover,
.language-list button[aria-current="true"] {
  background: var(--menu-hover);
}

.brand:focus-visible,
.store-link:focus-visible,
.theme-toggle:focus-visible,
.theme-list button:focus-visible,
.language-toggle:focus-visible,
.language-list button:focus-visible,
.footer-links a:focus-visible {
  outline: 2px solid rgba(85, 220, 255, 0.78);
  outline-offset: 4px;
}

.site-main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  min-height: calc(100svh - 152px);
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px) var(--pad);
  place-items: center;
  text-align: center;
}

.hero-mark {
  position: relative;
  width: clamp(148px, 21vw, 260px);
  aspect-ratio: 1;
  margin-bottom: clamp(24px, 5vw, 48px);
}

.hero-mark::before {
  position: absolute;
  inset: 8%;
  z-index: -1;
  border-radius: 32%;
  content: "";
  background:
    radial-gradient(circle at 30% 24%, rgba(85, 220, 255, 0.28), transparent 45%),
    radial-gradient(circle at 48% 48%, rgba(139, 60, 255, 0.24), transparent 48%),
    radial-gradient(circle at 66% 68%, rgba(255, 226, 91, 0.18), transparent 48%);
  filter: blur(34px);
  opacity: 0.86;
}

.hero-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 27%;
  object-fit: cover;
  box-shadow:
    0 24px 80px var(--icon-shadow),
    0 0 0 1px rgba(211, 226, 246, 0.12);
}

.hero-copy {
  display: grid;
  justify-items: center;
}

.hero-category {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-name {
  margin: 0;
  color: var(--text);
  font-size: clamp(3.7rem, 11vw, 8.2rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
}

.tagline {
  margin: 22px 0 0;
  color: color-mix(in srgb, var(--text) 72%, transparent);
  font-size: clamp(1rem, 2vw, 1.32rem);
  font-weight: 420;
}

.screen-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 820px);
  gap: 16px;
  margin-top: clamp(42px, 8vw, 82px);
}

.screen-slot {
  position: relative;
  isolation: isolate;
  min-height: clamp(166px, 23vw, 238px);
  overflow: hidden;
  aspect-ratio: 1.06;
  border: 1px solid color-mix(in srgb, var(--preview-ink) 10%, transparent);
  border-radius: 18px;
  background:
    radial-gradient(circle at var(--slot-glow-x, 72%) var(--slot-glow-y, 26%), color-mix(in srgb, var(--slot-accent) 20%, transparent), transparent 42%),
    linear-gradient(145deg, var(--preview-paper), var(--preview-wash));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--text) 7%, transparent),
    0 18px 46px color-mix(in srgb, var(--preview-shadow) 42%, transparent);
  contain: layout paint;
}

.screen-slot::before,
.screen-slot::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.screen-slot::before {
  width: 92%;
  aspect-ratio: 1.15;
  border-radius: 44% 56% 52% 48%;
  background: color-mix(in srgb, var(--slot-shape) var(--preview-shape-strength), transparent);
  transform: rotate(var(--slot-shape-rotate, -10deg));
}

.screen-slot::after {
  display: none;
}

.screen-slot--surface {
  --slot-accent: var(--cyan);
  --slot-shape: #c7c5ff;
  --slot-glow-x: 36%;
  --slot-glow-y: 74%;
}

.screen-slot--surface::before {
  right: -34%;
  bottom: -30%;
}

.screen-slot--surface::after {
  left: 12%;
  top: 16%;
}

.screen-slot--classic {
  --slot-accent: var(--green);
  --slot-shape: #ff5f45;
  --slot-glow-x: 74%;
  --slot-glow-y: 30%;
  --slot-shape-rotate: 16deg;
}

.screen-slot--classic::before {
  left: -34%;
  top: -28%;
}

.screen-slot--classic::after {
  right: 11%;
  bottom: 13%;
}

.screen-slot--pulse {
  --slot-accent: var(--violet);
  --slot-shape: #ffe978;
  --slot-glow-x: 28%;
  --slot-glow-y: 30%;
  --slot-shape-rotate: -22deg;
}

.screen-slot--pulse::before {
  right: -26%;
  top: -34%;
}

.screen-slot--pulse::after {
  left: 14%;
  bottom: 11%;
}

.screen-phone {
  position: absolute;
  z-index: 1;
  display: block;
  width: 56%;
  aspect-ratio: 450 / 980;
  overflow: hidden;
  border: 4px solid var(--phone-frame);
  border-radius: clamp(22px, 3.8vw, 34px);
  background: #05070a;
  box-shadow:
    0 24px 44px var(--preview-shadow),
    0 0 0 1px color-mix(in srgb, var(--slot-accent) 18%, transparent),
    0 0 34px var(--phone-glow);
  transform-origin: 50% 50%;
}

.screen-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--phone-focus, 50% 24%);
}

.screen-slot--surface .screen-phone {
  right: -6%;
  bottom: -40%;
  width: 58%;
  transform: rotate(6deg);
}

.screen-slot--classic .screen-phone {
  left: 50%;
  top: 8%;
  width: 54%;
  transform: translateX(-50%) rotate(-2deg);
}

.screen-slot--pulse .screen-phone {
  left: -6%;
  top: -30%;
  width: 64%;
  transform: rotate(-8deg);
}

.screen-slot--pulse .screen-phone-dark {
  --phone-focus: 50% 6%;
}

.screen-phone-dark {
  display: none;
}

:root[data-theme="dark"] .screen-phone-light {
  display: none;
}

:root[data-theme="dark"] .screen-phone-dark {
  display: block;
}

:root[data-theme="light"] .screen-phone-light {
  display: block;
}

:root[data-theme="light"] .screen-phone-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .screen-phone-light {
    display: none;
  }

  :root:not([data-theme="light"]) .screen-phone-dark {
    display: block;
  }
}

.mechanic-copy {
  width: min(100%, 760px);
  margin-top: clamp(26px, 5vw, 48px);
}

.mechanic-copy p {
  margin: 0;
  color: color-mix(in srgb, var(--text) 72%, transparent);
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 430;
  line-height: 1.58;
}

.trust-strip {
  display: grid;
  width: min(100%, 960px);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(48px, 7vw, 82px);
}

.trust-item {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 154px;
  grid-column: span 3;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--trust-edge) var(--trust-card-border-accent), var(--trust-card-border-base));
  border-radius: 18px;
  color: color-mix(in srgb, var(--text) 82%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--glass) 98%, transparent), color-mix(in srgb, var(--slot-bg) 78%, transparent)),
    radial-gradient(circle at 18% 18%, var(--trust-glow), transparent 46%);
  box-shadow:
    inset 0 1px 0 var(--trust-card-inner-rim),
    inset 0 0 0 1px color-mix(in srgb, var(--trust-edge) 7%, transparent),
    0 22px 54px var(--trust-card-shadow);
  backdrop-filter: blur(18px);
  text-align: left;
}

.trust-item::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at var(--trust-x, 22%) var(--trust-y, 22%), var(--trust-glow), transparent 42%),
    linear-gradient(120deg, color-mix(in srgb, var(--trust-edge), transparent 82%), transparent 48%);
  content: "";
  opacity: 0.72;
}

.trust-item:nth-child(1) {
  --trust-edge: var(--cyan);
  --trust-glow: rgba(85, 220, 255, 0.22);
  --trust-x: 16%;
  --trust-y: 18%;
}

.trust-item:nth-child(2) {
  --trust-edge: var(--blue);
  --trust-glow: rgba(61, 134, 255, 0.2);
  --trust-x: 14%;
  --trust-y: 70%;
}

.trust-item:nth-child(3) {
  --trust-edge: var(--green);
  --trust-glow: rgba(112, 255, 81, 0.17);
}

.trust-item:nth-child(4) {
  --trust-edge: var(--violet);
  --trust-glow: rgba(185, 93, 255, 0.18);
}

.trust-item:nth-child(5) {
  --trust-edge: var(--orange);
  --trust-glow: rgba(255, 146, 47, 0.2);
}

.trust-item:nth-child(n + 3) {
  min-height: 176px;
  grid-column: span 2;
  grid-template-columns: 1fr;
  align-content: start;
  align-items: start;
  gap: 20px;
}

.trust-copy {
  display: grid;
  min-width: 0;
  gap: 9px;
}

.trust-copy strong {
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  font-weight: 760;
  line-height: 1.16;
}

.trust-copy span {
  color: color-mix(in srgb, var(--text) 62%, transparent);
  font-size: clamp(0.86rem, 1.35vw, 0.96rem);
  font-weight: 430;
  line-height: 1.48;
}

.trust-icon {
  display: inline-grid;
  position: relative;
  width: 80px;
  height: 80px;
  overflow: hidden;
  place-items: center;
  border-radius: 20px;
  color: color-mix(in srgb, var(--trust-edge) 64%, var(--text));
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--trust-edge) 20%, var(--glass)), color-mix(in srgb, var(--slot-bg) 72%, transparent));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--text) 14%, transparent),
    inset 0 -18px 38px color-mix(in srgb, var(--trust-edge) 10%, transparent),
    0 16px 34px color-mix(in srgb, var(--trust-edge) 18%, transparent);
}

.trust-icon::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, color-mix(in srgb, var(--text) 12%, transparent), transparent 38%);
  content: "";
  opacity: 0.42;
}

.trust-icon svg {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.05;
  filter: drop-shadow(0 7px 12px color-mix(in srgb, var(--trust-edge) 28%, transparent));
}

.trust-icon .icon-soft {
  fill: currentColor;
  opacity: 0.14;
  stroke: none;
}

.trust-icon .icon-fill {
  fill: currentColor;
  stroke: none;
}

.trust-icon .icon-spark {
  fill: currentColor;
  opacity: 0.5;
  stroke: none;
}

.trust-icon .icon-line,
.trust-icon .icon-slash {
  fill: none;
  stroke: currentColor;
}

.trust-icon .icon-slash {
  stroke-width: 2.2;
}

.legal-page {
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
}

.legal-main {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(42px, 8vw, 86px) var(--pad) 0;
}

.legal-hero {
  max-width: 850px;
  margin: 0 auto clamp(34px, 6vw, 62px);
  text-align: center;
}

.legal-main h1,
.legal-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.98;
}

.last-updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-container {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 92px;
  display: grid;
  max-height: calc(100svh - 120px);
  gap: 6px;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  backdrop-filter: blur(18px);
}

.policy-nav-link {
  display: block;
  padding: 10px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 560;
  line-height: 1.35;
}

.policy-nav-link:hover {
  color: var(--text);
  background: var(--menu-hover);
}

.main-column {
  min-width: 0;
}

.summary-box {
  margin-bottom: 22px;
}

.summary-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.summary-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.12rem;
}

.summary-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
}

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

.summary-item {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--glass) 78%, transparent);
  backdrop-filter: blur(12px);
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary-icon {
  font-size: 1rem;
}

.summary-label {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
}

.summary-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.policy-content {
  display: grid;
  gap: 18px;
}

.policy-section {
  scroll-margin-top: 100px;
  padding-block: 4px 18px;
  border-bottom: 1px solid var(--line);
}

.policy-section h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  line-height: 1.28;
}

.policy-section h3 {
  margin: 18px 0 8px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.35;
}

.policy-section p,
.policy-section li {
  color: color-mix(in srgb, var(--text) 72%, transparent);
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.policy-section p {
  margin: 0 0 12px;
}

.policy-section ul,
.policy-section ol {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding-left: 1.25rem;
}

.policy-section strong {
  color: var(--text);
}

.policy-section a,
.legal-main a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.highlight-box {
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  background: rgba(85, 220, 255, 0.08);
  color: color-mix(in srgb, var(--text) 76%, transparent);
}

.table-wrapper {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.legal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: color-mix(in srgb, var(--text) 74%, transparent);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--text);
  background: color-mix(in srgb, var(--glass) 82%, transparent);
  font-weight: 700;
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    min-height: 68px;
  }

  .brand span {
    display: none;
  }

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

  .footer-bar {
    min-height: 156px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    padding-block: 22px;
  }

  .footer-copyright,
  .footer-links {
    justify-self: center;
  }

  .footer-links {
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-fineprint {
    margin-top: -48px;
  }

  .screen-strip {
    grid-template-columns: 1fr;
    width: min(100%, 340px);
    gap: 18px;
  }

  .screen-slot {
    min-height: 218px;
    aspect-ratio: 1.36;
  }

  .screen-slot--surface .screen-phone {
    right: -4%;
    bottom: -48%;
    width: 48%;
  }

  .screen-slot--classic .screen-phone {
    top: -18%;
    width: 48%;
  }

  .screen-slot--pulse .screen-phone {
    left: 2%;
    top: -38%;
    width: 52%;
  }

  .mechanic-copy {
    width: min(100%, 340px);
  }

  .trust-strip {
    width: min(100%, 340px);
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-item,
  .trust-item:nth-child(n + 3) {
    min-height: 0;
    grid-column: 1;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }

  .trust-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }

  .trust-icon svg {
    width: 40px;
    height: 40px;
  }

  .policy-container {
    grid-template-columns: 1fr;
  }

  .policy-nav {
    position: static;
    grid-template-columns: 1fr;
    max-height: none;
  }

  .summary-head {
    display: grid;
  }

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

  .policy-section {
    padding-bottom: 14px;
  }
}

@media (max-width: 430px) {
  .site-header {
    gap: 14px;
  }

  .header-actions {
    gap: 8px;
  }

  .theme-label {
    display: none;
  }

  .theme-toggle {
    width: 38px;
    padding: 0;
  }

  .language-list {
    right: -4px;
  }

  .footer-links {
    font-size: 0.9rem;
  }

  .screen-strip {
    width: min(100%, 292px);
  }

  .screen-slot {
    min-height: 202px;
  }
}

@media (max-width: 820px), (pointer: coarse) {
  .background-fx {
    background:
      radial-gradient(circle at 50% 20%, rgba(85, 220, 255, 0.045), transparent 18rem),
      var(--bg);
  }

  .background-fx::before {
    opacity: 0.42;
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.18));
  }

  .background-fx::after,
  .noise-overlay {
    display: none;
  }

  .theme-toggle,
  .language-toggle,
  .theme-list,
  .language-list,
  .trust-item,
  .policy-nav,
  .summary-item {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .theme-toggle,
  .language-toggle,
  .theme-list,
  .language-list {
    background: var(--menu-bg);
  }

  .hero-mark::before {
    inset: 16%;
    filter: none;
    opacity: 0.38;
  }

  .trust-item {
    box-shadow:
      inset 0 1px 0 var(--trust-card-inner-rim),
      inset 0 0 0 1px color-mix(in srgb, var(--trust-edge) 8%, transparent),
      0 12px 28px color-mix(in srgb, var(--trust-card-shadow) 70%, transparent);
  }

  .trust-icon svg {
    filter: none;
  }
}

@supports (content-visibility: auto) {
  .trust-strip,
  .download-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
