:root {
  --paper: #f6f1e7;
  --paper-deep: #ece4d5;
  --ink: #171814;
  --muted: #66655e;
  --red: #e91b3d;
  --red-dark: #c7132f;
  --blue: #076eb5;
  --green: #146b38;
  --line: rgba(23, 24, 20, 0.16);
  --white: #fffdf8;
  --radius: 30px;
  --shadow: 0 24px 70px rgba(37, 30, 22, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 18px; top: -80px; z-index: 100; background: var(--ink); color: white; padding: 12px 18px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.site-header.scrolled { background: rgba(246, 241, 231, .88); border-color: var(--line); backdrop-filter: blur(18px); }
.nav-wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50% 50% 50% 12px; background: var(--ink); color: var(--paper); font-family: Georgia, serif; font-size: 20px; font-style: italic; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { position: relative; font-size: 14px; font-weight: 650; text-decoration: none; }
.site-nav a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: currentColor; transition: right .2s ease; }
.site-nav a:not(.nav-contact):hover::after, .site-nav a:not(.nav-contact):focus-visible::after { right: 0; }
.nav-contact { border: 1px solid var(--ink); border-radius: 999px; padding: 10px 18px; transition: .2s ease; }
.nav-contact:hover, .nav-contact:focus-visible { background: var(--ink); color: var(--paper); }
.menu-button { display: none; background: none; border: 0; padding: 10px; }

.hero { min-height: calc(100vh - 84px); display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 60px; padding-block: 58px 100px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 28px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.hero h1, .section-heading h2, .about-copy h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.065em; line-height: .91; }
.hero h1 { font-size: clamp(66px, 7.2vw, 112px); }
.hero h1 em { color: var(--red); font-weight: 400; }
.hero-intro { max-width: 570px; margin: 32px 0; color: #4f4f49; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 0 24px; border-radius: 999px; font-size: 14px; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,.15); }
.button-dark { background: var(--ink); color: white; }
.button-red { background: var(--red); color: white; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 750; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.hero-stats { display: flex; gap: 0; margin: 54px 0 0; }
.hero-stats div { padding-right: 26px; margin-right: 26px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border: 0; padding: 0; margin: 0; }
.hero-stats dt { font-family: Georgia, serif; font-size: 29px; line-height: 1; letter-spacing: -.04em; }
.hero-stats dd { margin: 7px 0 0; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; }

.hero-art { position: relative; min-height: 610px; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; width: 480px; height: 480px; right: 10px; top: 52px; border-radius: 50%; background: #ded3c2; }
.hero-art::after { content: ""; position: absolute; width: 155px; height: 155px; left: 15px; bottom: 15px; border-radius: 50%; background: var(--red); z-index: -1; }
.hero-device { position: absolute; z-index: 2; width: 255px; height: auto; filter: drop-shadow(0 28px 38px rgba(37, 30, 22, .22)); transition: transform .5s cubic-bezier(.2,.75,.2,1); }
.hero-device-tajik { left: 58px; bottom: -4px; transform: rotate(-7deg); }
.hero-device-russian { right: 20px; top: 10px; transform: rotate(8deg); }
.hero-art:hover .hero-device-tajik { transform: rotate(-9deg) translate(-5px, -5px); }
.hero-art:hover .hero-device-russian { transform: rotate(10deg) translate(5px, -5px); }
.orbit { position: absolute; border: 1px solid rgba(23,24,20,.22); border-radius: 50%; z-index: -1; }
.orbit-one { width: 520px; height: 290px; right: -5px; top: 125px; transform: rotate(-20deg); }
.orbit-two { width: 400px; height: 240px; left: 2px; top: 172px; transform: rotate(50deg); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0; }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 32px; animation: marquee 28s linear infinite; }
.marquee span { font-family: Georgia, serif; font-size: 20px; font-style: italic; white-space: nowrap; }
.marquee i { color: var(--red); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.apps-section { padding-block: 150px; }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 60px; margin-bottom: 76px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -15px; }
.section-heading h2, .about-copy h2 { font-size: clamp(50px, 6vw, 82px); }
.section-heading > p:last-child { max-width: 420px; margin: 0 0 6px; color: var(--muted); font-size: 18px; }
.app-card { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 700px; margin-top: 34px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: 0 8px 40px rgba(40,31,20,.05); }
.app-card:nth-of-type(3) .app-visual { order: 2; }
.app-visual { position: relative; display: grid; place-items: center; min-height: 700px; overflow: hidden; }
.app-red .app-visual { background: var(--red); }
.app-blue .app-visual { background: var(--blue); }
.app-visual::before { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; }
.app-visual::after { content: ""; position: absolute; width: 310px; height: 310px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; }
.app-icon-badge { position: absolute; z-index: 6; width: 62px; height: 62px; right: 24px; top: 22px; border: 4px solid rgba(255,255,255,.85); border-radius: 17px; box-shadow: 0 12px 25px rgba(0,0,0,.19); }
.shot-stack { position: relative; z-index: 2; width: 100%; height: 650px; }
.app-shot { position: absolute; bottom: -42px; width: clamp(175px, 43%, 235px); height: auto; filter: drop-shadow(0 22px 28px rgba(0,0,0,.22)); transition: transform .5s cubic-bezier(.2,.75,.2,1); }
.shot-left { left: -25px; transform: rotate(-9deg) translateY(52px) scale(.91); }
.shot-center { left: 50%; z-index: 3; transform: translateX(-50%) translateY(5px); }
.shot-right { right: -28px; transform: rotate(9deg) translateY(64px) scale(.91); }
.app-card:hover .shot-left { transform: rotate(-12deg) translate(-8px, 43px) scale(.93); }
.app-card:hover .shot-center { transform: translateX(-50%) translateY(-6px); }
.app-card:hover .shot-right { transform: rotate(12deg) translate(8px, 53px) scale(.93); }
.card-index { position: absolute; left: 28px; top: 22px; color: rgba(255,255,255,.8); font-family: Georgia, serif; font-size: 22px; }
.visual-label { position: absolute; z-index: 5; right: 24px; bottom: 24px; padding: 9px 14px; border-radius: 999px; background: var(--white); box-shadow: 0 8px 20px rgba(0,0,0,.12); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.app-details { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 6vw, 82px); }
.app-kicker { display: flex; gap: 10px; margin-bottom: 25px; }
.app-kicker span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.app-details h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(45px, 5vw, 70px); font-weight: 400; letter-spacing: -.055em; line-height: .95; }
.app-details > p { max-width: 570px; margin: 28px 0; color: var(--muted); font-size: 17px; }
.feature-list { list-style: none; margin: 0 0 36px; padding: 0; border-top: 1px solid var(--line); }
.feature-list li { display: flex; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.feature-list span { color: var(--muted); font-family: Georgia, serif; font-weight: 400; }
.store-links { display: flex; gap: 12px; flex-wrap: wrap; }
.store-button { min-width: 166px; display: flex; align-items: center; gap: 11px; padding: 10px 15px; border-radius: 12px; background: var(--ink); color: white; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.store-button:hover, .store-button:focus-visible { transform: translateY(-3px); background: #33342f; }
.store-button small { display: flex; flex-direction: column; font-size: 8px; line-height: 1.2; }
.store-button strong { font-size: 16px; letter-spacing: -.03em; }
.store-symbol { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; }
.apple-symbol { border: 1px solid rgba(255,255,255,.8); border-radius: 7px; font-family: Georgia, serif; font-size: 15px; font-weight: 700; line-height: 1; }
.play-symbol { width: 0; height: 0; margin-inline: 4px 7px; border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 20px solid white; }

.values-section { padding-block: 140px; background: var(--ink); color: var(--paper); }
.section-heading.light { grid-template-columns: 1fr; }
.section-heading.light .eyebrow { color: rgba(255,255,255,.58); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card { min-height: 340px; display: flex; flex-direction: column; padding: 34px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; transition: background .3s ease, transform .3s ease; }
.value-card:hover { background: rgba(255,255,255,.06); transform: translateY(-6px); }
.value-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; font-family: Georgia, serif; font-size: 27px; }
.value-card h3 { margin: auto 0 10px; font-family: Georgia, serif; font-size: 31px; font-weight: 400; letter-spacing: -.035em; }
.value-card p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; }

.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-block: 150px; }
.about-body { padding-top: 55px; }
.about-lead { margin: 0 0 28px; font-family: Georgia, serif; font-size: clamp(25px, 3vw, 36px); line-height: 1.3; letter-spacing: -.03em; }
.about-body > p:not(.about-lead) { max-width: 540px; margin: 0 0 35px; color: var(--muted); }

.contact-band { background: var(--red); color: white; }
.contact-inner { min-height: 280px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-inner p { margin: 0; font-size: 18px; font-weight: 700; }
.contact-inner a { display: flex; align-items: center; gap: 45px; font-family: Georgia, serif; font-size: clamp(56px, 8vw, 105px); letter-spacing: -.06em; text-decoration: none; }
.contact-inner a span { font-family: sans-serif; font-size: .5em; transition: transform .2s ease; }
.contact-inner a:hover span { transform: translate(8px,-8px); }

footer { padding-block: 65px; background: #0f100e; color: white; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 80px; }
.footer-brand .brand-mark { background: var(--paper); color: var(--ink); }
.footer-grid > div:first-child p, .footer-meta p { margin: 16px 0 0; color: rgba(255,255,255,.45); font-size: 12px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 34px; }
.footer-links a { font-size: 13px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-meta { text-align: right; }
.footer-meta p { margin: 0 0 8px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 45px; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-art { min-height: 580px; max-width: 610px; width: 100%; margin: 0 auto; }
  .section-heading { grid-template-columns: 1fr; gap: 28px; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .app-card { grid-template-columns: 1fr; }
  .app-card:nth-of-type(3) .app-visual { order: 0; }
  .app-visual { min-height: 660px; }
  .shot-stack { width: min(620px, 100%); height: 620px; }
  .app-shot { width: clamp(190px, 36%, 225px); }
  .about-section { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; text-align: left; border-top: 1px solid rgba(255,255,255,.14); padding-top: 25px; }
}

@media (max-width: 820px) {
  .nav-wrap { height: 70px; }
  .menu-button { display: grid; gap: 6px; position: relative; z-index: 2; }
  .menu-button span:not(.sr-only) { display: block; width: 25px; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 80px 30px; background: var(--paper); clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .3s ease, visibility .3s ease; }
  .site-nav.open { clip-path: inset(0); visibility: visible; }
  .site-nav a { font-family: Georgia, serif; font-size: 38px; font-weight: 400; }
  .nav-contact { border: 0; padding: 0; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 30px, 1200px); }
  .hero { min-height: auto; gap: 15px; padding-block: 60px 65px; }
  .hero h1 { font-size: clamp(59px, 18vw, 84px); }
  .hero-intro { margin-block: 25px; font-size: 17px; }
  .hero-stats { gap: 0; margin-top: 42px; }
  .hero-stats div { padding-right: 14px; margin-right: 14px; }
  .hero-stats dt { font-size: 23px; }
  .hero-stats dd { font-size: 9px; line-height: 1.3; }
  .hero-art { min-height: 485px; transform: scale(.9); transform-origin: center top; margin-bottom: -50px; }
  .hero-art::before { width: 360px; height: 360px; right: 0; }
  .hero-device { width: 215px; }
  .hero-device-tajik { left: 16px; bottom: -2px; }
  .hero-device-russian { right: 20px; top: 12px; }
  .orbit { display: none; }
  .apps-section { padding-block: 95px; }
  .section-heading { margin-bottom: 48px; }
  .section-heading h2, .about-copy h2 { font-size: 49px; }
  .app-card { border-radius: 22px; }
  .app-visual { min-height: 490px; }
  .app-visual::before { width: 340px; height: 340px; }
  .app-visual::after { width: 240px; height: 240px; }
  .app-icon-badge { width: 48px; height: 48px; right: 18px; top: 18px; border-width: 3px; border-radius: 13px; }
  .shot-stack { height: 470px; width: 100%; }
  .app-shot { width: clamp(142px, 43%, 175px); bottom: -30px; }
  .shot-left { left: 12px; transform: rotate(-9deg) translateY(52px) scale(.9); }
  .shot-right { right: 12px; transform: rotate(9deg) translateY(62px) scale(.9); }
  .app-details { padding: 38px 25px 44px; }
  .app-details h3 { font-size: 47px; }
  .store-links { flex-direction: column; }
  .store-button { max-width: 210px; }
  .values-section { padding-block: 95px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 260px; }
  .about-section { padding-block: 95px; }
  .about-body { padding-top: 36px; }
  .contact-inner { min-height: 240px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .contact-inner a { gap: 25px; font-size: 58px; }
  .footer-grid { grid-template-columns: 1fr; gap: 45px; }
  .footer-meta { grid-column: auto; }
}

@media (min-width: 1440px) {
  .shell { width: min(1360px, calc(100% - 80px)); }
  .hero { grid-template-columns: 1.05fr .95fr; gap: 90px; }
  .hero-art { transform: scale(1.06); }
  .app-card { grid-template-columns: 1fr 1fr; }
  .shot-stack { width: min(660px, 100%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
