/* TimberTrack landing — aligns with app palette */
:root {
  --bg: #eeede8;
  --surface: #ffffff;
  --text: #141413;
  --text-secondary: #5c5a54;
  --muted: #8c8980;
  --border: #d9d6ce;
  --forest: #2c4a38;
  --forest-light: #3d6b4f;
  --wash: #e4ede6;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(20, 36, 28, 0.08);
  --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--forest);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Language */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
}
.lang-switch button {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}
.lang-switch button[aria-pressed='true'] {
  background: var(--wash);
  color: var(--forest);
}

html[lang='sl'] .i18n-en,
html[lang='en'] .i18n-sl {
  display: none !important;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--text);
}
.logo span {
  color: var(--forest);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--forest);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto;
  height: 90%;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--wash), transparent 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
}
.hero-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0 0 16px;
  max-width: 18ch;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 36ch;
  margin: 0 0 28px;
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.store-row a {
  display: inline-block;
  line-height: 0;
  transition: transform 0.15s ease, opacity 0.15s;
}
.store-row a:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}
.store-row img {
  height: 44px;
  width: auto;
}
.store-row .badge-google img {
  height: 64px;
  margin: -10px 0;
}

/* Features */
.features {
  padding: 20px 0 64px;
}
.section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--wash);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.card p {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* CTA band */
.cta-band {
  margin: 0 0 64px;
}
.cta-inner {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-light) 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-inner h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.cta-inner p {
  margin: 0 0 24px;
  opacity: 0.92;
  font-size: 1rem;
}
.cta-inner .store-row {
  justify-content: center;
}
.cta-badge-shell {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}
.cta-badge-shell .store-row {
  margin: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 36px;
  background: color-mix(in srgb, var(--surface) 55%, var(--bg));
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand {
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 6px;
}
.footer-meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 14px;
  font-weight: 600;
}

/* Privacy page */
.legal {
  padding: 36px 0 80px;
}
.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.legal-updated {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 32px;
}
.legal h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 12px;
}
.legal p,
.legal ul {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 16px;
}
.legal ul {
  padding-left: 1.2em;
}
.legal li {
  margin-bottom: 6px;
}
.back-link {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 24px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
