:root {
  color-scheme: light dark;
  --bg: #f5f7fb;
  --bg-2: #eef2f7;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --ink: #111827;
  --muted: #5b6472;
  --soft: #87909f;
  --line: rgba(17, 24, 39, 0.12);
  --line-strong: rgba(17, 24, 39, 0.2);
  --accent: #0a84ff;
  --accent-strong: #006edb;
  --accent-soft: rgba(10, 132, 255, 0.12);
  --shadow: 0 30px 90px rgba(31, 42, 58, 0.16);
  --radius: 18px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 10%, rgba(10, 132, 255, 0.16), transparent 28rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

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

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

.site {
  position: relative;
  overflow-x: clip;
}

.site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.026) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  min-height: 66px;
  margin: 14px auto 0;
  padding: 9px 10px 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 58px rgba(31, 42, 58, 0.1);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(31, 42, 58, 0.18);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
  white-space: nowrap;
}

.nav-actions a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-actions a:hover {
  color: var(--ink);
}

.nav-store {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--ink);
}

.nav-store:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.language-toggle {
  min-width: 56px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 12px;
  font-weight: 780;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.language-toggle:hover,
.button:hover {
  transform: translateY(-1px);
}

.language-toggle:hover {
  background: var(--surface-solid);
}

.language-toggle:focus-visible,
.button:focus-visible,
.nav-actions a:focus-visible,
.privacy-link:focus-visible {
  outline: 3px solid rgba(10, 132, 255, 0.28);
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100dvh - 80px);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 92px) 0 62px;
}

.hero-copy {
  max-width: 620px;
}

.product-name {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 15px;
  font-weight: 780;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(46px, 6vw, 80px);
  line-height: 0.98;
  font-weight: 830;
}

.hero-body {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 780;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:active,
.language-toggle:active {
  transform: translateY(1px);
}

.primary {
  color: #ffffff;
  background: linear-gradient(180deg, #1b8cff 0%, #0071e3 100%);
  box-shadow: 0 18px 46px rgba(10, 132, 255, 0.26);
}

.primary:hover {
  box-shadow: 0 22px 62px rgba(10, 132, 255, 0.34);
}

.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--line);
}

.secondary:hover {
  border-color: var(--line-strong);
  background: var(--surface-solid);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-meta span,
.privacy-points span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.screen-shot {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background: #d9e1ec;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
  animation: hero-enter 640ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.screen-shot img {
  width: 100%;
  height: auto;
}

.product-card {
  position: absolute;
  right: -18px;
  bottom: -30px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  width: min(360px, 78%);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 70px rgba(31, 42, 58, 0.18);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.product-card img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
}

.product-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.25;
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.focus-section,
.studio-section,
.screenshots-section,
.privacy-section,
.download-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-copy,
.studio-copy {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-copy.compact {
  max-width: 620px;
}

.section-copy h2,
.studio-copy h2,
.privacy-panel h2,
.download-section h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1;
  font-weight: 820;
}

.section-copy p,
.studio-copy p,
.privacy-panel p,
.download-section p {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.62;
}

.focus-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 12px;
}

.focus-grid article {
  min-height: 188px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.56);
}

.focus-grid article:first-child {
  grid-row: span 2;
  min-height: 388px;
  background:
    linear-gradient(135deg, rgba(10, 132, 255, 0.18), rgba(255, 255, 255, 0.66)),
    rgba(255, 255, 255, 0.72);
}

.focus-grid article:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.08), rgba(255, 255, 255, 0.62)),
    rgba(255, 255, 255, 0.58);
}

.focus-grid h3,
.studio-grid h3 {
  margin-bottom: 12px;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.08;
}

.focus-grid p,
.studio-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.studio-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

.studio-grid {
  display: grid;
  gap: 12px;
}

.studio-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.studio-grid article:nth-child(2) {
  margin-left: clamp(0px, 4vw, 58px);
}

.studio-grid article:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(10, 132, 255, 0.14), rgba(255, 255, 255, 0.64)),
    rgba(255, 255, 255, 0.58);
}

.screenshot-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  align-items: start;
}

.screenshot-strip figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: #d9e1ec;
  box-shadow: 0 22px 70px rgba(31, 42, 58, 0.12);
}

.screenshot-strip figure:first-child {
  grid-row: span 2;
}

.screenshot-strip img {
  width: 100%;
  height: auto;
}

.privacy-panel {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(10, 132, 255, 0.14), rgba(255, 255, 255, 0.66)),
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 28px 86px rgba(31, 42, 58, 0.12);
}

.privacy-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.privacy-points span {
  border-color: var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.52);
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  margin-bottom: 80px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 74px rgba(31, 42, 58, 0.11);
}

.download-section h2 {
  font-size: clamp(34px, 4.2vw, 58px);
}

