/* Link Before Launch homepage — cinematic real-owner redesign, July 2026. */
.home--cinematic {
  --home-ink: #05070c;
  --home-panel: rgba(14, 18, 28, .82);
  --home-silver: #dce5ed;
  --home-cyan: #75e8ff;
  --home-mint: #9bffdc;
  background:
    radial-gradient(circle at 12% 2%, rgba(117,232,255,.18), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(232,33,39,.11), transparent 26rem),
    linear-gradient(180deg, #05070c 0%, #0b111c 42%, #06080d 100%);
}

.home--cinematic::before {
  opacity: .1;
  background-size: 92px 92px;
}

.home--cinematic a:focus-visible {
  outline: 3px solid var(--home-mint);
  outline-offset: 4px;
}

.home-top {
  background: rgba(5, 7, 12, .72);
  border-bottom-color: rgba(255,255,255,.1);
}

.home-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(58px, 6vw, 90px) 0 0;
  overflow: hidden;
}

.home-hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: auto -10vw 8% 48%;
  height: 26rem;
  border-radius: 50%;
  background: rgba(117,232,255,.08);
  filter: blur(80px);
}

.home-hero__glow {
  position: absolute;
  z-index: -1;
  width: min(76rem, 110vw);
  height: 17rem;
  left: 50%;
  top: 5rem;
  transform: translateX(-50%) rotate(-6deg);
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.13), rgba(117,232,255,.15), rgba(255,255,255,.08), transparent);
  filter: blur(28px);
  opacity: .72;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .86fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}

.home-hero__copy {
  position: relative;
  z-index: 2;
  animation: home-rise .7s ease both;
}

.home-kicker {
  display: block;
  color: var(--home-mint);
  font-size: .76rem;
  line-height: 1.3;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.home-status {
  margin: 0;
  color: var(--home-mint);
  font-size: .9rem;
  font-weight: 850;
  line-height: 1.45;
}

.home-section h2 + .home-status,
.home-owner-copy h2 + .home-status,
.home-final h2 + .home-status {
  margin-top: 14px;
}

.home-hero h1 {
  max-width: 790px;
  margin: 18px 0 0;
  font-size: clamp(3.25rem, 6.5vw, 6rem);
  line-height: .96;
  letter-spacing: -.04em;
  color: #f8fbff;
}

.home-hero h1 span {
  display: block;
  padding-bottom: .08em;
  color: #dce5ed;
}

.home-hero__lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #bac6d4;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.home-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px 16px;
  align-items: center;
  max-width: 760px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(155,255,220,.23);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(155,255,220,.09), rgba(117,232,255,.045)),
    rgba(5,7,12,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.home-offer__label,
.home-offer small {
  grid-column: 1 / -1;
}

.home-offer__label {
  color: var(--home-mint);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-offer strong {
  font-size: clamp(1rem, 1.65vw, 1.28rem);
  line-height: 1.2;
}

.home-offer__or {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  color: #93a1b1;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-offer small {
  color: #94a1b1;
  line-height: 1.45;
}

.home-hero__actions {
  margin-top: 24px;
}

.home-microcopy {
  color: #909dab;
  margin: 14px 0 0;
  font-size: .88rem;
}

.home-financing {
  display: grid;
  gap: 5px;
  max-width: 760px;
  margin-top: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(117,232,255,.18);
  border-radius: 18px;
  background: rgba(117,232,255,.045);
  color: #c9d4df;
}

.home-financing strong {
  color: var(--home-cyan);
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-financing span {
  color: #f4f8fb;
  font-weight: 900;
}

.home-financing small {
  color: #929fad;
  line-height: 1.45;
}

.home-microcopy code {
  color: #eaf1f7;
  font-weight: 850;
}

.home-hero__visual {
  position: relative;
  min-width: 0;
  animation: home-rise .8s .08s ease both;
}

@media (min-width: 1041px) and (max-height: 820px) {
  .home-hero {
    padding-top: 50px;
  }

  .home-hero h1 {
    font-size: clamp(3.25rem, 5.2vw, 4.75rem);
  }

  .home-hero__lead,
  .home-hero__actions {
    margin-top: 18px;
  }
}

.home-portrait {
  position: relative;
  aspect-ratio: .86 / 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 38px;
  background: #111723;
  box-shadow: 0 44px 120px rgba(0,0,0,.58);
}

.home-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,12,.02) 45%, rgba(5,7,12,.78)),
    linear-gradient(120deg, transparent 25%, rgba(255,255,255,.1) 43%, transparent 56%);
  pointer-events: none;
}

