@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken_grotesk/HankenGrotesk-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken_grotesk/HankenGrotesk-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #07140f;
  --forest: #09231b;
  --deep: #06110f;
  --night: #0a1620;
  --teal: #0a8f84;
  --teal-deep: #055a57;
  --gold: #f7bd3b;
  --orange: #f27745;
  --sky: #8fd0ee;
  --paper: #f5f3ec;
  --mist: #e4eee7;
  --line-light: rgba(7, 20, 15, 0.12);
  --line-dark: rgba(255, 255, 255, 0.16);
  --white: #ffffff;
  --shadow-strong: 0 36px 90px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 22px 50px rgba(6, 17, 15, 0.18);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body.no-scroll {
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 32px), var(--max-width));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 10px 10px 14px;
  color: var(--white);
  background: rgba(6, 17, 15, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 17, 15, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 820;
  font-size: 18px;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--gold);
  background: #082b21;
  border: 1px solid rgba(247, 189, 59, 0.28);
  border-radius: 11px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
}

.brand-mark path:first-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

.brand-mark path:not(:first-child),
.brand-mark circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 690;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--gold);
}

.header-cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 820;
  box-shadow: 0 10px 28px rgba(247, 189, 59, 0.24);
}

.section-dark {
  color: var(--white);
  background: var(--deep);
}

