:root {
  color-scheme: light;
  --paper: #fffdfb;
  --paper-warm: #fff7ef;
  --ink: #080b10;
  --ink-soft: #666b73;
  --ink-muted: #8d9299;
  --line: #ece3da;
  --line-strong: #dfd1c4;
  --orange: #ff681c;
  --orange-deep: #ee4d08;
  --orange-soft: #ff9b3d;
  --gold: #ffc64d;
  --shadow: 0 24px 70px rgba(88, 50, 19, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 104, 28, 0.04), transparent 22%, transparent 78%, rgba(255, 104, 28, 0.035)),
    linear-gradient(180deg, rgba(8, 11, 16, 0.025), transparent 18rem);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 36px clamp(24px, 5vw, 72px);
  border: 1px solid transparent;
  border-radius: 0;
  transform: translateX(-50%);
  transition:
    top 220ms ease,
    width 220ms ease,
    padding 180ms ease,
    border-color 180ms ease,
    border-radius 220ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  top: 12px;
  width: min(calc(100% - 48px), 900px);
  padding: 9px 18px;
  border-color: rgba(223, 209, 196, 0.96);
  border-radius: 999px;
  background: rgba(255, 253, 251, 0.94);
  box-shadow:
    0 18px 46px rgba(88, 50, 19, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.86) inset;
  backdrop-filter: blur(16px);
}

.brand,
.download-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: min-height 180ms ease;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  min-width: 0;
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .download-link,
.site-header.is-scrolled .language-picker select {
  min-height: 38px;
}

.brand {
  font-size: 1.28rem;
  font-weight: 720;
  letter-spacing: 0;
}

.download-link {
  gap: 12px;
  color: #151515;
  font-size: 1rem;
  font-weight: 520;
  white-space: nowrap;
}

.language-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.language-picker::after {
  position: absolute;
  inset-inline-end: 14px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--ink-soft);
  border-bottom: 1.5px solid var(--ink-soft);
  content: "";
  pointer-events: none;
  transform: translateY(-2px) rotate(45deg);
}

.language-picker select {
  min-height: 44px;
  max-width: clamp(112px, 18vw, 180px);
  padding: 0 34px 0 14px;
  padding-inline: 14px 34px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 251, 0.84);
  font-size: 0.92rem;
  font-weight: 560;
  line-height: 1;
  text-overflow: ellipsis;
  cursor: pointer;
  appearance: none;
}

.download-link span:last-child,
.download a span:last-child {
  color: var(--orange-deep);
  font-size: 1.55rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.download-link:hover span:last-child,
.download a:hover span:last-child {
  transform: translateX(4px);
}

[dir="rtl"] .download-link span:last-child,
[dir="rtl"] .download a span:last-child {
  transform: scaleX(-1);
}

[dir="rtl"] .download-link:hover span:last-child,
[dir="rtl"] .download a:hover span:last-child {
  transform: scaleX(-1) translateX(4px);
}

main {
  overflow: hidden;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 84svh;
  padding: 116px clamp(22px, 4vw, 64px) 72px;
  background: #ffffff;
  text-align: center;
}

.hero-mark {
  position: relative;
  width: clamp(220px, 28vw, 380px);
  aspect-ratio: 1.85;
  margin: 0 auto clamp(34px, 4.8vw, 58px);
  overflow: hidden;
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.6rem, 7.6vw, 7rem);
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.02;
  overflow-wrap: normal;
  hyphens: manual;
}

.hero-copy h1 span {
  display: inline;
}

.hero-copy h1 .accent {
  color: var(--orange);
}

.hero-copy p {
  max-width: 660px;
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  font-weight: 430;
}

section {
  scroll-margin-top: 96px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(calc(100% - 48px), 1120px);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps article {
  min-height: 188px;
  padding: 32px;
}

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

[dir="rtl"] .steps article + article {
  border-right: 1px solid var(--line);
  border-left: 0;
}

.steps span,
.eyebrow {
  display: inline-flex;
  color: var(--orange-deep);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.steps h2,
.section-copy h2,
.download h2 {
  color: var(--ink);
  letter-spacing: 0;
}

.steps h2 {
  margin: 46px 0 10px;
  font-size: 1.4rem;
  line-height: 1.1;
  font-weight: 660;
}

.steps p,
.section-copy p,
.preview-row p,
.mode-grid p,
.privacy p,
.download p,
.site-footer p {
  color: var(--ink-soft);
}

.steps p {
  max-width: 280px;
  margin-bottom: 0;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  width: min(calc(100% - 48px), 1120px);
  margin: 112px auto;
}

.section-copy {
  max-width: 650px;
}

.eyebrow {
  margin-bottom: 18px;
}

.section-copy h2,
.privacy h2,
.download h2 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 4.8vw, 5rem);
  line-height: 1;
  font-weight: 540;
}

.section-copy p,
.privacy p,
.download p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-row {
  padding: 28px;
}

.preview-row + .preview-row {
  border-top: 1px solid var(--line);
}

