/* Vollholz — shared site styles (landing + legal chrome) */

:root {
  color-scheme: dark light;
  --vh-accent: #f9b233;
  --vh-accent-dim: #d9961f;
  --vh-brown: #432918;
  --vh-bg: #10131a;
  --vh-bg-elevated: #1a1f2a;
  --vh-bg-card: #222833;
  --vh-text: #f4f5f7;
  --vh-text-muted: #a8b0bd;
  --vh-border: rgba(255, 255, 255, 0.08);
  --vh-radius: 16px;
  --vh-radius-lg: 24px;
  --vh-max: 1120px;
  --vh-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --vh-bg: #f6f7f9;
    --vh-bg-elevated: #ffffff;
    --vh-bg-card: #ffffff;
    --vh-text: #1a1d24;
    --vh-text-muted: #5c6573;
    --vh-border: rgba(0, 0, 0, 0.08);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--vh-font);
  line-height: 1.55;
  color: var(--vh-text);
  background: var(--vh-bg);
}

a {
  color: var(--vh-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* —— Header —— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--vh-bg) 88%, transparent);
  border-bottom: 1px solid var(--vh-border);
}

.site-header__inner {
  max-width: var(--vh-max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--vh-text);
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand:hover {
  text-decoration: none;
  color: var(--vh-accent);
}

.site-brand__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.85rem;
  font-size: 0.88rem;
}

.site-nav a {
  color: var(--vh-text-muted);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--vh-accent);
  text-decoration: none;
}

.site-nav__cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--vh-accent);
  color: #1a1208 !important;
  font-weight: 600;
}

.site-nav__cta:hover {
  background: var(--vh-accent-dim);
  color: #1a1208 !important;
}

/* Mobile: header = logo only; links live in footer */
@media (max-width: 639px) {
  .site-header .site-nav {
    display: none;
  }

  .site-header__inner {
    justify-content: flex-start;
    padding: 0.65rem 1rem;
  }
}

/* Tablet: split header — brand row, then nav row */
@media (min-width: 640px) and (max-width: 959px) {
  .site-header__inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .site-header .site-nav {
    width: 100%;
    justify-content: center;
    gap: 0.5rem 1rem;
    padding-top: 0.6rem;
    margin-top: 0.1rem;
    border-top: 1px solid var(--vh-border);
  }
}

/* Desktop: single-row header */
@media (min-width: 960px) {
  .site-header__inner {
    padding: 0.85rem 1.25rem;
  }

  .site-nav {
    gap: 0.35rem 1.1rem;
    font-size: 0.9rem;
  }
}

/* —— Landing hero —— */

.hero {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 1rem 3rem;
}

@media (min-width: 640px) {
  .hero {
    padding: 3rem 1.25rem 3.5rem;
  }
}

@media (min-width: 960px) {
  .hero {
    padding: 3.5rem 1.25rem 4rem;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, color-mix(in srgb, var(--vh-accent) 22%, transparent), transparent),
    radial-gradient(ellipse 50% 40% at 100% 50%, color-mix(in srgb, var(--vh-brown) 35%, transparent), transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--vh-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.hero__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--vh-accent) 18%, transparent);
  color: var(--vh-accent);
  border: 1px solid color-mix(in srgb, var(--vh-accent) 35%, transparent);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--vh-text-muted);
  max-width: 36rem;
}

.hero__lead-en {
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  color: var(--vh-text-muted);
  font-style: italic;
  opacity: 0.85;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--vh-accent);
  color: #1a1208;
}

.btn--primary:hover {
  background: var(--vh-accent-dim);
  color: #1a1208;
}

.btn--ghost {
  background: var(--vh-bg-card);
  color: var(--vh-text);
  border: 1px solid var(--vh-border);
}

.btn--ghost:hover {
  border-color: color-mix(in srgb, var(--vh-accent) 40%, var(--vh-border));
  color: var(--vh-accent);
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__icon-wrap {
  width: min(280px, 72vw);
  aspect-ratio: 1;
  padding: 1.5rem;
  border-radius: var(--vh-radius-lg);
  background: var(--vh-bg-card);
  border: 1px solid var(--vh-border);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.25),
    0 0 0 1px color-mix(in srgb, var(--vh-accent) 12%, transparent) inset;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (prefers-color-scheme: light) {
  .hero__icon-wrap img.icon--dark {
    display: none;
  }
}

@media (prefers-color-scheme: dark) {
  .hero__icon-wrap img.icon--light {
    display: none;
  }
}

/* —— Sections —— */

.section {
  padding: 3.5rem 1.25rem;
}

.section--alt {
  background: var(--vh-bg-elevated);
  border-block: 1px solid var(--vh-border);
}

.section__inner {
  max-width: var(--vh-max);
  margin: 0 auto;
}

.section__header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section__header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section__header p {
  margin: 0;
  color: var(--vh-text-muted);
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--vh-radius);
  background: var(--vh-bg-card);
  border: 1px solid var(--vh-border);
}

