@font-face {
  font-family: "cam";
  src: url(/fonts/CameraPlainVariable.ttf);
}
:root {
  --background: #ffffff;
  --foreground: #111827;
  --muted: #6b7280;
  --border: rgba(229, 231, 235, 0.6);
  --secondary: #1c882d;
  --primary: #07182f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

/* SECTION */
.hero-section {
  position: relative;
  overflow: hidden;
}

/* IMAGE */
.hero-img-wrapper {
  position: absolute;
  right: -4rem;
  top: 24rem;
  width: 100%;
  max-width: 42rem;
  aspect-ratio: 3 / 4;
  pointer-events: none;
}

.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;

  -webkit-mask-image: radial-gradient(
    ellipse 70% 75% at 75% 40%,
    black 60%,
    transparent 92%
  );
  mask-image: radial-gradient(
    ellipse 70% 75% at 75% 40%,
    black 60%,
    transparent 92%
  );
}

/* OVERLAYS */
.overlay-right {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.overlay-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 25%;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3));
}

/* CONTAINER */
.container {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

/* HEADER */
.header {
  margin-bottom: 2.5rem;
}

header a {
  text-decoration: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--muted);
}

.divider {
  color: var(--muted);
  font-weight: 400;
}

.brand {
  color: var(--secondary);
}

/* CONTENT */
.content {
  position: relative;
  z-index: 10;
  max-width: 42rem;
}

.content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.line {
  margin-top: 1.5rem;
  height: 4px;
  width: 4rem;
  background: var(--secondary);
  border-radius: 9999px;
}

.content p {
  margin-top: 1.5rem;
  font-size: 1.13rem;
  line-height: 1.625;
  color: var(--muted);
  max-width: 28rem;
}

/* FEATURES */
.features {
  margin-top: 10rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
}

/* CHECK ICON */
.check {
  width: 1.5rem;
  height: 1.5rem;
  background: var(--secondary);
  border-radius: 9999px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.check svg {
  width: 1rem;
  height: 1rem;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
}

/* CARDS */
.card {
  max-width: 48rem;
}

.mt-big {
  margin-top: 14rem;
}

.mt-small {
  margin-top: 1.5rem;
  margin-bottom: -1rem;
}

.card-content {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.card h3 {
  font-weight: 700;
  color: var(--foreground);
}

.card p {
  margin-top: 0.5rem;
  color: var(--muted);
}

svg {
  color: var(--secondary);
}

.card-content svg {
  flex-shrink: 0;
}

/* Card 1 */
.card:first-of-type svg {
  width: 40px;
  height: 40px;
}

/* Card 2 */
.card:last-of-type svg {
  width: 40px;
  height: 40px;
}

@media (min-width: 640px) {
  .hero-img-wrapper {
    right: -5rem;
    top: 25rem;
    width: 70%;
  }

  .content h1 {
    font-size: 3rem;
  }

  .features {
    margin-top: 12rem;
  }

  .mt-big {
    margin-top: 16rem;
  }
}

@media (min-width: 1024px) {
  .hero-img-wrapper {
    right: -6rem;
    top: 20rem;
    width: 60%;
  }

  .content h1 {
    font-size: 3.25rem;
  }

  .container {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
  }

  .header {
    margin-bottom: 3.5rem;
  }

  .features {
    margin-top: 14rem;
  }

  .mt-big {
    margin-top: 8rem;
  }
}

/* SECTION */
.features-section {
  border-top: 1px solid var(--border);
}

/* CONTAINER */
.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* GRID */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

/* ITEM */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ICON */
.feature-item .icon {
  width: 3rem;
  height: 3rem;
  color: var(--secondary);
}

/* TITLE */
.feature-item h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

/* TEXT */
.feature-item p {
  margin-top: 0.5rem;
  color: var(--muted);
  max-width: 16rem;
}

/* CTA */
.cta {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

/* BUTTON */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.375rem;
  background: var(--secondary);
  color: var(--background);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn:hover {
  background: rgba(28, 136, 45, 0.9);
}

/* md = 768px */
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .feature-item:not(:last-child) {
    border-right: 1px solid var(--border);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

/* FOOTER */
.footer {
  margin-top: auto;
  background: var(--primary);
  color: var(--background);
}

/* TOP */
.footer-top {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.footer-content {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

/* ICON */
.footer-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--secondary);
  flex-shrink: 0;
}

/* TEXT */
.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-sub {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.8);
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;

  display: flex;
  align-items: center;
  gap: 1.5rem;

  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* LINKS */
.footer-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--background);
}
