body[data-page="home"] {
  --ink: #111831;
  --blue: #234ddf;
  --home-muted: #4e5871;
  --home-line: #dce2ee;
  color: var(--ink);
  background: #fff;
}

[data-page="home"] .wrap {
  width: min(1200px, calc(100% - 64px));
}

.home-header {
  position: sticky;
  top: 12px;
  z-index: 15;
  padding-top: 12px;
}

.home-nav {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 10px 8px 16px;
  border: 1px solid #e2e7f2;
  border-radius: 18px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 35px #2434610a;
  backdrop-filter: blur(20px);
}

.home-nav .brand {
  font-size: 23px;
  flex-shrink: 0;
}

.home-nav-links,
.home-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-nav-links {
  gap: clamp(16px, 2.7vw, 38px);
  font-weight: 600;
  font-size: 14px;
}

.home-nav-links a {
  padding-block: 10px;
}

.home-nav-links a:hover,
.release-note a:hover,
.home-link:hover {
  color: var(--blue);
}

.home-nav .button {
  min-height: 42px;
  padding: 10px 15px;
  white-space: nowrap;
}

[data-page="home"] .language-menu summary,
[data-page="home"] .language-menu nav {
  border-color: var(--home-line);
  background: #fff;
}

[data-page="home"] .language-menu nav a:hover,
[data-page="home"] .language-menu nav a[aria-current] {
  background: #eef2ff;
}

[data-page="home"] .button {
  border-radius: 11px;
}

.button-outline {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--home-line);
}

.button-outline:hover {
  border-color: #a7b8f4;
  background: #f5f7ff;
}

.intro {
  padding-top: clamp(35px, 4vw, 57px);
}

.intro-copy {
  text-align: center;
}

.intro h1 {
  max-width: 1010px;
  margin: 0 auto;
  font-size: clamp(47px, 6.2vw, 88px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -.067em;
  text-wrap: balance;
}

.intro-copy > p:first-of-type {
  max-width: 650px;
  margin: 19px auto 0;
  color: var(--home-muted);
  font-size: clamp(16px, 2.1vw, 21px);
  line-height: 1.5;
  text-wrap: pretty;
}

.intro-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 24px;
}

.intro-actions .button {
  min-width: 224px;
  min-height: 56px;
  justify-content: center;
}

.intro-actions svg,
.home-download-action svg {
  width: 18px;
  height: 18px;
}

.release-note {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 13px;
  margin: 13px 0 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.5;
}

.release-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.intro-figure {
  margin: clamp(21px, 2.6vw, 34px) 0 0;
}

