:root {
  --ink: #1d2421;
  --muted: #69716c;
  --line: #dce1dd;
  --surface: #f5f7f4;
  --accent: #3f5b4d;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: var(--surface);
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  width: min(100% - 4rem, 1280px);
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  width: min(300px, 52vw);
  height: auto;
  display: block;
}

.nav-link {
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--accent);
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero,
.product-page,
.support-page {
  width: min(100% - 4rem, 1280px);
  margin: 0 auto;
  flex: 1;
}

.hero {
  display: flex;
  align-items: center;
  padding: 7rem 0;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(3.25rem, 8vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

h1 span {
  color: var(--accent);
}

.intro {
  max-width: 480px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  color: var(--white);
  background: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--ink);
  transform: translateY(-2px);
}

.button span {
  font-size: 1.25rem;
  line-height: 0;
}

.product-page {
  display: flex;
  align-items: center;
  padding: 5rem 0;
}

.product-intro {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 430px);
  align-items: center;
  gap: clamp(3rem, 10vw, 10rem);
}

.product-copy h1 {
  font-size: clamp(3.5rem, 9vw, 8rem);
}

.product-logo-card {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 3rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.product-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.support-page {
  width: min(100% - 4rem, 1100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
  align-items: start;
  gap: clamp(3rem, 9vw, 8rem);
  padding: 5rem 0;
}

.support-information h1 {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
}

.information-placeholder {
  min-height: 180px;
}

.support-form {
  display: grid;
  gap: 1.5rem;
}

.form-field select {
  appearance: none;
  width: 100%;
  padding: 0.9rem 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(63, 91, 77, 0.14);
}

.is-hidden {
  display: none;
}

.support-form .button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.contact-page {
  width: min(100% - 4rem, 960px);
  margin: 0 auto;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) 1.25fr;
  align-items: center;
  gap: clamp(3rem, 10vw, 9rem);
  padding: 5rem 0;
}

.contact-intro h1 {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-field {
  display: grid;
  gap: 0.6rem;
}

.form-field label {
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(63, 91, 77, 0.14);
}

.contact-form .button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.form-response {
  width: min(100% - 4rem, 760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 8rem 0;
}

.form-response h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.site-footer {
  width: min(100% - 4rem, 1280px);
  margin: 0 auto;
  padding: 1.5rem 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
}

.site-footer p {
  margin: 0;
}

a:focus-visible {
  outline: 3px solid #9ab5a4;
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .site-header,
  .hero,
  .product-page,
  .support-page,
  .contact-page,
  .site-footer {
    width: min(100% - 2.5rem, 1280px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem 0;
  }

  .brand-link img {
    width: min(240px, 78vw);
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }

  .nav-link {
    font-size: 0.75rem;
  }

  .hero {
    align-items: flex-start;
    padding: 5rem 0 4rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5.25rem);
    letter-spacing: -0.06em;
  }

  .intro {
    font-size: 1rem;
  }

  .button {
    width: 100%;
    justify-content: space-between;
    margin-top: 2rem;
  }

  .product-page {
    align-items: flex-start;
    padding: 3.5rem 0;
  }

  .product-intro {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .product-logo-card {
    width: min(100%, 360px);
    padding: 2rem;
  }

  .contact-page {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3.5rem 0;
  }

  .contact-intro h1,
  .support-information h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .contact-form .button,
  .support-form .button {
    width: 100%;
  }

  .form-response {
    width: min(100% - 2.5rem, 760px);
    padding: 5rem 0;
  }

  .support-page {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3.5rem 0;
  }
}

@media (max-width: 380px) {
  .site-header,
  .hero,
  .product-page,
  .support-page,
  .contact-page,
  .site-footer,
  .form-response {
    width: min(100% - 2rem, 1280px);
  }

  .brand-link img {
    width: min(220px, 82vw);
  }

  .nav-link {
    font-size: 0.7rem;
  }

  .eyebrow {
    font-size: 0.68rem;
  }

  .form-field input,
  .form-field textarea,
  .form-field select {
    font-size: 0.95rem;
  }
}