@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700&family=Noto+Sans+Arabic:wght@400;500;600;700&display=swap");

:root {
  --paper: #f3eddf;
  --paper-light: #fbf8f0;
  --paper-deep: #e8decc;
  --ink: #17231d;
  --ink-soft: #566158;
  --forest: #173f34;
  --forest-light: #2f6653;
  --amber: #dd8e35;
  --amber-soft: #f2c77e;
  --line: rgba(23, 35, 29, 0.14);
  --white: #fffef9;
  --shadow: 0 24px 70px rgba(31, 42, 35, 0.13);
  --shadow-soft: 0 12px 40px rgba(31, 42, 35, 0.09);
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", "Noto Serif", serif;
  --sans: "Manrope", "Aptos", "Segoe UI", "Noto Sans", sans-serif;
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(221, 142, 53, 0.09), transparent 31rem),
    linear-gradient(180deg, var(--paper-light) 0, var(--paper) 45%, #efe7d7 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

html[dir="rtl"] body {
  font-family: "Noto Sans Arabic", "Tahoma", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.26;
  pointer-events: none;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}

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

button,
select {
  color: inherit;
  font: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 9px;
  color: var(--white);
  background: var(--forest);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  background: rgba(251, 248, 240, 0.76);
  backdrop-filter: blur(18px) saturate(1.15);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 32px rgba(23, 35, 29, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 78px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 38px;
  color: var(--forest);
  place-items: center;
}

.brand-mark svg {
  width: 28px;
  stroke-width: 1.7;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-copy small {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(15px, 2vw, 29px);
  color: #47534b;
  font-size: 13px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding-block: 27px;
}

.site-nav a::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 20px;
  height: 1px;
  content: "";
  background: var(--forest);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

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

.language-picker {
  position: relative;
  display: flex;
  align-items: center;
}

.language-picker select {
  width: 124px;
  min-height: 40px;
  padding: 8px 32px 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 254, 249, 0.72);
  appearance: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

html[dir="rtl"] .language-picker select {
  padding: 8px 13px 8px 32px;
}

.language-picker select:hover,
.language-picker select:focus-visible {
  border-color: rgba(23, 63, 52, 0.55);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(23, 63, 52, 0.08);
}

.language-picker svg {
  position: absolute;
  inset-inline-end: 13px;
  width: 10px;
  pointer-events: none;
  stroke-width: 1.7;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 680px;
  padding: clamp(72px, 9vw, 126px) 0 112px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.hero-glow-one {
  width: 560px;
  height: 560px;
  inset-block-start: -310px;
  inset-inline-start: -180px;
  background: radial-gradient(circle, rgba(232, 171, 93, 0.18), transparent 68%);
}

.hero-glow-two {
  width: 700px;
  height: 700px;
  inset-block-start: -100px;
  inset-inline-end: -300px;
  background: radial-gradient(circle, rgba(48, 103, 83, 0.13), transparent 68%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(510px, 1.08fr);
  align-items: center;
  gap: clamp(48px, 7vw, 98px);
}

.eyebrow {
  margin: 0 0 21px;
  color: var(--forest-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-inline-end: 10px;
  vertical-align: 0.25em;
  content: "";
  background: currentColor;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(66px, 7.6vw, 104px);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  margin-inline-start: 0.3em;
  color: var(--forest);
  font-weight: 500;
}

html[dir="rtl"] .hero h1 {
  letter-spacing: -0.025em;
}

html[dir="rtl"] .hero h1 em {
  margin-inline-start: 0;
}

.hero-lead {
  max-width: 590px;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-block-start: 36px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  justify-content: center;
  align-items: center;
  gap: 13px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  min-width: 210px;
  border-color: var(--forest);
  color: var(--white);
  background: var(--forest);
  box-shadow: 0 12px 28px rgba(23, 63, 52, 0.2);
}

.button-primary:hover {
  background: #0f332a;
  box-shadow: 0 16px 35px rgba(23, 63, 52, 0.25);
}

.button svg {
  width: 18px;
  stroke-width: 1.8;
}

.button-quiet {
  background: rgba(255, 254, 249, 0.42);
}

.button-quiet:hover {
  background: var(--white);
}

.hero-note {
  display: flex;
  margin: 20px 0 0;
  align-items: flex-start;
  gap: 10px;
  color: #707970;
  font-size: 11px;
}

.hero-note > span:first-child {
  width: 6px;
  height: 6px;
  margin-block-start: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #4a8268;
  box-shadow: 0 0 0 4px rgba(74, 130, 104, 0.11);
}

.hero-stage {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: center;
}

.app-window {
  position: relative;
  z-index: 3;
  width: min(100%, 600px);
  margin-inline-start: auto;
  overflow: hidden;
  border: 1px solid rgba(23, 35, 29, 0.18);
  border-radius: 21px;
  background: rgba(255, 254, 249, 0.96);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.9);
  transform: rotate(1.2deg);
}

.app-titlebar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 55px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 14px;
  background: #f8f4e9;
}

.app-titlebar > strong {
  font-size: 11px;
  letter-spacing: -0.01em;
}

.traffic {
  display: flex;
  gap: 6px;
}

.traffic span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8cdbb;
}

.traffic span:first-child {
  background: #df9c62;
}

.secure-pill {
  justify-self: end;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--forest-light);
  background: rgba(47, 102, 83, 0.09);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.app-body {
  padding: 27px;
}

.app-intro {
  display: flex;
  align-items: center;
  gap: 15px;
}

.ready-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--forest);
  background: #e2eee5;
  place-items: center;
}

.ready-mark svg {
  width: 31px;
  stroke-width: 2;
}

.app-intro h2 {
  margin: 0 0 2px;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
}

.app-intro p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
}

