/* Vitanda — brand foundation */

:root {
  --sun-yellow: #F7C96A;
  --sun-orange: #F0894B;
  --sun: linear-gradient(150deg, #F8CE71 0%, #F2994A 55%, #EE7E45 100%);

  --green: #59BF85;
  --blue: #669EE6;
  --orange: #F58C61;
  --red: #EB6B73;
  --purple: #A680D1;
  --yellow: #F5BF61;
  --teal: #59B3BF;
  --indigo: #807AC7;

  --ink: #1C1E26;
  --ink-soft: #4E535E;
  --muted: #8A909C;
  --line: rgba(28, 30, 38, .09);
  --line-strong: rgba(28, 30, 38, .14);
  --bg: #FFFFFF;
  --bg-soft: #FAF9F6;
  --bg-warm: #FFF7EE;
  --bg-tint: #F4F7FB;
  --card: #FFFFFF;

  --shadow-sm: 0 1px 3px rgba(28, 30, 38, .05), 0 1px 2px rgba(28, 30, 38, .04);
  --shadow-md: 0 6px 20px rgba(28, 30, 38, .07), 0 2px 6px rgba(28, 30, 38, .04);
  --shadow-lg: 0 24px 60px rgba(28, 30, 38, .12), 0 8px 20px rgba(28, 30, 38, .06);
  --shadow-warm: 0 16px 40px rgba(240, 137, 75, .28);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .4em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(72px, 11vw, 132px);
  position: relative;
}

.display-xl { font-size: clamp(40px, 7vw, 74px); }
.display-l  { font-size: clamp(32px, 5vw, 52px); }
.h2 { font-size: clamp(28px, 3.6vw, 42px); }
.h3 { font-size: clamp(21px, 2.2vw, 27px); }

.eyebrow {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--sun-orange);
  margin-bottom: 18px;
  display: inline-block;
}

.lead {
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--ink-soft);
  line-height: 1.6;
}

.muted { color: var(--muted); }
.center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
  min-height: 44px;
}
.btn:active { transform: scale(.97); }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2d36; }

.btn-sun { background: var(--sun); color: #fff; box-shadow: var(--shadow-warm); }
.btn-sun:hover { box-shadow: 0 18px 44px rgba(240, 137, 75, .34); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-soft); }

.badge-app {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 11px 22px;
  border-radius: 16px;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease;
  min-height: 56px;
}
.badge-app:hover { background: #2a2d36; }
.badge-app:active { transform: scale(.97); }
.badge-app .apple { width: 26px; height: 26px; flex-shrink: 0; }
.badge-app .lines { display: flex; flex-direction: column; line-height: 1.05; }
.badge-app .lines small {
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  font-size: 10px;
  opacity: .85;
  letter-spacing: .02em;
}
.badge-app .lines span {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.01em;
}
.badge-app.on-sun { background: #fff; color: var(--ink); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card.hover { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-lockup .wordmark {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1;
}
.logo-lockup .mark { width: 32px; height: 32px; }

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s ease;
}
html.anim .reveal { opacity: 0; transform: translateY(22px); }
html.anim .reveal.in { opacity: 1; transform: none; }

:focus-visible {
  outline: 2.5px solid var(--sun-orange);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
