.home-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(116deg, rgba(6, 19, 36, .98) 0%, rgba(7, 15, 27, .97) 56%, rgba(10, 12, 20, 1) 100%),
    repeating-linear-gradient(90deg, transparent 0 90px, rgba(255,255,255,.025) 91px 92px);
}

.home-page::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .38;
  background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 42px 42px; mask-image: linear-gradient(to right, #000, transparent 70%);
}

.ambient { position: fixed; border-radius: 50%; filter: blur(100px); opacity: .18; pointer-events: none; }
.ambient-one { width: 460px; height: 460px; background: var(--blue); left: -240px; top: 15%; }
.ambient-two { width: 340px; height: 340px; background: var(--red); right: -200px; bottom: -120px; }

.site-header { height: 92px; display: flex; align-items: center; justify-content: space-between; width: min(1180px, calc(100% - 48px)); margin: 0 auto; position: relative; z-index: 1; }
.brand { display: flex; gap: 12px; align-items: center; font-family: "Barlow Condensed", sans-serif; font-size: 20px; font-weight: 800; letter-spacing: .12em; }
.brand-mark { width: 34px; height: 34px; position: relative; display: inline-block; transform: skew(-10deg); }
.brand-slash { position: absolute; width: 11px; height: 29px; border-radius: 3px; transform: rotate(28deg); }
.slash-blue { background: var(--blue); left: 5px; top: 0; }
.slash-red { background: var(--red); right: 5px; bottom: 0; }
.phase-badge { padding: 7px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; color: #79869a; font: 600 10px/1 "Barlow Condensed", sans-serif; letter-spacing: .18em; transform: translateX(-12px); }

.home-main { width: min(1100px, calc(100% - 48px)); min-height: calc(100vh - 162px); margin: 0 auto; padding: 58px 0 100px; display: grid; grid-template-columns: 1.05fr .8fr; align-items: center; gap: 9vw; position: relative; z-index: 1; }
.eyebrow { color: #52a9ff; font: 700 12px/1 "Barlow Condensed", sans-serif; letter-spacing: .28em; margin: 0 0 24px; }
.hero-copy h1 { margin: 0; font-size: clamp(46px, 6.2vw, 84px); line-height: 1.08; letter-spacing: -.055em; font-weight: 900; }
.hero-copy h1 span { color: #fff; -webkit-text-stroke: 0; font-weight: 900; }
.hero-description { max-width: 470px; margin: 28px 0 32px; color: #92a0b3; font-size: 16px; line-height: 1.8; }
.feature-row { display: flex; gap: 26px; color: #bac3d0; font-size: 12px; }
.feature-row span { display: flex; align-items: center; gap: 8px; }
.feature-row i { width: 5px; height: 5px; background: var(--blue); box-shadow: 0 0 10px var(--blue); border-radius: 50%; }

.action-panel { background: rgba(14, 23, 37, .82); border: 1px solid rgba(255,255,255,.09); border-radius: 24px; padding: 34px; box-shadow: 0 34px 80px rgba(0,0,0,.36); backdrop-filter: blur(20px); }
.panel-heading p { color: #778599; font-size: 11px; letter-spacing: .16em; margin: 0 0 7px; }
.panel-heading h2 { font-size: 25px; margin: 0 0 24px; }
.action-card { display: flex; align-items: center; gap: 16px; min-height: 86px; border-radius: 14px; padding: 18px; background: linear-gradient(135deg, #0d7dfa, #0866db); box-shadow: 0 12px 35px rgba(0,111,255,.24); transition: transform .2s, box-shadow .2s; }
.action-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,111,255,.32); }
.action-icon { width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; }
.action-icon svg { width: 24px; }
.action-text { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.action-text strong { font-size: 18px; }.action-text small { color: rgba(255,255,255,.7); font-size: 11px; }
.arrow { font-size: 24px; }
.join-form { margin-top: 23px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); }
.join-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.join-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.join-row input { min-width: 0; height: 50px; color: white; background: #090f19; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 0 15px; outline: none; text-transform: uppercase; letter-spacing: .12em; }
.join-row input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8,120,249,.14); }
.join-row button { border: 0; border-radius: 10px; padding: 0 17px; color: white; background: #252e3b; font-weight: 700; cursor: pointer; }
.join-row button:hover { background: #303c4d; }
.form-hint { color: #5d6979; font-size: 10px; margin: 9px 2px 0; }
.form-hint.error { color: #ff7885; }
.preview-link { margin-top: 23px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; gap: 10px; color: #9faabb; font-size: 12px; }
.preview-link > span:last-child { margin-left: auto; }
.preview-link:hover { color: white; }
.preview-icon svg { width: 17px; display: block; }
.home-footer { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; color: #485365; font: 600 9px/1 "Barlow Condensed", sans-serif; letter-spacing: .18em; }
.home-footer span { color: #6a768a; }.home-footer b { margin: 0 7px; }

@media (max-width: 760px) {
  .home-page { overflow: auto; }
  .home-main { grid-template-columns: 1fr; gap: 44px; padding: 34px 0 90px; }
  .hero-copy h1 { font-size: 52px; }.hero-description { font-size: 14px; }
  .action-panel { padding: 24px; }.home-footer { position: static; text-align: center; padding-bottom: 24px; translate: none; }
}

@media (orientation: portrait) and (max-width: 700px) {
  html { overflow: hidden; }
  .home-page {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100vh;
    width: 100dvh;
    height: 100vw;
    min-height: 0;
    overflow: auto;
    transform: translate(-50%, -50%) rotate(90deg);
    transform-origin: center;
  }
  .site-header { height: 58px; width: calc(100% - 34px); }
  .brand { font-size: 15px; }
  .brand-mark { width: 27px; height: 27px; }
  .brand-slash { width: 9px; height: 23px; }
  .phase-badge { transform: translateX(-8px); }
  .home-main {
    width: min(800px, calc(100% - 34px));
    min-height: calc(100% - 58px);
    padding: 10px 0 28px;
    grid-template-columns: 1.05fr .8fr;
    gap: 5vw;
  }
  .eyebrow { margin-bottom: 12px; }
  .hero-copy h1 { font-size: clamp(38px, 7.5vh, 58px); }
  .hero-description { margin: 14px 0 16px; font-size: 12px; line-height: 1.55; }
  .feature-row { gap: 14px; font-size: 10px; }
  .action-panel { padding: 18px; border-radius: 17px; }
  .panel-heading p { margin-bottom: 4px; }
  .panel-heading h2 { margin-bottom: 12px; font-size: 19px; }
  .action-card { min-height: 62px; padding: 10px 12px; }
  .action-icon { width: 38px; height: 38px; }
  .join-form { margin-top: 12px; padding-top: 11px; }
  .join-form label { margin-bottom: 6px; }
  .join-row input { height: 40px; }
  .preview-link { margin-top: 11px; padding-top: 10px; }
  .home-footer { display: none; }
}