.home-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  filter: saturate(1.08) contrast(1.05);
}

.home-portrait figcaption {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 24px;
}

.home-portrait figcaption span,
.home-portrait figcaption strong {
  display: block;
}

.home-portrait figcaption span {
  color: rgba(238,243,248,.72);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-portrait figcaption strong {
  margin-top: 5px;
  font-size: clamp(1.45rem, 2.6vw, 2.3rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.home-float-card {
  position: absolute;
  z-index: 4;
  width: min(250px, 56%);
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 20px;
  background: rgba(5,7,12,.72);
  box-shadow: 0 18px 55px rgba(0,0,0,.34);
  animation: home-float 6s ease-in-out infinite;
}

.home-float-card span,
.home-float-card strong {
  display: block;
}

.home-float-card span {
  color: var(--home-mint);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.home-float-card strong {
  margin-top: 5px;
  font-size: .96rem;
  line-height: 1.25;
}

.home-float-card--top {
  top: 8%;
  right: -8%;
}

.home-float-card--bottom {
  left: -10%;
  bottom: 14%;
  animation-delay: -3s;
}

.home-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(54px, 8vw, 96px);
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.home-proof div {
  display: flex;
  gap: 13px;
  align-items: center;
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid rgba(255,255,255,.1);
}

.home-proof div:last-child {
  border-right: 0;
}

.home-proof strong {
  color: var(--home-cyan);
  font-size: .75rem;
  letter-spacing: .08em;
}

.home-proof span {
  color: #b5c0cd;
  font-size: .88rem;
  font-weight: 820;
  line-height: 1.35;
}

.home-section {
  position: relative;
  padding: clamp(74px, 10vw, 132px) 0;
}

.home-section + .home-section {
  border-top: 1px solid rgba(255,255,255,.075);
}

.home-section h2 {
  margin-top: 13px;
  max-width: 920px;
  font-size: clamp(2.45rem, 5vw, 5.3rem);
  line-height: .97;
  letter-spacing: -.04em;
}

.home-section-heading > p {
  max-width: 680px;
  color: #aebac8;
  margin: 18px 0 0;
  font-size: 1.1rem;
}

.home-section-heading--split {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 36px;
  align-items: end;
}

.home-section-heading--split > p {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.home-section--owner {
  background:
    radial-gradient(circle at 8% 20%, rgba(117,232,255,.09), transparent 28rem),
    rgba(255,255,255,.012);
}

.home-owner-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 7vw, 88px);
  align-items: center;
}

.home-owner-photo {
  position: relative;
}

.home-owner-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 34px;
  box-shadow: 0 34px 90px rgba(0,0,0,.38);
}

.home-owner-photo__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  background: rgba(5,7,12,.68);
  color: #d9e2eb;
  font-size: .87rem;
  font-weight: 760;
}

.home-owner-copy h2 {
  font-size: clamp(2.5rem, 4.7vw, 4.9rem);
}

.home-owner-copy > p {
  color: #aebac8;
  font-size: 1.12rem;
  margin: 22px 0 0;
}

.home-owner-copy blockquote {
  margin: 28px 0;
  padding: 22px 0;
  border-top: 1px solid rgba(117,232,255,.45);
  border-bottom: 1px solid rgba(117,232,255,.18);
  color: #f4f8fb;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.28;
  font-weight: 850;
  letter-spacing: -.025em;
}

.home-text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--home-mint);
  font-weight: 900;
  text-decoration: none;
}

.home-text-link span {
  transition: transform .2s ease;
}

.home-text-link:hover span {
  transform: translateX(4px);
}

.home-owner-links {
  display: grid;
  gap: 12px;
  align-items: start;
}

.journal-grid--featured {
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
}

.home-paths {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 20px;
  margin-top: 38px;
}

.home-path {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 34px;
  padding: clamp(26px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--home-panel);
  box-shadow: 0 24px 76px rgba(0,0,0,.26);
}

