:root {
  --ink: #29251f;
  --muted: #645e55;
  --gold: #a97732;
  --gold-dark: #80551f;
  --paper: #faf8f4;
  --cream: #f3ede3;
  --line: #e6dccc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "IRANYekan", "Vazirmatn", Tahoma, sans-serif; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #4d73a3; outline-offset: 4px; }
.wrap { width: min(100% - 64px, 1260px); margin-inline: auto; }

.rv-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; background: var(--paper); }
.brand { display: flex; flex-direction: column; gap: 0; }
.brand-name { font-size: 30px; font-weight: 800; line-height: 1.2; color: var(--gold-dark); letter-spacing: -.04em; }
.brand-line { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: -.01em; }
.rv-topbar nav { display: flex; align-items: center; gap: 28px; }
.top-link { font-size: 14px; font-weight: 600; color: var(--muted); }
.top-link:hover, .text-link:hover { color: var(--gold-dark); }
.top-cta { padding: 10px 19px; border: 1px solid #d6c5ab; border-radius: 999px; color: var(--gold-dark); font-size: 13px; font-weight: 700; transition: background .2s, transform .2s; }
.top-cta:hover { background: #f1e6d5; transform: translateY(-2px); }
.top-cta span, .button span, .text-link span { display: inline-block; margin-inline-start: 8px; }

.hero { position: relative; isolation: isolate; min-height: 690px; overflow: hidden; background: #eee1cf; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(250,248,244,.96) 0%, rgba(250,248,244,.91) 28%, rgba(250,248,244,.54) 45%, rgba(250,248,244,0) 69%); }
.hero-content { display: flex; align-items: center; min-height: 690px; padding-block: 64px; }
.hero-copy { width: min(100%, 610px); }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-dark); font-size: 13px; font-weight: 700; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(169,119,50,.14); }
h1, h2, h3, p { margin-block-start: 0; }
.rv-intro h1, .rv-intro h2, .rv-intro h3 { color: #29251f !important; }
.rv-intro #hero-title { color: #29251f !important; }
h1 { max-width: 640px; margin-block: 24px 20px; font-size: clamp(38px, 4.2vw, 65px); line-height: 1.42; letter-spacing: -.055em; font-weight: 800; }
h1 em { display: block; color: var(--gold-dark); font-style: normal; }
.rv-intro h1 em { color: #80551f !important; }
.lead { max-width: 580px; font-size: clamp(16px, 1.25vw, 19px); line-height: 2.05; color: #4e493f; }
.hero-actions { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; margin-block-start: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 11px 24px; border-radius: 13px; font-size: 14px; font-weight: 800; transition: background .2s, box-shadow .2s, transform .2s; }
.rv-intro .button { border-radius: 13px !important; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold-dark); color: white; box-shadow: 0 10px 26px rgba(88,52,18,.17); }
.button-primary:hover { background: #674111; box-shadow: 0 13px 30px rgba(88,52,18,.23); }
.button-secondary { border: 1px solid #bda783; color: var(--gold-dark); background: rgba(255,255,255,.62); }
.button-secondary:hover { background: white; }
.hero-note { margin-block: 22px 0; color: #706b60; font-size: 12px; }

.rv-about { padding-block: 108px 122px; }
.section-heading { max-width: 800px; margin-inline: auto; text-align: center; }
.section-heading h2, .app-copy h2, .outro h2 { margin-block: 14px 14px; font-size: clamp(31px, 3vw, 44px); line-height: 1.55; letter-spacing: -.045em; }
.section-heading p { color: var(--muted); line-height: 2; font-size: 16px; }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-block-start: 48px; }
.path-card { position: relative; min-height: 250px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 18px 40px rgba(62,43,20,.045); transition: transform .2s, box-shadow .2s, border-color .2s; }
.path-card:hover { transform: translateY(-5px); border-color: #d8bd91; box-shadow: 0 22px 45px rgba(62,43,20,.1); }
.path-index { color: #bd9c69; font-size: 13px; font-weight: 700; }
.path-card h3 { margin-block: 20px 9px; font-size: 23px; }
.path-card p { max-width: 290px; color: var(--muted); font-size: 14px; line-height: 2; }
.path-arrow { position: absolute; inset-block-end: 29px; inset-inline-end: 30px; color: var(--gold); font-size: 23px; }

.app-section { overflow: hidden; background: linear-gradient(135deg, #efe2cb 0%, #faf4e9 55%, #f2e8d8 100%); }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 545px; gap: 64px; }
.app-copy { max-width: 555px; padding-block: 80px; }
.app-copy p, .outro p { font-size: 16px; line-height: 2.2; color: #554d43; }
.app-copy .button { margin-block-start: 14px; }
.app-copy .app-visual-note { margin-block: 17px 0; color: #766b5a; font-size: 12px; line-height: 1.8; }
.app-visual { display: grid; place-items: center; position: relative; height: 100%; min-height: 480px; }
.app-orbit { position: absolute; border: 1px solid rgba(169,119,50,.2); border-radius: 50%; }
.app-orbit-one { width: 390px; height: 390px; }
.app-orbit-two { width: 510px; height: 510px; }
.app-phone { width: 235px; height: 440px; padding: 11px; border: 8px solid #292724; border-radius: 38px; transform: rotate(-8deg); background: #24221f; box-shadow: 15px 28px 54px rgba(51,38,20,.27), inset 0 0 1px 1px #938675; }
.app-phone-notch { position: absolute; z-index: 2; top: 7px; left: 50%; width: 68px; height: 18px; transform: translateX(-50%); border-radius: 0 0 13px 13px; background: #292724; }
.app-phone-screen { height: 100%; padding: 45px 15px 15px; border-radius: 23px; background: #fbf9f4; }
.app-screen-top { width: 85px; height: 13px; margin-block-end: 24px; border-radius: 8px; background: #aa7838; }
.app-screen-feature { height: 105px; border-radius: 14px; background: linear-gradient(120deg, #d7b987, #f4e7d2 60%, #e3d4bd); }
.app-screen-line { height: 7px; margin-block-start: 13px; border-radius: 6px; background: #d9d2c5; }
.app-screen-line.long { width: 94%; }
.app-screen-line.short { width: 60%; }
.app-screen-line.medium { width: 77%; }
.app-screen-cards { display: flex; gap: 7px; margin-block-start: 22px; }
.app-screen-cards i { display: block; height: 83px; width: 50%; border-radius: 10px; background: #e9dfcf; }
.app-screen-cards i:last-child { background: #ddc59e; }

.outro { max-width: 880px; padding-block: 110px 120px; text-align: center; }
.outro p { max-width: 740px; margin-inline: auto; }
.text-link { display: inline-block; margin-block-start: 16px; color: var(--gold-dark); font-weight: 800; }

.social-section { padding-block: 92px 98px; background: linear-gradient(150deg, #f1e5d2 0%, #fbf7ef 58%, #eee1cc 100%); border-top: 1px solid rgba(169,119,50,.13); }
.social-shell { display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.55fr); align-items: center; gap: 58px; }
.social-copy h2 { margin-block: 13px 13px; font-size: clamp(29px,2.65vw,41px); line-height: 1.55; letter-spacing: -.045em; }
.social-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 2.1; }
.social-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.social-card { min-width: 0; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px 10px; border: 1px solid rgba(169,119,50,.2); border-radius: 21px; background: rgba(255,255,255,.8); box-shadow: 0 15px 34px rgba(73,48,20,.055); transition: transform .2s, border-color .2s, box-shadow .2s, background .2s; }
.social-card:hover { transform: translateY(-5px); border-color: rgba(169,119,50,.5); background: #fff; box-shadow: 0 20px 40px rgba(73,48,20,.12); }
.social-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; background: #faf6ef; box-shadow: inset 0 0 0 1px rgba(169,119,50,.12); }
.social-icon img { display: block; width: 32px; height: 32px; object-fit: contain; }
.social-card--aparat .social-icon img { width: 45px; height: 29px; }
.social-card strong { font-size: 15px; color: var(--ink); }
.social-card small { color: #8b7556; font-size: 11px; font-weight: 700; }
.rv-footer { border-top: 1px solid var(--line); background: #f5f0e8; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; padding-block: 28px; color: #655d51; font-size: 12px; }
.rv-landing-body #ravanai-messenger-fab, .rv-landing-body #ravanai-dark-toggle { display: none !important; }

@media (max-width: 960px) {
  .wrap { width: min(100% - 48px, 1260px); }
  .hero, .hero-content { min-height: 620px; }
  .hero-shade { background: linear-gradient(270deg, rgba(250,248,244,.97) 0%, rgba(250,248,244,.92) 39%, rgba(250,248,244,.15) 84%); }
  .hero-copy { width: 55%; }
  .paths { gap: 12px; }
  .path-card { padding: 23px; }
  .social-shell { grid-template-columns: 1fr; gap: 34px; }
  .social-copy { max-width: 720px; margin-inline: auto; text-align: center; }
  .social-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
}

@media (max-width: 700px) {
  .wrap { width: min(100% - 36px, 1260px); }
  .rv-topbar { min-height: 72px; }
  .brand-name { font-size: 24px; }
  .brand-line { font-size: 9px; }
  .rv-topbar nav { gap: 0; }
  .top-link { display: none; }
  .top-cta { padding: 9px 14px; font-size: 12px; }
  .hero { display: flex; flex-direction: column; min-height: auto; background: #f8f4ed; }
  .hero-art { position: relative; order: 2; display: block; width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: contain; z-index: 0; }
  .hero-shade { display: none; }
  .hero-content { order: 1; display: block; min-height: auto; padding-block: 45px 37px; }
  .hero-copy { width: 100%; }
  h1 { margin-block: 20px 14px; font-size: clamp(34px, 8.8vw, 46px); line-height: 1.48; }
  h1 em { display: inline; }
  .lead { font-size: 15px; line-height: 2.1; }
  .hero-actions { gap: 10px; margin-block-start: 24px; }
  .button { min-height: 48px; padding-inline: 18px; font-size: 13px; }
  .hero-note { font-size: 11px; }
  .rv-about { padding-block: 72px 80px; }
  .section-heading h2, .app-copy h2, .outro h2 { font-size: 30px; }
  .section-heading p { font-size: 14px; }
  .paths { grid-template-columns: 1fr; margin-block-start: 29px; }
  .path-card { min-height: 178px; }
  .path-card h3 { margin-block: 8px 5px; font-size: 20px; }
  .path-card p { max-width: 90%; margin-block-end: 0; }
  .app-grid { grid-template-columns: 1fr; gap: 0; }
  .app-copy { padding-block: 72px 30px; }
  .app-copy p, .outro p { font-size: 14px; }
  .app-visual { min-height: 405px; }
  .app-orbit-one { width: 310px; height: 310px; }
  .app-orbit-two { width: 400px; height: 400px; }
  .app-phone { transform: rotate(-7deg) scale(.82); }
  .outro { padding-block: 78px 86px; }
  .social-section { padding-block: 70px 76px; }
  .social-shell { gap: 28px; }
  .social-copy h2 { font-size: 29px; }
  .social-copy p { font-size: 14px; }
  .social-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .social-card { min-height: 128px; padding: 17px 8px; }
  .social-card:last-child { grid-column: 1 / -1; }
  .footer-inner { flex-direction: column; gap: 6px; line-height: 1.9; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .path-card, .top-cta, .social-card { transition: none; }
}
