/* FOB Hop LLC company site. Local assets and system fonts only. No trackers. */

:root {
  --olive: #4b5320;
  --sand: #d8c8a0;
  --cream: #f5efe0;
  --navy: #1f2a44;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.55;
}

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

a {
  color: var(--olive);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover,
a:focus-visible {
  color: var(--navy);
}

.page {
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* Home and 404: vertically centered hero */
.hero-page main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero {
  text-align: center;
  padding: max(1.75rem, env(safe-area-inset-top)) 1.5rem 2.25rem;
  max-width: 36rem;
  margin: 0 auto;
  width: 100%;
}

.logo {
  display: block;
  width: min(10.5rem, 52vw);
  height: auto;
  margin: 0 auto;
}

h1 {
  font-weight: 650;
  font-size: clamp(2rem, 8vw, 3.15rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin: 1rem 0 0;
}

.tm {
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: super;
  line-height: 0;
  margin-left: 0.08em;
}

.coming,
.status {
  margin: 0.9rem 0 0;
  font-size: clamp(1.15rem, 4.4vw, 1.5rem);
  font-weight: 650;
  color: var(--olive);
}

.note {
  margin: 0.75rem 0 0;
  font-size: 1.05rem;
}

.contact {
  margin: 1.35rem 0 0;
  font-size: 1.05rem;
}

.contact a {
  font-weight: 700;
}

.home-link {
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
}

/* Privacy and other document pages */
.doc-header {
  padding: max(1.15rem, env(safe-area-inset-top)) 1.5rem 0.75rem;
}

.doc-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
}

.doc-brand:hover,
.doc-brand:focus-visible {
  color: var(--olive);
}

.doc-brand .logo-small {
  width: 3rem;
  height: 3rem;
  display: block;
}

.doc-brand .tm {
  font-size: 0.55em;
}

.doc {
  max-width: 38rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2.5rem;
  width: 100%;
}

.doc h1 {
  font-size: clamp(1.65rem, 5.5vw, 2.15rem);
  letter-spacing: 0.01em;
  margin: 0;
}

.doc .effective {
  margin: 0.45rem 0 1.35rem;
  color: var(--olive);
  font-weight: 650;
  font-size: 1rem;
}

.doc h2 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 1.5rem 0 0.4rem;
}

.doc p {
  margin: 0.45rem 0 0;
}

footer {
  flex: 0 0 auto;
  background: var(--navy);
  color: var(--cream);
  padding: 1.15rem 1.25rem max(1.15rem, env(safe-area-inset-bottom));
  font-size: 0.92rem;
}

footer p {
  max-width: 38rem;
  margin: 0.3rem auto;
  text-align: center;
}

footer a {
  color: var(--cream);
  font-weight: 600;
}

footer a:hover,
footer a:focus-visible {
  color: var(--sand);
}

@media (min-width: 720px) {
  .hero {
    padding: 3.25rem 2rem 3rem;
  }

  .logo {
    width: min(12rem, 36vw);
  }

  .doc-header {
    padding-top: 1.5rem;
  }

  .doc {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
  }
}


@media (max-width: 480px) {
  .footer-rest {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
