/* sheet */
.rtl-modal { border: 0; padding: 0; margin: 0; inset: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; overflow: visible; }
.rtl-modal::backdrop { background: rgba(28,14,66,0); transition: background .3s ease; }
.rtl-modal.is-in::backdrop { background: rgba(28,14,66,.38); }
.rtl-sheet { position: fixed; left: 50%; top: 50%; width: min(620px, calc(100vw - 2rem)); max-height: calc(100vh - 3rem); overflow: auto; transform: translate(-50%, -50%);
  background: #fff; border-radius: 28px; box-shadow: 0 40px 100px -30px rgba(28,14,66,.5); font-family: "Poppins", system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
.rtl-sheet-in { padding: 2rem 2rem 1.6rem; display: grid; gap: 1.15rem; }
.rtl-sh-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.rtl-sh-k { font-size: 12px; font-weight: 500; color: var(--p); }
.rtl-sh-t { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; margin-top: .2rem; }
.rtl-sh-when { font-size: 16px; line-height: 1.5; color: var(--ink-3); }
.rtl-x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(34,31,46,.06); cursor: pointer; display: grid; place-items: center; transition: background .15s ease, transform .1s ease; }
.rtl-x:hover { background: rgba(34,31,46,.1); }
.rtl-x:active { transform: scale(.92); }
.rtl-x svg { width: 13px; height: 13px; }
.rtl-mail { border-radius: 18px; background: var(--p-tint); overflow: hidden; }
.rtl-subj { display: flex; gap: .6rem; padding: .95rem 1.2rem; border-bottom: 1px solid #E3DCF7; font-size: 16px; }
.rtl-subj-k { color: var(--ink-3); flex: none; }
.rtl-subj-v { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.rtl-subj-v.is-thread { font-weight: 400; color: var(--ink-3); }
.rtl-body { padding: 1.15rem 1.2rem 1.3rem; font-size: 16px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; }
.rtl-v { color: var(--p-ink); font-weight: 500; }
.rtl-s { border-bottom: 1.5px dotted rgba(123,77,224,.7); }
.rtl-sh-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.rtl-sh-meta { font-size: 14px; color: var(--ink-3); }
.rtl-sh-nav { display: flex; gap: .5rem; align-items: center; }
.rtl-sh-nav .nb { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(34,31,46,.06); cursor: pointer; display: grid; place-items: center; transition: background .15s ease, transform .1s ease; }
.rtl-sh-nav .nb:hover { background: rgba(34,31,46,.1); }
.rtl-sh-nav .nb:active { transform: scale(.92); }
.rtl-sh-nav .nb svg { width: 14px; height: 14px; }
.rtl-copy { border: 0; border-radius: 999px; background: var(--p); color: #fff !important; font-weight: 600; font-size: 16px; min-height: 44px; padding: 10px 22px; cursor: pointer; transition: background .2s ease, transform .1s ease; min-width: 8.5rem; }
.rtl-copy:hover { background: var(--p-ink); }
.rtl-copy:active { transform: scale(.96); }
.rtl-copy.is-done { background: #10794D; }
.rtl-x:focus-visible, .rtl-sh-nav .nb:focus-visible, .rtl-copy:focus-visible { outline: none; box-shadow: var(--focus); }

/* Reachly cold email template library, v4: built the way aave.com builds a page.
   Inset rounded panels, the product itself in the hero, a stats strip, structured cards
   (label, title, line, divider, chips), soft pill buttons, medium-weight tight display type. */
.rtl {
  --p: #7B4DE0; --p-ink: #5B33C2; --p-deep: #3A1D7A; --lilac: #EBE6FD; --p-tint: #F4F1FD;
  --ink: #211D2B; --ink-2: #4A4558; --ink-3: #5F5A73; --line: #EDEAF5; --line-2: #E2DDF0;
  --bg: #FFFFFF;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --focus: 0 0 0 3px rgba(123,77,224,.32);
  font-family: "Poppins", system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased;
  background: var(--bg); padding: 24px 24px 96px;
}
.rtl *, .rtl *::before, .rtl *::after { box-sizing: border-box; }
:where(.rtl) :is(p, h1, h2, h3, ol, ul, li, pre) { margin: 0; padding: 0; }
:where(.rtl) :where(ol, ul) { list-style: none; }
.rtl [hidden] { display: none !important; }
.rtl button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.rtl-wrap { max-width: 1000px; margin: 0 auto; }
.rtl-panel { border-radius: 32px; position: relative; overflow: hidden; }
.rtl-panel + .rtl-panel { margin-top: 24px; }

/* type */
.rtl-h1 { font-size: clamp(42px, 6vw, 74px); font-weight: 600; line-height: 1.05; letter-spacing: -0.05em; }
.rtl-h2 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 600; line-height: 1.08; letter-spacing: -0.045em; }
.rtl-lede { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-3); letter-spacing: -0.01em; }

/* buttons */
.rtl-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.rtl-btn { display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; text-decoration: none; font-weight: 500; font-size: 16px; letter-spacing: -0.01em; padding: .85rem 1.6rem; border-radius: 999px; transition: background .2s ease, transform .1s ease; }
.rtl-btn:active { transform: scale(.97); }
.rtl-btn:focus-visible { outline: none; box-shadow: var(--focus); }
.rtl-btn.is-solid { background: var(--p); color: #fff; }
.rtl-btn.is-solid:hover { background: var(--p-ink); }
.rtl-btn.is-soft { background: var(--lilac); color: var(--p-ink); }
.rtl-btn.is-soft:hover { background: #E1D9FB; }

/* 1. hero panel with the product in it */
.rtl-hero { text-align: center; padding: 6.5rem 2rem 0; background: linear-gradient(180deg, #FFFFFF 0%, #FBFAFF 38%, #EDE7FE 100%); }
.rtl-hero .rtl-lede { max-width: 32em; margin: 16px auto 32px; }
.rtl-win { max-width: 920px; margin: 4.5rem auto 0; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 0 0 1px rgba(58,29,122,.08), 0 -10px 60px -20px rgba(58,29,122,.25); overflow: hidden; text-align: left; height: 470px; }
.rtl-win-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.rtl-win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #E4E0EE; }
.rtl-win-url { margin: 0 auto; font-size: 12px; color: var(--ink-3); background: #F5F3FA; border-radius: 8px; padding: 4px 40px; }
.rtl-win-body { display: grid; grid-template-columns: 230px minmax(0, 1fr); height: 100%; }
.rtl-seq { border-right: 1px solid var(--line); padding: 18px 12px; background: #FCFBFE; }
.rtl-seq-h { font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 0 10px 10px; }
.rtl-seq ol { position: relative; }
.rtl-seq li { position: relative; padding: 10px 10px 10px 30px; border-radius: 12px; }
.rtl-seq li::before { content: ""; position: absolute; left: 12px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #CFC6EC; }
.rtl-seq li + li::after { content: ""; position: absolute; left: 15px; top: -10px; height: 24px; width: 2px; background: #E6E1F4; }
.rtl-seq li.is-on { background: var(--p-tint); }
.rtl-seq li.is-on::before { background: var(--p); box-shadow: 0 0 0 3px rgba(123,77,224,.2); }
.rtl-seq .d { display: block; font-size: 12px; color: var(--ink-3); }
.rtl-seq b { display: block; font-size: 14px; font-weight: 600; margin-top: 1px; }
.rtl-seq .s { display: block; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.rtl-compose { padding: 0 28px; min-width: 0; transition: opacity .4s ease; }
.rtl-win.is-fading .rtl-compose { opacity: 0; }
.rtl-checks { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rtl-chk { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); transition: color .3s ease; font-variant-numeric: tabular-nums; }
.rtl-chk svg { width: 14px; height: 14px; padding: 2px; border-radius: 50%; background: #EFECF6; color: #fff; transition: background .3s ease; }
.rtl-chk.is-ok { color: var(--ink-2); }
.rtl-chk.is-ok svg { background: #10794D; }
.rtl-chk b { font-weight: 600; }
.rtl-field { display: flex; gap: 12px; align-items: center; min-height: 46px; border-bottom: 1px solid var(--line); font-size: 14px; }
.rtl-field .k { width: 56px; flex: none; color: var(--ink-3); }
.rtl-field .v { font-weight: 600; }
.rtl-demo-body { padding: 16px 0; font-size: 14px; line-height: 1.65; white-space: pre-wrap; min-height: 200px; }
.rtl-demo-body::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -0.2em; background: var(--p); animation: rtl-caret 1s steps(1) infinite; }
@keyframes rtl-caret { 50% { opacity: 0; } }
.rtl-tok { display: inline-block; color: var(--p-ink); background: var(--p-tint); border-radius: 6px; padding: 0 4px; margin: 0; font-weight: 500; line-height: 1.45; animation: rtl-pop .25s var(--ease); transition: background .3s ease, color .3s ease; }
.rtl-tok.is-filled { background: var(--lilac); color: var(--p-deep); animation: rtl-pop .3s var(--ease); }
@keyframes rtl-pop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }

/* 2. stats strip */
.rtl-stats { border: 1px solid var(--line-2); padding: 3.5rem 2rem; text-align: center; }
.rtl-stats-h { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.rtl-stats ul { display: flex; justify-content: center; margin-top: 40px; }
.rtl-stats li { padding: 0 3.25rem; }
.rtl-stats li + li { border-left: 1px solid var(--line-2); }
.rtl-stats .n { font-size: clamp(32px, 3.6vw, 46px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--p); font-variant-numeric: tabular-nums; }
.rtl-stats .l { font-size: 16px; color: var(--ink-2); margin-top: 8px; max-width: 14em; margin-left: auto; margin-right: auto; }

/* 3. library */
.rtl-lib { padding: 6.5rem 0 0; scroll-margin-top: 72px; }
.rtl-lib-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.rtl-lib-head .rtl-lede { margin-top: 12px; max-width: 30em; }
.rtl-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.rtl-seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: #F3F1F8; }
.rtl-seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--ink); transition: transform .35s var(--ease), width .35s var(--ease); }
.rtl-seg button { position: relative; z-index: 1; border: 0; background: none; min-height: 40px; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: color .2s ease; }
.rtl-seg button[aria-pressed="true"] { color: #fff; }
.rtl-seg button:focus-visible { outline: none; box-shadow: var(--focus); }
.rtl-search { position: relative; display: block; }
.rtl-search input { min-height: 48px; width: 12rem; font: inherit; font-weight: 400; font-size: 14px; color: var(--ink); background: #F3F1F8; border: 0; border-radius: 999px; padding: .62rem 1rem .62rem 2.3rem; outline: none; transition: background .2s ease, box-shadow .2s ease; }
.rtl-search input::placeholder { color: #5F5A73; opacity: 1; }
.rtl-search input:focus { background: #fff; box-shadow: var(--focus); }
.rtl-search svg { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: #8C879E; pointer-events: none; }

.rtl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.rtl-card { position: relative; background: #F7F5FC; box-shadow: inset 0 0 0 1px #DED8EE; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; transition: background .25s ease, transform .3s var(--ease); }
.rtl-card:hover { background: #F1EDFB; box-shadow: inset 0 0 0 1px #C9BEE8; }
.rtl-card:active { transform: scale(.98); transition-duration: .1s; }
.rtl-kind { font-size: 14px; font-weight: 500; color: var(--p); }
.rtl-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; margin-top: 4px; }
.rtl-when { font-size: 16px; line-height: 1.5; color: var(--ink-2); margin-top: 8px; }
.rtl-card .rtl-gap { flex: 1; min-height: 24px; }
.rtl-chips { padding-top: 16px; border-top: 1px solid #DED8EE; display: flex; flex-wrap: wrap; gap: 8px; }
.rtl-chips span { font-size: 12px; color: var(--ink-2); background: #fff; border-radius: 999px; padding: 4px 10px; box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; }
.rtl-hit { position: absolute; inset: 0; border: 0; background: none; border-radius: 24px; cursor: pointer; }
.rtl-hit:focus-visible { outline: none; box-shadow: var(--focus); }
.rtl-empty { text-align: center; color: var(--ink-2); padding: 64px 0; font-size: 16px; }
.rtl-empty b { color: var(--ink); font-weight: 600; }
.rtl-empty button { border: 0; background: none; color: var(--p-ink); font-weight: 600; cursor: pointer; padding: 12px 4px; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }

/* 4. four parts */
.rtl-anat { margin-top: 7rem; display: grid; grid-template-columns: 4fr 7fr; gap: 3.5rem; align-items: start; }
.rtl-anat-copy { position: sticky; top: 104px; }
.rtl-anat-copy .rtl-lede { margin-top: 16px; }
.rtl-anat-mail { background: #fff; border-radius: 26px; padding: 1.75rem 1.75rem 1.5rem; box-shadow: 0 0 0 1px var(--line-2), 0 30px 70px -40px rgba(58,29,122,.35); }
.rtl-anat-subj { font-size: 16px; font-weight: 600; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.rtl-anat-subj > span:first-child { font-weight: 400; color: var(--ink-3); margin-right: .4rem; }
.rtl-anat-hi { font-size: 16px; padding: 0 1rem .75rem; }
.rtl-part { border-radius: 16px; padding: .85rem 1rem 1rem; }
.rtl-part + .rtl-part { margin-top: .35rem; }
.rtl-part:nth-child(odd of .rtl-part) { background: var(--p-tint); }
.rtl-part-k { display: flex; align-items: center; gap: .5rem; font-size: 12px; font-weight: 600; color: var(--p-ink); margin-bottom: .3rem; }
.rtl-part-k .n { width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--p); color: #fff; font-size: 12px; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.rtl-part-t { font-size: 16px; line-height: 1.6; }

/* 5. questions: one inset grouped list, rows open in place */
.rtl-faq-sec { margin-top: 112px; display: grid; grid-template-columns: 4fr 7fr; gap: 56px; align-items: start; }
.rtl-faq-copy { position: sticky; top: 104px; }
.rtl-faq-copy .rtl-lede { margin-top: 16px; }
.rtl-faq { background: #fff; border-radius: 24px; box-shadow: 0 0 0 1px var(--line-2), 0 30px 70px -44px rgba(58,29,122,.35); padding: 8px 0; }
.rtl-qa { margin: 0 24px; }
.rtl-qa + .rtl-qa { border-top: 1px solid var(--line); }
.rtl-qa h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; }
.rtl-qa-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; min-height: 64px; padding: 16px 0; border: 0; background: none; cursor: pointer; border-radius: 8px; }
.rtl-qa-q:focus-visible { outline: none; box-shadow: var(--focus); }
.rtl-qa-q .chev { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #F3F1F8; color: var(--ink-2); transition: transform .35s var(--ease), background .2s ease, color .2s ease; }
.rtl-qa-q .chev svg { width: 14px; height: 14px; }
.rtl-qa-q:hover .chev { background: var(--lilac); color: var(--p-ink); }
.rtl-qa.is-open .chev { transform: rotate(180deg); background: var(--p); color: #fff; }
.rtl-qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.rtl-qa.is-open .rtl-qa-a { grid-template-rows: 1fr; }
.rtl-qa-in { overflow: hidden; visibility: hidden; transition: visibility 0s .35s; }
.rtl-qa.is-open .rtl-qa-in { visibility: visible; transition: visibility 0s 0s; }
.rtl-qa .a { padding: 0 48px 24px 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.rtl-qa .a p + p { margin-top: 8px; }

/* 6. closing panel */
.rtl-end { margin-top: 7rem; text-align: center; padding: 6rem 2rem; background: linear-gradient(0deg, #FFFFFF 0%, #FBFAFF 30%, #EDE7FE 100%); }
.rtl-end .rtl-lede { max-width: 30em; margin: 16px auto 32px; }

.rtl-v { color: var(--p-ink); font-weight: 500; }
.rtl-s { border-bottom: 1.5px dotted rgba(123,77,224,.7); }

@media (max-width: 960px) {
  .rtl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rtl-win-body { grid-template-columns: 190px minmax(0, 1fr); }
  .rtl-stats li { padding: 0 1.75rem; }
  .rtl-anat { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .rtl-anat-copy { position: static; }
  .rtl-faq-sec { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rtl-faq-copy { position: static; }
}
@media (max-width: 720px) {
  .rtl { padding: 8px 8px 64px; }
  .rtl-panel { border-radius: 24px; }
  .rtl-hero { padding: 4rem 1.25rem 0; }
  .rtl-win { margin-top: 3rem; height: 430px; border-radius: 16px 16px 0 0; }
  .rtl-win-body { grid-template-columns: minmax(0, 1fr); }
  .rtl-seq { display: none; }
  .rtl-compose { padding: 0 16px; }
  .rtl-demo-body { font-size: 14px; }
  .rtl-stats { padding: 2.5rem 1rem; }
  .rtl-stats ul { flex-direction: column; gap: 1.75rem; }
  .rtl-stats li { padding: 0; }
  .rtl-stats li + li { border-left: 0; }
  .rtl-wrap { padding: 0 .75rem; }
  .rtl-lib { padding-top: 4.5rem; }
  .rtl-tools { width: 100%; }
  .rtl-seg { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .rtl-seg button { min-height: 44px; }
  .rtl-seg::-webkit-scrollbar { display: none; }
  .rtl-search, .rtl-search input { width: 100%; }
  .rtl-grid { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .rtl-anat, .rtl-faq-sec, .rtl-end { margin-top: 4.5rem; }
  .rtl-anat-mail { padding: 1.25rem 1rem 1rem; }
  .rtl-part, .rtl-anat-hi { padding-left: .75rem; padding-right: .75rem; }
  .rtl-qa { margin: 0 16px; }
  .rtl-qa .a { padding-right: 8px; }
  .rtl-end { padding: 4rem 1.25rem; }
}
@media (max-width: 600px) {
  .rtl-sheet { top: auto; bottom: 0; left: 0; width: 100%; transform: none; border-radius: 26px 26px 0 0; max-height: 88vh; }
  .rtl-sheet-in { padding: 1.5rem 1.25rem 1.4rem; }
  .rtl-sh-t { font-size: 24px; }
  .rtl-sh-foot { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .rtl-demo-body::after { display: none; }
  .rtl *, .rtl-modal, .rtl-modal * { transition-duration: .01ms !important; animation: none !important; }
}

.rtl-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rtl-full { display: none; }
.rtl-copy.is-err { background: #C13A33; }
.rtl-copy-err { font-size: 14px; color: #C13A33; margin-top: -8px; }
