:root {
  --green-900: #063f28;
  --green-800: #087241;
  --green-700: #108b52;
  --green-100: #e8f6ee;
  --green-050: #f5faf7;
  --page: #f7f8f6;
  --paper: #fbfcfb;
  --accent: #9c5f2d;
  --ink: #13231b;
  --muted: #607268;
  --line: #d8e7dd;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 63, 40, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(216, 231, 221, 0.78);
  background: rgba(251, 252, 251, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand img {
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #31473b;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.82;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green-800);
  opacity: 1;
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  min-height: calc(100svh - 78px);
  padding: clamp(58px, 8vw, 110px) clamp(20px, 6vw, 92px) clamp(56px, 7vw, 96px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16, 139, 82, 0.12), rgba(245, 250, 247, 0) 42%),
    radial-gradient(circle at top right, rgba(36, 168, 105, 0.2), transparent 36%);
}

.home-hero {
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 380px);
  min-height: 0;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero-copy {
  max-width: 720px;
}

.home-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  color: var(--green-900);
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.home-hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 5.8vw, 5.4rem);
  line-height: 1.03;
}

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

h3 {
  color: var(--green-900);
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.home-hero .hero-text {
  max-width: 560px;
  font-size: clamp(1.08rem, 1.45vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--green-700);
  border-radius: 999px;
  font-weight: 900;
}

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

.button.secondary {
  color: var(--green-800);
  background: rgba(255, 255, 255, 0.7);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--green-900);
  background: var(--white);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 560px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.quick-stats div {
  padding: 8px 16px;
  border-right: 1px solid var(--line);
}

.quick-stats div:last-child {
  border-right: 0;
}

.quick-stats dt {
  color: var(--green-800);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.quick-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
  justify-self: center;
  width: min(420px, 78vw);
}

.home-media {
  width: min(360px, 78vw);
}

.hero-media::before {
  position: absolute;
  inset: 6% -10% -5%;
  content: "";
  border-radius: 36px;
  background: linear-gradient(150deg, rgba(8, 114, 65, 0.22), rgba(36, 168, 105, 0.08));
  filter: blur(1px);
  transform: rotate(-4deg);
}

.home-media::before {
  inset: 5% -7% -4%;
  border: 1px solid var(--line);
  background: #eef5f0;
  filter: none;
  transform: none;
}

.hero-media img {
  position: relative;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.home-media img {
  border: 1px solid var(--line);
  box-shadow: 0 22px 54px rgba(6, 63, 40, 0.14);
}

.home-summary {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  background: var(--page);
}

.home-summary h2 {
  max-width: 520px;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
}

.home-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.home-list article {
  display: grid;
  grid-template-columns: minmax(170px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.home-list h3 {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.home-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.home-manual {
  background: var(--paper);
}

.home-manual h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

.section {
  scroll-margin-top: 92px;
  padding: clamp(56px, 8vw, 108px) clamp(20px, 6vw, 92px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 5vw, 74px);
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.intro p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.18rem;
}

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

.feature-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 44px rgba(6, 63, 40, 0.06);
}

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

.feature-card p + p {
  margin-top: 16px;
}

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

.section-heading {
  max-width: 740px;
  margin-bottom: 32px;
}

.screen-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 20px;
  align-items: stretch;
}

.screen-card {
  display: grid;
  align-content: start;
  gap: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 20px 54px rgba(6, 63, 40, 0.08);
}

.screen-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: top;
  background: var(--green-100);
}

.screen-card.large img {
  height: 640px;
}

.screen-card div {
  padding: 0 24px 26px;
}

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

.manual-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.manual-promo div {
  max-width: 840px;
}

.manual-promo p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.inline-link {
  color: var(--green-800);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
}

.support-band h2,
.support-band .eyebrow {
  color: var(--white);
}

.support-band p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 92px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--green-800);
  font-weight: 800;
}

.policy-page,
.support-page {
  background: var(--white);
}

.simple-page {
  min-height: calc(100svh - 78px);
}

.policy-hero,
.support-hero {
  padding: clamp(58px, 8vw, 110px) clamp(20px, 6vw, 92px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.policy-hero h1,
.support-hero h1 {
  max-width: 900px;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.policy-hero p,
.support-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.18rem;
}

.policy-content {
  max-width: 880px;
  padding: 54px clamp(20px, 6vw, 92px) 90px;
}

.policy-content h2 {
  margin-top: 42px;
  font-size: 1.55rem;
}

.policy-content p {
  color: #394a41;
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  gap: 42px;
  align-items: center;
}

.support-hero.simple-page {
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 420px);
  align-content: center;
  background: var(--paper);
}

.support-hero img {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.support-compact {
  max-width: 680px;
  min-height: calc(100svh - 230px);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 86px) clamp(20px, 6vw, 92px) clamp(64px, 8vw, 104px);
}

.support-compact h1 {
  margin-bottom: 14px;
  color: var(--green-900);
  font-size: clamp(2.05rem, 3.4vw, 3rem);
  line-height: 1.08;
}

.support-compact > p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

.support-compact .contact-card {
  max-width: 100%;
  padding: 26px;
}

.support-compact .contact-card strong {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  line-height: 1.1;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--green-050);
}

