:root {
  --green-900: #073f31;
  --green-800: #005934;
  --green-700: #00713e;
  --green-600: #14945c;
  --green-100: #e8f6ed;
  --ink: #16242c;
  --muted: #65717a;
  --line: #dfe8e2;
  --paper: #ffffff;
  --cream: #fbf7ef;
  --mint: #cbf6dc;
  --blue: #d8e9fb;
  --lilac: #e8e3fa;
  --amber: #fde8c6;
  --cyan: #c8f3f4;
  --shadow: 0 24px 70px rgba(7, 63, 49, 0.18);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

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

h1,
h2,
h3,
p,
a,
li,
dd {
  overflow-wrap: break-word;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(251, 247, 239, 0.9);
  border-bottom: 1px solid rgba(7, 63, 49, 0.08);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 32px rgba(7, 63, 49, 0.1);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--green-900);
}

.brand img,
.footer-brand img {
  width: 132px;
  height: auto;
}

.main-nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-header > *,
.intro-layout,
.tool-grid,
.field-layout,
.academy-layout,
.funding-logo-strip,
.footer-layout > * {
  min-width: 0;
}

.main-nav a,
.header-link {
  transition: color 180ms ease;
}

.main-nav a:hover,
.header-link:hover {
  color: var(--green-700);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(7, 63, 49, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.68);
}

.language-select {
  min-width: 58px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--green-900);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
}

.language-select:focus-visible {
  outline: 2px solid rgba(0, 113, 62, 0.32);
  outline-offset: 3px;
}

.language-option {
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--green-900);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease;
}

.language-option:hover,
.language-option:focus-visible {
  background: var(--green-100);
  outline: none;
}

.language-option.is-active {
  background: var(--green-800);
  color: white;
}

.header-link {
  padding: 11px 16px;
  border: 1px solid rgba(7, 63, 49, 0.18);
  border-radius: 6px;
  color: var(--green-900);
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(76px, 9vw, 124px) clamp(20px, 5vw, 80px);
  background: var(--cream);
  border-bottom: 1px solid rgba(7, 63, 49, 0.08);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(610px, 100%);
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--green-900);
  font-size: clamp(3.6rem, 9vw, 7.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--green-900);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.2;
}

.hero-copy {
  width: min(560px, 100%);
  margin-bottom: 28px;
  color: #34464e;
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
}

.hero-actions,
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 100%;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: var(--green-800);
  color: white;
  box-shadow: 0 14px 30px rgba(0, 89, 52, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(7, 63, 49, 0.18);
  color: var(--green-900);
}

.hero-facts {
  margin: 34px 0 0;
}

.hero-facts div {
  min-width: 136px;
  padding: 0 20px 0 0;
  border-right: 1px solid rgba(7, 63, 49, 0.16);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts dt {
  color: var(--green-900);
  font-size: 1.75rem;
  font-weight: 850;
  line-height: 1;
}

.hero-facts dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.phone {
  position: relative;
  overflow: hidden;
  background: #101a1a;
  border: 10px solid #101a1a;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 50%;
  width: 74px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 14px;
  background: #101a1a;
}

.phone-main {
  position: absolute;
  right: clamp(44px, 9vw, 150px);
  top: 9vh;
  width: min(30vw, 330px);
  aspect-ratio: 945 / 2048;
  transform: rotate(2deg);
}

.phone-side {
  position: absolute;
  width: min(21vw, 230px);
  aspect-ratio: 945 / 2048;
  opacity: 0.9;
}

.phone-left {
  right: clamp(285px, 27vw, 470px);
  top: 28vh;
  transform: rotate(-8deg);
}

.phone-right {
  right: clamp(10px, 3vw, 58px);
  top: 34vh;
  transform: rotate(8deg);
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-width: 0;
}

.intro-band {
  padding: clamp(52px, 7vw, 78px) 0;
  background: var(--green-900);
  color: white;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.intro-band .section-kicker,
.intro-band h2 {
  color: white;
}

.intro-band p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.tools-section,
.field-section,
.academy-section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-heading {
  width: min(740px, 100%);
  margin-bottom: 34px;
}

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

.tool-grid-complete {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tool-card {
  min-height: 218px;
  padding: 22px;
  border: 1px solid rgba(7, 63, 49, 0.1);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 42px rgba(7, 63, 49, 0.08);
}

.tool-card-compact {
  min-height: 174px;
  padding: 18px;
}

.tool-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--green-900);
  font-weight: 850;
  background: var(--green-100);
}

.tool-card-compact .tool-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  font-size: 0.82rem;
}

.tool-card-compact h3 {
  font-size: 1.02rem;
}

.tool-card-compact p {
  font-size: 0.92rem;
}

.tool-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.accent-mint .tool-icon {
  background: var(--mint);
}

.accent-blue .tool-icon {
  background: var(--blue);
}

.accent-lilac .tool-icon {
  background: var(--lilac);
}

.accent-amber .tool-icon {
  background: var(--amber);
}

.accent-cyan .tool-icon {
  background: var(--cyan);
}

.accent-neutral .tool-icon {
  background: #eef1ec;
}

.field-section {
  background: white;
}

.field-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}

