/* AYVEO landing — Beige / Charcoal / Sage · Designkonzept v1 */

:root {
  --beige: #f6f3ee;
  --beige-deep: #efece5;
  --beige-card: #f1eee8;
  --charcoal: #1a1816;
  --charcoal-soft: #3a3632;
  --muted: #6b6560;
  --sage: #7a8a6e;
  --sage-text: #55634a;
  --sage-soft: #dce3d7;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --max: 1080px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino,
    "Times New Roman", serif;
  --space: clamp(1rem, 3.5vw, 2rem);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--beige);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--charcoal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--sage);
}

a:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--charcoal);
  color: var(--beige);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

.wordmark {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  line-height: 1;
}

.site-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(26, 24, 22, 0.06);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.nav a {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--charcoal-soft);
}

.nav a:hover {
  color: var(--charcoal);
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2rem);
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.85fr;
  }
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 4.8vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1.1rem;
  color: var(--charcoal);
}

.hero .claim {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin: 0 0 0.85rem;
}

.hero .lede {
  max-width: 28rem;
  margin: 0 0 1.5rem;
  color: var(--charcoal-soft);
  font-size: 1.05rem;
}

.cta-meta {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
  font-weight: 400;
}

.hero-phone {
  justify-self: center;
  width: min(240px, 62vw);
}

@media (min-width: 860px) {
  .hero-phone {
    width: min(260px, 100%);
  }
}

.phone-frame {
  background: var(--charcoal);
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(26, 24, 22, 0.12);
}

.phone-frame img {
  border-radius: 20px;
  width: 100%;
  height: auto;
  background: var(--beige-deep);
}

/* Demo banner — under hero */
.demo-note {
  padding: 0 0 clamp(2rem, 5vw, 3rem);
}

.demo-note .box {
  background: var(--sage-soft);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--charcoal);
  border: 1px solid rgba(122, 138, 110, 0.25);
}

.demo-note .box strong {
  font-weight: 600;
}

.demo-note .box span {
  display: block;
  margin-top: 0.35rem;
  color: var(--charcoal-soft);
  font-size: 0.88rem;
}

/* Flows */
.flows {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-text);
  font-weight: 600;
  margin: 0 0 0.6rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  line-height: 1.2;
  margin: 0 0 0.6rem;
}

.section-intro {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 2.5rem;
}

.flow {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(26, 24, 22, 0.08);
}

@media (min-width: 800px) {
  .flow {
    grid-template-columns: 1fr 220px;
    gap: 2.5rem;
  }
  .flow:nth-of-type(even) {
    grid-template-columns: 220px 1fr;
  }
  .flow:nth-of-type(even) .flow-copy {
    order: 2;
  }
  .flow:nth-of-type(even) .flow-phone {
    order: 1;
  }
}

.flow-num {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-text);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.flow h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

ol.steps {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0;
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  line-height: 1.5;
}

ol.steps li {
  display: inline;
  margin: 0;
  padding: 0;
}

ol.steps li + li::before {
  content: "→";
  content: "→" / "";
  display: inline;
  margin: 0 0.4em;
  color: var(--muted);
  opacity: 0.7;
  speak: never;
}

.flow p {
  margin: 0;
  color: var(--charcoal-soft);
  font-size: 0.98rem;
  max-width: 34rem;
}

.flow-phone {
  width: min(200px, 55vw);
  justify-self: center;
}

@media (min-width: 800px) {
  .flow-phone {
    width: 200px;
  }
}

.flow-phone figcaption {
  margin-top: 0.65rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(26, 24, 22, 0.08);
  padding: 2rem 0 2.5rem;
}

.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--charcoal-soft);
}

.footer-links a:hover {
  color: var(--charcoal);
}

/* Legal placeholders */
.legal {
  padding: clamp(3rem, 8vw, 5rem) 0;
  max-width: 40rem;
}

.legal h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 1rem;
}

.legal .badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--sage-soft);
  color: var(--charcoal);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.legal p {
  color: var(--charcoal-soft);
}

.back {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.9rem;
}
