/* The home page: one promise, three doors (your server, your people, play), each with a live demo, then Ember. Ported from the approved preview (docs/landing-preview/site/pro/e-three-doors.html).
   Everything lives under .rd and every class starts with hm-, so none of it can touch Bootstrap or the rest of the site. The sky behind the hero is the shared one (css/hero.css). */

.rd .hm-hero { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 60px 20px 40px; margin-top: 4px; }
.rd .hm-copy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; max-width: 1040px; margin-inline: auto; }
.rd .hm-hero .rd-whatsnew { margin: 0 0 22px; }
.rd .hm-hero h1 { margin: 14px auto 0; max-width: 14em; font: 700 clamp(38px, 5.6vw, 64px)/1.03 var(--font-head); letter-spacing: -0.035em; text-wrap: balance; }
.rd .hm-hero h1 em { font-style: normal; color: var(--link); }
.rd .hm-lede { max-width: 36em; margin: 18px auto 0; color: var(--soft); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; }
.rd .hm-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.rd .hm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--link); }
.rd .hm-star { display: inline-block; width: 12px; height: 12px; flex: none; background: var(--accent); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }

/* buttons: calm. They lift a little on hover and sink when pressed; the orange one gets a brighter glow and one soft shine on hover; a click leaves a faint ripple. Nothing moves by itself. */
.rd .hm-btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 8px; font: 600 14.5px var(--font-body); text-decoration: none; white-space: nowrap; color: var(--ink); background: #15171c; border: 1px solid #262a32; cursor: pointer; transition: transform 0.18s ease-out, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, filter 0.25s ease; }
.rd .hm-btn.big { height: 48px; padding: 0 24px; font-size: 15.5px; }
.rd .hm-btn:hover { transform: translateY(-2px); border-color: rgba(253, 148, 37, 0.55); background: #1b1d23; color: var(--ink); }
.rd .hm-btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.06s; }
.rd .hm-btn:focus-visible { outline: 2px solid #ffd08a; outline-offset: 3px; }
.rd .hm-btn.primary { color: #1a0f00; background: linear-gradient(120deg, #fd9425, #ffb83d); border-color: transparent; box-shadow: 0 8px 24px -12px rgba(253, 148, 37, 0.5); }
.rd .hm-btn.primary:hover { color: #1a0f00; border-color: transparent; background: linear-gradient(120deg, #fd9425, #ffb83d); box-shadow: 0 14px 32px -10px rgba(253, 148, 37, 0.8); filter: brightness(1.05); }
.rd .hm-btn.primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.25) 50%, transparent 65%); transform: translateX(-120%); transition: transform 0.6s ease; }
.rd .hm-btn.primary:hover::after { transform: translateX(120%); }
.rd .hm-btn .rip { position: absolute; z-index: -1; border-radius: 50%; background: rgba(253, 148, 37, 0.25); transform: scale(0); animation: hm-rip 0.6s ease-out forwards; pointer-events: none; }
.rd .hm-btn.primary .rip { background: rgba(255, 255, 255, 0.28); }
@keyframes hm-rip { to { transform: scale(1); opacity: 0; } }

