:root {
  --bg-0: #f4f6ec;
  --bg-1: #d7e6be;
  --bg-2: #8ea63f;
  --text: #13220f;
  --card: rgba(255, 255, 255, 0.82);
  --card-border: rgba(18, 34, 16, 0.14);
  --brand: #1f3d1a;
  --brand-2: #3f5f1e;
  --accent: #d9792d;
  --muted: #32442d;
  --shadow: 0 18px 40px rgba(21, 36, 18, 0.16);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Trebuchet MS", "Helvetica", sans-serif;
  color: var(--text);
  background: linear-gradient(145deg, var(--bg-0), var(--bg-1));
  min-height: 100vh;
  line-height: 1.5;
  position: relative;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.55), transparent 40%),
    radial-gradient(circle at 80% 5%, rgba(217, 121, 45, 0.22), transparent 32%),
    radial-gradient(circle at 88% 86%, rgba(28, 66, 33, 0.18), transparent 36%);
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 20px 10px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  letter-spacing: 0.02em;
  color: var(--brand);
}

.lang-picker-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 7px 12px;
  box-shadow: var(--shadow);
}

.lang-picker-wrap label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
}

#langPicker {
  border: none;
  background: transparent;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.95rem;
  outline: none;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 30px;
}

.section {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 42px);
  margin: 16px 0;
}

.hero {
  background:
    linear-gradient(130deg, rgba(13, 32, 9, 0.92), rgba(54, 94, 28, 0.84)),
    linear-gradient(30deg, rgba(217, 121, 45, 0.2), rgba(255, 255, 255, 0));
  color: #f4f5ef;
  border: none;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 121, 45, 0.6), rgba(217, 121, 45, 0));
  right: -70px;
  top: -90px;
}

.eyebrow {
  margin: 0;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d4e7b6;
  font-weight: 800;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  margin: 0;
  line-height: 1.1;
}

h1 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 15ch;
}

.subtitle {
  max-width: 56ch;
  margin: 18px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  color: #ecf3de;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-badges {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.store-badges-label {
  margin: 0;
  width: 100%;
  color: #d4e7b6;
  font-weight: 700;
  font-size: 0.95rem;
}

.store-badge-link {
  display: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 220ms ease;
}

.store-badge-link:hover {
  transform: translateY(-2px);
}

.store-badge {
  display: block;
  height: 46px;
  width: auto;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 12px 20px;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #f4f5ef;
  color: #13220f;
  box-shadow: 0 12px 24px rgba(8, 20, 6, 0.3);
}

.btn-ghost {
  color: #eff8db;
  border: 1px solid rgba(239, 248, 219, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.lang-note {
  margin-top: 16px;
  color: #d8e7c0;
  max-width: 62ch;
}

h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  color: var(--brand);
}

.feature-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.feature-card {
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.feature-card h3 {
  color: var(--brand-2);
  font-size: 1.18rem;
}

.feature-card p {
  margin: 8px 0 0;
  color: #24371f;
}

.timeline {
  margin-top: 18px;
  border-left: 2px solid rgba(31, 61, 26, 0.33);
  padding-left: 14px;
}

.timeline-item {
  position: relative;
  margin-bottom: 16px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.dot {
  position: absolute;
  left: -21px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 121, 45, 0.22);
}

.timeline p {
  margin: 0;
  color: #263a20;
  font-weight: 600;
}

.links-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.links-grid a {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--card-border);
  color: #153113;
  font-weight: 700;
  transition: transform 200ms ease, background-color 200ms ease;
}

.links-grid a:hover {
  transform: translateY(-1px);
  background: #fafff0;
}

.site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 20px 30px;
}

.site-footer p {
  color: #2a4125;
  font-weight: 600;
}

.brand-link {
  text-decoration: none;
  color: var(--brand);
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
}

.legal-eyebrow {
  color: #4a6327;
}

.legal-title {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  color: var(--brand);
}

.legal-meta {
  margin-top: 12px;
  color: #304328;
  font-weight: 700;
}

.legal-page h2 {
  margin-top: 22px;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

.legal-page p {
  margin-top: 10px;
}

.legal-page a {
  color: #123e73;
  word-break: break-word;
}

.legal-actions {
  margin-top: 24px;
}

.legal-actions-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.manual-page {
  max-width: 920px;
  margin: 0 auto;
}

.manual-lang {
  display: none;
}

.manual-title {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  color: var(--brand);
}

.manual-intro {
  margin-top: 14px;
  color: #1d3018;
  font-weight: 600;
}

.manual-callout {
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid rgba(37, 64, 31, 0.18);
  background: rgba(255, 255, 255, 0.78);
  padding: 14px 16px;
}

.quick-start-box {
  border: 1px solid rgba(217, 121, 45, 0.35);
  background: linear-gradient(150deg, rgba(255, 249, 238, 0.95), rgba(255, 255, 255, 0.9));
}

.manual-page h2 {
  margin-top: 24px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.manual-page ol,
.manual-page ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.manual-page li {
  margin: 7px 0;
  color: #263b21;
}

.legal-ghost {
  color: #2a3f24;
  border: 1px solid rgba(42, 63, 36, 0.45);
  background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .lang-picker-wrap {
    width: 100%;
    justify-content: space-between;
  }

  #langPicker {
    text-align: right;
  }

  .store-badge {
    height: 42px;
  }
}
