/* ============================================================================
   download.css — the download page only (/download; added 4 Nov 2026). Loaded after site.css and rf.css.

   Sizes, colours and spacing are copied from design_reference/download-referral-design-2026-11-04/
   Download.dc.html (desktop) and DownloadPhone.dc.html (390 px, below 600 px here), where they were
   inline styles. The top bar, Sakhi, the wash and grain and the footer are the site's own.

   Every rule starts with ".dl" (the page's <body> class) so that it beats the rate finder page's
   general rules (".rf2 a" and so on) without "!important".

   Motion: static/site/download.js gives each section (.dl-reveal) "in" or "wait"; with reduced motion
   rf.css switches every animation off under .rf, and download.js adds nothing.
   ============================================================================ */

.dl-main { width: 100%; display: flex; flex-direction: column; align-items: center; }
.dl .rf-head { flex-wrap: wrap; row-gap: 0; }
.dl p { margin: 0; }
.dl [hidden] { display: none !important; }

/* ---------- the hero ---------- */
.dl .dl-hero {
  position: relative; width: 100%; box-sizing: border-box; padding: 24px 40px 56px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.dl .dl-sakhi { width: 137px; }
.dl .dl-h1 {
  margin: 14px 0 0; max-width: 760px; font-size: 52px; line-height: 1.12; font-weight: 600;
  letter-spacing: -0.02em; color: #3D2B7A;
}
.dl .dl-lead { margin: 16px 0 0; max-width: 600px; font-size: 19px; line-height: 1.55; color: #2A2440; }
.dl .dl-btn {
  margin-top: 28px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; box-sizing: border-box; padding: 0 34px; border-radius: 12px;
  background: #6A55E8; color: #FFFFFF; font-size: 18px; font-weight: 600; text-decoration: none;
  transition: background-color .2s;
}
.dl .dl-btn:hover { background: #5745D1; color: #FFFFFF; }
.dl .dl-meta { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: #5D5672; }

/* The two setups (design download-referral-design-2026-11-16, 16 Nov 2026): side by side, stacked on phones */
.dl .dl-cards { margin-top: 28px; width: 100%; max-width: 1000px; box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 20px; }
.dl .dl-card2 {
  flex: 1 1 380px; box-sizing: border-box; padding: 28px 30px; display: flex; flex-direction: column; gap: 12px; text-align: left;
  background: #FFFFFF; border: 1px solid #E7E4F3; border-radius: 18px;
}
.dl .dl-card2-main { border: 2px solid #6A55E8; }
.dl .dl-tag { align-self: flex-start; padding: 5px 12px; border-radius: 6px; background: #3D2B7A; color: #FFFFFF; font-size: 13px; font-weight: 600; }
.dl .dl-card2-h { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 600; color: #3D2B7A; }
.dl .dl-card2 .dl-btn { margin-top: 0; min-height: 54px; padding: 0 24px; font-size: 17px; }
.dl .dl-card2 .dl-meta { margin: 0; }
.dl .dl-btn.dl-btn-line { background: #FFFFFF; color: #6A55E8; border: 1.5px solid #6A55E8; }
.dl .dl-btn.dl-btn-line:hover { background: #F1EEFD; color: #5745D1; border-color: #5745D1; }
.dl .dl-btn svg { flex: none; }
.dl .dl-sha-label { font-size: 14px; font-weight: 600; color: #3D2B7A; }
.dl .dl-sha-label2 { margin-top: 4px; }

/* ---------- the sections ---------- */
.dl .dl-sec {
  width: 100%; box-sizing: border-box; padding: 0 40px 40px;
  display: flex; flex-direction: column; align-items: center;
}
.dl .dl-tight { padding-bottom: 28px; }
.dl .dl-two { padding-bottom: 36px; }
.dl .dl-last { padding-bottom: 48px; }
.dl .dl-h2 { margin: 0 0 24px; font-size: 34px; line-height: 1.2; font-weight: 600; color: #3D2B7A; text-align: center; }
.dl .dl-row { width: 100%; max-width: 1080px; margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 20px; }
.dl .dl-wide { width: 100%; max-width: 1080px; box-sizing: border-box; }
.dl .dl-card { box-sizing: border-box; background: #FFFFFF; border: 1px solid #E7E4F3; border-radius: 18px; }
.dl .dl-step { flex: 1 1 280px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.dl .dl-ic {
  width: 48px; height: 48px; border-radius: 50%; background: #F1EEFD;
  display: flex; align-items: center; justify-content: center;
}
.dl .dl-step-n { font-size: 13px; font-weight: 500; color: #5D5672; }
.dl .dl-h3 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 600; color: #3D2B7A; }
.dl .dl-p { font-size: 16px; line-height: 1.55; color: #2A2440; }

/* the blue-warning box */
.dl .dl-warn {
  padding: 24px 28px; display: flex; flex-direction: column; gap: 8px;
  background: #F1EEFD; border: 1px solid #E7E4F3; border-radius: 16px;
}
.dl .dl-warn-h { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 600; color: #3D2B7A; }
.dl .dl-p b, .dl .dl-how b { font-weight: 600; }

/* check your download */
.dl .dl-check { padding: 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.dl .dl-card-h { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 600; color: #3D2B7A; }
.dl .dl-sha {
  padding: 14px 16px; background: #F0EEF7; border: 1px solid #E7E4F3; border-radius: 10px;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.5; color: #2A2440; word-break: break-all;
}
.dl .dl-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.dl .dl-copy {
  min-height: 48px; padding: 0 24px; border-radius: 12px; cursor: pointer; background: #FFFFFF;
  border: 1.5px solid #6A55E8; color: #6A55E8; font-family: inherit; font-size: 16px; font-weight: 500;
}
.dl .dl-copy:hover { color: #5745D1; border-color: #5745D1; }
.dl .dl-copy-box { position: fixed; opacity: 0; }
.dl .dl-how { font-size: 15px; color: #2A2440; }
.dl .dl-how summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: #5745D1; font-weight: 500; }
.dl .dl-how p { margin: 6px 0 0; line-height: 1.55; }

/* what you need, need a hand */
.dl .dl-half { flex: 1 1 420px; padding: 26px 30px; }
.dl .dl-half .dl-card-h { margin-bottom: 10px; }
.dl .dl-needs { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.55; color: #2A2440; }
.dl .dl-help { display: flex; flex-direction: column; gap: 10px; }
.dl .dl-help .dl-card-h { margin-bottom: 0; }
/* the email link: 44 px tall to tap, without pushing its line apart */
.dl .dl-tap { color: #5745D1; display: inline-block; min-height: 44px; line-height: 44px; margin: -11px 0; }
.dl .dl-tap:hover { color: #3D2B7A; }
.dl .dl-btn2 {
  align-self: flex-start; display: inline-flex; align-items: center; min-height: 48px; box-sizing: border-box;
  padding: 0 24px; border-radius: 12px; background: #6A55E8; color: #FFFFFF; font-size: 16px; font-weight: 500; text-decoration: none;
}
.dl .dl-btn2:hover { background: #5745D1; color: #FFFFFF; }

/* the referral strip */
.dl .dl-strip {
  padding: 26px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: #3D2B7A; border-radius: 18px;
}
.dl .dl-strip-words { flex: 1 1 300px; display: flex; flex-direction: column; gap: 4px; }
.dl .dl-strip-h { font-size: 20px; line-height: 1.3; font-weight: 600; color: #FFFFFF; }
.dl .dl-strip-p { font-size: 16px; line-height: 1.5; color: #C9BFFF; }
.dl .dl-strip-btn {
  display: inline-flex; align-items: center; min-height: 48px; box-sizing: border-box; padding: 0 24px;
  border-radius: 12px; background: #FFFFFF; color: #3D2B7A; font-size: 16px; font-weight: 600; text-decoration: none;
}
.dl .dl-strip-btn:hover { background: #F1EEFD; color: #3D2B7A; }

/* the footer, with the homepage footer's top rule (as on Pricing and Refer and earn) */
.dl .rp-foot { margin-top: 0; }
.dl .rp-foot .rf-foot-row { border-top: 1px solid #E7E4F3; padding-top: 20px; }

/* ---------- the motion ---------- */
@keyframes dlRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.dl .dl-reveal.in .dl-rise { animation: dlRise .7s cubic-bezier(.2,.7,.2,1) both; }
.dl .dl-reveal.in .dl-d1 { animation-delay: .1s; }
.dl .dl-reveal.in .dl-d2 { animation-delay: .2s; }
.dl .dl-reveal.in .dl-d3 { animation-delay: .3s; }
.dl .dl-reveal.wait .dl-rise { opacity: 0; }

/* ---------- phone width (DownloadPhone.dc.html) ---------- */
@media (max-width: 600px) {
  .dl .dl-hero { padding: 8px 20px 36px; }
  .dl .dl-sakhi { width: 116px; }
  .dl .dl-h1 { font-size: 34px; }
  .dl .dl-lead { font-size: 17px; }
  .dl .dl-btn { width: 100%; }
  .dl .dl-cards { gap: 14px; }
  .dl .dl-card2 { flex: 1 1 100%; padding: 22px 20px; }
  .dl .dl-sec { padding: 0 16px 40px; }
  .dl .dl-tight { padding-bottom: 28px; }
  .dl .dl-two { padding-bottom: 36px; }
  .dl .dl-last { padding-bottom: 48px; }
  .dl .dl-h2 { font-size: 28px; }
  .dl .dl-row { gap: 14px; }
  .dl .dl-step { flex: 1 1 100%; padding: 22px; }
  .dl .dl-warn { padding: 20px; }
  .dl .dl-check { padding: 22px 20px; }
  .dl .dl-half { flex: 1 1 100%; padding: 22px 20px; }
  .dl .dl-strip { padding: 22px 20px; }
}