.section-light {
  color: var(--ink);
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 140px max(28px, calc((100vw - var(--max-width)) / 2)) 58px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(100deg, rgba(6, 17, 15, 0.96) 0%, rgba(6, 17, 15, 0.82) 42%, rgba(6, 17, 15, 0.42) 100%),
    url("assets/images/IMG_2554.PNG") center / cover;
  filter: saturate(1.1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(180deg, rgba(6, 17, 15, 0), var(--deep));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(650px, 100%);
  padding-top: 28px;
}

.hero h1,
.section-copy h2,
.showcase-copy h2,
.sunpath-copy h2,
.gallery-head h2,
.download h2,
.support-copy h2,
.legal-hero h1 {
  margin: 0;
  font-weight: 880;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(54px, 9vw, 118px);
}

.hero p {
  width: min(570px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 820;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 18px 46px rgba(247, 189, 59, 0.28);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-media {
  position: absolute;
  inset: 0 max(24px, calc((100vw - var(--max-width)) / 2)) 0 46%;
  z-index: 1;
  pointer-events: none;
}

.hero-shot {
  position: absolute;
  width: clamp(205px, 18vw, 300px);
  border-radius: 34px;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #111;
}

.hero-shot-map {
  top: 20%;
  right: 34%;
  transform: rotate(-8deg);
}

.hero-shot-detail {
  top: 13%;
  right: 2%;
  transform: rotate(5deg);
}

.hero-shot-sun {
  top: 48%;
  right: 18%;
  transform: rotate(2deg);
}

.hero-strip {
  position: absolute;
  z-index: 4;
  left: max(28px, calc((100vw - var(--max-width)) / 2));
  right: max(28px, calc((100vw - var(--max-width)) / 2));
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-strip span {
  padding: 18px 18px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 760;
}

.intro-band,
.showcase,
.forecast,
.sunpath,
.screen-gallery,
.download,
.support {
  padding: 110px max(28px, calc((100vw - var(--max-width)) / 2));
}

.section-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.62fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 58px;
}

.section-copy.centered {
  display: block;
  width: min(800px, 100%);
  margin: 0 auto 58px;
  text-align: center;
}

.section-copy h2,
.showcase-copy h2,
.sunpath-copy h2,
.gallery-head h2,
.download h2,
.support-copy h2 {
  font-size: clamp(38px, 5vw, 76px);
}

.section-copy p,
.showcase-copy p,
.sunpath-copy p,
.download p,
.support-copy p {
  margin: 0;
  color: rgba(7, 20, 15, 0.68);
  font-size: 19px;
  line-height: 1.55;
}

.section-dark .section-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.workflow article {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line-light);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 18px 50px rgba(6, 17, 15, 0.07);
}

.step-number {
  display: block;
  color: var(--teal-deep);
  font-size: 15px;
  font-weight: 860;
  margin-bottom: 70px;
}

.workflow h3,
.feature-panel h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.04;
}

.workflow p,
.feature-panel p {
  margin: 12px 0 0;
  color: rgba(7, 20, 15, 0.64);
  font-size: 17px;
  line-height: 1.48;
}

.showcase {
  background:
    linear-gradient(180deg, rgba(245, 243, 236, 1), rgba(228, 238, 231, 0.92)),
    var(--paper);
}

.showcase-grid,
.sunpath {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
}

.phone-stack {
  position: relative;
  min-height: 660px;
}

.phone {
  position: absolute;
  width: min(310px, 44vw);
  border-radius: 34px;
  border: 1px solid rgba(7, 20, 15, 0.14);
  box-shadow: var(--shadow-soft);
  background: #111;
}

.phone-front {
  z-index: 2;
  top: 0;
  left: 7%;
}

.phone-back {
  z-index: 1;
  top: 86px;
  left: 43%;
}

.showcase-copy {
  max-width: 560px;
}

.showcase-copy p {
  margin-top: 24px;
}

.feature-list {
  display: grid;
  gap: 20px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.feature-list strong {
  font-size: 18px;
}

.feature-list span {
  color: rgba(7, 20, 15, 0.62);
  font-size: 16px;
  line-height: 1.45;
}

.forecast {
  background:
    radial-gradient(circle at 18% 15%, rgba(10, 143, 132, 0.28), transparent 32%),
    linear-gradient(160deg, var(--deep), var(--night) 58%, #071b18);
}

.forecast-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-panel {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: 18px 18px 24px;
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.feature-panel img {
  width: 100%;
  aspect-ratio: 0.46;
  object-fit: cover;
  object-position: top center;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.feature-panel h3 {
  color: var(--white);
}

.feature-panel p {
  color: rgba(255, 255, 255, 0.68);
}

.feature-panel-wide img {
  object-position: 50% 28%;
}

.sunpath {
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper), #dfeae5);
}

.sunpath-copy {
  max-width: 560px;
}

.sunpath-copy p {
  margin-top: 24px;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--teal-deep);
  font-size: 18px;
  font-weight: 820;
}

.sunpath-visual {
  position: relative;
  justify-self: center;
  width: min(430px, 100%);
}

.sunpath-visual::before {
  content: "";
  position: absolute;
  inset: 7% -14% 7% 14%;
  z-index: 0;
  border: 1px solid rgba(7, 20, 15, 0.13);
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(10, 143, 132, 0.28), rgba(247, 189, 59, 0.18));
  transform: rotate(-8deg);
}

.sunpath-visual img {
  position: relative;
  z-index: 1;
  width: min(330px, 84vw);
  margin: 0 auto;
  border-radius: 34px;
  border: 1px solid rgba(7, 20, 15, 0.14);
  box-shadow: var(--shadow-soft);
}

.screen-gallery {
  overflow: hidden;
  background: linear-gradient(180deg, var(--deep), #0c191e);
}

.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.gallery-head h2 {
  max-width: 680px;
}

.gallery-controls {
  display: flex;
  gap: 10px;
}

.gallery-button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.gallery-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.gallery-track figure {
  flex: 0 0 min(310px, 78vw);
  margin: 0;
  scroll-snap-align: start;
}

.gallery-track img {
  width: 100%;
  border-radius: 32px;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-strong);
}

.gallery-track figcaption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 720;
}

.download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(247, 189, 59, 0.2), transparent 48%),
    var(--paper);
}

.download p {
  width: min(660px, 100%);
  margin-top: 18px;
}

.download .button-primary {
  color: var(--white);
  background: var(--teal-deep);
  box-shadow: 0 18px 46px rgba(5, 90, 87, 0.24);
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.62fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
  background:
    linear-gradient(180deg, rgba(228, 238, 231, 0.78), rgba(245, 243, 236, 1)),
    var(--paper);
}

.support-copy {
  max-width: 570px;
}

.support-copy p {
  margin-top: 20px;
}

.support-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line-light);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow-soft);
}

.support-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 780;
}

.support-form input,
.support-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid rgba(7, 20, 15, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 16px;
  outline: none;
}

.support-form textarea {
  resize: vertical;
  line-height: 1.45;
}

.support-form input:focus,
.support-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(10, 143, 132, 0.14);
}

.support-form .button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 0%, rgba(247, 189, 59, 0.16), transparent 32%),
    var(--paper);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px max(28px, calc((100vw - var(--max-width)) / 2));
  color: var(--white);
  background: var(--deep);
}

