/* Public homepage. Scoped to preserve other public pages and the account UI. */
.rd-home { --rh-muted: var(--rd-text-2); }
html[data-theme="light"] .rd-home #rd-header { background:rgba(248,250,252,.94); }
.rd-home .rh-hero { padding: calc(var(--rd-header-h) + 90px) 0 0; overflow: hidden; background: radial-gradient(ellipse at 78% 30%, rgba(42,111,151,.15), transparent 55%); }
.rd-home .rh-hero-grid { display:grid; grid-template-columns:1.05fr 1fr; align-items:center; gap:64px; padding-bottom:78px; }
.rd-home .rh-eyebrow { display:flex; align-items:center; gap:10px; font-size:var(--ui-caption); font-weight:650; letter-spacing:.14em; color:var(--rd-primary-light); margin-bottom:24px; }
.rd-home .rh-dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:#65c8ad; flex-shrink:0; }
.rd-home h1 { font-size:var(--ui-h1); line-height:1.17; letter-spacing:-.045em; margin-bottom:26px; }
.rd-home h1 span { color:var(--rd-accent); }
.rd-home .rh-lead { max-width:490px; font-size:var(--ui-body); line-height:1.85; margin-bottom:30px; }
.rd-home .rh-actions { display:flex; align-items:center; flex-wrap:wrap; gap:24px; }
.rd-home .rh-actions .rd-btn { gap:22px; border-radius:9px; }
.rd-home .rh-text-link { display:inline-flex; align-items:center; gap:12px; font-size:var(--ui-caption); font-weight:600; color:var(--rd-text); }
.rd-home .rh-text-link:hover { color:var(--rd-accent); }
.rd-home .rh-play { width:30px; height:30px; border:1px solid var(--rd-border-hover); display:grid; place-items:center; font-size:var(--ui-caption); border-radius:50%; }
.rd-home .rh-benefits { display:flex; flex-wrap:wrap; gap:22px; margin-top:25px; font-size:var(--ui-caption); color:var(--rh-muted); }
.rd-home .rh-benefits i { color:var(--rd-primary-light); margin-right:5px; }
.rd-home .rh-studio { position:relative; min-width:0; border:1px solid #2b4052; border-radius:15px; background:#101d2b; box-shadow:0 30px 75px #0003; transform:rotate(-2deg); color:#c4d2de; }
.rd-home .rh-studio-top { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:18px 20px; border-bottom:1px solid #ffffff0c; }
.rd-home .rh-studio-brand { font-size:var(--ui-caption); font-weight:600; color:#edf2f7; }
.rd-home .rh-studio-brand i { color:#f4873a; margin-right:7px; }
.rd-home .rh-demo { font-size:var(--ui-caption); border:1px solid #ffffff20; padding:4px 8px; border-radius:4px; }
.rd-home .rh-studio-main { display:grid; grid-template-columns:50px 1fr; padding:18px 18px 20px 0; }
.rd-home .rh-studio-tools { display:flex; align-items:center; flex-direction:column; gap:15px; padding-top:10px; font-size:var(--ui-caption); }
.rd-home .rh-studio-tools span { width:29px; height:29px; display:grid; place-items:center; }
.rd-home .rh-studio-tools .is-selected { background:#f4873a20; color:#f4873a; border-radius:6px; }
.rd-home .rh-canvas-label { display:flex; justify-content:space-between; font-size:var(--ui-caption); letter-spacing:.12em; margin-bottom:12px; color:#a8bdd4; }
.rd-home .rh-scene { position:relative; aspect-ratio:1.65; overflow:hidden; border-radius:7px; background:linear-gradient(180deg,#2b5363,#91b4ac 60%,#e7bf8b); }
.rd-home .rh-sun { position:absolute; width:62px; height:62px; background:#fbe1ad; border-radius:50%; left:61%; top:14%; box-shadow:0 0 45px #ffda9b66; }
.rd-home .rh-mountain { position:absolute; width:110%; height:80%; bottom:0; left:-5%; clip-path:polygon(0 72%,12% 45%,25% 60%,46% 5%,64% 52%,76% 30%,100% 72%,100% 100%,0 100%); }
.rd-home .rh-mountain-back { background:linear-gradient(135deg,#5e8b86,#2e5c60); bottom:5%; }
.rd-home .rh-mountain-front { background:linear-gradient(130deg,#193e46,#102b36); height:65%; transform:scaleX(-1); }
.rd-home .rh-scene-caption { position:absolute; z-index:1; left:20px; bottom:30px; max-width:75%; font-size:var(--ui-h3); line-height:1.25; font-weight:600; letter-spacing:-.03em; color:#fff5e8; }
.rd-home .rh-scene-tag { position:absolute; top:11px; left:12px; font-size:var(--ui-caption); letter-spacing:.12em; color:#fff; padding:4px 6px; background:#132d3a88; border-radius:3px; }
.rd-home .rh-timeline { display:flex; align-items:center; gap:12px; margin-top:17px; font-size:var(--ui-caption); }
.rd-home .rh-filmstrip { display:flex; flex:1; gap:3px; padding:3px; border:1px solid #f4873a88; border-radius:4px; }
.rd-home .rh-filmstrip b { flex:1; height:26px; background:linear-gradient(145deg,#1b4653 30%,#d2b58f 31%,#6c9690 55%,#234852 56%); border-radius:2px; }
.rd-home .rh-filmstrip b:nth-child(even) { transform:scaleX(-1); }
.rd-home .rh-audio { display:flex; align-items:center; justify-content:space-between; gap:4px; height:28px; margin:7px 0 0 24px; background:#5bc6ad12; border-radius:4px; padding:4px 10px; color:#70bda9; }
.rd-home .rh-audio i { font-size:var(--ui-caption); margin-right:6px; }
.rd-home .rh-audio span { flex:1; height:7px; background:#70bda977; }
.rd-home .rh-audio span:nth-child(3n) { height:17px; }
.rd-home .rh-audio span:nth-child(4n) { height:12px; }
.rd-home .rh-studio-bottom { display:flex; justify-content:space-between; gap:8px; padding:12px 16px; border-top:1px solid #ffffff0c; font-size:var(--ui-caption); }
.rd-home .rh-studio-bottom .rh-dot { width:4px; height:4px; margin-right:4px; }
.rd-home .rh-floating { position:absolute; bottom:-22px; right:20px; display:flex; align-items:center; gap:12px; padding:15px 20px; background:var(--rd-bg-card); border:1px solid var(--rd-border-hover); border-radius:10px; box-shadow:0 10px 30px #0003; transform:rotate(2deg); }
.rd-home .rh-floating-icon { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:#65c8ad18; color:#65c8ad; }
.rd-home .rh-floating strong { display:block; font-size:var(--ui-caption); }
.rd-home .rh-floating small { font-size:var(--ui-caption); color:var(--rd-text-2); }
.rd-home .rh-platforms { display:flex; align-items:center; justify-content:space-between; gap:25px; padding:28px 0; border-top:1px solid var(--rd-border); border-bottom:1px solid var(--rd-border); }
.rd-home .rh-platforms > span { font-size:var(--ui-caption); letter-spacing:.14em; color:var(--rh-muted); }
.rd-home .rh-platforms > div { display:flex; align-items:center; flex-wrap:wrap; gap:38px; }
.rd-home .rh-platforms > div > span { display:flex; gap:9px; align-items:center; font-size:var(--ui-body); font-weight:600; color:var(--rd-text-2); }
.rd-home .rh-platforms i { font-size:var(--ui-lead); }
.rd-home .rh-section { padding-top:90px; padding-bottom:90px; }
.rd-home h2 { font-size:var(--ui-h2); letter-spacing:-.035em; line-height:1.25; }
.rd-home h2 span { color:var(--rd-text-2); }
.rd-home .rh-section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; margin-bottom:38px; }
.rd-home .rh-section-heading .rh-eyebrow { margin-bottom:15px; }
.rd-home .rh-section-heading > p { font-size:var(--ui-caption); max-width:360px; margin-bottom:3px; }
.rd-home #san-pham { scroll-margin-top:var(--rd-header-h); }
.rd-home .rh-products { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr)); gap:20px; }
.rd-home .rh-product { display:flex; flex-direction:column; padding:30px; border:1px solid var(--rd-border-hover); border-radius:13px; background:var(--rd-bg-2); transition:border-color .2s,transform .2s; }
.rd-home .rh-product:hover { border-color:var(--rd-accent); transform:translateY(-3px); }
.rd-home .rh-product-top { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:27px; }
.rd-home .rh-product-icon { width:56px; height:56px; border-radius:12px; overflow:hidden; display:grid; place-items:center; background:#56badc12; color:var(--rd-primary-light); font-size:var(--ui-h3); }
.rd-home .rh-product-icon { position:relative; }
.rd-home .rh-product-icon img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.rd-home .rh-product-type { font-size:var(--ui-caption); letter-spacing:.12em; color:var(--rd-text-2); border:1px solid var(--rd-border); padding:5px 8px; border-radius:4px; }
.rd-home .rh-product h3 { font-size:var(--ui-h3); margin-bottom:13px; }
.rd-home .rh-product > p { font-size:var(--ui-caption); max-width:680px; margin-bottom:30px; flex:1; }
.rd-home .rh-product-bottom { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:20px; border-top:1px solid var(--rd-border); }
.rd-home .rh-product-bottom small { display:block; font-size:var(--ui-caption); color:var(--rd-text-2); margin-bottom:3px; }
.rd-home .rh-product-bottom strong { font-size:var(--ui-h3); }
.rd-home .rh-product-link { display:flex; align-items:center; gap:15px; font-size:var(--ui-caption); padding:10px 14px; border:1px solid var(--rd-border-hover); border-radius:6px; }
.rd-home .rh-product-link:hover { background:var(--rd-accent); color:#fff; }
.rd-home .rh-products-more { margin-top:26px; text-align:right; }
.rd-home .rh-workflow { background:var(--rd-bg-2); border-top:1px solid var(--rd-border); border-bottom:1px solid var(--rd-border); }
.rd-home .rh-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:34px; }
.rd-home .rh-step { padding-top:25px; border-top:1px solid var(--rd-border-hover); }
.rd-home .rh-step-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:30px; }
.rd-home .rh-step-top span { font-size:var(--ui-h2); font-weight:500; color:var(--rd-primary-light); letter-spacing:-.05em; }
.rd-home .rh-step-top i { color:var(--rd-text-2); font-size:var(--ui-lead); }
.rd-home .rh-step h3 { font-size:var(--ui-h4); margin-bottom:12px; }
.rd-home .rh-step p { font-size:var(--ui-caption); }
.rd-home .rh-why { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:90px; }
.rd-home .rh-why > div > p { font-size:var(--ui-small); margin-top:22px; margin-bottom:25px; max-width:440px; }
.rd-home .rh-reasons { display:flex; flex-direction:column; gap:27px; }
.rd-home .rh-reasons article { display:flex; gap:20px; }
.rd-home .rh-reasons article > span { display:grid; place-items:center; flex-shrink:0; width:42px; height:42px; border:1px solid var(--rd-border-hover); border-radius:10px; color:var(--rd-primary-light); }
.rd-home .rh-reasons h3 { font-size:var(--ui-h4); margin-bottom:8px; }
.rd-home .rh-reasons p { font-size:var(--ui-caption); }
.rd-home .rh-faq { border-top:1px solid var(--rd-border); max-width:860px; }
.rd-home .rh-faq h2 { margin-bottom:32px; }
.rd-home .rh-faq details { border-bottom:1px solid var(--rd-border-hover); }
.rd-home .rh-faq summary { display:flex; align-items:center; justify-content:space-between; gap:22px; cursor:pointer; padding:23px 0; font-size:var(--ui-small); font-weight:500; list-style:none; }
.rd-home .rh-faq summary::-webkit-details-marker { display:none; }
.rd-home .rh-faq summary span { font-size:var(--ui-h3); font-weight:400; color:var(--rd-primary-light); }
.rd-home .rh-faq details[open] summary span { transform:rotate(45deg); }
.rd-home .rh-faq details p { padding:0 40px 25px 0; font-size:var(--ui-caption); }
.rd-home .rh-final-wrap { padding-bottom:90px; }
.rd-home .rh-final { display:flex; align-items:center; justify-content:space-between; gap:40px; padding:48px 52px; border:1px solid var(--rd-border-hover); border-radius:18px; background:radial-gradient(ellipse at right top,#2a6f9720,transparent 70%),var(--rd-bg-2); }
.rd-home .rh-final .rh-eyebrow { margin-bottom:18px; }
.rd-home .rh-final p { margin-top:18px; font-size:var(--ui-caption); }
.rd-home .rh-final-actions { display:flex; flex-direction:column; align-items:center; gap:20px; flex-shrink:0; }
.rd-home .rh-final-actions .rd-btn { gap:20px; }
.rd-home .rh-notices { padding-top:30px; display:grid; gap:12px; }
.rd-home .rh-notice { display:flex; gap:16px; padding:20px; border:1px solid var(--rd-border-hover); border-radius:10px; background:var(--rd-bg-2); }
.rd-home .rh-notice i { color:var(--rd-accent); margin-top:4px; }
.rd-home .rh-notice strong { font-size:var(--ui-small); }
.rd-home .rh-notice p { font-size:var(--ui-caption); margin-top:5px; }
.rd-home .rh-empty { grid-column:1/-1; padding:45px 25px; border:1px dashed var(--rd-border-hover); text-align:center; border-radius:12px; }
.rd-home .rh-empty > i { color:var(--rd-primary-light); font-size:var(--ui-h2); margin-bottom:20px; }
.rd-home .rh-empty h3 { font-size:var(--ui-h4); margin-bottom:12px; }
.rd-home .rh-empty p { font-size:var(--ui-small); }
.rd-home a:focus-visible,.rd-home summary:focus-visible { outline:2px solid var(--rd-accent); outline-offset:5px; }
@media(max-width:480px) {
  .rd-home #rd-header .rd-logo-text { display:none; }
  .rd-home #rd-header .rd-header-actions { margin-left:auto; gap:4px; }
  .rd-home #rd-header .rd-header-actions .rd-btn { margin:0 4px!important; padding:0 10px; }
  .rd-home #rd-hamburger { flex-shrink:0; margin-left:8px; }
}
@media(min-width:900px) { .rd-home .rh-product:only-child { display:grid; grid-template-columns:1fr 1fr; column-gap:70px; padding:36px; } .rd-home .rh-product:only-child .rh-product-top { grid-column:1/-1; margin-bottom:20px; } .rd-home .rh-product:only-child h3 { grid-column:1; } .rd-home .rh-product:only-child > p { grid-column:1; margin-bottom:0; } .rd-home .rh-product:only-child .rh-product-bottom { grid-column:2; grid-row:2/4; border-top:0; border-left:1px solid var(--rd-border-hover); padding:0 0 0 40px; } }
@media(max-width:1024px) { .rd-home .rh-hero-grid { gap:35px; } .rd-home .rh-hero { padding-top:calc(var(--rd-header-h) + 65px); } .rd-home .rh-why { gap:45px; } .rd-home .rh-platforms > div { gap:22px; } .rd-home .rh-final { padding:35px; } }
@media(max-width:768px) { .rd-home .rh-hero-grid { grid-template-columns:1fr; gap:55px; padding-bottom:65px; } .rd-home .rh-intro { max-width:600px; } .rd-home .rh-studio { width:100%; max-width:520px; justify-self:center; } .rd-home .rh-platforms { flex-direction:column; align-items:flex-start; gap:18px; } .rd-home .rh-platforms > div { justify-content:space-between; width:100%; gap:14px; } .rd-home .rh-platforms > div > span { font-size:var(--ui-caption); gap:6px; } .rd-home .rh-platforms i { font-size:var(--ui-body); } .rd-home .rh-section { padding-top:60px; padding-bottom:60px; } .rd-home .rh-section-heading { align-items:flex-start; flex-direction:column; gap:20px; } .rd-home .rh-steps { gap:22px; } .rd-home .rh-step h3 { font-size:var(--ui-h4); } .rd-home .rh-why { grid-template-columns:1fr; gap:40px; } .rd-home .rh-final { flex-direction:column; align-items:flex-start; gap:25px; } .rd-home .rh-final-actions { align-items:flex-start; } .rd-home .rh-final-wrap { padding-bottom:60px; } }
@media(max-width:480px) { .rd-home .rh-hero { padding-top:calc(var(--rd-header-h) + 42px); } .rd-home h1 { font-size:var(--ui-h1); } .rd-home .rh-eyebrow { font-size:var(--ui-caption); letter-spacing:.1em; margin-bottom:19px; } .rd-home .rh-lead { font-size:var(--ui-small); } .rd-home .rh-actions { gap:20px; } .rd-home .rh-actions .rd-btn { padding-left:17px; padding-right:17px; font-size:var(--ui-caption); } .rd-home .rh-actions .rh-text-link { font-size:var(--ui-caption); gap:7px; } .rd-home .rh-benefits { gap:15px; font-size:var(--ui-caption); } .rd-home .rh-studio { transform:none; } .rd-home .rh-studio-top { padding:14px; } .rd-home .rh-studio-main { grid-template-columns:36px 1fr; padding-right:12px; } .rd-home .rh-scene-caption { font-size:var(--ui-lead); left:14px; bottom:20px; } .rd-home .rh-floating { padding:10px 13px; right:12px; transform:none; } .rd-home .rh-studio-bottom { padding-bottom:20px; } .rd-home .rh-studio-bottom > span:last-child { display:none; } .rd-home .rh-platforms > div { display:grid; grid-template-columns:1fr 1fr; gap:15px 30px; } .rd-home .rh-product { padding:24px; } .rd-home .rh-steps { grid-template-columns:1fr; gap:28px; } .rd-home .rh-step-top { margin-bottom:15px; } .rd-home .rh-step-top span { font-size:var(--ui-h2); } .rd-home .rh-final { padding:28px 23px; } .rd-home .rh-faq summary { font-size:var(--ui-caption); } }
@media(prefers-reduced-motion:reduce) { .rd-home *, .rd-home *::before, .rd-home *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
