:root {
  color-scheme: light dark;
  --green: #026338;
  --green-dark: #01472a;
  --green-soft: #e3efe9;
  --paper: #f7f7f7;
  --surface: #ffffff;
  --surface-soft: #eeeeef;
  --ink: #0a0a0a;
  --muted: #666a68;
  --line: #dedfe0;
  --shadow: 0 28px 80px rgb(1 71 42 / 0.12);
  --radius: 20px;
  --radius-control: 13px;
  --max-width: 1240px;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #55ad7f;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: var(--radius-control);
  background: var(--green-dark);
  color: #f7f7f7;
  padding: 10px 14px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.nav-shell {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand,
.school-link,
.desktop-nav {
  display: flex;
  align-items: center;
}

.brand {
  width: max-content;
  gap: 11px;
  font-size: 0.91rem;
  font-weight: 760;
  line-height: 1.1;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
}

.desktop-nav {
  gap: 28px;
}

.desktop-nav a,
.school-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.school-link:hover {
  color: var(--green);
}

.school-link {
  justify-self: end;
  gap: 6px;
}

.hero {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: calc(100dvh - 73px);
  margin: 0 auto;
  padding: clamp(48px, 7vh, 84px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: clamp(42px, 6vw, 88px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.045em;
}

h1 {
  max-width: 100%;
  margin-bottom: 22px;
  font-size: clamp(3rem, 4.35vw, 4rem);
  line-height: 0.97;
  font-weight: 790;
}

.hero-intro {
  max-width: 43ch;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.35vw, 1.2rem);
  line-height: 1.55;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-button {
  min-width: 190px;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--green-dark);
  border-radius: var(--radius-control);
  background: var(--green-dark);
  color: #f7f7f7;
  padding: 10px 17px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgb(1 71 42 / 0.16);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  background: var(--green);
  box-shadow: 0 14px 36px rgb(1 71 42 / 0.22);
}

.store-button:active {
  transform: translateY(1px) scale(0.99);
}

.store-button img {
  width: 26px;
  height: 26px;
}

.store-button span {
  display: grid;
  font-size: 1.02rem;
  font-weight: 760;
  line-height: 1.08;
  white-space: nowrap;
}

.store-button small {
  margin-bottom: 3px;
  font-size: 0.69rem;
  font-weight: 550;
  letter-spacing: 0.01em;
}

.hero-visual {
  position: relative;
  min-height: clamp(480px, 68vh, 680px);
  isolation: isolate;
}

.industrial-backdrop {
  position: absolute;
  inset: 4% 0 4% 10%;
  z-index: -1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.industrial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industrial-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgb(247 247 247 / 0.18), transparent 48%);
  pointer-events: none;
}

.industrial-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgb(2 99 56 / 0.1);
  border-radius: inherit;
  pointer-events: none;
}

.phone {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 7px solid #171918;
  border-radius: 36px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgb(1 47 28 / 0.22);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-main {
  top: 0;
  right: 5%;
  width: clamp(238px, 28vw, 330px);
  aspect-ratio: 708 / 1536;
  transform: rotate(1.4deg);
}

.phone-secondary {
  bottom: 0;
  left: 6%;
  width: clamp(194px, 22vw, 255px);
  aspect-ratio: 708 / 1536;
  transform: rotate(-5deg);
}

.availability {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px max(20px, calc((100% - var(--max-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.availability > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.availability strong {
  font-size: 1rem;
}

.availability span {
  color: var(--muted);
  font-size: 0.91rem;
}

.platforms {
  display: flex;
  gap: 8px;
}

.platforms span {
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  padding: 7px 11px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 760;
}

.section-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: clamp(88px, 12vw, 154px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading h2,
.trust h2 {
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 1;
}

.section-heading p,
.trust-copy > p {
  max-width: 58ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  grid-template-rows: 520px 560px;
  gap: 18px;
}

.feature {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-copy {
  position: relative;
  z-index: 2;
}

.feature span {
  display: block;
  margin-bottom: 13px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 780;
}

.feature h3 {
  max-width: 14ch;
  margin-bottom: 13px;
  font-size: clamp(1.75rem, 3vw, 2.85rem);
  line-height: 1.02;
}

.feature p {
  max-width: 38ch;
  margin-bottom: 0;
  color: var(--muted);
}

.feature-feed {
  padding: clamp(28px, 4vw, 54px);
  background: var(--green-soft);
}

.feature-feed .feature-copy {
  max-width: 50%;
}

.feature-phone {
  position: absolute;
  right: clamp(28px, 5vw, 62px);
  bottom: -220px;
  width: min(46%, 270px);
  overflow: hidden;
  border: 6px solid #171918;
  border-radius: 34px;
  box-shadow: 0 22px 60px rgb(1 71 42 / 0.18);
}

.feature-notifications {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--green-dark);
  color: #f7f7f7;
}

.feature-notifications span,
.feature-notifications p,
.feature-notifications time {
  color: #b8dcc9;
}

.notification-preview {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: var(--radius-control);
  background: rgb(255 255 255 / 0.1);
  padding: 15px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08);
}

.notification-preview img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #f7f7f7;
  padding: 5px;
}

.notification-preview p {
  font-size: 0.88rem;
  line-height: 1.35;
}

.notification-preview p strong {
  color: #f7f7f7;
}

.notification-preview time {
  align-self: start;
  font-size: 0.7rem;
}

.feature-magazine {
  padding: clamp(28px, 4vw, 52px);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 0.96), rgb(236 236 238 / 0.92)),
    url("/assets/hero-industry-768.webp") center / cover;
}

.magazine-shot {
  position: absolute;
  right: -1px;
  bottom: -335px;
  width: min(51%, 300px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: var(--radius) 0 0 0;
  box-shadow: -20px -10px 50px rgb(1 71 42 / 0.09);
}

.feature-goat {
  display: grid;
  grid-template-rows: 1.12fr 0.88fr;
  background: #e9ebea;
}

.goat-shot {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.goat-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.feature-goat .feature-copy {
  padding: 30px 36px 34px;
}

.feature-goat h3 {
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}

.trust {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(64px, 9vw, 120px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.trust-copy a {
  display: inline-block;
  margin-top: 28px;
  color: var(--green);
  font-weight: 740;
}

.trust-points {
  margin: 0;
}

.trust-points > div {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.trust-points > div:first-child {
  padding-top: 8px;
}

.trust-points dt {
  font-weight: 760;
}

.trust-points dd {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  background: var(--green-dark);
  color: #f7f7f7;
  padding: 54px max(20px, calc((100% - var(--max-width)) / 2)) 28px;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f7f7f7;
}

.footer-brand p {
  display: grid;
  margin: 0;
}

.footer-brand span {
  color: #b8dcc9;
  font-size: 0.83rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}

.site-footer nav a {
  color: #d4eadd;
  font-size: 0.9rem;
  font-weight: 650;
}

.copyright {
  margin: 44px 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  padding-top: 20px;
  color: #a6cdb7;
  font-size: 0.76rem;
}

html.motion-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
}

html.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .phone-main {
    right: 0;
  }

  .phone-secondary {
    left: 0;
  }

  .availability > div:first-child {
    display: grid;
    gap: 3px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 500px 520px;
  }

  .trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 72px;
  }

  .nav-shell,
  .hero,
  .section-shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .nav-shell {
    min-height: 64px;
    gap: 14px;
  }

  .brand {
    font-size: 0.78rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .school-link {
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 52px 0 34px;
    gap: 44px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-intro {
    max-width: 36ch;
  }

  .store-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .store-button {
    min-width: 0;
    width: 100%;
    min-height: 60px;
    padding-inline: 13px;
  }

  .store-button span {
    font-size: 0.93rem;
  }

  .hero-visual {
    min-height: min(142vw, 600px);
  }

  .industrial-backdrop {
    inset: 6% 0 1% 0;
  }

  .phone-main {
    right: 3%;
    width: min(61vw, 286px);
  }

  .phone-secondary {
    left: 2%;
    width: min(45vw, 214px);
  }

  .availability {
    align-items: flex-start;
    padding-block: 22px;
  }

  .availability .platforms {
    display: none;
  }

  .section-shell {
    padding: 88px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .trust h2 {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .feature-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-rows: auto;
  }

  .feature {
    min-height: 450px;
  }

  .feature-feed {
    min-height: 620px;
  }

  .feature-feed .feature-copy {
    max-width: 100%;
  }

  .feature-feed .feature-copy p {
    max-width: 27ch;
  }

  .feature-phone {
    right: auto;
    bottom: -160px;
    left: 50%;
    width: min(62%, 220px);
    transform: translateX(-50%);
  }

  .feature-notifications {
    min-height: 420px;
  }

  .feature-magazine {
    min-height: 520px;
  }

  .magazine-shot {
    bottom: -300px;
    width: 56%;
  }

  .feature-goat {
    height: 570px;
    min-height: 570px;
    grid-template-rows: 1.08fr 0.92fr;
  }

  .trust {
    gap: 50px;
  }

  .trust-points > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-main {
    display: grid;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .store-actions {
    grid-template-columns: 1fr;
  }

  .store-button {
    justify-content: flex-start;
  }

  .hero-visual {
    min-height: 520px;
  }

  .phone-main {
    width: min(66vw, 276px);
  }

  .phone-secondary {
    width: min(48vw, 196px);
  }

  .notification-preview {
    grid-template-columns: auto 1fr;
  }

  .notification-preview time {
    display: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e1110;
    --surface: #181c1a;
    --surface-soft: #232826;
    --ink: #ecefed;
    --muted: #a8afab;
    --line: #303633;
    --green: #57b584;
    --green-dark: #06351f;
    --green-soft: #133323;
    --shadow: 0 28px 80px rgb(0 0 0 / 0.3);
  }

  .industrial-image {
    filter: brightness(0.72) saturate(0.82);
  }

  .industrial-backdrop::before {
    background: linear-gradient(90deg, rgb(14 17 16 / 0.28), rgb(14 17 16 / 0.08));
  }

  .platforms span {
    color: var(--ink);
  }

  .feature-magazine {
    background:
      linear-gradient(145deg, rgb(24 28 26 / 0.96), rgb(35 40 38 / 0.96)),
      url("/assets/hero-industry-768.webp") center / cover;
  }

  .feature-goat {
    background: #202522;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  html.motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .store-actions,
  .site-footer {
    display: none;
  }

  body {
    background: #ffffff;
    color: #000000;
  }
}

.error-page {
  width: min(calc(100% - 40px), 760px);
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 0;
}

.error-page > img {
  width: 96px;
  height: 96px;
  margin-bottom: 36px;
}

.error-page h1 {
  max-width: 12ch;
}