.field-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #314249;
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 14px;
  height: 7px;
  border-left: 3px solid var(--green-700);
  border-bottom: 3px solid var(--green-700);
  transform: rotate(-45deg);
}

.device-row {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 640px;
}

.phone-showcase {
  width: min(46vw, 318px);
  aspect-ratio: 945 / 2048;
  transform: rotate(-4deg);
}

.phone-showcase-small {
  width: min(34vw, 238px);
  margin-left: -54px;
  transform: translateY(58px) rotate(7deg);
}

.academy-section {
  background: var(--cream);
}

.academy-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.academy-mark {
  width: 210px;
  border: 1px solid rgba(7, 63, 49, 0.08);
}

.academy-layout p {
  width: min(760px, 100%);
  color: var(--muted);
  font-size: 1.08rem;
}

.funding-section {
  padding: 34px 0 38px;
  background: #ffffff;
  border-top: 1px solid rgba(7, 63, 49, 0.08);
}

.funding-layout {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.funding-layout h2 {
  margin: 0;
  color: var(--green-900);
  font-size: 1.05rem;
  line-height: 1.2;
}

.funding-logo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.funding-logo-strip img {
  width: 100%;
  max-height: 74px;
  object-fit: contain;
}

.funding-copy {
  width: min(920px, 100%);
  margin: 0;
  color: #536169;
  font-size: 0.82rem;
  line-height: 1.45;
}

.site-footer {
  padding: 36px 0;
  background: var(--green-900);
  color: white;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 0;
}

.footer-brand {
  color: white;
}

.footer-brand img {
  filter: brightness(0) invert(1);
}

.footer-legal {
  display: grid;
  gap: 4px;
}

.footer-legal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.footer-legal a,
.footer-layout > a:last-child {
  color: white;
  font-weight: 750;
}

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

  .language-switcher {
    margin-left: auto;
  }

  .hero {
    align-items: flex-start;
    min-height: 88svh;
    padding-top: 92px;
  }

  .hero-content {
    width: min(540px, 74%);
  }

  .phone-main {
    right: -18px;
    top: 32vh;
    width: min(42vw, 280px);
  }

  .phone-left {
    right: 180px;
    top: 48vh;
    width: min(30vw, 210px);
  }

  .phone-right {
    display: none;
  }

  .intro-layout,
  .field-layout,
  .academy-layout {
    grid-template-columns: 1fr;
  }

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

  .field-layout {
    gap: 22px;
  }

  .device-row {
    min-height: 560px;
  }

  .phone-showcase {
    width: min(48vw, 290px);
  }

  .phone-showcase-small {
    width: min(36vw, 220px);
  }

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

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

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    gap: 14px;
    padding: 12px 18px;
  }

  .brand img {
    width: 104px;
  }

  .header-link {
    display: none;
  }

  .language-switcher {
    padding: 2px 6px;
  }

  .language-select {
    min-width: 54px;
    height: 30px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 76px 18px 34px;
    background: var(--cream);
  }

  .hero-content {
    order: 1;
    width: 100%;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: clamp(330px, 92vw, 430px);
    margin-top: 28px;
  }

  .phone {
    border-width: 8px;
    border-radius: 30px;
  }

  .phone img {
    border-radius: 22px;
  }

  .phone-speaker {
    top: 9px;
    width: 54px;
    height: 14px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.9rem);
  }

  .hero-copy {
    max-width: 95%;
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .button {
    width: 100%;
    max-width: 100%;
  }

  .hero-facts {
    display: none;
  }

  .phone-main {
    left: 50%;
    right: auto;
    top: 0;
    width: min(58vw, 238px);
    transform: translateX(-50%) rotate(2deg);
  }

  .phone-left {
    left: 0;
    right: auto;
    top: 94px;
    width: min(39vw, 154px);
    transform: rotate(-8deg);
  }

  .phone-right {
    display: block;
    right: 0;
    top: 116px;
    width: min(36vw, 142px);
    transform: rotate(8deg);
  }

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

  .tool-card {
    min-height: auto;
  }

  .device-row {
    min-height: clamp(390px, 112vw, 500px);
    justify-content: center;
    padding-left: 0;
  }

  .phone-showcase {
    width: min(58vw, 230px);
  }

  .phone-showcase-small {
    width: min(40vw, 160px);
    margin-left: -52px;
    transform: translateY(44px) rotate(7deg);
  }

  .academy-mark {
    width: 168px;
  }

  .funding-logo-strip {
    gap: 14px;
  }

  .funding-logo-strip img {
    max-height: 62px;
  }

  .funding-copy {
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 96px;
  }

  .hero {
    padding-inline: 16px;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 3.55rem);
  }

  h2 {
    font-size: clamp(1.75rem, 9vw, 2.3rem);
  }

  .hero-visual {
    height: clamp(300px, 96vw, 380px);
  }

  .phone-main {
    width: min(62vw, 218px);
  }

  .phone-left {
    top: 88px;
    width: min(40vw, 140px);
  }

  .phone-right {
    top: 110px;
    width: min(37vw, 132px);
  }

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

  .tool-card-compact {
    padding: 16px;
  }

  .funding-logo-strip {
    grid-template-columns: 1fr;
  }

  .funding-logo-strip img {
    max-height: 58px;
  }
}
