:root {
  color-scheme: light;
  --bg: #d9d9d6;
  --text: #101010;
  --muted: #343735;
  --line: rgba(16, 16, 16, 0.48);
  --surface: #ecece9;
  --navy: #183d4a;
  --navy-deep: #102f3a;
  --mint: #bce7db;
  --teal: #4c9f97;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.42), transparent 25%),
    radial-gradient(circle at 84% 32%, rgba(255, 255, 255, 0.26), transparent 22%),
    var(--bg);
  font-family: "Outfit", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(1180px, calc(100% - 4.5rem));
  margin: 0 auto;
  padding: 1.3rem 0 2.2rem;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.7rem;
  box-shadow: 0 10px 24px rgba(16, 16, 16, 0.2);
}

.logo-copy {
  display: grid;
  line-height: 1;
}

.logo-kicker {
  font-size: 0.78rem;
  font-weight: 500;
}

.logo-name {
  margin-top: 0.2rem;
  font-family: "Syne", sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-links a {
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 0.35rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  text-decoration: underline;
}

main {
  display: grid;
  gap: clamp(6rem, 10vw, 10rem);
  margin-top: 2.8rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Syne", sans-serif;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(300px, 420px);
  gap: 1.6rem;
  align-items: start;
}

.hero h1 {
  font-size: clamp(3.2rem, 8vw, 5.6rem);
}

.hero-intro-title {
  max-width: 20ch;
  margin: clamp(4.8rem, 15vw, 8.5rem) 0 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
  font-weight: 700;
  line-height: 1.1;
}

.lead {
  max-width: 37ch;
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.4;
}

.hero-visual-wrap {
  display: flex;
  justify-content: flex-end;
  padding-top: 2.7rem;
}

.hero-visual {
  width: min(52vw, 610px);
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(25deg, rgba(255, 255, 255, 0.08), rgba(16, 16, 16, 0.12)),
    url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1200&q=82") center / cover;
  box-shadow: 0 30px 65px rgba(16, 16, 16, 0.18);
}

.services {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.services-title h2,
.brand-copy h2,
.contact-copy h2 {
  font-size: clamp(2.9rem, 6.5vw, 5rem);
}

.service-item {
  border-top: 1px solid var(--line);
  padding: 0.72rem 0;
}

.service-item:last-child {
  border-bottom: 1px solid var(--line);
}

.service-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.6rem, 3.6vw, 2.65rem);
  letter-spacing: -0.04em;
}

.service-item summary::-webkit-details-marker {
  display: none;
}

.marker::before {
  content: "+";
  font-family: "Outfit", sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
}

.service-item[open] .marker::before {
  content: "−";
}