/* the three doors under the buttons */
.rd .hm-doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; max-width: 900px; margin: 40px auto 0; }
.rd .hm-door { display: flex; gap: 12px; align-items: center; text-align: left; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(21, 23, 28, 0.78); backdrop-filter: blur(6px); text-decoration: none; color: var(--ink); transition: border-color 0.25s, transform 0.25s; }
.rd .hm-door:hover { border-color: #6b4a1c; transform: translateY(-3px); color: var(--ink); }
.rd .hm-door .n { font: 700 12px var(--font-mono); color: var(--accent); }
.rd .hm-door b { display: block; font-size: 15.5px; }
.rd .hm-door small { color: var(--mute); font-size: 13px; }

/* the numbers */
.rd .hm-stats { margin-top: 12px; background: #101216; border-block: 1px solid var(--line); }
.rd .hm-stats-in { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; max-width: 720px; margin-inline: auto; }
.rd .hm-stats-in > div { padding: 20px; border-left: 1px solid var(--line); text-align: center; }
.rd .hm-stats-in > div:first-child { border-left: 0; }
.rd .hm-stats b { display: block; font: 700 30px var(--font-head); letter-spacing: -0.02em; color: var(--ink); }
.rd .hm-stats span { color: var(--mute); font-size: 12.5px; letter-spacing: 0.07em; text-transform: uppercase; }

/* a door: words on one side, the live demo on the other */
.rd .hm-sec { padding: 84px 20px; border-bottom: 1px solid var(--line); position: relative; }
.rd .hm-sec-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; max-width: 1160px; margin-inline: auto; }
.rd .hm-sec.rev .hm-sec-in { grid-template-columns: 1.15fr 1fr; }
.rd .hm-sec.rev .hm-txt { order: 2; }
.rd .hm-kick { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; font: 700 12.5px var(--font-mono); letter-spacing: 0.06em; color: var(--accent); }
.rd .hm-sec h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; }
.rd .hm-txt > p { max-width: 30em; margin: 16px 0 20px; color: var(--soft); font-size: 17px; line-height: 1.55; }
.rd .hm-feat { list-style: none; margin: 0; padding: 0; }
.rd .hm-feat li { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.rd .hm-feat li:last-child { border-bottom: 1px solid var(--line); }
.rd .hm-feat li span { display: block; color: var(--mute); font-size: 13.5px; }
.rd .hm-chip { display: inline-block; font: 12px var(--font-mono); font-style: normal; color: var(--soft); background: #1f232a; border: 1px solid #2d323b; border-radius: 6px; padding: 1px 7px; }
.rd .hm-more { display: inline-block; margin-top: 18px; font-weight: 600; text-decoration: none; }
.rd .hm-more::after { content: " \2192"; }
.rd .hm-mini { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.rd .hm-mini button { font: 600 13px var(--font-body); padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line); background: #15171c; color: var(--soft); cursor: pointer; transition: all 0.2s; }
.rd .hm-mini button:hover { border-color: #3a404b; color: var(--ink); }
.rd .hm-mini button.on { background: #3a2a12; border-color: #7a5420; color: #ffb83d; }

/* Ember */
.rd .hm-emberband { padding: 84px 20px; border-bottom: 1px solid var(--line); background: radial-gradient(70% 90% at 80% 40%, rgba(253, 148, 37, 0.1), transparent 70%); }
.rd .hm-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.rd .hm-perk { background: #15171c; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.rd .hm-perk b { display: block; margin-bottom: 2px; font-size: 14.5px; }
.rd .hm-perk span { color: var(--mute); font-size: 13px; }
.rd .hm-price { color: var(--soft); font-size: 14.5px; }
.rd .hm-price b { color: var(--ink); }

/* the closing call */
.rd .hm-final { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 84px 20px 70px; }
.rd .hm-final .hm-copy { position: relative; z-index: 3; }
.rd .hm-final h2 { max-width: 16em; margin-inline: auto; font-size: clamp(30px, 3.6vw, 40px); }
.rd .hm-final p { max-width: 30em; margin: 14px auto 26px; color: var(--soft); }

@media (max-width: 980px) {
  .rd .hm-sec-in, .rd .hm-sec.rev .hm-sec-in { grid-template-columns: 1fr; gap: 30px; }
  .rd .hm-sec.rev .hm-txt { order: 0; }
  .rd .hm-doors { grid-template-columns: 1fr; }
  .rd .hm-perks { grid-template-columns: 1fr; }
  .rd .hxs { --h: 600px !important; }
}
@media (max-width: 520px) {
  .rd .hm-stats b { font-size: 24px; }
  .rd .hm-sec, .rd .hm-emberband { padding-block: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .rd .hm-btn, .rd .hm-btn:hover, .rd .hm-btn:active { transform: none; transition: none; }
  .rd .hm-btn.primary::after, .rd .hm-btn .rip { display: none; }
}
