/* ---------------------------------------------------------------------
   Waren: marketing site
   Plain, standard SaaS layout. White background, black text, no accent
   color. Inter throughout, matching the app's own font.
--------------------------------------------------------------------- */

:root {
  --canvas: #ffffff;
  --canvas-soft: #f7f7f8;
  --ink: #0a0a0a;
  --ink-secondary: #52525b;
  --ink-faint: #71717a;
  --hairline: #e4e4e7;

  --font-body: "InterVariable", "Inter", -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
}

/* ---------------------------------------------------------------------
   Nav
--------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out-expo);
}

.nav.is-scrolled {
  border-bottom-color: var(--hairline);
}

.nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.9rem clamp(1.25rem, 1rem + 2vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* ---------------------------------------------------------------------
   Mark / wordmark
--------------------------------------------------------------------- */

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.mark svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.mark-small {
  font-size: 0.9375rem;
}

/* ---------------------------------------------------------------------
   Buttons & links
--------------------------------------------------------------------- */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--canvas);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 0.85em 1.5em;
  border-radius: 8px;
  transition: transform 0.2s var(--ease-out-expo), background 0.2s var(--ease-out-expo);
}

.btn-primary:hover {
  background: #262626;
  transform: translateY(-1px);
}

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

.btn-small {
  padding: 0.55em 1.1em;
  font-size: 0.875rem;
  border-radius: 6px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-secondary);
  text-decoration: none;
  padding: 0.85em 0.2em;
  transition: color 0.2s var(--ease-out-expo);
}

.link-arrow::after {
  content: "\2192";
  display: inline-block;
  transition: transform 0.25s var(--ease-out-expo);
}

.link-arrow:hover {
  color: var(--ink);
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

/* ---------------------------------------------------------------------
   Hero
--------------------------------------------------------------------- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1rem, 0.85rem + 0.8vw, 1.5rem);
  padding: clamp(4rem, 7vh, 6.5rem) clamp(1.5rem, 1rem + 4vw, 5rem) clamp(2.5rem, 4vh, 3.5rem);
  max-width: 48rem;
  margin: 0 auto;
}

.hero-title {
  font-weight: 800;
  font-size: clamp(2.25rem, 1.7rem + 4.5vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero-sub {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 36rem;
  margin: 0;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.format-strip {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  margin: 0.75rem 0 0;
}

/* ---------------------------------------------------------------------
   Demo video
--------------------------------------------------------------------- */

.demo-wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 1rem + 2vw, 2.5rem) clamp(4rem, 7vh, 6rem);
}

.demo-frame {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
  background: var(--canvas-soft);
  box-shadow: 0 24px 60px -24px rgba(10, 10, 10, 0.16);
}

.demo-video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--ink);
}

/* ---------------------------------------------------------------------
   Features
--------------------------------------------------------------------- */

.features {
  max-width: 64rem;
  margin: 0 auto;
  padding: clamp(1rem, 2vh, 2rem) clamp(1.25rem, 1rem + 2vw, 2.5rem) clamp(4rem, 6vh, 6rem);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: clamp(2rem, 4vh, 3rem) 0;
}

.feature-row--lead {
  padding-bottom: clamp(3rem, 6vh, 4.5rem);
}

.feature-row h2,
.feature-row h3 {
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
}

.feature-row h3 {
  font-size: 1.375rem;
}

.feature-row p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
  max-width: 42rem;
}

.feature-row--lead h2 {
  font-size: clamp(1.625rem, 1.4rem + 1vw, 2rem);
}

.feature-row--lead p {
  font-size: 1.0625rem;
}

@media (min-width: 48rem) {
  .feature-row {
    grid-template-columns: 18rem 1fr;
    align-items: baseline;
    gap: 2rem;
  }
}

/* ---------------------------------------------------------------------
   Final CTA
--------------------------------------------------------------------- */

.final-cta {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(4rem, 7vh, 6rem) clamp(1.5rem, 1rem + 4vw, 5rem) clamp(6rem, 10vh, 8rem);
}

.final-cta h2 {
  font-size: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

.final-cta p {
  color: var(--ink-secondary);
  font-size: 1.0625rem;
  margin: 0 0 1.75rem;
}

/* ---------------------------------------------------------------------
   Footer
--------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--hairline);
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.75rem clamp(1.25rem, 1rem + 2vw, 2.5rem);
  display: flex;
  align-items: center;
}

/* ---------------------------------------------------------------------
   Reveal animations
--------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

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