:root {
  color-scheme: light;
  --ink: #121a31;
  --text: #45516c;
  --muted: #65718a;
  --line: #dfe3ee;
  --surface: #ffffff;
  --surface-soft: #f6f7ff;
  --surface-purple: #eeefff;
  --purple: #4f46e5;
  --purple-dark: #3730a3;
  --purple-light: #d9dafe;
  --max: 1180px;
  --shadow: 0 24px 64px rgba(29, 35, 75, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--purple-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--purple);
}

:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.35);
  outline-offset: 3px;
}

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

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

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid rgba(223, 227, 238, 0.8);
  background: rgba(255, 255, 255, 0.97);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

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

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav,
.language-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a,
.language-nav a {
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.language-nav a[aria-current="page"] {
  color: var(--purple);
  font-weight: 700;
}

.language-nav {
  gap: 12px;
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.language-nav .separator {
  color: #b5bdce;
}

.menu-button {
  display: none;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
}

.hero {
  overflow: hidden;
  background: var(--surface-soft);
  border-bottom: 1px solid #eceefa;
}

.hero-inner {
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(560px, 1.3fr);
  gap: 58px;
  align-items: center;
  padding-block: 68px 74px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--purple);
  font-size: 0.79rem;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(3.35rem, 5.3vw, 5rem);
  font-weight: 790;
}

.hero-copy {
  max-width: 610px;
  margin: 26px 0 0;
  color: #53617c;
  font-size: 1.18rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}

.button-disabled {
  border-color: #dddffa;
  background: #e8e9fb;
  color: #7e86a5;
  cursor: not-allowed;
}

.compatibility {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.hero-shot {
  position: absolute;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-shot-main {
  inset: 24px 90px 18px 0;
  width: calc(100% - 90px);
  height: calc(100% - 42px);
  object-fit: cover;
  object-position: 48% top;
}

.hero-shot-detail {
  right: 0;
  bottom: 0;
  width: 42%;
  height: calc(100% - 36px);
  border: 1px solid #e3e5f1;
  border-radius: 13px;
  object-fit: cover;
  object-position: 72% top;
  box-shadow: 0 20px 45px rgba(29, 35, 75, 0.16);
}

.mode-section {
  padding-block: 54px 48px;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.mode-item {
  min-width: 0;
  padding: 4px 42px 8px;
}

.mode-item:first-child {
  padding-left: 0;
}

.mode-item:last-child {
  padding-right: 0;
}

.mode-item + .mode-item {
  border-left: 1px solid var(--line);
}

.mode-item h2 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.mode-item p {
  margin: 0;
  color: var(--text);
}

.proof-strip {
  padding-bottom: 66px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #e6e8f4;
  border-radius: 18px;
  background: var(--surface-soft);
}

.proof-item {
  padding: 24px 26px;
}

.proof-item + .proof-item {
  border-left: 1px solid var(--line);
}

.proof-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.proof-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.content-section {
  padding-block: 88px;
}

.content-section.soft {
  background: var(--surface-soft);
  border-block: 1px solid #eceefa;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.7vw, 3rem);
}

.section-heading p {
  margin: 0;
  font-size: 1.08rem;
}

.feature-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 56px;
  align-items: center;
}

.feature-figure {
  margin: 0;
}

.feature-figure img {
  border: 1px solid #e1e4ef;
  border-radius: 18px;
  box-shadow: 0 20px 54px rgba(29, 35, 75, 0.1);
}

.feature-figure figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.feature-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.feature-copy p {
  margin: 0 0 22px;
}

.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.clean-list strong {
  display: block;
  color: var(--ink);
}

.privacy-summary {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.privacy-summary h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.privacy-points {
  border-top: 1px solid var(--line);
}

.privacy-point {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 26px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

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

.privacy-point p {
  margin: 0;
}

.page-hero {
  padding-block: 72px 54px;
  background: var(--surface-soft);
  border-bottom: 1px solid #eceefa;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.65rem, 5vw, 4.4rem);
}

.page-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.page-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 76px;
  padding-block: 66px 94px;
}

.prose {
  max-width: 780px;
}

.prose h2 {
  margin: 46px 0 14px;
  font-size: 1.72rem;
  letter-spacing: -0.025em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.prose p,
.prose ul,
.prose ol {
  margin-block: 0 18px;
}

.prose li + li {
  margin-top: 8px;
}

.prose code {
  padding: 0.15em 0.35em;
  border-radius: 5px;
  background: #f0f1f7;
  color: var(--ink);
  font-size: 0.9em;
}

.page-aside {
  position: sticky;
  top: 28px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.page-aside h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: 0;
}

.page-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-aside li + li {
  margin-top: 8px;
}

.page-aside a {
  font-size: 0.92rem;
  text-decoration: none;
}

.support-callout {
  padding: 22px 24px;
  border-left: 4px solid var(--purple);
  background: var(--surface-purple);
}

.support-callout p {
  margin: 0;
}

.changelog-entry {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 36px;
  padding-block: 34px;
  border-top: 1px solid var(--line);
}

.version {
  color: var(--purple);
  font-size: 1.5rem;
  font-weight: 780;
}

.changelog-entry h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-nav a {
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
}

@media (max-width: 1000px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .hero-visual {
    min-height: 530px;
  }

  .hero-shot-main {
    right: 120px;
    width: calc(100% - 120px);
  }

  .feature-pair,
  .privacy-summary {
    grid-template-columns: 1fr;
  }

  .page-content {
    grid-template-columns: 1fr;
  }

  .page-aside {
    position: static;
    order: -1;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .header-inner {
    min-height: 68px;
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-wrap {
    display: none;
    width: 100%;
    align-items: stretch;
    padding-block: 8px 14px;
  }

  .nav-wrap.is-open {
    display: grid;
  }

  .site-nav,
  .language-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .site-nav a,
  .language-nav a {
    width: 100%;
    padding: 7px 0;
  }

  .language-nav {
    margin-top: 6px;
    padding: 10px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .language-nav .separator {
    display: none;
  }

  .hero-inner {
    min-height: 0;
    padding-block: 52px 58px;
  }

  h1 {
    font-size: clamp(2.75rem, 12vw, 4rem);
  }

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

  .hero-shot-main {
    inset: 14px 62px 20px 0;
    width: calc(100% - 62px);
  }

  .hero-shot-detail {
    width: 48%;
  }

  .mode-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .mode-item,
  .mode-item:first-child,
  .mode-item:last-child {
    padding: 24px 0;
  }

  .mode-item + .mode-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .proof-item + .proof-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .content-section {
    padding-block: 66px;
  }

  .privacy-point {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .changelog-entry {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 30px;
  }
}

@media (max-width: 560px) {
  .hero-visual {
    min-height: 300px;
  }

  .hero-shot-main {
    inset: 4px 34px 10px 0;
    width: calc(100% - 34px);
    border-radius: 10px;
  }

  .hero-shot-detail {
    width: 50%;
    height: calc(100% - 28px);
    border-radius: 9px;
  }

  .button {
    width: 100%;
  }

  .feature-pair {
    gap: 34px;
  }

  .page-hero {
    padding-block: 52px 40px;
  }

  .page-content {
    padding-block: 44px 68px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
