/* HermesShare landing page — CSP-safe: no inline styles, no web fonts, no third-party assets. */
:root {
  --blue: #0040f5;
  --blue-hover: #0034d1;
  --ink: #02042b;
  --text: #11152e;
  --sky: #fcfdfe;
  --gutter: max(16px, 3.6vw);
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
          "Helvetica Neue", Roboto, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--sky);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(32px, 6vh, 80px) var(--gutter);
  background-color: var(--sky);
  background-image: url("hermes-hero.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  width: min(100%, 860px);
  animation: rise .7s cubic-bezier(.2, .7, .2, 1) both;
}

.hero-subtitle {
  margin: 0 0 .7em;
  color: var(--blue);
  font-size: clamp(.95rem, 1.45vw, 1.4rem);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-headline {
  margin: 0;
  font-size: clamp(2.6rem, 4.6vw, 5.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.hero-brand {
  display: block;
  color: var(--ink);
}

.hero-tagline {
  display: block;
  color: var(--blue);
}

.hero-tagline .line { display: block; white-space: nowrap; }

.hero-art { display: none; }

.hero-description {
  max-width: 26em;
  margin: clamp(18px, 2.4vh, 28px) 0 0;
  color: var(--text);
  font-size: clamp(1.05rem, 1.5vw, 1.55rem);
  line-height: 1.32;
}

.hero-primary-button {
  display: inline-flex;
  align-items: center;
  gap: .85em;
  margin-top: clamp(22px, 3vh, 34px);
  padding: .82em 1.9em .82em 1.75em;
  min-height: 56px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-size: clamp(1.15rem, 1.9vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  box-shadow: 0 10px 28px -8px rgba(0, 52, 210, .55), 0 2px 6px rgba(0, 30, 120, .18);
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.hero-primary-button:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -8px rgba(0, 52, 210, .6), 0 2px 6px rgba(0, 30, 120, .2);
}

.hero-primary-button:active { transform: translateY(0); }

.hero-primary-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--blue);
}

.btn-icon, .btn-arrow { flex: none; width: 1.1em; height: 1.1em; }
.btn-arrow { transition: transform .15s ease; }
.hero-primary-button:hover .btn-arrow { transform: translateX(3px); }

.btn-divider {
  flex: none;
  width: 1.5px;
  height: 1.3em;
  background: rgba(255, 255, 255, .55);
}

.btn-label { margin-right: .25em; }

.hero-trust-text {
  display: flex;
  align-items: center;
  gap: .6em;
  margin: clamp(16px, 2.2vh, 24px) 0 0;
  color: var(--text);
  font-size: clamp(1.05rem, 1.65vw, 1.6rem);
  font-style: italic;
  letter-spacing: -.01em;
}

.trust-icon {
  flex: none;
  width: 1.65em;
  height: 1.65em;
  color: var(--blue);
}

/* ---- Art placement ---------------------------------------------------- */
/* Narrower than the art's 1655:950: fill height, nudge right, soft fade behind the copy */
@media (min-width: 821px) and (max-aspect-ratio: 1655/950) {
  .hero {
    background-image:
      linear-gradient(90deg, rgba(252, 253, 254, .9) 0%, rgba(252, 253, 254, .6) 34%, rgba(252, 253, 254, 0) 52%),
      url("hermes-hero.webp");
    background-size: auto, auto 100%;
    background-position: 0 0, right -6vw center;
  }
}

/* Tablets / small laptops: let the tagline wrap, keep copy narrow */
@media (min-width: 821px) and (max-width: 1180px) {
  .hero-headline { font-size: clamp(2.6rem, 5.4vw, 4rem); }
  .hero-tagline .line { display: inline; white-space: normal; }
  .hero-tagline { max-width: 11ch; }
  .hero-description { max-width: 22em; }
}

/* Phones / portrait tablets: one screen, Hermes behind the copy under a light veil for legibility */
@media (max-width: 820px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 6vh, 56px) var(--gutter);
    background-image:
      linear-gradient(180deg, rgba(252, 253, 254, .86) 0%, rgba(252, 253, 254, .7) 45%, rgba(252, 253, 254, .4) 100%),
      url("hermes-hero.webp");
    background-size: auto, cover;
    background-position: 0 0, 70% center;
  }
  .hero-content { width: 100%; }
  .hero-tagline .line { display: inline; white-space: normal; }
  .hero-primary-button { width: 100%; max-width: 440px; justify-content: center; }
  .hero-art { display: none; }
}

@media (max-width: 380px) {
  .hero-headline { font-size: 2.35rem; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content { animation: none; }
  .hero-primary-button, .btn-arrow { transition: none; }
}
