/* RedirectDuck — marketing landing (design/redirectduck/RedirectDuck Landing.dc.html).
   Tokens (--rr-*) come from static/css/rediray.css; only marketing-only tokens are declared here. */

:root {
  --rr-mkt-max: 1200px;
  --rr-fs-hero: clamp(44px, 5.6vw, 72px);
  --rr-fs-mkt-h2: clamp(32px, 4vw, 44px);
  --rr-fs-mkt-h3: clamp(30px, 3.6vw, 40px);
  --rr-fs-mkt-price: 56px;
  --rr-shadow-8-peach: 8px 8px 0 var(--rr-peach-2);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-6px) rotate(3deg); }
}
@keyframes floaty2 {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-8px) rotate(-5deg); }
}

/* ---------- Page ---------- */
.rr-body-marketing { margin: 0; background: var(--rr-cream); color: var(--rr-ink); }
.rr-mkt { position: relative; overflow: hidden; background: var(--rr-cream); font-family: var(--rr-font-text); }

.rr-mkt__blob { position: absolute; border-radius: 50%; z-index: 0; }
.rr-mkt__blob--peach { right: -8vw; top: 40px; width: min(48vw, 560px); aspect-ratio: 1; background: var(--rr-peach-2); }
.rr-mkt__blob--cream { left: -90px; top: 720px; width: 280px; height: 280px; background: var(--rr-peach); }

/* Tone helpers (illustration boxes, glyph tiles) */
.rr-tone-peach { background: var(--rr-peach); }
.rr-tone-peach-2 { background: var(--rr-peach-2); }
.rr-tone-peach-3 { background: var(--rr-peach-3); }

/* ---------- Nav ---------- */
.rr-mkt-nav {
  position: relative; z-index: 2; max-width: var(--rr-mkt-max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px var(--rr-page-pad-x, 32px); flex-wrap: wrap;
}
.rr-mkt-nav__links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; color: var(--rr-text-soft); flex-wrap: wrap; }
.rr-mkt-nav__links a { color: var(--rr-text-soft); }
.rr-mkt-nav__links a:hover { color: var(--rr-orange); }
.rr-mkt-nav__auth { display: flex; gap: 8px; align-items: center; }
.rr-mkt-nav__login { font-size: 15px; font-weight: 500; padding: 10px 14px; color: var(--rr-text-soft); }
.rr-mkt-nav__cta {
  font-size: 15px; font-weight: 700; background: var(--rr-ink); color: var(--rr-cream);
  padding: 12px 20px; border-radius: var(--rr-r-button);
  transition: background var(--rr-dur-fast) var(--rr-ease), color var(--rr-dur-fast) var(--rr-ease);
}
.rr-mkt-nav__cta:hover { background: var(--rr-orange); color: var(--rr-white); }