.intro-stage {
  padding: clamp(18px, 2.5vw, 37px) clamp(20px, 4.2vw, 60px);
  border: 1px solid #dce5ff;
  border-radius: clamp(22px, 3vw, 40px);
  background:
    radial-gradient(ellipse at 14% 6%, #fbfdff 0, transparent 55%),
    radial-gradient(ellipse at 93% 8%, #f1e9ff 0, transparent 54%),
    radial-gradient(ellipse at 50% 100%, #b2caff 0, transparent 74%),
    #dce9ff;
}

.intro-figure figcaption,
.jemy-capture figcaption {
  margin-top: 13px;
  font-size: 13px;
  line-height: 1.45;
}

.intro-figure figcaption {
  text-align: center;
  color: var(--home-muted);
}

.capture-link {
  display: block;
  position: relative;
  border-radius: 13px;
  color: #fff;
  background: #222433;
  box-shadow: 0 19px 40px #17274637, 0 0 0 1px #0a102326;
}

.capture-link img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.capture-expand {
  position: absolute;
  display: grid;
  place-items: center;
  right: 10px;
  bottom: 10px;
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff61;
  border-radius: 9px;
  color: #fff;
  background: #15203be8;
  transition: background .18s;
}

.capture-expand svg {
  width: 17px;
  height: 17px;
}

.capture-link:hover .capture-expand,
.capture-link:focus-visible .capture-expand {
  background: #234ddf;
}

.home-section {
  margin-top: clamp(66px, 8vw, 112px);
}

.home-section-heading {
  text-align: center;
  margin-bottom: clamp(22px, 3vw, 36px);
}

[data-page="home"] h2 {
  margin: 0;
  font-size: clamp(33px, 4.3vw, 55px);
  line-height: 1.07;
  letter-spacing: -.05em;
  font-weight: 720;
  text-wrap: balance;
}

.tool-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tool-nav a {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--home-line);
  border-radius: 100px;
  color: #374461;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.tool-nav a:hover {
  color: var(--blue);
  background: #f0f4ff;
  border-color: #bbc9f8;
}

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

.tool-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  border-radius: 29px;
  border: 1px solid var(--tool-line);
  padding: clamp(23px, 3.6vw, 48px);
  background: var(--tool-background);
}

.tool-watermark {
  --tool-line: #e3dcfa;
  --tool-background: radial-gradient(ellipse at 100% 100%, #e1d4ff, transparent 66%), #f5f2ff;
}

.tool-convert {
  --tool-line: #ecdfd6;
  --tool-background: radial-gradient(ellipse at 86% 100%, #eeddd8, transparent 65%), #f9f2ec;
}

.tool-merge {
  --tool-line: #d6e9e5;
  --tool-background: radial-gradient(ellipse at 0% 100%, #c6e8e0, transparent 68%), #edf9f5;
}

.tool-compress {
  --tool-line: #d6e4f7;
  --tool-background: radial-gradient(ellipse at 100% 100%, #c6dbff, transparent 71%), #eef5ff;
}

.tool-edit {
  --tool-line: #d7e4ef;
  --tool-background: radial-gradient(ellipse at 18% 100%, #d8e9f8, transparent 70%), #f2f7fc;
}

.tool-annotate {
  --tool-line: #e8e4d2;
  --tool-background: radial-gradient(ellipse at 100% 100%, #f0e8c9, transparent 70%), #fcfaf0;
}

.tool-copy h3 {
  margin: 0 0 11px;
  font-size: clamp(27px, 3.45vw, 44px);
  line-height: 1.06;
  letter-spacing: -.047em;
  font-weight: 720;
  text-wrap: balance;
}

.tool-copy p,
.reading-copy p,
.plan-band p,
.home-download p {
  margin: 0;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.58;
}

.tool-copy p {
  max-width: 445px;
}

.tool-convert .tool-copy p + p {
  margin-top: 10px;
}

.tool-copy .compression-example {
  margin-top: 10px;
  color: #163d9c;
  font-size: 14px;
  font-weight: 650;
}

.tool-visual {
  display: flex;
  justify-content: center;
  align-items: end;
  margin-top: 23px;
  min-width: 0;
}

.tool-copy .home-link {
  margin-top: 11px;
}

.tool-visual .capture-link {
  width: 100%;
}

.tool-compress .capture-link {
  max-width: 420px;
}

.tool-convert .capture-link {
  max-width: 340px;
}

.jemy-showcase {
  padding-block: clamp(42px, 6.5vw, 83px);
  color: #f7f9ff;
  background: radial-gradient(ellipse at 90% 0%, #323669, transparent 62%), #141a35;
}

.jemy-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr);
  align-items: center;
  gap: clamp(24px, 3.9vw, 58px);
}

.jemy-showcase-copy > p {
  color: #d2d9ed;
  font-size: 17px;
  line-height: 1.55;
}

.jemy-capabilities {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 18px 0;
  color: #edf0fb;
  list-style: none;
  font-size: 15px;
  line-height: 1.5;
}

.jemy-capabilities li {
  display: flex;
  gap: 9px;
  align-items: baseline;
}

.jemy-capabilities svg {
  align-self: flex-start;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #9dbbff;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #2448c5;
  font-size: 14px;
  font-weight: 670;
  line-height: 1.45;
}

.home-link svg {
  width: 17px;
  height: 17px;
}

.jemy-showcase .home-link {
  color: #b9c9ff;
}

.jemy-showcase .home-link:hover {
  color: #fff;
}

.jemy-capture {
  margin: 0;
  min-width: 0;
}

.jemy-capture .capture-link {
  box-shadow: 0 18px 52px #0509186b, 0 0 0 1px #ffffff29;
}

.jemy-capture figcaption {
  color: #c4cce3;
}

.jemy-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 38px);
  margin: clamp(30px, 5vw, 56px) auto 0;
}

.jemy-features > div {
  padding-top: 15px;
  border-top: 1px solid #525b82;
}

.jemy-features dt,
.jemy-themes h3 {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 680;
  line-height: 1.23;
}

.jemy-features dd,
.jemy-themes > p {
  margin: 8px 0 0;
  color: #d2d9ed;
  line-height: 1.55;
}

.jemy-themes {
  margin-top: clamp(28px, 4.5vw, 50px);
}

.jemy-themes h3 {
  margin: 0;
}

.jemy-theme-captures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2.3vw, 26px);
  margin-top: 18px;
}

.jemy-theme-captures figure {
  min-width: 0;
  margin: 0;
}

.jemy-theme-captures figcaption {
  margin-top: 8px;
  color: #edf0fb;
  font-size: 14px;
  font-weight: 600;
}

.local-options {
  margin-top: clamp(28px, 4.5vw, 50px);
}

.local-options details {
  padding: 0 19px;
  border: 1px solid #525b82;
  border-radius: 14px;
  background: #11182b65;
}

.local-options summary,
.home-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 13px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  line-height: 1.45;
  font-weight: 650;
}

.local-options summary::-webkit-details-marker,
.home-faq summary::-webkit-details-marker {
  display: none;
}

.local-options summary {
  min-height: 57px;
}

.local-options summary svg,
.home-faq summary svg {
  width: 18px;
  height: 18px;
  transition: transform .18s;
}

.local-options details[open] summary svg,
.home-faq details[open] summary svg {
  transform: rotate(45deg);
}

.local-options p {
  margin: 0 0 15px;
  color: #d2d9ed;
  font-size: 14px;
  line-height: 1.56;
}

.local-models {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 4px;
}

.local-models h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

.reading-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: clamp(24px, 4.1vw, 61px);
  align-items: center;
}