.device-card {
  display: flex;
  margin-block-start: 23px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  align-items: center;
  gap: 12px;
  background: #fffefa;
}

.kindle-mini {
  display: grid;
  width: 38px;
  height: 49px;
  flex: 0 0 auto;
  border: 3px solid #28342e;
  border-radius: 4px;
  place-items: center;
  background: #eae5d8;
}

.kindle-mini span {
  color: #7b827c;
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
}

.device-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.device-copy strong {
  font-size: 11px;
}

.device-copy small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 8px;
}

.device-copy i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4e9b6a;
}

.ready-chip {
  margin-inline-start: auto;
  padding: 6px 9px;
  border-radius: 7px;
  color: var(--forest);
  background: #e8f2e9;
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
}

.drop-zone {
  display: grid;
  min-height: 145px;
  margin-block-start: 13px;
  border: 1px dashed rgba(23, 63, 52, 0.36);
  border-radius: 13px;
  place-content: center;
  justify-items: center;
  background:
    radial-gradient(circle at center, rgba(47, 102, 83, 0.05), transparent 60%),
    #faf8f0;
}

.drop-zone svg {
  width: 28px;
  margin-block-end: 9px;
  color: var(--forest);
  stroke-width: 1.5;
}

.drop-zone strong {
  font-family: var(--display);
  font-size: 16px;
}

.drop-zone span {
  margin-block-start: 4px;
  color: #8c928c;
  font-size: 7px;
  letter-spacing: 0.12em;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(23, 63, 52, 0.11);
  border-radius: 50%;
}

.orbit-one {
  width: 590px;
  height: 590px;
  inset-block-start: -30px;
  inset-inline-start: -10px;
}

.orbit-two {
  width: 450px;
  height: 450px;
  inset-block-start: 60px;
  inset-inline-start: 65px;
  border-style: dashed;
}

.paper-card {
  position: absolute;
  z-index: 1;
  width: 155px;
  height: 202px;
  padding: 25px 20px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #e8dfcb;
  box-shadow: var(--shadow-soft);
}

.paper-card span {
  display: block;
  height: 3px;
  margin-block-end: 10px;
  background: rgba(23, 35, 29, 0.22);
}

.paper-card span:nth-child(2) {
  width: 75%;
}

.paper-card span:nth-child(3) {
  width: 42%;
}

.paper-card-one {
  inset-block-start: -18px;
  inset-inline-end: -35px;
  transform: rotate(12deg);
}

.paper-card-two {
  inset-block-end: -25px;
  inset-inline-start: 25px;
  background: #d4e0d4;
  transform: rotate(-10deg);
}

.trust-band {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 249, 0.35);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 88px;
  align-items: center;
}

.trust-grid > div {
  display: flex;
  min-height: 36px;
  padding-inline: 23px;
  border-inline-end: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #576259;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.trust-grid > div:first-child {
  padding-inline-start: 0;
}

.trust-grid > div:last-child {
  padding-inline-end: 0;
  border-inline-end: 0;
}

