/* Homepage styles follow the supplied desktop references. */
.home-page {
  --home-purple: #8051ff;
  --home-dark: #231b3b;
  --home-card: #483778;
  --home-cyan: #72ffff;
  --home-lime: #d5ff00;
  --home-muted: #c3bdd3;
  background: var(--home-purple);
  font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.5;
}
.home-page :is(h1, h2, h3, p) { margin: 0; }
.home-page a:focus-visible, .home-page button:focus-visible, .home-page summary:focus-visible { outline: 3px solid var(--home-cyan); outline-offset: 6px; }
.home-page :is(section, main) { scroll-margin-top: 24px; }
.skip-link { position: fixed; z-index: 50; top: 12px; left: 12px; padding: 12px 20px; background: var(--home-dark); border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.home-header { position: relative; z-index: 10; background: var(--home-purple); }
.home-header-inner { min-height: 136px; width: calc(100% - 7.3%); margin: auto; padding: 12px 20px 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.home-brand { display: inline-flex; align-items: center; gap: 15px; white-space: nowrap; font-family: "Trebuchet MS", Arial, sans-serif; font-weight: 800; font-size: 32px; letter-spacing: -1.2px; }
.home-brand img { width: 55px; height: 84px; object-fit: contain; filter: drop-shadow(0 3px 2px #25144355); }
.home-nav { display: flex; align-items: center; gap: 36px; font-family: "Trebuchet MS", Arial, sans-serif; font-size: 18px; font-weight: 700; }
.home-nav > a:not(.home-get-started):hover, .home-footer-nav > a:not(.home-button):hover { color: var(--home-cyan); }
.home-nav-tools { display: flex; align-items: center; gap: 16px; margin-left: -7px; color: #76d9f6; }
.updates-link { display: flex; align-items: center; justify-content: center; width: 25px; height: 34px; }
.updates-link svg { width: 22px; height: 27px; }
.home-info { position: relative; }
.home-info summary { list-style: none; display: flex; align-items: center; gap: 16px; cursor: pointer; }
.home-info summary::-webkit-details-marker { display: none; }
.info-avatar { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #76d9f6; color: white; font-family: Arial, sans-serif; font-size: 15px; font-weight: 400; }
.home-info summary > svg { width: 16px; height: 12px; }
.info-menu { position: absolute; top: 46px; right: 0; width: 220px; padding: 10px; border: 1px solid #74608f; border-radius: 8px; color: white; background: var(--home-dark); box-shadow: 0 10px 30px #11092044; font-size: 15px; font-weight: 400; }
.info-menu a { display: block; padding: 10px 12px; border-radius: 4px; }
.info-menu a:hover { background: var(--home-card); }
.home-get-started { min-height: 57px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid white; border-radius: 6px; padding: 12px 20px; margin-left: -15px; background: var(--home-dark); font-family: Georgia, serif; font-size: 18px; font-weight: 400; }
.home-get-started:hover { background: #372651; }
.home-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--home-dark); }
.home-hero-copy { display: grid; place-items: center; padding: 60px 7%; text-align: center; }
.home-hero-copy > div { width: 100%; max-width: 700px; transform: translateY(-16px); }
.home-hero h1 { font-family: "Trebuchet MS", Arial, sans-serif; font-size: clamp(30px, 2.32vw, 44px); font-weight: 800; line-height: 1.2; letter-spacing: -.9px; }
.home-hero h1 span { display: block; }
.home-hero p { margin: 28px auto 48px; font-size: clamp(18px, 1.27vw, 24px); line-height: 1.6; letter-spacing: -.5px; }
.home-button { display: inline-flex; align-items: center; justify-content: center; min-height: 57px; min-width: 138px; padding: 16px 24px; background: var(--home-cyan); border-radius: 999px; color: #19182c; font-family: Georgia, serif; font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: -.4px; box-shadow: 0 6px 5px #0007; transition: background .2s, transform .2s; }
.home-button:hover { background: #a0ffff; transform: translateY(-2px); }
.home-hero-image { position: relative; width: 100%; aspect-ratio: 950 / 825; min-width: 0; min-height: 580px; overflow: hidden; }
.home-hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-vision { position: relative; display: grid; grid-template-columns: 45% 55%; width: 90.7%; margin: -13px auto 0; min-height: 1160px; background: var(--home-dark); border: 1px solid #766b89; }
.home-vision-panel { padding: 240px 16px 120px; border-right: 1px solid #766b89; background: linear-gradient(#241c3b40, #241c3b40), url("./images/dark-wave.webp") center / cover no-repeat; }
.home-vision-copy { width: 460px; max-width: 100%; margin: 0 auto; }
.home-vision h2 { font-family: Georgia, "Times New Roman", serif; font-size: 40px; font-weight: 400; line-height: 1.31; letter-spacing: -1.6px; }
.home-vision h2 span { display: block; white-space: nowrap; }
.home-vision-copy p { max-width: 420px; margin-top: 26px; color: var(--home-muted); font-size: 20px; line-height: 1.2; letter-spacing: -.25px; }
.home-applications { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; width: 90%; margin: -148px auto 0; padding-bottom: 40px; }
.home-card-column { display: grid; gap: 5px; }
.home-card-column-offset { padding-top: 270px; gap: 63px; }
.home-feature { padding: 25px 34px 35px; border-radius: 13px; background: var(--home-card); }
.home-feature-icon { width: 68px; height: 68px; margin: 0 0 79px; filter: drop-shadow(0 4px 2px #160a3355); }
.home-feature-icon svg { width: 100%; height: 100%; display: block; }
.home-feature .fish-icon { width: 60px; }
.home-feature .battery-icon { width: 69px; }
.home-feature h3 { color: var(--home-lime); font-family: "Trebuchet MS", Arial, sans-serif; font-size: 24px; line-height: 1.42; font-weight: 700; letter-spacing: -.65px; }
.home-feature p { margin-top: 14px; color: var(--home-muted); font-family: Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.55; letter-spacing: -.3px; }
.home-feature-rule { display: block; height: 5px; margin-top: 30px; border-radius: 5px; background: #928995; opacity: .8; box-shadow: 0 0 2px #bbb0c3; }
.home-technology { display: grid; grid-template-columns: 1fr 1fr; background: var(--home-dark); }
.home-technology-image { position: relative; min-height: 1024px; overflow: hidden; }
.home-technology-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.home-technology-image::after { content: ""; position: absolute; inset: 0; background: #241c3b16; }
.home-technology h2 { position: absolute; z-index: 1; left: 9%; right: 9%; top: 49%; transform: translateY(-50%); text-align: center; font-family: Georgia, "Times New Roman", serif; font-size: 42px; font-weight: 400; line-height: 1.3; letter-spacing: -1.4px; }
.home-technology-content { display: flex; align-items: center; justify-content: center; padding: 100px 50px 80px; }
.home-technology-content > div { width: 100%; max-width: 450px; transform: translateY(30px); }
.home-technology-content p { color: var(--home-muted); font-size: 22px; line-height: 1.64; letter-spacing: -.2px; }
.home-technology-content p + p { margin-top: 38px; }
.home-technology-content .home-button { margin-top: 42px; min-width: 177px; min-height: 70px; }
.home-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; min-height: 467px; padding: 72px 7.55% 70px; background: var(--home-purple); }
.home-footer .home-brand { gap: 20px; }
.home-footer .home-brand span { position: relative; top: 12px; }
.home-footer .home-brand img { width: 65px; height: 98px; }
.home-footer address { display: grid; gap: 10px; margin-top: 43px; font-size: 23px; font-style: normal; color: #cec1f1; letter-spacing: -.6px; }
.home-footer address a:hover { color: white; }
.home-footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; width: 303px; justify-self: center; margin: 41px 0 0 26%; font-size: 23px; color: #cec1f1; }
.home-footer-nav .home-button { width: 100%; min-height: 69px; margin-top: 18px; font-family: Arial, Helvetica, sans-serif; font-size: 18px; letter-spacing: -.4px; }
.home-message { position: fixed; z-index: 20; right: 25px; bottom: 22px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 24px; min-height: 70px; min-width: 292px; border-radius: 999px; background: #00a7f5; box-shadow: 0 0 3px #a6a5e3; font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif; font-weight: 700; font-size: 24px; letter-spacing: -.7px; transition: background .2s; }
.home-message svg { flex-shrink: 0; width: 32px; height: 32px; }
.home-message:hover { background: #008ee0; }

/* JS adds these classes; content stays visible when scripting is unavailable.
   Individual translate preserves the transforms used by the existing layout. */
.home-page .scroll-reveal {
  opacity: 0;
  translate: 0 32px;
  transition:
    opacity 760ms cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms),
    translate 760ms cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms),
    background .2s,
    transform .2s;
}
.home-page .scroll-reveal.is-visible,
.home-page .scroll-reveal:focus-within {
  opacity: 1;
  translate: none;
}
.home-page .scroll-reveal:focus-within { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .home-page .scroll-reveal {
    opacity: 1;
    translate: none;
    transition: none !important;
  }
}

@media (max-width: 1500px) {
  .home-header-inner { min-height: 110px; }
  .home-brand { font-size: 28px; }
  .home-vision { min-height: 1080px; }
  .home-vision-panel { padding-top: 210px; }
  .home-vision-copy { width: 100%; max-width: 460px; }
  .home-vision h2 { font-size: 36px; }
  .home-vision h2 span { display: inline; white-space: normal; }
  .home-feature { padding-inline: 26px; }
  .home-feature h3 { font-size: 22px; }
  .home-feature-icon { margin-bottom: 60px; }
  .home-technology-image { min-height: 1000px; }
  .home-technology-content { padding: 75px 10%; }
  .home-technology-content p { font-size: 19px; }
  .home-technology h2 { font-size: 34px; }
  .home-footer-nav { margin-left: 15%; }
}
@media (max-width: 1050px) {
  .home-header-inner { width: 92%; padding-right: 0; min-height: 100px; }
  .home-brand { gap: 9px; font-size: 25px; }
  .home-brand img { width: 45px; height: 68px; }
  .home-nav { gap: 22px; font-size: 16px; }
  .home-get-started { margin-left: 0; padding-inline: 15px; font-size: 16px; }
  .home-hero-copy { padding-inline: 6%; }
  .home-hero h1 { font-size: 31px; }
  .home-hero p { font-size: 18px; }
  .desktop-break { display: none; }
  .home-hero-image { min-height: 580px; }
  .home-vision { width: 94%; grid-template-columns: 38% 62%; min-height: 1050px; }
  .home-vision-panel { padding: 160px 28px 80px; }
  .home-vision h2 { font-size: 31px; }
  .home-vision-copy p { font-size: 17px; line-height: 1.4; }
  .home-applications { width: 89%; gap: 12px; margin-top: -75px; }
  .home-feature { padding: 23px 20px 28px; }
  .home-feature h3 { font-size: 20px; }
  .home-feature p { font-size: 16px; }
  .home-feature-icon { width: 58px; height: 58px; margin-bottom: 42px; }
  .home-card-column-offset { padding-top: 190px; gap: 40px; }
  .home-technology-content { padding: 65px 9%; }
  .home-technology-content p { font-size: 18px; }
  .home-technology h2 { font-size: 31px; }
  .home-footer { padding-inline: 6%; }
  .home-footer address, .home-footer-nav { font-size: 19px; }
  .home-footer-nav { width: 250px; margin-left: 0; }
  .home-message { right: 20px; bottom: 20px; min-height: 60px; min-width: 0; font-size: 20px; padding: 12px 20px; }
}
@media (max-width: 720px) {
  .home-header-inner { min-height: 86px; padding-block: 8px; }
  .home-brand { font-size: 25px; }
  .home-brand img { width: 39px; height: 62px; }
  .home-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 16px 6% 24px; flex-direction: column; align-items: stretch; gap: 8px; background: var(--home-purple); box-shadow: 0 14px 20px #160a3333; }
  .home-nav.is-open { display: flex; }
  .home-nav > a:not(.home-get-started) { padding: 10px 0; }
  .home-nav-tools { margin: 8px 0 14px; }
  .home-info .info-menu { left: 0; right: auto; }
  .home-get-started { align-self: flex-start; min-height: 48px; padding-inline: 24px; }
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-copy { min-height: 455px; padding: 65px 24px; }
  .home-hero-copy > div { transform: none; }
  .home-hero h1 { font-size: clamp(30px, 7vw, 42px); letter-spacing: -1.2px; }
  .home-hero p { margin: 25px auto 34px; max-width: 440px; line-height: 1.6; }
  .home-hero-image { min-height: 0; aspect-ratio: 950 / 825; }
  .home-vision { display: block; width: calc(100% - 32px); margin-top: 0; min-height: 0; }
  .home-vision-panel { padding: 72px 30px; border-right: 0; border-bottom: 1px solid #766b89; }
  .home-vision-copy { max-width: 440px; }
  .home-vision h2 { font-size: clamp(31px, 6.5vw, 39px); }
  .home-vision-copy p { font-size: 18px; line-height: 1.5; }
  .home-applications { width: auto; margin: 0; padding: 30px 22px 40px; gap: 16px; }
  .home-card-column { gap: 16px; }
  .home-card-column-offset { padding-top: 60px; }
  .home-feature { padding: 24px 20px 28px; }
  .home-feature-icon { margin-bottom: 36px; }
  .home-feature h3 { font-size: 21px; }
  .home-feature p { font-size: 17px; }
  .home-technology { grid-template-columns: 1fr; }
  .home-technology-image { min-height: 0; aspect-ratio: 947 / 1024; }
  .home-technology h2 { font-size: clamp(30px, 6vw, 40px); left: 6%; right: 6%; }
  .home-technology-content { padding: 60px 32px 70px; }
  .home-technology-content > div { max-width: 480px; transform: none; }
  .home-technology-content p { font-size: 18px; line-height: 1.8; }
  .home-technology-content .home-button { min-height: 60px; margin-top: 32px; }
  .home-footer { grid-template-columns: 1fr; gap: 45px; padding: 56px 32px 120px; }
  .home-footer .home-brand img { width: 52px; height: 80px; }
  .home-footer .home-brand { gap: 14px; font-size: 29px; }
  .home-footer address { margin-top: 27px; font-size: 20px; gap: 10px; }
  .home-footer-nav { justify-self: start; margin: 0; gap: 23px; font-size: 21px; }
  .home-footer-nav .home-button { margin-top: 6px; min-height: 60px; }
  .home-message { right: 16px; bottom: 16px; gap: 9px; min-height: 55px; padding: 11px 18px; font-size: 18px; }
  .home-message svg { width: 27px; height: 27px; }
}
@media (max-width: 480px) {
  .home-applications { grid-template-columns: 1fr; padding: 24px 20px 32px; }
  .home-card-column-offset { padding-top: 0; }
  .home-feature { padding: 27px; }
  .home-feature-icon { margin-bottom: 30px; }
  .home-feature h3 { font-size: 24px; }
  .home-feature p { font-size: 18px; }
}
