:root {
  --content-max: 40rem;
  --page-padding: clamp(1.25rem, 4vw, 2.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

body {
  margin: 0;
  overscroll-behavior: none;
  background-color: #101a07;
  color: #e8ebe3;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(0.9375rem, 1.5vw, 1rem);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  scroll-snap-type: y proximity;
}

.site-logo {
  position: fixed;
  top: var(--page-padding);
  left: var(--page-padding);
  z-index: 100;
  line-height: 0;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.site-logo:hover {
  opacity: 1;
}

.site-logo img {
  display: block;
  width: 4rem;
  height: 4rem;
}

.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
  width: 100%;
  min-height: 100dvh;
  height: 100dvh;
  padding: var(--page-padding);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(90vw, 42rem);
  height: min(70vh, 32rem);
  transform: translate(-50%, -55%);
  background: radial-gradient(
    ellipse at center,
    rgba(120, 160, 90, 0.14) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.scroll-chevron {
  position: absolute;
  bottom: clamp(0.75rem, 2vh, 1.25rem);
  left: max(var(--page-padding), calc((100% - var(--content-max)) / 2));
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  margin-left: -0.5rem;
  color: rgba(168, 181, 154, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}

.scroll-chevron:hover {
  color: rgba(197, 212, 184, 0.75);
}

.scroll-chevron svg {
  transform-origin: center;
}

.headline {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #f2f4ee;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.375rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: #d4e4c4;
  color: #101a07;
}

.btn-primary:hover {
  background: #e8f2dc;
}

.btn-ghost {
  border: 1px solid rgba(168, 181, 154, 0.35);
  color: #c5d4b8;
}

.btn-ghost:hover {
  border-color: rgba(197, 212, 184, 0.55);
  background: rgba(168, 181, 154, 0.08);
}

.what-we-build {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 100dvh;
  padding: var(--page-padding);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero,
.what-we-build-inner,
.footer-inner,
.legal-content {
  width: 100%;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  margin: 0 0 clamp(1.25rem, 3vh, 2rem);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #f2f4ee;
}

.product-list {
  display: flex;
  flex-direction: column;
}

.product + .product {
  margin-top: clamp(1.5rem, 3vh, 2rem);
  padding-top: clamp(1.5rem, 3vh, 2rem);
  border-top: 1px solid rgba(168, 181, 154, 0.18);
}

.product-icon {
  display: block;
  width: clamp(2.75rem, 6vh, 3.5rem);
  height: clamp(2.75rem, 6vh, 3.5rem);
  margin-bottom: clamp(0.75rem, 2vh, 1.25rem);
  border-radius: 22.37%;
  object-fit: cover;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.2);
}

.product-title {
  margin: 0 0 clamp(0.5rem, 1.5vh, 0.875rem);
  font-size: clamp(1rem, 2vh, 1.125rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f2f4ee;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-link:hover {
  color: #c5d4b8;
}

.product-link-icon {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-link:hover .product-link-icon {
  opacity: 1;
  transform: translate(1px, -1px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-body {
  margin: 0 0 clamp(0.5rem, 1.5vh, 0.75rem);
  font-size: clamp(0.8125rem, 1.6vh, 0.875rem);
  line-height: 1.5;
  color: #a8b59a;
}

.product-body:last-child {
  margin-bottom: 0;
}

.footer {
  background-color: #1f2619;
  padding: clamp(2.75rem, 7vw, 4rem) var(--page-padding) clamp(2.5rem, 6vw, 4rem);
}

@media (max-width: 40rem) {
  .what-we-build {
    align-items: flex-start;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
    padding-top: clamp(2rem, 6vh, 3rem);
    padding-bottom: clamp(2rem, 6vh, 3rem);
  }

  .what-we-build-inner {
    padding-top: 4.5rem;
  }
}

@media (max-height: 40rem) {
  .headline {
    margin-bottom: 1.25rem;
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }

  .what-we-build {
    align-items: flex-start;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .product-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.625rem;
  }

  .btn {
    min-height: 2.5rem;
    font-size: 0.8125rem;
  }
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-row-top {
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(168, 181, 154, 0.15);
}

.footer-row-bottom {
  padding-top: clamp(1.5rem, 3vw, 2rem);
  align-items: center;
}

.footer-office {
  text-align: right;
}

.footer-email,
.footer-address,
.footer-copyright,
.footer-links {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #6d7f5e;
}

.footer-email {
  text-decoration: none;
}

.footer-email:hover,
.footer-links a:hover {
  color: #a8b59a;
}

.footer-address {
  margin: 0;
  font-style: normal;
}

.footer-copyright {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links-sep {
  opacity: 0.6;
}

@media (max-width: 40rem) {
  .footer-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-office {
    text-align: left;
  }

  .footer-row-bottom {
    align-items: flex-start;
  }
}

.legal-page {
  min-height: 100dvh;
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
}

.legal-content {
  padding-top: calc(var(--page-padding) + 4.75rem);
  padding-bottom: clamp(3rem, 6vw, 4rem);
}

.legal-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f2f4ee;
}

.legal-effective {
  margin: 0 0 2rem;
  font-size: 0.875rem;
  color: #7d9468;
}

.legal-content section {
  margin-bottom: 2rem;
}

.legal-content h2 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #f2f4ee;
}

.legal-content p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #a8b59a;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #a8b59a;
}

.legal-content li {
  margin-bottom: 0.35rem;
}

.legal-content a {
  color: #c5d4b8;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-content a:hover {
  color: #e8ebe3;
}