.trust-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--amber);
}

.section {
  padding: clamp(90px, 11vw, 150px) 0;
}

.section-heading {
  max-width: 710px;
  margin-block-end: 53px;
}

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

.section-heading.centered .eyebrow::before {
  display: none;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

html[dir="rtl"] .section-heading h2 {
  letter-spacing: -0.015em;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 21px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.centered > p:last-child {
  margin-inline: auto;
}

.flow-section {
  background: rgba(255, 254, 249, 0.33);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step-card {
  position: relative;
  min-height: 420px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 254, 249, 0.72);
  box-shadow: 0 3px 0 rgba(255, 255, 255, 0.5) inset;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.step-number {
  color: #8a938b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.step-art {
  display: grid;
  width: 132px;
  height: 132px;
  margin: 34px auto 37px;
  border-radius: 50%;
  place-items: center;
}

.step-art svg {
  width: 70px;
  stroke-width: 1.35;
}

.step-art-download {
  color: #7f5127;
  background: #efd7b3;
}

.step-art-pair {
  color: var(--forest);
  background: #d5e4d8;
}

.step-art-read {
  color: #4a5c6d;
  background: #d9e1e4;
}

.step-card h3,
.feature-card h3,
.download-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
}

.step-card p,
.feature-card p {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.feature-section {
  border-block: 1px solid var(--line);
  background: #eee6d6;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.feature-card {
  min-height: 300px;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 254, 249, 0.76);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.7);
}

.feature-wide {
  display: grid;
  grid-column: span 2;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.82fr);
  align-items: center;
  gap: 25px;
}

.feature-dark {
  color: var(--white);
  background: var(--forest);
}

.feature-dark p {
  color: rgba(255, 254, 249, 0.67);
}

.feature-icon {
  display: grid;
  width: 45px;
  height: 45px;
  margin-block-end: 58px;
  border-radius: 12px;
  color: var(--forest);
  background: #dce8df;
  place-items: center;
}

.feature-wide .feature-icon {
  margin-block-end: 34px;
}

.feature-dark .feature-icon {
  color: var(--amber-soft);
  background: rgba(255, 255, 255, 0.1);
}

.feature-icon svg {
  width: 23px;
  stroke-width: 1.6;
}

.feature-icon.amber {
  color: #8a5521;
  background: #f1d3ab;
}

.feature-icon.green {
  color: #2e6c53;
  background: #d6e7dc;
}

.feature-paper {
  background:
    linear-gradient(rgba(23, 35, 29, 0.025) 1px, transparent 1px),
    #f7f2e7;
  background-size: 100% 24px;
}

.privacy-art {
  position: relative;
  display: grid;
  min-height: 190px;
  place-items: center;
}

.privacy-ring {
  display: grid;
  width: 126px;
  height: 126px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  place-items: center;
  box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.035), 0 0 0 48px rgba(255, 255, 255, 0.025);
}

.privacy-ring span {
  display: grid;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--forest);
  background: var(--amber-soft);
  place-items: center;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
}

.privacy-art > i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-soft);
}

.privacy-art > i:nth-child(2) {
  inset-block-start: 21px;
  inset-inline-start: 25px;
}

.privacy-art > i:nth-child(3) {
  inset-block-end: 20px;
  inset-inline-end: 24px;
}

.privacy-art > i:nth-child(4) {
  inset-block-start: 53px;
  inset-inline-end: 7px;
}

.feature-platform {
  background: #e0e8e1;
}

.platform-stack {
  display: grid;
  gap: 9px;
}

.platform-stack span {
  display: grid;
  min-height: 45px;
  padding: 9px 13px;
  border: 1px solid rgba(23, 35, 29, 0.12);
  border-radius: 9px;
  align-items: center;
  color: #486052;
  background: rgba(255, 254, 249, 0.5);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.download-section {
  background: var(--paper-light);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  align-items: stretch;
}

.download-card {
  position: relative;
  display: flex;
  min-height: 335px;
  padding: 31px 27px 25px;
  border: 1px solid var(--line);
  border-radius: 17px;
  flex-direction: column;
  background: #f5efe3;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.download-card.recommended {
  border-color: var(--forest);
  color: var(--white);
  background: var(--forest);
}

.recommendation {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--forest);
  background: var(--amber-soft);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-logo {
  width: 48px;
  height: 48px;
  margin-block: 18px 40px;
  color: var(--forest);
}

.recommended .platform-logo {
  color: var(--white);
}

.windows-logo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  transform: perspective(80px) rotateY(-8deg);
}