.reading-visual {
  padding: clamp(14px, 2.5vw, 31px);
  border: 1px solid #e6e2fb;
  border-radius: 25px;
  background: radial-gradient(ellipse at 10% 0, #f9f6ff, transparent 75%), #e8e7ff;
}

.reading-copy h2 {
  margin-bottom: 19px;
}

.reading-feature + .reading-feature {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--home-line);
}

.reading-feature h3 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.35;
}

.reading-feature .home-link {
  margin-top: 6px;
}

.plan-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(42px, 6.5vw, 83px);
  padding: clamp(23px, 3vw, 38px);
  border: 1px solid #e1e7f8;
  border-radius: 22px;
  background: #f5f7ff;
}

[data-page="home"] .plan-band h2 {
  font-size: clamp(25px, 3vw, 32px);
  text-wrap: initial;
}

.plan-band p {
  margin-top: 7px;
  max-width: 700px;
}

.plan-band .button {
  flex-shrink: 0;
}

.home-faq {
  display: grid;
  grid-template-columns: minmax(0, .56fr) minmax(0, 1.44fr);
  gap: 26px;
}

[data-page="home"] .home-faq h2 {
  text-wrap: initial;
}

.home-faq-list {
  border-top: 1px solid var(--home-line);
}

.home-faq details {
  border-bottom: 1px solid var(--home-line);
}

.home-faq summary {
  min-height: 56px;
  padding-block: 11px;
}

.home-faq details p {
  margin: 0 24px 15px 0;
  color: var(--home-muted);
  line-height: 1.6;
}

.home-download {
  margin-top: clamp(60px, 8vw, 108px);
  margin-bottom: 50px;
  padding: clamp(23px, 4vw, 46px);
  border: 1px solid #dae6ff;
  border-radius: 26px;
  background: radial-gradient(ellipse at 0 0, #f6f0ff, transparent 65%), #eaf2ff;
}

.home-download-main,
.home-download-platform {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.4vw, 32px);
}

.home-download-main > img {
  flex-shrink: 0;
  width: clamp(66px, 9vw, 120px);
  height: auto;
}

.home-download h2 + p {
  margin-top: 8px;
}

.home-download-action {
  display: grid;
  justify-items: center;
  text-align: center;
  flex-shrink: 0;
  gap: 8px;
  margin-left: auto;
}

.home-download-action span {
  color: var(--home-muted);
  font-size: 13px;
}

.home-download-platform {
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid #d4def1;
}

.home-download-platform h3 {
  margin: 0 0 4px;
  font-size: 21px;
  letter-spacing: -.02em;
}

.home-download-platform .ios-download {
  margin: 0;
}

.home-download-platform .testflight-link {
  min-height: 45px;
  padding: 10px 13px;
  font-size: 13px;
  text-align: center;
}

.home-download-platform .download-note {
  color: var(--home-muted);
}

.capture-dialog {
  max-width: calc(100% - 28px);
  max-height: calc(100% - 28px);
  overflow: auto;
  padding: 48px 10px 10px;
  border: 1px solid #ffffff43;
  border-radius: 14px;
  background: #171d32;
  color: #fff;
}

.capture-dialog::backdrop {
  background: #080e21d9;
}

.capture-dialog form {
  position: absolute;
  right: 8px;
  top: 6px;
  margin: 0;
}

.capture-dialog button {
  cursor: pointer;
  width: 40px;
  height: 40px;
  border: 1px solid #ffffff66;
  border-radius: 9px;
  color: inherit;
  background: #303a59;
  font-size: 24px;
  line-height: 1;
}