.home-path::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-path--vehicle {
  background:
    linear-gradient(180deg, rgba(5,7,12,.1), rgba(5,7,12,.9)),
    url('/assets/images/tesla/model-3-angle-1280.webp') center / cover;
}

.home-path--vehicle::before {
  background: linear-gradient(120deg, rgba(5,7,12,.18), transparent 42%, rgba(255,255,255,.08), transparent 64%);
}

.home-path--solar {
  background:
    radial-gradient(circle at 84% 10%, rgba(155,255,220,.18), transparent 38%),
    radial-gradient(circle at 5% 90%, rgba(117,232,255,.13), transparent 34%),
    linear-gradient(145deg, #121a28, #080b12);
}

.home-path__number,
.home-path__content {
  position: relative;
  z-index: 2;
}

.home-path__number {
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  font-weight: 950;
  letter-spacing: .1em;
}

.home-path__content > span {
  color: var(--home-mint);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-path h3 {
  max-width: 590px;
  margin-top: 10px;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: .98;
}

.home-path p {
  max-width: 560px;
  color: #b6c1ce;
  margin: 16px 0 24px;
}

.home-path .button {
  min-height: 50px;
}

.home-section--fsd {
  background:
    radial-gradient(circle at 84% 48%, rgba(232,33,39,.1), transparent 26rem),
    linear-gradient(110deg, rgba(255,255,255,.025), transparent 60%);
}

.home-journal {
  --journal-mint: var(--home-mint);
  --journal-cyan: var(--home-cyan);
  --journal-line: rgba(255,255,255,.12);
}

.home-journal__actions {
  margin-top: 26px;
}

.home-fsd-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(38px, 7vw, 92px);
  align-items: start;
}

.home-fsd-copy {
  color: #b6c1ce;
  font-size: 1.12rem;
}

.home-fsd-copy > p {
  margin: 0 0 22px;
}

.home-safety-note {
  margin: 30px 0;
  padding: 24px;
  border: 1px solid rgba(255,178,168,.22);
  border-radius: 24px;
  background: rgba(232,33,39,.07);
}

.home-safety-note strong {
  display: block;
  color: #fff;
  font-size: 1.18rem;
}

.home-safety-note p {
  margin: 8px 0 0;
}

.home-gallery {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: repeat(2, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.home-gallery figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  background: #111722;
}

.home-gallery__wide {
  grid-row: 1 / 3;
}

.home-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .6s ease;
}

.home-gallery figure:hover img {
  transform: scale(1.025);
  filter: saturate(1.1) contrast(1.04);
}

.home-gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5,7,12,.82));
  pointer-events: none;
}

.home-gallery figcaption {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 18px;
}

.home-gallery figcaption strong,
.home-gallery figcaption span {
  display: block;
}

.home-gallery figcaption strong {
  font-size: 1.15rem;
}

.home-gallery figcaption span {
  margin-top: 3px;
  color: rgba(238,243,248,.75);
  font-size: .88rem;
}

.home-section--principles {
  background: rgba(255,255,255,.016);
}

.home-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.home-principles article {
  min-height: 245px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
}

.home-principles article > span {
  color: var(--home-cyan);
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .1em;
}

.home-principles h3 {
  margin-top: 44px;
  font-size: 1.45rem;
  letter-spacing: -.035em;
}

.home-principles p {
  color: #aab6c4;
  margin: 12px 0 0;
}

.home-section--final {
  padding-top: clamp(80px, 11vw, 150px);
}

.home-final {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 7vw, 82px);
  text-align: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 42px;
  background:
    radial-gradient(circle at 12% 10%, rgba(117,232,255,.17), transparent 32%),
    radial-gradient(circle at 88% 10%, rgba(232,33,39,.13), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  box-shadow: 0 34px 110px rgba(0,0,0,.38);
}

.home-final::before {
  content: "LINK BEFORE LAUNCH";
  position: absolute;
  left: 50%;
  bottom: -4%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: rgba(255,255,255,.025);
  font-size: clamp(5rem, 13vw, 6rem);
  font-weight: 950;
  letter-spacing: -.04em;
  pointer-events: none;
}

.home-final > * {
  position: relative;
  z-index: 2;
}

.home-final h2 {
  margin-inline: auto;
}

.home-final > p {
  max-width: 700px;
  margin: 18px auto 0;
  color: #b6c1ce;
  font-size: 1.12rem;
}

