/* Strenoa marketing site — shared design tokens mirror app.strenoa.com */

/* DM Sans — self-hosted (basic latin + latin-ext), weights used by the brand */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-marketing-bg: #0c0c0c;
  --color-text-primary: #f2f2f2;
  --color-text-muted: #8a8a8a;
  --color-border-subtle: #222;
  --color-accent-action: #2dd4bf;
  --color-accent-action-fg: #042f2e;
  --color-accent-primary: #e5e5e5;
  --color-accent-primary-hover: #fff;

  --font-sans: "DM Sans", "DM Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--color-marketing-bg);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Blue glow at the top, identical to the app's marketing shell */
.glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 70% at 50% -15%, rgba(59, 130, 246, 0.35), transparent 68%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(96, 165, 250, 0.16), transparent 55%);
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

@media (max-width: 640px) {
  .page {
    padding: 1.5rem 1rem;
  }
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  height: 1.75rem;
  width: auto;
  object-fit: contain;
  object-position: left;
}

.header-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.header-link:hover {
  color: var(--color-text-primary);
}

/* Hero — equal spacers pin brand in the middle; cue centers in the lower gap */
.hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  min-height: calc(100svh - 6rem);
  padding: 0;
}

.hero-top-spacer,
.hero-cue-zone {
  flex: 1 1 0;
  min-height: 0;
}

.hero-main {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-cue-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.5rem;
}

.hero .logo-mark {
  display: block;
  height: clamp(19rem, 51vw, 34rem);
  aspect-ratio: 859 / 740;
  width: auto;
  max-width: min(100%, 41rem);
  margin-bottom: 0;
  border: none;
  pointer-events: none;
}

@media (max-width: 640px) {
  .hero .logo-mark {
    height: clamp(15rem, 58vw, 22rem);
    max-width: min(100%, 31rem);
  }
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero .tagline {
  margin: calc(-1 * clamp(2.5rem, 7vw, 4.5rem)) auto 0;
  max-width: 28rem;
  color: var(--color-text-muted);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.hero .subtitle {
  margin: 1.25rem auto 0;
  max-width: 34rem;
  color: var(--color-text-muted);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
}

.cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

.explore-cue {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-primary);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.35s ease, transform 0.35s ease;
  animation: explore-pulse 2.4s ease-in-out infinite;
}

.explore-cue:hover {
  color: #fff;
}

.explore-cue.is-hidden {
  opacity: 0;
  transform: translateY(0.35rem);
  pointer-events: none;
  animation: none;
}

@keyframes explore-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
    color: var(--color-text-muted);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .explore-cue {
    animation: none;
    opacity: 1;
    color: var(--color-text-primary);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.375rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--color-accent-primary);
  color: #0a0a0a;
}

.btn-primary:hover {
  background-color: var(--color-accent-primary-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-border-subtle);
}

.btn-secondary:hover {
  border-color: #3a3a3a;
  background-color: rgba(255, 255, 255, 0.03);
}

/* Feature stack */
.features {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(3rem, 8vw, 4.5rem);
  padding: 1rem 0 2rem;
  scroll-margin-top: 1.5rem;
}

.feature {
  margin: 0;
  width: 100%;
  max-width: 24rem;
}

.feature img {
  display: block;
  width: 100%;
  height: auto;
}

/* Closing CTA */
.closing-cta {
  text-align: center;
  padding: 3rem 0 4rem;
}

.closing-cta h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.closing-cta .cta-row {
  margin-top: 1.5rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

@media (min-width: 641px) {
  .site-footer {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
  }

  .footer-links {
    justify-content: flex-end;
  }
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--color-text-primary);
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.focus-ring:focus-visible {
  outline: 2px solid var(--color-accent-action);
  outline-offset: 2px;
  border-radius: 0.5rem;
}