.windows-logo i {
  background: currentColor;
}

.apple-logo svg {
  width: 41px;
  height: 48px;
  fill: currentColor;
  stroke: none;
}

.linux-logo {
  display: grid;
  border: 2px solid currentColor;
  border-radius: 50%;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.download-card h3 small {
  display: block;
  margin-block-start: 5px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.recommended h3 small,
.recommended > p {
  color: rgba(255, 254, 249, 0.66);
}

.download-card > p {
  min-height: 44px;
  margin: 11px 0 22px;
  color: var(--ink-soft);
  font-size: 11px;
}

.download-card > a {
  display: flex;
  min-height: 42px;
  margin-block-start: auto;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 254, 249, 0.55);
  font-size: 11px;
  font-weight: 750;
}

.recommended > a {
  border-color: transparent;
  color: var(--forest);
  background: var(--white);
}

.download-card > a svg {
  width: 17px;
  stroke-width: 1.7;
}

.install-panel {
  display: grid;
  grid-template-columns: 0.52fr 1.5fr auto;
  margin-block-start: 16px;
  padding: 27px 30px;
  border: 1px solid var(--line);
  border-radius: 17px;
  align-items: center;
  gap: 35px;
  background: #ebe3d3;
}

.install-version span {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 650;
}

.install-version p {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
}

.install-notes {
  padding-inline-start: 34px;
  border-inline-start: 1px solid var(--line);
}

.install-notes h3 {
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: 16px;
}

.install-notes ol {
  margin: 0;
  padding-inline-start: 18px;
  color: var(--ink-soft);
  font-size: 10px;
}

.checksum-link {
  border-bottom: 1px solid currentColor;
  color: var(--forest);
  font-size: 10px;
  font-weight: 700;
}

.guide-section {
  border-block: 1px solid var(--line);
  background: #e8dfce;
}

.guide-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: clamp(50px, 8vw, 100px);
}

.guide-layout .section-heading {
  margin: 0;
}

.guide-list {
  display: grid;
  gap: 13px;
}

.guide-card {
  display: grid;
  grid-template-columns: 125px 1fr;
  min-height: 180px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  align-items: center;
  gap: 25px;
  background: rgba(255, 254, 249, 0.68);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.guide-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-soft);
}

html[dir="rtl"] .guide-card:hover {
  transform: translateX(-5px);
}

.guide-cover {
  position: relative;
  display: flex;
  min-height: 144px;
  padding: 17px;
  overflow: hidden;
  border-radius: 5px 9px 9px 5px;
  color: var(--white);
  flex-direction: column;
  justify-content: space-between;
  background: var(--forest);
  box-shadow: 5px 6px 0 #d7c8ac, 8px 8px 14px rgba(23, 35, 29, 0.13);
}

html[dir="rtl"] .guide-cover {
  border-radius: 9px 5px 5px 9px;
  box-shadow: -5px 6px 0 #d7c8ac, -8px 8px 14px rgba(23, 35, 29, 0.13);
}

.guide-cover small {
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.guide-cover strong {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.05;
}

.guide-cover i {
  position: absolute;
  width: 94px;
  height: 94px;
  inset-inline-end: -36px;
  inset-block-end: -27px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.04);
}

.guide-cover-zh {
  color: var(--ink);
  background: var(--amber-soft);
}

.guide-copy {
  display: grid;
  gap: 7px;
}