/* ---------- Hero ---------- */
.rr-mkt-hero {
  position: relative; z-index: 1; max-width: var(--rr-mkt-max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px 40px; padding: 56px var(--rr-page-pad-x, 32px) 40px; align-items: center;
}
.rr-mkt-pill {
  display: inline-flex; align-items: center; gap: 8px; background: var(--rr-white);
  border: var(--rr-border-mkt); border-radius: var(--rr-r-pill); padding: 6px 14px 6px 8px;
  font-size: 13px; font-weight: 700; box-shadow: var(--rr-shadow-3);
}
.rr-mkt-pill__tag { background: var(--rr-orange); color: var(--rr-white); border-radius: var(--rr-r-pill); padding: 2px 8px; font-size: 12px; }
.rr-mkt-hero__title {
  margin: 24px 0 0; font-family: var(--rr-font-display); font-size: var(--rr-fs-hero);
  line-height: 1; font-weight: 800; letter-spacing: -.035em; text-wrap: pretty;
}
.rr-mkt-hero__accent { color: var(--rr-orange); position: relative; display: inline-block; }
.rr-mkt-hero__underline { position: absolute; left: 0; right: 0; bottom: -2px; height: 6px; background: var(--rr-orange); border-radius: 3px; opacity: .35; }
.rr-mkt-hero__lead { margin: 22px 0 0; font-size: 19px; line-height: 1.55; color: var(--rr-text-soft); max-width: 480px; text-wrap: pretty; }
.rr-mkt-hero__actions { display: flex; gap: 12px; margin-top: 30px; align-items: center; flex-wrap: wrap; }
.rr-mkt-btn-hero {
  font-size: 16px; font-weight: 700; background: var(--rr-orange); color: var(--rr-white); padding: 16px 24px;
  border-radius: 14px; box-shadow: var(--rr-shadow-4); display: inline-block;
  transition: transform var(--rr-dur-fast) var(--rr-ease), box-shadow var(--rr-dur-fast) var(--rr-ease);
}
.rr-mkt-btn-hero:hover { transform: translate(-2px, -2px); box-shadow: var(--rr-shadow-6); color: var(--rr-white); }
.rr-mkt-hero__secondary { font-size: 15px; font-weight: 600; color: var(--rr-ink); padding: 16px 8px; }
.rr-mkt-hero__trust { display: flex; gap: 18px; margin-top: 26px; font-size: 14px; color: var(--rr-text-muted); font-weight: 500; flex-wrap: wrap; }

/* Tilted app mockup */
.rr-mkt-mock { position: relative; transform: rotate(var(--rr-tilt-card, -2deg)); margin: 24px 0 20px; }
.rr-mkt-mock__card { background: var(--rr-white); border: var(--rr-border-mkt); border-radius: 20px; box-shadow: var(--rr-shadow-10); overflow: hidden; }
.rr-mkt-mock__bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: var(--rr-border-mkt); background: var(--rr-sand-50); }
.rr-mkt-mock__dots { display: flex; gap: 6px; }
.rr-mkt-mock__dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--rr-ink); }
.rr-mkt-mock__dots span:nth-child(2) { opacity: .4; }
.rr-mkt-mock__dots span:nth-child(3) { opacity: .2; }
.rr-mkt-mock__url {
  flex: 1; background: var(--rr-white); border: 1.5px solid var(--rr-ink); border-radius: 8px; padding: 5px 12px;
  font-size: 12px; color: var(--rr-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rr-mkt-mock__body { display: grid; grid-template-columns: minmax(0, 140px) minmax(0, 1fr); }
.rr-mkt-mock__side {
  border-right: var(--rr-border-mkt); padding: 16px 12px; display: grid; gap: 4px; align-content: start;
  font-size: 13px; font-weight: 600; color: var(--rr-text-soft);
}
.rr-mkt-mock__side span { padding: 7px 10px; }
.rr-mkt-mock__side .is-active { background: var(--rr-ink); color: var(--rr-cream); border-radius: 8px; }
.rr-mkt-mock__main { padding: 16px 18px; min-width: 0; }
.rr-mkt-mock__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.rr-mkt-mock__title { font-family: var(--rr-font-display); font-weight: 800; font-size: 17px; }
.rr-mkt-mock__count { color: var(--rr-text-muted); font-weight: 600; font-size: 13px; }
.rr-mkt-mock__new { font-size: 12px; font-weight: 700; background: var(--rr-orange); color: var(--rr-white); padding: 6px 10px; border-radius: 8px; }
.rr-mkt-mock__row {
  display: grid; grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 46px 48px; gap: 10px; align-items: center;
  padding: 9px 0; border-top: var(--rr-border-row); font-size: 12px;
}
.rr-mkt-mock__from { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rr-mkt-mock__arrow { color: var(--rr-orange); font-weight: 800; }
.rr-mkt-mock__to { color: var(--rr-text-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rr-mkt-mock__code { font-weight: 700; font-size: 11px; text-align: center; padding: 3px 0; border-radius: var(--rr-r-badge); }
.rr-mkt-mock__hits { text-align: right; font-weight: 600; color: var(--rr-text-muted); }

.rr-mkt-sticker {
  position: absolute; background: var(--rr-white); border: var(--rr-border-mkt); border-radius: 14px;
  padding: 10px 14px; font-size: 13px; font-weight: 700; box-shadow: var(--rr-shadow-4); white-space: nowrap;
}
.rr-mkt-sticker--cert { left: -18px; bottom: -22px; animation: floaty2 5s ease-in-out infinite; }
.rr-mkt-sticker__dot { color: var(--rr-success-dot); }
.rr-mkt-sticker--hits {
  right: -14px; top: -24px; background: var(--rr-orange); color: var(--rr-white); border-radius: var(--rr-r-pill);
  font-family: var(--rr-font-display); font-size: 14px; font-weight: 800; animation: floaty 4s ease-in-out infinite;
}

/* ---------- Stats strip ---------- */
.rr-mkt-stats {
  position: relative; z-index: 1; max-width: var(--rr-mkt-max); margin: 0 auto; padding: 24px var(--rr-page-pad-x, 32px) 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.rr-mkt-stat { border-top: var(--rr-border-mkt); padding: 14px 0; }
.rr-mkt-stat__value { font-family: var(--rr-font-display); font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.rr-mkt-stat__label { font-size: 14px; color: var(--rr-text-muted); font-weight: 500; }

/* ---------- Shared section bits ---------- */
.rr-mkt-section { position: relative; z-index: 1; max-width: var(--rr-mkt-max); margin: 0 auto; padding: 96px var(--rr-page-pad-x, 32px) 0; }
.rr-mkt-h2 { margin: 0; font-family: var(--rr-font-display); font-size: var(--rr-fs-mkt-h2); font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.rr-mkt-h2--center { margin: 0 0 36px; text-align: center; }
.rr-mkt-h2--tight { line-height: 1.05; }
.rr-mkt-h3 { margin: 0; font-family: var(--rr-font-display); font-size: var(--rr-fs-mkt-h3); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.rr-mkt-accent { color: var(--rr-orange); }
.rr-mkt-eyebrow { font-family: var(--rr-font-display); font-size: 14px; font-weight: 800; color: var(--rr-orange); margin-bottom: 10px; }
.rr-mkt-lead { margin: 0; font-size: 17px; line-height: 1.55; color: var(--rr-text-soft); max-width: 460px; text-wrap: pretty; }
.rr-mkt-lead--spaced { margin: 16px 0 0; }

/* ---------- How it works ---------- */
.rr-mkt-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.rr-mkt-step { background: var(--rr-white); border: var(--rr-border-mkt); border-radius: 20px; padding: 26px; box-shadow: var(--rr-shadow-6); }
.rr-mkt-step__ill {
  height: 140px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  padding: 12px 24px; margin-bottom: 20px; border: var(--rr-border-mkt); overflow: hidden;
}
.rr-mkt-step__ill img { height: 100%; width: auto; max-width: 100%; display: block; }
.rr-mkt-step__number { font-family: var(--rr-font-display); font-size: 14px; font-weight: 800; color: var(--rr-orange); margin-bottom: 6px; }
.rr-mkt-step__title { font-family: var(--rr-font-display); font-size: 23px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.rr-mkt-step__desc { font-size: 15px; line-height: 1.5; color: var(--rr-text-soft); text-wrap: pretty; }

/* ---------- Features ---------- */
.rr-mkt-features__head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; align-items: end; margin-bottom: 36px;
}
.rr-mkt-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.rr-mkt-feature { background: var(--rr-white); border: var(--rr-border-mkt); border-radius: var(--rr-r-card); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.rr-mkt-feature__glyph {
  width: 40px; height: 40px; border-radius: 11px; border: var(--rr-border-mkt); display: grid; place-items: center;
  font-family: var(--rr-font-display); font-weight: 800; font-size: 15px;
}
.rr-mkt-feature__title { font-family: var(--rr-font-display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.rr-mkt-feature__desc { font-size: 15px; line-height: 1.5; color: var(--rr-text-soft); text-wrap: pretty; }

/* ---------- Setup / DNS ---------- */
.rr-mkt-setup { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; align-items: center; }
.rr-mkt-dns {
  background: var(--rr-ink); color: var(--rr-cream); border-radius: 20px; padding: 26px 28px;
  font-family: var(--rr-font-mono); font-size: 14px; line-height: 1.9; box-shadow: var(--rr-shadow-8-peach);
}
.rr-mkt-dns__head { display: flex; justify-content: space-between; color: var(--rr-on-ink-secondary); font-size: 12px; margin-bottom: 8px; }
.rr-mkt-dns__records { display: grid; grid-template-columns: auto auto 1fr; gap: 0 22px; }
.rr-mkt-dns__type { color: var(--rr-on-ink-highlight); }
.rr-mkt-dns__ok { margin-top: 14px; color: var(--rr-on-ink-success); }

/* ---------- Pricing ---------- */
.rr-mkt-pricing__title { margin-bottom: 12px; }
.rr-mkt-pricing__sub { margin: 0 auto 36px; text-align: center; font-size: 17px; color: var(--rr-text-soft); max-width: 560px; text-wrap: pretty; }
.rr-mkt-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 22px; }
.rr-mkt-plan {
  background: var(--rr-white); color: var(--rr-ink); border: var(--rr-border-mkt); border-radius: var(--rr-r-card-lg); padding: 28px 26px;
  box-shadow: var(--rr-shadow-6); display: flex; flex-direction: column; gap: 14px; position: relative;
  --plan-muted: var(--rr-text-soft); --plan-rule: var(--rr-line-light); --plan-check: var(--rr-orange);
  --plan-cta-bg: var(--rr-white); --plan-cta-fg: var(--rr-ink);
}
.rr-mkt-plan--featured {
  background: var(--rr-orange); color: var(--rr-white);
  --plan-muted: #fff3e8; --plan-rule: rgba(255, 255, 255, .4); --plan-check: var(--rr-white);
  --plan-cta-bg: var(--rr-ink); --plan-cta-fg: var(--rr-cream);
}
.rr-mkt-plan__badge {
  position: absolute; top: -16px; right: 20px; background: var(--rr-ink); color: var(--rr-cream);
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: var(--rr-r-pill);
}
.rr-mkt-plan__name { font-family: var(--rr-font-display); font-weight: 800; font-size: 22px; }
.rr-mkt-plan__price { font-family: var(--rr-font-display); font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.rr-mkt-plan__unit { font-size: 17px; letter-spacing: 0; font-weight: 600; }
.rr-mkt-plan__who { font-size: 14px; line-height: 1.5; color: var(--plan-muted); min-height: 42px; text-wrap: pretty; }
.rr-mkt-plan__lead { font-size: 13px; font-weight: 700; border-top: 2px solid var(--plan-rule); padding-top: 14px; }
.rr-mkt-plan__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; line-height: 1.4; color: var(--plan-muted); flex: 1; }
.rr-mkt-plan__list li { display: flex; gap: 8px; }
.rr-mkt-plan__check { color: var(--plan-check); font-weight: 800; }
.rr-mkt-plan__cta {
  text-align: center; font-size: 15px; font-weight: 700; padding: 13px 20px; border-radius: var(--rr-r-button);
  border: var(--rr-border-mkt); background: var(--plan-cta-bg); color: var(--plan-cta-fg);
  transition: background var(--rr-dur-fast) var(--rr-ease), color var(--rr-dur-fast) var(--rr-ease);
}
.rr-mkt-plan__cta:hover { background: var(--rr-orange); color: var(--rr-white); border-color: var(--rr-ink); }

.rr-mkt-compare { margin-top: 56px; background: var(--rr-white); border: var(--rr-border-mkt); border-radius: var(--rr-r-card-lg); overflow: hidden; }
.rr-mkt-compare__scroll { overflow-x: auto; }
.rr-mkt-compare__inner { min-width: 720px; }
.rr-mkt-compare__row {
  display: grid; grid-template-columns: minmax(200px, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 12px;
  padding: 14px 26px; border-top: 1.5px solid var(--rr-line-light); font-size: 15px; align-items: center;
}
.rr-mkt-compare__row--head {
  border-top: 0; padding: 18px 26px; background: var(--rr-sand-50); border-bottom: var(--rr-border-mkt);
  font-family: var(--rr-font-display); font-weight: 800; font-size: 15px;
}
.rr-mkt-compare__row--head + .rr-mkt-compare__row { border-top: 0; }
.rr-mkt-compare__key { font-weight: 600; color: var(--rr-ink); }
.rr-mkt-compare__val { text-align: right; color: var(--rr-text-soft); }
.rr-mkt-compare__row--head .rr-mkt-compare__val { color: var(--rr-ink); }
.rr-mkt-compare__val--pro { font-weight: 700; color: var(--rr-ink); }
.rr-mkt-compare__row--head .rr-mkt-compare__val--pro { color: var(--rr-orange); }

.rr-mkt-notes { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.rr-mkt-note {
  background: var(--rr-white); border: var(--rr-border-mkt); border-radius: var(--rr-r-card); padding: 22px 24px;
  font-size: 15px; line-height: 1.55; color: var(--rr-text-soft); text-wrap: pretty;
}
.rr-mkt-note--peach { background: var(--rr-peach); }
.rr-mkt-note__title { font-family: var(--rr-font-display); font-weight: 800; font-size: 17px; color: var(--rr-ink); margin-bottom: 8px; }
.rr-mkt-code { background: var(--rr-white); border: 1.5px solid var(--rr-ink); border-radius: 6px; padding: 1px 6px; font-size: 13px; color: var(--rr-ink); font-family: var(--rr-font-mono); }

/* ---------- CTA banner ---------- */
.rr-mkt-banner-wrap { position: relative; z-index: 1; max-width: var(--rr-mkt-max); margin: 96px auto 0; padding: 0 var(--rr-page-pad-x, 32px); }
.rr-mkt-banner {
  background: var(--rr-ink); color: var(--rr-cream); border-radius: 28px; padding: 48px 56px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 32px;
  position: relative; overflow: hidden;
}
.rr-mkt-banner__circle { position: absolute; right: -60px; bottom: -120px; width: 260px; height: 260px; border-radius: 50%; background: var(--rr-orange); }
.rr-mkt-banner__text { position: relative; flex: 1 1 300px; min-width: 0; }
.rr-mkt-banner__duck { position: relative; flex: none; width: 186px; height: 190px; object-fit: contain; object-position: bottom center; margin-bottom: -48px; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .25)); }
.rr-mkt-banner__title { font-family: var(--rr-font-display); font-size: var(--rr-fs-mkt-h3); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.rr-mkt-banner__sub { font-size: 16px; color: var(--rr-on-ink-secondary); margin-top: 12px; }
.rr-mkt-banner__cta {
  position: relative; flex: none; font-size: 16px; font-weight: 700; background: var(--rr-cream); color: var(--rr-ink);
  padding: 16px 24px; border-radius: 14px; white-space: nowrap; box-shadow: 4px 4px 0 var(--rr-orange);
  transition: background var(--rr-dur-fast) var(--rr-ease), color var(--rr-dur-fast) var(--rr-ease);
}
.rr-mkt-banner__cta:hover { background: var(--rr-orange); color: var(--rr-white); box-shadow: 4px 4px 0 var(--rr-cream); }

/* ---------- Footer ---------- */
.rr-mkt-footer {
  position: relative; z-index: 1; max-width: var(--rr-mkt-max); margin: 0 auto; display: flex; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; padding: 48px var(--rr-page-pad-x, 32px) 30px; font-size: 14px; color: var(--rr-text-muted); font-weight: 500;
}
.rr-mkt-footer__logo { display: flex; align-items: center; gap: 8px; font-family: var(--rr-font-display); font-weight: 800; color: var(--rr-ink); font-size: 18px; }
.rr-mkt-footer__mark {
  width: 22px; height: 22px; background: var(--rr-orange); border-radius: var(--rr-r-badge); display: grid; place-items: center;
  color: var(--rr-white); font-size: 13px; transform: rotate(var(--rr-tilt-mark, -8deg));
}
.rr-mkt-footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.rr-mkt-footer__links a { color: var(--rr-text-muted); }
.rr-mkt-footer__links a:hover { color: var(--rr-orange); }