.service-item p {
  max-width: 60ch;
  margin: 0.6rem 0 0.2rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.products {
  position: relative;
  width: calc(100% + 3rem);
  margin-left: -1.5rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  border-radius: 2.2rem;
  color: #f5f8f6;
  background:
    radial-gradient(circle at 88% 12%, rgba(188, 231, 219, 0.22), transparent 27%),
    radial-gradient(circle at 5% 94%, rgba(76, 159, 151, 0.2), transparent 24%),
    var(--navy-deep);
  box-shadow: 0 35px 80px rgba(16, 47, 58, 0.22);
}

.product-heading {
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) minmax(240px, 0.8fr);
  column-gap: 3rem;
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.product-heading .eyebrow {
  grid-column: 1 / -1;
}

.eyebrow-light {
  color: var(--mint);
}

.product-heading h2 {
  max-width: 14ch;
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.product-heading > p:last-child {
  max-width: 38ch;
  margin: 0;
  color: rgba(245, 248, 246, 0.72);
  font-size: 1.06rem;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(460px, 1.28fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.firma-logo {
  width: min(300px, 72%);
  height: auto;
  margin: 0 0 2rem;
  padding: 0.9rem 1.2rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.96);
}

.product-kicker {
  margin: 0 0 0.7rem;
  color: var(--mint);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.product-copy h3 {
  max-width: 12ch;
  font-size: clamp(2.35rem, 4.5vw, 4rem);
}

.product-description {
  max-width: 42ch;
  margin: 1.3rem 0;
  color: rgba(245, 248, 246, 0.78);
  font-size: 1.05rem;
}

.product-benefits {
  display: grid;
  gap: 0.55rem;
  margin: 1.4rem 0 2rem;
  padding: 0;
  list-style: none;
}

.product-benefits li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.product-benefits li::before {
  content: "✓";
  color: var(--mint);
  font-weight: 800;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  color: var(--navy-deep);
  background: var(--mint);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.product-cta:hover,
.product-cta:focus-visible {
  background: #d5f3ea;
  transform: translateY(-2px);
}

.product-gallery {
  position: relative;
  min-height: 510px;
}

.shot {
  position: absolute;
  margin: 0;
}

.shot img {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.3);
}

.shot figcaption {
  margin-top: 0.55rem;
  color: rgba(245, 248, 246, 0.68);
  font-size: 0.82rem;
}

.shot-portal {
  top: 0;
  right: 0;
  width: 86%;
}

.shot-dashboard {
  bottom: 0;
  left: 0;
  width: 88%;
}

.section-brand {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) 1fr;
  gap: clamp(2rem, 5vw, 4.8rem);
  align-items: center;
}

.brand-photo {
  width: 100%;
  min-height: 330px;
  border: 1px solid rgba(16, 16, 16, 0.25);
  background:
    linear-gradient(145deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.25)),
    url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1280&q=82") center / cover;
  clip-path: polygon(8% 6%, 58% 0%, 91% 7%, 97% 56%, 92% 93%, 48% 100%, 7% 94%, 0% 54%);
  box-shadow: 0 18px 48px rgba(16, 16, 16, 0.15);
}

.brand-copy p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  max-width: 39ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(270px, 1fr) minmax(340px, 1.12fr);
  gap: clamp(1.4rem, 5vw, 5rem);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 0.95rem;
}

.contact-form label {
  display: grid;
  gap: 0.38rem;
  font-size: 0.96rem;
  font-weight: 600;
}

.name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.contact-form small {
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.62;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 16, 16, 0.42);
  border-radius: 1.2rem;
  outline: none;
  background: rgba(236, 236, 233, 0.84);
  padding: 0.78rem 1rem;
  font: inherit;
}

.contact-form input {
  border-radius: 999px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(24, 61, 74, 0.12);
}

.contact-form button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.3rem;
  color: #fff;
  background: #253554;
  font: 700 0.9rem "Outfit", sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.footer {
  margin-top: clamp(5rem, 10vw, 9rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(16, 16, 16, 0.25);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-shell {
    width: min(100% - 2.4rem, 720px);
  }

  .topbar {
    align-items: flex-start;
  }

  .nav-links {
    max-width: 19rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 0.35rem;
  }

  .hero,
  .services,
  .section-brand,
  .contact,
  .product-heading,
  .product-card {
    grid-template-columns: 1fr;
  }

  .hero-intro-title {
    margin-top: 3rem;
  }

  .hero-visual-wrap {
    justify-content: center;
    padding-top: 0;
  }

  .hero-visual {
    width: min(100%, 520px);
  }

  .product-heading {
    gap: 1.1rem;
  }

  .product-gallery {
    min-height: 530px;
  }

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

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 1.5rem, 520px);
    padding-top: 0.85rem;
  }

  .topbar {
    display: grid;
  }

  .nav-links {
    max-width: none;
    justify-content: flex-start;
    font-size: 0.9rem;
  }

  main {
    gap: 5.5rem;
    margin-top: 2rem;
  }

  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero h1 {
    font-size: clamp(3rem, 19vw, 5rem);
  }

  .products {
    width: calc(100% + 0.5rem);
    margin-left: -0.25rem;
    padding: 1.35rem;
    border-radius: 1.35rem;
  }

  .product-gallery {
    display: grid;
    gap: 1rem;
    min-height: 0;
  }

  .shot {
    position: static;
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