.legal-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 760;
}

.legal-nav a,
.footer-links a {
  color: inherit;
}

.legal-nav a:hover,
.footer-links a:hover {
  color: var(--gold);
}

.legal-hero {
  padding: 96px max(28px, calc((100vw - var(--max-width)) / 2)) 44px;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 28%, rgba(10, 143, 132, 0.26), transparent 32%),
    linear-gradient(150deg, var(--deep), var(--night));
}

.legal-hero h1 {
  max-width: 900px;
  font-size: clamp(44px, 8vw, 92px);
}

.legal-hero p {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
  line-height: 1.5;
}

.legal-document {
  width: min(860px, calc(100% - 56px));
  margin: 54px auto 96px;
  padding: 42px;
  border: 1px solid var(--line-light);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
}

.legal-document h2 {
  margin: 34px 0 10px;
  font-size: 27px;
  line-height: 1.08;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document p {
  margin: 0 0 18px;
  color: rgba(7, 20, 15, 0.72);
  font-size: 18px;
  line-height: 1.65;
}

.legal-document a {
  color: var(--teal-deep);
  font-weight: 780;
}

.response-hero {
  min-height: 100vh;
  display: grid;
  align-content: center;
}

.response-hero .button {
  width: fit-content;
  margin-top: 26px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 30px max(28px, calc((100vw - var(--max-width)) / 2));
  color: rgba(255, 255, 255, 0.68);
  background: var(--deep);
}

.site-footer .brand {
  color: var(--white);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 920px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--max-width));
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 96vh;
    padding-top: 112px;
  }

  .hero-media {
    inset: auto 0 16px 0;
    height: 48%;
    opacity: 0.58;
  }

  .hero-shot {
    width: 180px;
    border-radius: 28px;
  }

  .hero-shot-map {
    top: 18%;
    right: 52%;
  }

  .hero-shot-detail {
    top: 8%;
    right: 13%;
  }

  .hero-shot-sun {
    top: 37%;
    right: 31%;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-copy,
  .showcase-grid,
  .sunpath,
  .download,
  .support {
    grid-template-columns: 1fr;
  }

  .workflow,
  .forecast-layout {
    grid-template-columns: 1fr;
  }

  .phone-stack {
    min-height: 560px;
    order: 2;
  }

  .phone {
    width: min(292px, 58vw);
  }

  .phone-front {
    left: 0;
  }

  .phone-back {
    left: 38%;
  }

  .showcase-copy {
    max-width: none;
  }

  .feature-panel img {
    aspect-ratio: 0.72;
  }

  .download .button {
    justify-self: start;
  }

  .support-form {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 8px 8px 8px 10px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
    border-radius: 10px;
  }

  .header-cta {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero,
  .intro-band,
  .showcase,
  .forecast,
  .sunpath,
  .screen-gallery,
  .download,
  .support,
  .legal-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: 95vh;
    padding-top: 104px;
    padding-bottom: 160px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .hero p {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .hero-strip {
    left: 20px;
    right: 20px;
    bottom: 18px;
  }

  .hero-strip span {
    font-size: 13px;
    padding-top: 12px;
  }

  .section-copy h2,
  .showcase-copy h2,
  .sunpath-copy h2,
  .gallery-head h2,
  .download h2,
  .support-copy h2 {
    font-size: 42px;
  }

  .legal-hero h1 {
    font-size: 44px;
  }

  .section-copy,
  .section-copy.centered {
    margin-bottom: 36px;
  }

  .workflow article {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 40px;
  }

  .phone-stack {
    min-height: 456px;
  }

  .phone {
    width: min(238px, 62vw);
    border-radius: 28px;
  }

  .phone-back {
    top: 64px;
    left: 35%;
  }

  .gallery-head {
    align-items: start;
    flex-direction: column;
  }

  .gallery-controls {
    align-self: flex-end;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }

  .legal-document {
    width: calc(100% - 40px);
    margin: 34px auto 64px;
    padding: 24px;
    border-radius: 22px;
  }

  .legal-document h2 {
    font-size: 23px;
  }

  .legal-document p {
    font-size: 16px;
  }

  .support-form {
    padding: 18px;
    border-radius: 22px;
  }

  .support-form .button,
  .response-hero .button {
    width: 100%;
  }
}
