.home-page { margin: 0; background: var(--ref-bg); color: var(--ref-ink); font: var(--ref-font); }
.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }
.home-page h1, .home-page h2, .home-page h3, .home-page p, .home-page ul { margin: 0; }
.home-page a { text-decoration: none; }
.home-page [hidden] { display: none !important; }
.home-skip { position: absolute; top: 6px; left: 6px; z-index: 3; padding: 6px 10px; background: var(--ref-card); transform: translateY(-150%); }
.home-skip:focus { transform: none; }
.home-shell { width: 100%; margin-inline: auto; }
@media (min-width: 768px) { .home-shell { max-width: 768px; } }
@media (min-width: 992px) { .home-shell { max-width: 992px; } }
@media (min-width: 1200px) { .home-shell { max-width: 1200px; } }
@media (min-width: 1536px) { .home-shell { max-width: 1536px; } }
@media (min-width: 1920px) { .home-shell { max-width: 1920px; } }
.home-header { min-height: 84px; display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; }
.home-brand { color: var(--ref-ink); font-size: 20px; font-weight: 500; }
.home-nav { display: flex; gap: clamp(18px, 3.2vw, 48px); align-items: center; }
.home-nav > a { display: flex; align-items: center; gap: 4px; color: var(--ref-ink); font-size: 16px; font-weight: 500; }
.home-nav > a:hover { color: var(--ref-primary); }
.home-tools { display: flex; gap: 4px; margin-left: -23px; }
.home-menu-button { display: none; }
.home-hero { height: calc(100dvh - 84px); min-height: 380px; max-width: 1400px; margin: auto; padding: 0 32px 32px; }
.home-hero-layout { position: relative; display: flex; align-items: center; justify-content: space-around; gap: 80px; height: 100%; isolation: isolate; }
.home-intro { flex: 1; min-width: 0; }
.home-intro h1, .home-pricing h2 { background: linear-gradient(90deg,#b093ff,#ff548f); color: transparent; background-clip: text; font-weight: 400; }
.home-intro h1 { font-size: 4rem; line-height: 1; }
.home-intro p { color: var(--ref-muted); padding: 16px 0; font-size: 1.2rem; line-height: 1.25; }
.home-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.home-tags span { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; border-radius: 8px; background: #ece6f0; color: #1d192b; padding: 0 10px; }
.home-tags span:nth-child(2) { background: #e9ddff; color: #210c59; }
.home-tags span:nth-child(3) { background: #d5e7a0; color: #161e06; }
.home-intro hr { border: 0; border-top: 1px solid var(--ref-line); margin: 12px 0; }
.home-page .home-trial { min-height: 44px; font-size: 16px; padding: 0 22px; border-radius: 100px; opacity: 1; }
.home-earth { width: 30vmax; height: auto; filter: drop-shadow(2px 4px 6px #aaa); animation: home-float 1s ease-in-out infinite alternate; }
@keyframes home-float { to { transform: translateY(-9px); } }
.home-pricing { padding: 32px; min-height: 30vh; }
.home-pricing h2 { background-image: linear-gradient(146deg,#946dff,#ff72a2); text-align: center; font-size: clamp(2rem,5vw,3rem); }
.home-pricing > p { padding-bottom: 40px; color: var(--ref-muted); text-align: center; }
.home-plans { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,205px),1fr)); gap: 40px; }
.home-plan { text-align: center; background: var(--ref-card); border-radius: 12px; box-shadow: var(--ref-shadow); padding: 20px 12px 15px; transition: transform .3s, box-shadow .3s; }
@media (hover: hover) {
  .home-plan:hover { transform: translateY(-6px); box-shadow: 0 8px 16px #a38fd550; }
}
.home-plan h3 { font-size: 18px; font-weight: 600; }
.home-plan-note { min-height: 18px; }
.home-plan .home-plan-price { color: #8e4f18; font: 2.25rem/1.1 fantasy, sans-serif; margin: 24px 0 16px; }
.home-plan-price small { color: var(--ref-ink); margin-left: 4px; font: .875rem system-ui,sans-serif; }
.home-plan b, .home-footer li, .home-footer p { color: var(--ref-muted); }
.home-plan-perks { min-height: 118px; }
.home-footer { background: var(--ref-footer); color: var(--ref-ink); padding: 32px; margin-top: 16px; }
.home-footer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 40px; }
.home-footer h3 { font-size: 16px; margin-bottom: 5px; }
.home-footer ul { list-style: none; padding: 0; }
.home-footer a { color: inherit; }
.home-footer a:hover { color: var(--ref-primary); text-decoration: underline; }
@media (max-width: 991px) {
  .home-hero-layout { text-align: center; }
  .home-earth { position: absolute; z-index: -1; width: min(75vw, 560px); opacity: .2; animation: none; filter: none; }
  .home-tags { justify-content: center; }
  .home-intro h1 { font-size: 3rem; }
}
@media (max-width: 767px) {
  .home-header { min-height: 56px; padding: 10px 12px; position: relative; z-index: 1; }
  .home-menu-button { display: inline-grid; }
  .home-nav { display: none; position: absolute; top: 100%; right: 12px; padding: 10px; flex-direction: column; align-items: stretch; gap: 0; min-width: 168px; background: var(--ref-card); border-radius: 8px; box-shadow: var(--ref-shadow); }
  .home-nav.is-open { display: flex; }
  .home-nav > a, .home-tools { padding: 10px; }
  .home-tools { margin: 0; }
  .home-hero { height: calc(100dvh - 56px); padding-inline: 20px; }
  .home-pricing, .home-footer { padding: 24px; }
  .home-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { .home-earth { animation: none; } }