.capture-dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 90px);
  margin: auto;
  object-fit: contain;
  border-radius: 7px;
}

@media (max-width: 900px) {
  [data-page="home"] .wrap {
    width: calc(100% - 44px);
  }

  .home-nav {
    gap: 14px;
  }

  .home-nav-links {
    gap: 12px;
  }

  .home-nav-actions {
    gap: 8px;
  }

  .home-download-main {
    flex-wrap: wrap;
  }

  .home-download-action {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  [data-page="home"] .wrap {
    width: calc(100% - 32px);
  }

  .home-header {
    top: 6px;
    padding-top: 6px;
  }

  .home-nav {
    gap: 7px;
    min-height: 54px;
    padding: 6px 7px 6px 10px;
    border-radius: 14px;
  }

  .home-nav .brand {
    font-size: 21px;
    gap: 6px;
  }

  .home-nav .brand img {
    width: 30px;
    height: 30px;
  }

  .home-nav-links {
    display: none;
  }

  .home-nav .button {
    font-size: 12px;
    padding-inline: 10px;
    white-space: normal;
    text-align: center;
  }

  .tool-grid,
  .jemy-showcase-grid,
  .jemy-features,
  .reading-showcase,
  .home-faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .jemy-theme-captures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-grid {
    gap: 13px;
  }

  .tool-card {
    border-radius: 23px;
  }

  .reading-copy {
    grid-row: 1;
  }

  .local-models {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .plan-band,
  .home-download-platform {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-download-platform .ios-download-actions {
    gap: 7px;
  }

  .capture-link {
    border-radius: 8px;
  }

  .capture-expand {
    width: 30px;
    height: 30px;
    bottom: 6px;
    right: 6px;
    border-radius: 7px;
  }

  .intro-stage {
    padding: 13px;
  }
}

@media (max-width: 385px) {
  .intro h1 {
    font-size: 42px;
  }

  .intro-actions .button {
    min-height: 48px;
    padding: 12px 13px;
    font-size: 13px;
    gap: 7px;
  }

  .home-nav-actions {
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .capture-expand,
  .local-options summary svg,
  .home-faq summary svg {
    transition: none;
  }
}

.duo-showcase {
  padding: clamp(22px, 5vw, 64px);
  border: 1px solid #dddff4;
  border-radius: clamp(23px, 3.5vw, 40px);
  background: radial-gradient(ellipse at 100% 25%, #f8fbff, transparent 65%), #eeedff;
}

.duo-copy {
  max-width: 660px;
  margin: 0 auto clamp(21px, 4vw, 37px);
  text-align: center;
}

.duo-copy p {
  margin: 14px 0;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.58;
}

.duo-captures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 29px);
}

.duo-captures figure {
  margin: 0;
}

.duo-captures figcaption {
  margin-top: 12px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.45;
}

.home-download-platform p + p {
  margin-top: 8px;
}

.cloud-showcase,
.android-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  scroll-margin-top: 100px;
}

.cloud-showcase {
  padding: clamp(22px, 4vw, 52px);
  border: 1px solid var(--home-line);
  border-radius: 24px;
  background: #f6f8fe;
}

.cloud-lead > p,
.android-copy > p {
  margin: 14px 0 16px;
  color: var(--home-muted);
  line-height: 1.58;
  max-width: 46ch;
}

.cloud-details {
  margin: 0;
}

.cloud-details > div {
  padding-block: 14px;
  border-bottom: 1px solid var(--home-line);
}

.cloud-details > div:first-child {
  padding-top: 0;
}

.cloud-details dt {
  font-weight: 650;
}

.cloud-details dd,
.cloud-note {
  margin: 5px 0 0;
  color: var(--home-muted);
  line-height: 1.5;
}

.cloud-note {
  margin-top: 12px;
  font-size: 14px;
}

.android-showcase {
  align-items: center;
}

.android-copy .android-availability {
  font-weight: 600;
  color: var(--ink);
}

.android-captures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  max-width: 560px;
}

.android-captures figure {
  margin: 0;
}

.android-captures .capture-link {
  border-radius: 18px;
  border: 1px solid var(--home-line);
}

.android-captures figcaption {
  margin-top: 9px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 1020px) {
  .home-nav-duo {
    display: none;
  }
}

@media (max-width: 720px) {
  .duo-captures,
  .cloud-showcase,
  .android-showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  .cloud-showcase,
  .android-showcase {
    gap: 24px;
    scroll-margin-top: 76px;
  }

  .android-captures .capture-link {
    border-radius: 12px;
  }
}