.download-actions {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.privacy-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 730;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-page {
  padding-bottom: 80px;
}

.privacy-hero,
.privacy-card {
  width: min(920px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.privacy-hero {
  padding: clamp(56px, 8vw, 96px) 0 28px;
}

.privacy-hero h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.privacy-updated {
  color: var(--soft);
  font-size: 14px;
  font-weight: 680;
}

.privacy-card {
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 22px 70px rgba(31, 42, 58, 0.08);
}

.privacy-card section + section {
  margin-top: 34px;
}

.privacy-card h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.privacy-card p,
.privacy-list {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.privacy-card a {
  color: var(--accent-strong);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-list {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}

.privacy-list strong {
  color: var(--ink);
}

.privacy-card hr {
  margin: 38px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(1.2deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(1.2deg);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10151f;
    --bg-2: #151d2a;
    --surface: rgba(23, 31, 44, 0.76);
    --surface-solid: #1a2433;
    --ink: #f7fbff;
    --muted: #b0bac8;
    --soft: #8793a5;
    --line: rgba(247, 251, 255, 0.14);
    --line-strong: rgba(247, 251, 255, 0.24);
    --accent-strong: #66b2ff;
    --accent-soft: rgba(10, 132, 255, 0.18);
    --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  }

  body {
    background:
      radial-gradient(circle at 78% 10%, rgba(10, 132, 255, 0.18), transparent 28rem),
      linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  }

  .site::before {
    background-image:
      linear-gradient(rgba(247, 251, 255, 0.034) 1px, transparent 1px),
      linear-gradient(90deg, rgba(247, 251, 255, 0.034) 1px, transparent 1px);
  }

  .nav,
  .product-card {
    border-color: rgba(255, 255, 255, 0.12);
    background:
      linear-gradient(135deg, rgba(26, 36, 51, 0.84), rgba(26, 36, 51, 0.58)),
      rgba(26, 36, 51, 0.68);
  }

  .nav-store {
    color: #10151f;
    background: #f7fbff;
  }

  .nav-store:hover {
    color: #10151f;
  }

  .language-toggle,
  .secondary,
  .hero-meta span,
  .focus-grid article,
  .studio-grid article,
  .download-section,
  .privacy-card {
    background: rgba(26, 36, 51, 0.66);
  }

  .language-toggle:hover,
  .secondary:hover {
    background: var(--surface-solid);
  }

  .screen-shot,
  .screenshot-strip figure {
    border-color: rgba(255, 255, 255, 0.12);
    background: #152033;
  }

  .focus-grid article:first-child,
  .focus-grid article:nth-child(3),
  .studio-grid article:nth-child(3) {
    background:
      linear-gradient(135deg, rgba(10, 132, 255, 0.2), rgba(26, 36, 51, 0.68)),
      rgba(26, 36, 51, 0.66);
  }

  .privacy-panel {
    border-color: rgba(255, 255, 255, 0.14);
  }
}

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

@media (prefers-reduced-transparency: reduce) {
  .nav,
  .product-card,
  .focus-grid article,
  .studio-grid article,
  .download-section,
  .privacy-card {
    background: var(--surface-solid);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .studio-section,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 68px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .focus-grid,
  .screenshot-strip {
    grid-template-columns: 1fr;
  }

  .focus-grid article:first-child {
    grid-row: auto;
    min-height: 220px;
  }

  .studio-grid article:nth-child(2) {
    margin-left: 0;
  }

  .screenshot-strip figure:first-child {
    grid-row: auto;
  }

  .download-actions {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .nav {
    position: relative;
    top: 0;
    align-items: flex-start;
    border-radius: var(--radius);
  }

  .nav-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    white-space: normal;
  }

  .nav-actions > a:not(.nav-store) {
    display: none;
  }

  .hero {
    padding-top: 50px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .hero-body {
    font-size: 18px;
  }

  .product-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
  }

  .screen-shot {
    transform: none;
    animation-name: none;
  }

  .focus-section,
  .studio-section,
  .screenshots-section,
  .privacy-section,
  .download-section {
    padding: 58px 0;
  }

  .focus-grid article,
  .studio-grid article {
    min-height: auto;
    padding: 20px;
  }

  .download-section {
    margin-bottom: 48px;
  }

  .privacy-page {
    padding-bottom: 48px;
  }

  .privacy-page .nav {
    position: sticky;
    top: 12px;
    align-items: center;
  }
}

@media (max-width: 460px) {
  .nav {
    width: min(100% - 20px, 1180px);
    margin-top: 10px;
    padding: 8px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .nav-store {
    min-height: 36px;
    padding: 0 12px;
  }

  .language-toggle {
    min-height: 36px;
    padding: 0 12px;
  }

  .hero,
  .focus-section,
  .studio-section,
  .screenshots-section,
  .privacy-section,
  .download-section {
    width: min(100% - 24px, 1180px);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .product-card {
    grid-template-columns: 58px 1fr;
  }

  .product-card img {
    width: 58px;
    height: 58px;
    border-radius: 13px;
  }
}