.guide-copy small {
  color: var(--forest-light);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-copy strong {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.2;
}

.guide-copy > span {
  color: var(--ink-soft);
  font-size: 11px;
}

.guide-copy em {
  margin-block-start: 7px;
  color: var(--forest);
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

.faq-section {
  background: var(--paper-light);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(50px, 8vw, 110px);
}

.faq-layout .section-heading {
  margin: 0;
}

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

.faq-list details {
  border-block-end: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 78px;
  padding: 19px 4px;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary i {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.faq-list summary i::before,
.faq-list summary i::after {
  position: absolute;
  inset-block-start: 9px;
  inset-inline-start: 3px;
  width: 14px;
  height: 1px;
  content: "";
  background: var(--ink);
  transition: transform 180ms ease;
}

.faq-list summary i::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary i::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 650px;
  margin: -3px 0 25px;
  padding-inline-end: 45px;
  color: var(--ink-soft);
  font-size: 13px;
}

.site-footer {
  padding: 52px 0;
  color: rgba(255, 254, 249, 0.75);
  background: #142d26;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr auto;
  align-items: center;
  gap: 25px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand .brand-mark {
  color: var(--amber-soft);
}

.footer-brand .brand-copy small {
  color: rgba(255, 254, 249, 0.58);
}

.footer-grid > p {
  margin: 0;
  font-size: 11px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  font-size: 10px;
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-credit {
  grid-column: 2 / -1;
  justify-self: end;
  color: rgba(255, 254, 249, 0.42);
  font-size: 8px !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1040px) {
  :root {
    --shell: min(100% - 38px, 900px);
  }

  .site-nav {
    gap: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(60px, 8vw, 82px);
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .install-panel {
    grid-template-columns: 0.55fr 1.45fr;
  }

  .checksum-link {
    grid-column: 2;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: min(100% - 30px, 650px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    gap: 12px;
  }

  .brand-copy small {
    display: none;
  }

  .site-nav {
    position: absolute;
    inset-block-start: calc(100% + 1px);
    inset-inline: 15px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: rgba(251, 248, 240, 0.98);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 9px;
  }

  .site-nav a:hover {
    background: rgba(23, 63, 52, 0.06);
  }

  .site-nav a::after {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }

  .language-picker select {
    width: 112px;
  }

  .hero {
    padding-block-start: 69px;
  }

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

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

  .eyebrow::before {
    display: none;
  }

  .hero h1 {
    max-width: 600px;
    margin-inline: auto;
    font-size: clamp(64px, 18vw, 96px);
  }

  .hero h1 em {
    margin-inline-start: 0;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-note {
    justify-content: center;
  }

  .hero-stage {
    width: min(100%, 590px);
    margin: 35px auto 0;
  }

  .app-window {
    margin-inline: auto;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    padding-block: 18px;
  }

  .trust-grid > div {
    min-height: 42px;
    padding-inline: 12px !important;
  }

  .trust-grid > div:nth-child(2) {
    border-inline-end: 0;
  }

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

  .step-card {
    min-height: 370px;
  }

  .guide-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .guide-layout .section-heading,
  .faq-layout .section-heading {
    margin-block-end: 0;
  }

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

  .footer-grid > p:first-of-type {
    display: none;
  }

  .footer-credit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  :root {
    --shell: calc(100% - 24px);
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .language-picker select {
    width: 101px;
    padding-inline-start: 11px;
    font-size: 11px;
  }

  .hero {
    min-height: 0;
    padding-block-end: 80px;
  }

  .hero h1 {
    font-size: clamp(56px, 18vw, 76px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    min-height: 390px;
  }

  .app-window {
    border-radius: 16px;
  }

  .app-titlebar {
    grid-template-columns: auto 1fr;
  }

  .app-titlebar > strong {
    text-align: center;
  }

  .secure-pill {
    display: none;
  }

  .app-body {
    padding: 18px;
  }

  .app-intro h2 {
    font-size: 19px;
  }

  .ready-chip {
    display: none;
  }

  .drop-zone {
    min-height: 120px;
  }

  .paper-card-one {
    inset-inline-end: -85px;
  }

  .paper-card-two {
    inset-inline-start: -80px;
  }

  .section {
    padding: 86px 0;
  }

  .section-heading h2 {
    font-size: 43px;
  }

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

  .trust-grid > div {
    border-inline-end: 0;
  }

  .flow-grid,
  .bento-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .feature-wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 270px;
  }

  .privacy-art,
  .platform-stack {
    display: none;
  }

  .download-card {
    min-height: 310px;
  }

  .install-panel {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .install-notes {
    padding-block-start: 19px;
    padding-inline-start: 0;
    border-block-start: 1px solid var(--line);
    border-inline-start: 0;
  }

  .checksum-link {
    grid-column: auto;
  }

  .guide-card {
    grid-template-columns: 90px 1fr;
    padding: 13px;
    gap: 17px;
  }

  .guide-cover {
    min-height: 130px;
    padding: 13px;
  }

  .guide-cover strong {
    font-size: 14px;
  }

  .guide-copy strong {
    font-size: 17px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

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

  .footer-credit {
    justify-self: center;
  }
}