.contact-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.contact-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(6, 63, 40, 0.08);
}

.contact-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
}

.contact-card strong {
  display: block;
  color: var(--green-900);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.contact-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--green-800);
  background: var(--green-100);
  font-weight: 900;
}

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

.manual-page {
  background: var(--green-050);
}

.manual-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
  padding: clamp(58px, 8vw, 110px) clamp(20px, 6vw, 92px);
  background:
    linear-gradient(135deg, rgba(16, 139, 82, 0.14), rgba(245, 250, 247, 0) 48%),
    var(--white);
}

.manual-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.manual-hero p {
  max-width: 800px;
  color: var(--muted);
  font-size: 1.18rem;
}

.manual-hero img {
  width: min(100%, 340px);
  justify-self: center;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.manual-toc {
  position: sticky;
  top: 77px;
  z-index: 8;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 250, 247, 0.92);
  backdrop-filter: blur(16px);
}

.manual-toc a {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-800);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 900;
}

.manual-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: clamp(58px, 8vw, 108px) clamp(20px, 6vw, 92px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.manual-section.alt {
  background: var(--green-050);
}

.manual-copy {
  position: sticky;
  top: 150px;
}

.manual-copy p {
  color: var(--muted);
}

.manual-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.manual-list li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 26px;
  color: #33483c;
}

.manual-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: var(--green-700);
}

.manual-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.manual-shot-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.phone-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(6, 63, 40, 0.08);
}

.phone-shot a {
  display: block;
  background: var(--green-100);
}

.phone-shot img {
  width: 100%;
  height: min(680px, 62vw);
  object-fit: cover;
  object-position: top;
}

.phone-shot figcaption {
  padding: 16px 18px 18px;
  color: var(--green-900);
  font-weight: 900;
}

.function-map {
  background: var(--green-900);
}

.function-map h2,
.function-map h3,
.function-map .eyebrow {
  color: var(--white);
}

.function-map .section-heading p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

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

.function-grid article {
  min-height: 190px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.function-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.screenshots-wall {
  background: var(--white);
}

.screenshots-wall .section-heading p:last-child {
  color: var(--muted);
}

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

.screenshot-wall-grid a {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--green-050);
  box-shadow: 0 10px 28px rgba(6, 63, 40, 0.06);
}

.screenshot-wall-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: top;
}

.screenshot-wall-grid span {
  display: block;
  padding: 12px;
  color: var(--green-900);
  font-size: 0.9rem;
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .home-summary,
  .support-hero,
  .contact-panel,
  .manual-hero,
  .manual-section {
    grid-template-columns: 1fr;
  }

  .support-hero.simple-page {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero {
    min-height: 0;
  }

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

  .home-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .feature-grid,
  .support-grid,
  .screen-gallery,
  .function-grid,
  .screenshot-wall-grid {
    grid-template-columns: 1fr 1fr;
  }

  .manual-copy {
    position: static;
  }

  .manual-shot-grid,
  .manual-shot-grid.three {
    grid-template-columns: 1fr 1fr;
  }

  .screen-card.large {
    grid-column: 1 / -1;
  }

  .support-band,
  .manual-promo,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    padding: 16px 20px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--green-800);
    background: var(--white);
    font-weight: 900;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 3.45rem);
    line-height: 1.03;
    overflow-wrap: normal;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-copy,
  .hero-text {
    max-width: 320px;
  }

  .home-copy,
  .home-hero .hero-text {
    max-width: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-media {
    justify-self: start;
    width: min(300px, 76vw);
  }

  .home-media {
    justify-self: center;
  }

  .quick-stats,
  .feature-grid,
  .support-grid,
  .screen-gallery,
  .function-grid,
  .screenshot-wall-grid,
  .manual-shot-grid,
  .manual-shot-grid.three {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-card strong {
    font-size: 2rem;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 12px 18px;
  }

  .quick-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-stats div:last-child {
    border-bottom: 0;
  }

  .screen-card img,
  .screen-card.large img {
    height: 470px;
  }

  .manual-toc {
    top: 73px;
  }

  .manual-hero img {
    justify-self: start;
    width: min(280px, 76vw);
  }

  .manual-hero p {
    max-width: 320px;
  }

  .phone-shot img {
    height: 520px;
  }

  .screenshot-wall-grid img {
    height: 360px;
  }
}
