/* =========================================================
   BREEZ landing page
   Keep the page restrained and production-ready.
   ========================================================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

.landing-page {
  --bg-light: #f6f4ee;
  --bg-light-soft: #eeeae1;
  --bg-dark: #14171b;
  --bg-dark-elevated: #181b20;
  --text-dark: #111318;
  --text-dark-muted: rgba(17, 19, 24, 0.54);
  --text-light: #fbfbf8;
  --text-light-muted: rgba(251, 251, 248, 0.54);
  --accent: #8fded8;
  --border-light: rgba(17, 19, 24, 0.06);
  --border-dark: rgba(251, 251, 248, 0.06);
  --radius-sm: 6px;
  --radius-md: 14px;
  --max-width: 1240px;
  --transition: 320ms cubic-bezier(0.22, 1, 0.36, 1);

  display: block;
  min-height: 100%;
  overflow-x: clip;
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: "Proxima Nova", "ProximaNova-Regular", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: geometricPrecision;
}

.landing-page h1,
.landing-page h2,
.landing-page p {
  color: inherit;
}

.landing-page p {
  margin: 0;
}

.nowrap {
  white-space: nowrap;
}

.landing-page main {
  width: 100%;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 20px clamp(24px, 5vw, 62px);
  background: rgba(246, 244, 238, 0.78);
  backdrop-filter: blur(16px);
}

.landing-wordmark {
  color: var(--text-dark);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 650;
  letter-spacing: 0.32em;
  line-height: 1;
  text-decoration: none;
}

.landing-nav__links,
.landing-actions,
.landing-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
}

.landing-link,
.landing-text-link,
.landing-footer a {
  color: var(--text-dark);
  font-size: 0.84rem;
  text-decoration: none;
  text-underline-offset: 6px;
}

.landing-link--cta {
  color: rgba(17, 19, 24, 0.68);
}

.landing-link:hover,
.landing-text-link:hover,
.landing-footer a:hover {
  color: var(--text-dark);
  text-decoration: underline;
}

.landing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  padding: 0 22px;
  color: var(--text-dark);
  font-size: 0.84rem;
  text-decoration: none;
  background: rgba(143, 222, 216, 0.74);
  border: 1px solid rgba(17, 19, 24, 0.07);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.landing-button:hover {
  color: var(--text-dark);
  background: rgba(143, 222, 216, 0.9);
}

.landing-page a:focus-visible,
.landing-page button:focus-visible {
  outline: none;
  border-color: rgba(79, 209, 197, 0.84);
  box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.24);
}

.landing-container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding-inline: clamp(24px, 6vw, 80px);
}

.landing-section {
  position: relative;
  overflow: hidden;
}

.landing-hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: clamp(94px, 10vw, 156px) 0 clamp(96px, 10vw, 154px);
  background: var(--bg-light);
}

.landing-hero__grid,
.landing-object__grid,
.landing-app__grid,
.landing-dust__grid {
  display: grid;
  align-items: center;
  gap: clamp(64px, 8vw, 126px);
}

.landing-hero__grid {
  grid-template-columns: minmax(420px, 0.92fr) minmax(380px, 1.08fr);
  gap: clamp(48px, 5vw, 86px);
}

.landing-copy h1,
.landing-copy h2,
.landing-transition h2,
.landing-final h2 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 1.01;
}

.landing-copy h1 {
  max-width: max-content;
  font-size: clamp(4rem, 6.1vw, 5.9rem);
  white-space: nowrap;
}

.landing-copy h2,
.landing-transition h2,
.landing-final h2 {
  font-size: clamp(2.5rem, 4.65vw, 4.85rem);
}

.landing-copy p {
  max-width: 315px;
  color: var(--text-dark-muted);
  font-size: clamp(0.98rem, 1.12vw, 1.12rem);
  line-height: 1.58;
}

.landing-copy--compact p {
  max-width: 330px;
}

.landing-rule {
  width: 30px;
  height: 1px;
  margin: clamp(30px, 3.3vw, 44px) 0 22px;
  background: currentColor;
  opacity: 0.34;
}

.landing-rule--accent {
  width: 48px;
  background: currentColor;
  opacity: 0.22;
}

.landing-actions {
  justify-content: flex-start;
  margin-top: 42px;
}

.landing-text-link {
  color: rgba(17, 19, 24, 0.66);
  border-bottom: 1px solid currentColor;
}

.landing-visual {
  position: relative;
  min-height: 470px;
  margin: 0;
  display: grid;
  place-items: center;
}

.landing-image {
  display: block;
  max-width: 100%;
  height: auto;
}

.landing-visual--sensor {
  overflow: visible;
}

.landing-visual--sensor::before {
  content: "";
  position: absolute;
  inset: 7% -9% 3% -11%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 46% at 53% 52%, rgba(246, 244, 238, 0.9) 0%, rgba(246, 244, 238, 0.54) 44%, rgba(246, 244, 238, 0) 76%),
    radial-gradient(ellipse 65% 54% at 50% 58%, rgba(119, 113, 96, 0.1) 0%, rgba(119, 113, 96, 0.035) 48%, rgba(119, 113, 96, 0) 78%);
  filter: blur(10px);
}

.landing-image--hero {
  width: clamp(660px, 56vw, 920px);
  max-width: none;
  object-fit: contain;
  transform: translate(1%, -2%);
  mix-blend-mode: multiply;
  filter: saturate(0.96) contrast(0.98);
  -webkit-mask-image: radial-gradient(ellipse 78% 74% at 54% 53%, #000 62%, rgba(0, 0, 0, 0.92) 76%, rgba(0, 0, 0, 0.42) 90%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 74% at 54% 53%, #000 62%, rgba(0, 0, 0, 0.92) 76%, rgba(0, 0, 0, 0.42) 90%, transparent 100%);
}

.landing-image--object {
  width: clamp(700px, 58vw, 960px);
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  transform: translateX(2%);
}

.landing-dust {
  position: relative;
  min-height: 420px;
  background: var(--bg-light-soft);
  overflow: hidden;
}

.landing-dust::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/breez-dust-atmosphere.png");
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  opacity: 0.42;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(90deg, #000 0%, #000 42%, rgba(0, 0, 0, 0.54) 62%, transparent 88%),
    linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image:
    linear-gradient(90deg, #000 0%, #000 42%, rgba(0, 0, 0, 0.54) 62%, transparent 88%),
    linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.landing-dust::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(238, 234, 225, 0.18) 44%, var(--bg-light-soft) 76%),
    linear-gradient(180deg, var(--bg-light) 0%, transparent 22%, transparent 78%, var(--bg-light) 100%);
  pointer-events: none;
}

.landing-dust__grid {
  position: relative;
  z-index: 1;
  min-height: 420px;
  grid-template-columns: 1fr 0.76fr;
}

.landing-dust__light {
  min-height: 420px;
}

.landing-image--atmosphere {
  display: none;
}

.landing-dust__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 54% at 24% 48%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.1) 36%, rgba(255, 255, 255, 0) 76%),
    radial-gradient(ellipse 56% 48% at 78% 58%, rgba(20, 23, 27, 0.025) 0%, rgba(20, 23, 27, 0) 72%);
}

.landing-object {
  min-height: 600px;
  padding: clamp(92px, 8.4vw, 138px) 0;
  background: var(--bg-light);
}

.landing-object__grid {
  grid-template-columns: 0.82fr 1.18fr;
}

.landing-object .landing-visual {
  min-height: 470px;
}

.landing-transition {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(520px, 48vw, 680px);
  overflow: hidden;
  text-align: center;
  color: var(--text-light);
  background: radial-gradient(
    ellipse 85% 70% at 12% 8%,
    rgba(246, 244, 238, 0.86) 0%,
    rgba(210, 204, 190, 0.42) 24%,
    rgba(68, 72, 72, 0.44) 48%,
    rgba(20, 23, 27, 0.92) 76%,
    var(--bg-dark) 100%
  );
  isolation: isolate;
}

.landing-transition::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("../assets/breez-dust-atmosphere.png") left top / cover no-repeat;
  opacity: 0.32;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(
    ellipse 58% 54% at 14% 18%,
    #000 0%,
    rgba(0, 0, 0, 0.62) 42%,
    transparent 78%
  );
  mask-image: radial-gradient(
    ellipse 58% 54% at 14% 18%,
    #000 0%,
    rgba(0, 0, 0, 0.62) 42%,
    transparent 78%
  );
}

.landing-transition::after {
  display: none;
}

.landing-transition .landing-container {
  position: relative;
  z-index: 1;
  padding-top: 10px;
}

.landing-transition h2 {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.96);
  text-shadow:
    0 1px 12px rgba(14, 18, 22, 0.14),
    0 2px 32px rgba(14, 18, 22, 0.18);
}

.landing-transition .landing-rule {
  margin-inline: auto;
}

.landing-app,
.landing-final,
.landing-footer {
  color: var(--text-light);
  background: var(--bg-dark);
}

.landing-app {
  margin-top: clamp(-110px, -8vw, -70px);
  padding: clamp(140px, 12vw, 210px) 0 clamp(62px, 5.8vw, 98px);
}

.landing-app__grid {
  grid-template-columns: minmax(220px, 0.24fr) minmax(780px, 0.76fr);
  align-items: start;
  gap: clamp(42px, 5vw, 82px);
}

.landing-copy--dark p {
  color: var(--text-light-muted);
}

.landing-dashboard {
  position: relative;
  min-height: clamp(380px, 34vw, 470px);
  margin: clamp(-54px, -3.4vw, -24px) 0 0;
  display: grid;
  place-items: center start;
  overflow: visible;
}

.landing-image--dashboard {
  width: clamp(900px, 67vw, 1200px);
  max-width: none;
  aspect-ratio: 1.58;
  object-fit: contain;
  object-position: 46% 48%;
}

.landing-final {
  padding: clamp(72px, 8vw, 124px) 0 clamp(84px, 9vw, 136px);
  text-align: center;
}

.landing-final__inner {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.landing-kicker {
  color: var(--text-light-muted);
}

.landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(24px, 5vw, 62px);
  border-top: 1px solid var(--border-dark);
}

.landing-footer p,
.landing-footer a {
  color: var(--text-light-muted);
  font-size: 0.84rem;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1100ms ease, transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .landing-button:hover {
    transform: none;
  }
}

@media (max-width: 1100px) {
  .landing-hero__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .landing-hero__grid,
  .landing-object__grid,
  .landing-app__grid,
  .landing-dust__grid {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    min-height: auto;
  }

  .landing-visual,
  .landing-object .landing-visual,
  .landing-dashboard {
    min-height: 330px;
  }

  .landing-dust__grid {
    gap: 0;
  }

  .landing-dust__light {
    width: min(112vw, 760px);
    min-height: 210px;
    height: 210px;
    margin-left: -6vw;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 0;
    scroll-snap-type: y proximity;
  }

  .landing-section {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .landing-nav {
    padding: 18px 20px;
  }

  .landing-nav__links {
    gap: 14px;
  }

  .landing-link--cta {
    display: none;
  }

  .landing-container {
    padding-inline: 20px;
  }

  .landing-hero {
    min-height: calc(100svh - 58px);
    padding: clamp(36px, 8svh, 64px) 0 clamp(44px, 8svh, 70px);
  }

  .landing-hero__grid {
    min-height: inherit;
    align-content: center;
    row-gap: 0;
  }

  .landing-hero .landing-copy {
    display: contents;
  }

  .landing-hero .landing-copy.reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .landing-hero .landing-copy h1 {
    order: 1;
  }

  .landing-visual--sensor {
    order: 2;
    min-height: clamp(260px, 38svh, 360px);
    margin: clamp(16px, 3svh, 26px) 0 clamp(18px, 3.6svh, 30px);
  }

  .landing-hero .landing-rule {
    order: 3;
    margin: 0 0 20px;
  }

  .landing-hero .landing-copy p {
    order: 4;
  }

  .landing-hero .landing-actions {
    order: 5;
  }

  .landing-copy h1 {
    max-width: max-content;
    font-size: clamp(2.85rem, 12.6vw, 4rem);
  }

  .landing-copy h2,
  .landing-transition h2,
  .landing-final h2 {
    font-size: clamp(2.18rem, 10.8vw, 3.32rem);
  }

  .landing-rule {
    margin: 28px 0 20px;
  }

  .landing-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: clamp(28px, 5svh, 42px);
  }

  .landing-visual {
    min-height: 320px;
  }

  .landing-dust,
  .landing-object,
  .landing-transition {
    min-height: 100svh;
  }

  .landing-dust__grid {
    min-height: 100svh;
  }

  .landing-dust__light {
    width: auto;
    min-height: 0;
    height: 0;
    margin-left: 0;
  }

  .landing-dust__grid,
  .landing-object__grid {
    align-content: center;
  }

  .landing-object {
    padding: clamp(58px, 10svh, 92px) 0;
  }

  .landing-transition {
    padding: clamp(64px, 11svh, 96px) 0;
  }

  .landing-image--hero {
    width: clamp(350px, 106vw, 540px);
    transform: translate(2%, -1%);
  }

  .landing-image--object {
    width: clamp(520px, 132vw, 760px);
    aspect-ratio: 1.18;
    object-position: 47% 50%;
    transform: translateX(8%);
  }

  .landing-app {
    min-height: 100svh;
    padding: clamp(86px, 13svh, 128px) 0 clamp(72px, 10svh, 108px);
  }

  .landing-app__grid {
    align-content: center;
    gap: clamp(44px, 7svh, 68px);
  }

  .landing-app .landing-copy h2 {
    line-height: 1.08;
  }

  .landing-dashboard {
    min-height: clamp(300px, 52svh, 430px);
    margin-top: 0;
    place-items: center;
    width: 100%;
  }

  .landing-image--dashboard {
    width: min(116vw, 620px);
    max-width: none;
    object-position: center;
  }

  .landing-final {
    min-height: 88svh;
    display: grid;
    align-items: center;
    padding: clamp(72px, 11svh, 104px) 0;
  }

  .landing-footer {
    align-items: center;
    flex-direction: column;
    gap: 14px;
    padding: 34px 20px 38px;
    text-align: center;
  }

  .landing-footer p {
    max-width: 24rem;
    line-height: 1.55;
  }

  .landing-footer nav {
    justify-content: center;
    gap: 24px;
  }
}


@media (max-width: 680px) and (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }
}
}
