/* Synthesizer Drug Co. — minimal landing page */

:root {
  --blue: #3ABEEA;
  --green: #4AF262;
  --ink: #111111;
  --paper: #ffffff;
  --rule: #222222;
  --page-max: 1500px;
}

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

html {
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-shell {
  width: min(100% - 64px, var(--page-max));
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(430px, 1.08fr);
  align-items: center;
  gap: clamp(56px, 7vw, 120px);
  padding: clamp(52px, 8vh, 110px) 0 clamp(44px, 7vh, 90px);
}

.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cabinet {
  display: block;
  width: min(100%, 620px);
  height: auto;
}

.hero-copy {
  width: min(100%, 680px);
  justify-self: center;
  text-align: center;
}

.logo {
  display: block;
  width: min(100%, 610px);
  height: auto;
  margin: 0 auto clamp(46px, 5.3vw, 72px);
}

h1 {
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(1.35rem, 1.48vw, 1.85rem);
  line-height: 1.34;
  font-weight: 700;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.company-details {
  margin-top: clamp(62px, 7vw, 96px);
  font-size: clamp(1rem, 1.02vw, 1.18rem);
  line-height: 1.55;
}

.company-details p {
  margin: 0;
}

.company-details p + p {
  margin-top: 18px;
}

.company-details a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.company-details a:hover,
.company-details a:focus-visible {
  text-decoration-color: var(--green);
}

.site-footer {
  padding-bottom: 28px;
}

.footer-rule {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.footer-rule .rule {
  height: 1px;
  background: var(--rule);
}

.footer-rule img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.site-footer p {
  margin: 7px 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
}

/* Tablet */
@media (max-width: 980px) {
  .page-shell {
    width: min(100% - 48px, 900px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 56px;
  }

  .hero-copy {
    order: -1;
  }

  .logo {
    width: min(88%, 560px);
    margin-bottom: 38px;
  }

  h1 {
    max-width: 650px;
    font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  }

  .company-details {
    margin-top: 48px;
  }

  .cabinet {
    width: min(78vw, 600px);
  }
}

/* Phone */
@media (max-width: 600px) {
  .page-shell {
    width: min(100% - 32px, 520px);
  }

  .hero {
    gap: 22px;
    padding: 38px 0 48px;
  }

  .logo {
    width: 100%;
    margin-bottom: 30px;
  }

  h1 {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .company-details {
    margin-top: 38px;
    font-size: 0.98rem;
  }

  .cabinet {
    width: min(100%, 480px);
  }

  .footer-rule {
    gap: 8px;
  }

  .footer-rule img {
    width: 48px;
    height: 48px;
  }

  .site-footer {
    padding-bottom: 22px;
  }

  .site-footer p {
    font-size: 0.72rem;
  }
}
