@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Newsreader:ital,wght@0,300;0,400;1,300;1,400&display=swap');

:root {
  --bg: #fafaf7;
  --text: #1c1c1e;
  --muted: #5a5a60;
  --surface: #ffffff;
  --border: rgba(0, 0, 0, 0.08);

  --accent: #1a7a43;
  --accent2: #2ecc71;
  --dark: #1c1c1e;

  --radius: 16px;
  --container: 1100px;

  --space-1: 6px;
  --space-2: 10px;
  --space-3: 14px;
  --space-4: 18px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 44px;
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(46, 204, 113, 0.08) 100%
  );
  color: var(--text);
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.siteHeaderInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brandLogo {
  height: 51px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.nav a,
.nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.nav a {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--border);
}

.nav a.navCta {
  position: relative;
  font-weight: 700;
  background: rgba(26, 122, 67, 0.10);
  border-color: rgba(26, 122, 67, 0.22);
}

.nav a.navCta::after {
  content: attr(data-hover);
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%) translateY(-4px);
  opacity: 0;
  pointer-events: none;
  z-index: 30;

  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
  font-weight: 650;
  font-size: 12px;
  color: var(--muted);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  transition: opacity 160ms ease, transform 160ms ease;
}

.nav a.navCta:hover::after,
.nav a.navCta:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nav a:hover {
  background: rgba(232, 248, 240, 1);
  border-color: rgba(46, 204, 113, 0.35);
}

.nav a:focus-visible {
  background: rgba(232, 248, 240, 1);
  border-color: rgba(46, 204, 113, 0.45);
  outline: none;
}

.nav span {
  color: rgba(31, 31, 31, 0.45);
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(31, 31, 31, 0.08);
  cursor: default;
}

.siteMain {
  padding: var(--space-6) 0;
}

.contentBlock {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
}

.depthSection {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--space-7) 0;
}

.depthContent {
  position: relative;
  z-index: 2;
  display: flex;
}

.depthSection .container.depthContent {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 50px;
  padding-right: 50px;
}

.depthSection:nth-of-type(odd) .depthContent {
  justify-content: flex-end;
}

.depthSection:nth-of-type(even) .depthContent {
  justify-content: flex-start;
}

.depthText {
  width: min(520px, 100%);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 60px rgba(31, 31, 31, 0.14);
}

.depthPhoto {
  position: absolute;
  z-index: 1;
  width: min(64vw, 920px);
  height: 74vh;
  top: 50%;
  transform: translate3d(0, -50%, 0);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0.9;
  box-shadow: 0 24px 80px rgba(31, 31, 31, 0.18);
}

.depthPhotoLeft {
  left: 50px;
}

.depthPhotoRight {
  right: 50px;
}

.depthPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.depthSection + .depthSection {
  border-top: 1px solid var(--border);
}

.parallaxSection {
  position: relative;
  border-radius: var(--radius);
  overflow: clip;
  margin: var(--space-6) 0;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.35);
}

.parallaxBg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  filter: saturate(0.95) contrast(0.98);
}

.parallaxShade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 247, 242, 0.72) 0%,
    rgba(250, 247, 242, 0.86) 45%,
    rgba(250, 247, 242, 0.92) 100%
  );
}

.parallaxFg {
  position: relative;
  padding: var(--space-6);
}

.parallaxColumns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -1px;
  margin: 0 0 var(--space-4);
  font-weight: 800;
}

.depthTitle {
  flex: 1;
  padding-top: calc(var(--space-5) + var(--space-6) + 39px);
  padding-right: 50px;
}

.depthTitle h1 {
  margin: 0;
}

h2 {
  font-size: 20px;
  line-height: 1.25;
  margin: var(--space-6) 0 var(--space-3);
  font-weight: 800;
  letter-spacing: -0.2px;
}

.accentEm {
  color: var(--accent);
  font-style: italic;
}

p {
  margin: 0 0 var(--space-3);
  color: var(--text);
}

ul {
  margin: 0 0 var(--space-4);
  padding-left: 22px;
}

.strumetricShotAnchor {
  position: relative;
}

.strumetricScreenshot {
  position: absolute;
  top: 0;
  right: 100px;
  width: min(520px, 44vw);
  height: auto;
  border-radius: 14px;
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.18);
}

@media (max-width: 900px) {
  .strumetricScreenshot {
    position: static;
    display: block;
    width: 100%;
    margin-top: var(--space-3);
  }
}

.cardGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
}

.cardTitle {
  margin: 0 0 var(--space-2);
  font-weight: 800;
}

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

.card .btnLink {
  margin-top: auto;
  align-self: flex-start;
}

.btnLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(26, 122, 67, 0.10);
  border: 1px solid rgba(26, 122, 67, 0.25);
  text-decoration: none;
  font-weight: 750;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.btnLinkStack {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 14px;
}

.btnLinkStack .btnMain {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
}

.btnLinkStack .btnSub {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.1;
  color: var(--muted);
}

.btnLink:hover {
  background: rgba(232, 248, 240, 1);
  border-color: rgba(46, 204, 113, 0.35);
}

.btnLinkDisabled {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(0, 0, 0, 0.10);
  color: rgba(31, 31, 31, 0.45);
  cursor: not-allowed;
  pointer-events: none;
}

.siteFooter {
  border-top: 1px solid var(--border);
  padding: var(--space-6) 0;
  background: rgba(255, 255, 255, 0.35);
}

.footerGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: start;
}

.footerTitle {
  margin: 0 0 var(--space-2);
  font-weight: 900;
}

.footerLinks a {
  display: inline-block;
  margin-right: 14px;
}

@media (max-width: 840px) {
  .cardGrid {
    grid-template-columns: 1fr;
  }

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

  .parallaxFg {
    padding: var(--space-5);
  }

  .depthSection {
    min-height: auto;
    display: block;
    padding: var(--space-6) 0;
  }

  .depthPhoto {
    position: relative;
    width: calc(100% - 36px);
    height: 38vh;
    top: auto;
    left: auto;
    right: auto;
    margin: 0 auto var(--space-5);
    transform: none !important;
  }

  .depthContent {
    display: block;
  }

  .depthText {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .parallaxBg {
    will-change: auto;
  }
}