.home-final__actions {
  justify-content: center;
}

.home-final__disclosure {
  max-width: 780px;
  margin: 24px auto 0;
  text-align: left;
}

.home-footer {
  background: rgba(3,5,8,.58);
}

.home-footer__grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 36px;
}

.home-footer__grid strong {
  color: #f3f7fa;
  font-size: 1.1rem;
}

.home-footer__grid p {
  margin: 4px 0 0;
}

@keyframes home-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 1040px) {
  .home-hero__grid,
  .home-owner-grid,
  .home-fsd-grid {
    grid-template-columns: 1fr;
  }

  .home-hero__copy {
    max-width: 850px;
  }

  .home-hero__visual {
    width: min(720px, 92%);
    margin: 8px auto 0;
  }

  .home-portrait {
    aspect-ratio: 16 / 10;
  }

  .home-proof {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-proof div:nth-child(2) {
    border-right: 0;
  }

  .home-proof div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .home-owner-photo {
    width: min(620px, 100%);
  }

  .home-owner-photo img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 820px) {
  .home-paths,
  .home-section-heading--split,
  .home-principles,
  .home-footer__grid {
    grid-template-columns: 1fr;
  }

  .home-section-heading--split > p {
    margin: 0;
  }

  .home-path {
    min-height: 420px;
  }

  .home-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .home-gallery__wide {
    grid-row: auto;
  }

  .home-gallery figure {
    min-height: 340px;
  }

  .home-principles article {
    min-height: 0;
  }

  .home-principles h3 {
    margin-top: 26px;
  }
}

@media (max-width: 620px) {
  .home-hero {
    padding-top: 46px;
  }

  .home-hero h1 {
    font-size: clamp(3.2rem, 16vw, 4.65rem);
  }

  .home-offer {
    grid-template-columns: 1fr;
  }

  .home-offer__or {
    width: auto;
    height: auto;
    justify-content: start;
    border: 0;
  }

  .home-hero__visual {
    width: 100%;
  }

  .home-portrait {
    aspect-ratio: 4 / 5;
    border-radius: 28px;
  }

  .home-float-card {
    display: none;
  }

  .home-proof {
    grid-template-columns: 1fr;
  }

  .home-proof div,
  .home-proof div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .home-proof div:last-child {
    border-bottom: 0;
  }

  .home-owner-photo img {
    aspect-ratio: 4 / 5;
  }

  .home-path {
    min-height: 480px;
    border-radius: 28px;
  }

  .home-section h2,
  .home-owner-copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .home-gallery figure {
    min-height: 300px;
  }

  .home-final {
    border-radius: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__copy,
  .home-hero__visual,
  .home-float-card {
    animation: none;
  }
}

/* Answer-first editorial module. */
.home-section--quick-answer {
  padding-top: clamp(66px, 8vw, 104px);
  background:
    linear-gradient(90deg, rgba(117, 232, 255, .055), transparent 44%),
    rgba(255, 255, 255, .012);
}

.home-answer-ledger {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, .84fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.home-answer-primary {
  padding: clamp(30px, 5vw, 54px) 0;
  border-top: 1px solid rgba(155, 255, 220, .36);
  border-bottom: 1px solid rgba(155, 255, 220, .18);
}

.home-answer-primary h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.65rem, 5.4vw, 5.7rem);
  line-height: .94;
}

.home-answer-primary h2 strong {
  display: block;
  margin-top: .08em;
  color: var(--home-mint);
}

.home-answer-primary p {
  max-width: 64ch;
  margin: 24px 0 0;
  color: #bac6d4;
  font-size: 1.12rem;
}

.home-answer-primary .home-text-link {
  margin-top: 22px;
}

.home-answer-list {
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.home-answer-list article {
  padding: 26px 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.home-answer-list h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.05;
}

.home-answer-list p {
  max-width: 52ch;
  margin: 12px 0 0;
  color: #aebbc8;
}

.home-answer-list strong {
  color: #f4f8fb;
}

.home-answer-source {
  display: block;
  margin-top: 14px;
  color: #8492a0;
  font-size: .8rem;
}

@media (max-width: 820px) {
  .home-answer-ledger {
    grid-template-columns: 1fr;
  }
}