.preview-row span {
  display: inline-flex;
  margin-bottom: 11px;
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 760;
  text-transform: uppercase;
}

.preview-row p {
  margin: 0;
  font-size: 1.08rem;
}

.preview-row-polished {
  background: linear-gradient(180deg, #fff8f1, #ffffff);
}

.preview-row-polished span {
  color: var(--orange-deep);
}

.preview-row-polished p {
  color: #262a31;
  font-size: 1.24rem;
  font-weight: 560;
}

.modes {
  padding: 100px clamp(24px, 5vw, 72px);
  background: linear-gradient(180deg, #fff8f1, #ffffff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.centered {
  margin: 0 auto;
  text-align: center;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 1120px);
  margin: 48px auto 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.mode-grid article {
  min-height: 210px;
  padding: 28px;
  background: #ffffff;
}

.mode-grid h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.15;
  font-weight: 650;
}

.mode-grid p {
  margin-bottom: 0;
}

.privacy {
  width: min(calc(100% - 48px), 1120px);
  margin: 108px auto 0;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.privacy .section-copy {
  max-width: 790px;
}

.download {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 4vw, 52px);
  width: min(calc(100% - 48px), 1120px);
  margin: 108px auto 52px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download img {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(255, 104, 28, 0.17);
}

.download h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.download a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 52px;
  padding: 0 2px;
  color: var(--ink);
  font-weight: 620;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 48px), 1120px);
  margin: 0 auto;
  padding: 0 0 40px;
}

.site-footer span {
  color: var(--ink);
  font-weight: 720;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

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

.site-footer p {
  margin: 0;
  font-size: 0.94rem;
}

.legal-page {
  background: #ffffff;
}

.legal-page .site-header {
  position: static;
  left: auto;
  padding: 28px clamp(24px, 5vw, 72px);
  transform: none;
}

.legal-page .header-actions {
  gap: 18px;
}

.legal-page main {
  overflow: visible;
}

.legal-document {
  width: min(calc(100% - 48px), 860px);
  margin: 48px auto 96px;
}

.legal-document header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-document h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 560;
  line-height: 1;
}

.legal-document h2 {
  margin: 42px 0 12px;
  font-size: 1.45rem;
  line-height: 1.18;
}

.legal-document p,
.legal-document li {
  color: var(--ink-soft);
}

.legal-document ul {
  padding-inline-start: 1.3rem;
}

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

.legal-document a {
  color: var(--orange-deep);
  font-weight: 620;
}

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

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

@media (max-width: 980px) {
  .hero {
    min-height: 84svh;
    padding-top: 112px;
  }

  .steps,
  .product,
  .privacy,
  .download {
    width: min(calc(100% - 36px), 720px);
  }

  .steps,
  .product {
    grid-template-columns: 1fr;
  }

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

  [dir="rtl"] .steps article + article {
    border-right: 0;
  }

  .product {
    margin: 84px auto;
  }

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

  .download {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .download a {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 18px;
  }

  .brand {
    font-size: 1.12rem;
  }

  .download-link {
    gap: 8px;
    font-size: 0.9rem;
  }

  .header-actions {
    gap: 10px;
  }

  .language-picker select {
    max-width: 132px;
    min-height: 40px;
    padding-inline: 12px 30px;
    font-size: 0.86rem;
  }

  .language-picker::after {
    inset-inline-end: 12px;
  }

  .hero {
    min-height: 82svh;
    padding: 96px 18px 44px;
  }

  .hero-mark {
    width: min(280px, 76vw);
    margin-bottom: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.25rem);
    line-height: 0.98;
  }

  .hero-copy h1 span {
    display: block;
  }

  .hero-copy p {
    margin-top: 16px;
    font-size: 1rem;
  }

  .steps,
  .product,
  .privacy,
  .download,
  .site-footer {
    width: calc(100% - 36px);
  }

  .steps article,
  .preview-row,
  .mode-grid article {
    padding: 24px;
  }

  .steps h2 {
    margin-top: 36px;
  }

  .modes {
    padding: 76px 18px;
  }

  .mode-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .download {
    grid-template-columns: 1fr;
    justify-items: start;
    margin-top: 82px;
  }

  .download a {
    grid-column: auto;
  }

  .download img {
    width: 82px;
    height: 82px;
    border-radius: 20px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-page .site-header {
    padding: 20px 18px;
  }

  .legal-document {
    width: calc(100% - 36px);
    margin-top: 34px;
  }
}

@media (max-height: 760px) and (min-width: 681px) {
  .site-header {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .hero {
    min-height: 84svh;
    padding-top: 104px;
    padding-bottom: 54px;
  }

  .hero-mark {
    width: 280px;
    margin-bottom: 30px;
  }

  .hero-copy h1 {
    font-size: clamp(3.9rem, 6.3vw, 5.1rem);
  }

  .hero-copy p {
    margin-top: 16px;
  }
}

@media (max-width: 420px) {
  .download-link span:first-child {
    display: none;
  }

}