.feature-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--vh-accent) 14%, transparent);
  font-size: 1.25rem;
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--vh-text-muted);
}

/* —— Download / CTA band —— */

.cta-band {
  text-align: center;
  padding: 3rem 1.25rem;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--vh-brown) 85%, #000),
    color-mix(in srgb, var(--vh-bg) 60%, var(--vh-brown))
  );
  color: #f8f4ef;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  opacity: 0.9;
}

.cta-band .btn--primary {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* —— Footer —— */

.site-footer {
  padding: 2rem 1rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--vh-border);
  background: var(--vh-bg-elevated);
}

@media (min-width: 640px) {
  .site-footer {
    padding: 2.5rem 1.25rem;
    background: transparent;
  }
}

.site-footer__inner {
  max-width: var(--vh-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

@media (max-width: 639px) {
  .site-footer__nav-block {
    order: -1;
  }
}

@media (min-width: 960px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
  }
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--vh-text);
}

.site-footer__brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.site-footer__nav-block {
  width: 100%;
}

@media (min-width: 960px) {
  .site-footer__nav-block {
    width: auto;
    flex: 1;
    max-width: 36rem;
  }
}

.site-footer__nav-title {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vh-text-muted);
}

@media (min-width: 960px) {
  .site-footer__nav-title {
    display: none;
  }
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  font-size: 0.9rem;
}

.site-footer__links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 0.65rem;
  text-align: center;
  color: var(--vh-text-muted);
  background: var(--vh-bg-card);
  border: 1px solid var(--vh-border);
  border-radius: 10px;
  text-decoration: none;
  line-height: 1.25;
}

.site-footer__links a:hover {
  color: var(--vh-accent);
  border-color: color-mix(in srgb, var(--vh-accent) 35%, var(--vh-border));
  text-decoration: none;
}

.site-footer__links .site-footer__link--cta {
  grid-column: 1 / -1;
  background: color-mix(in srgb, var(--vh-accent) 16%, var(--vh-bg-card));
  color: var(--vh-text);
  font-weight: 600;
  border-color: color-mix(in srgb, var(--vh-accent) 40%, var(--vh-border));
}

/* Tablet: footer nav less prominent (header has links) */
@media (min-width: 640px) and (max-width: 959px) {
  .site-footer__nav-title {
    display: none;
  }

  .site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .site-footer__links a {
    min-height: auto;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    justify-content: flex-start;
  }

  .site-footer__links .site-footer__link--cta {
    grid-column: auto;
    background: transparent;
    font-weight: 500;
    border: none;
  }

  .site-footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
  }

  .site-footer__nav-block {
    width: auto;
  }
}

/* Desktop: inline footer links */
@media (min-width: 960px) {
  .site-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem 1.25rem;
  }

  .site-footer__links a {
    min-height: auto;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    justify-content: flex-start;
  }

  .site-footer__links .site-footer__link--cta {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--vh-accent);
    color: #1a1208 !important;
    font-weight: 600;
  }

  .site-footer__links .site-footer__link--cta:hover {
    background: var(--vh-accent-dim);
    color: #1a1208 !important;
  }
}

.site-footer__meta {
  font-size: 0.8rem;
  color: var(--vh-text-muted);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* —— Legal pages —— */

.legal-page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
}

@media (min-width: 640px) {
  .legal-page {
    padding: 2rem 1.25rem 3rem;
  }
}

.legal-page h1 {
  font-size: 1.5rem;
  margin: 0 0 0.35rem;
}

.legal-page .meta {
  color: var(--vh-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.legal-page h2 {
  font-size: 1.1rem;
  margin-top: 1.75rem;
}

.legal-page p,
.legal-page li {
  margin: 0.5rem 0;
}

.legal-page ul,
.legal-page ol {
  padding-left: 1.25rem;
}

.legal-lang {
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.legal-lang a {
  color: var(--vh-text-muted);
}
