@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root {
  --bg: #f8f3ed;
  --bg-alt: #f3e4d6;
  --surface: rgba(255, 253, 250, 0.94);
  --surface-solid: #fffaf3;
  --primary: #8b5d33;
  --primary-dark: #744322;
  --accent: #d08b4c;
  --accent-soft: rgba(208, 139, 76, 0.18);
  --text: #2f1b0f;
  --muted: #6f5a4b;
  --border: rgba(139, 93, 51, 0.16);
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-lg: 0 28px 70px rgba(116, 67, 34, 0.22);
  --shadow-soft: 0 18px 42px rgba(116, 67, 34, 0.18);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(208, 139, 76, 0.18), transparent 45%),
    radial-gradient(circle at 78% 0%, rgba(139, 93, 51, 0.12), transparent 55%),
    radial-gradient(circle at 20% 88%, rgba(226, 182, 132, 0.12), transparent 52%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
section { padding: 5rem 0; position: relative; }
.wrapper { width: min(1120px, calc(100% - 3.5rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 243, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(116, 67, 34, 0.12);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
}
.brand img { height: 42px; width: auto; border-radius: 12px; }
.site-nav { display: flex; align-items: center; gap: 2rem; font-size: 0.95rem; }
.site-nav a { color: var(--muted); font-weight: 500; transition: color 0.2s ease; }
.site-nav a:hover { color: var(--primary-dark); }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(17, 17, 17, 0.32); z-index: 140; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.nav-overlay.active { display: block; opacity: 1; pointer-events: auto; }
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.68rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  gap: 0.5rem;
}
.btn-primary {
  background: linear-gradient(135deg, #2f7f53, #65b378);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(47, 127, 83, 0.28);
  border: none;
}
.site-nav .btn-primary { color: #ffffff; }

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--primary-dark);
  background: rgba(255, 250, 244, 0.92);
  box-shadow: 0 14px 30px rgba(116, 67, 34, 0.1);
}
.nav-toggle {
  display: none;
  background: rgba(255, 250, 244, 0.9);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.45rem 0.75rem;
  color: var(--primary-dark);
  font-size: 1.2rem;
  box-shadow: 0 12px 28px rgba(116, 67, 34, 0.14);
}

.hero { padding: 7rem 0 3.5rem; }
.hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.2rem; align-items: center; }
.hero-logo {
  width: 380px;
  height: auto;
  margin-bottom: 1.6rem;
  border-radius: 26px;
  border: none;
  box-shadow: none;
}
.hero-eyebrow { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.28em; color: var(--accent); font-weight: 600; }
.hero h1 { font-size: clamp(2.2rem, 3.2vw + 1rem, 3.4rem); line-height: 1.05; margin: 1rem 0; }
.hero p { color: var(--muted); font-size: 1.06rem; max-width: 34ch; }
.hero-intro {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; justify-content: center; }
.stat-band {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  width: 100%;
}
.stat-card {
  padding: 1.4rem 1.6rem;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 140px;
  box-shadow: var(--shadow-soft);
}
.stat-card h3 { margin: 0; font-size: 1.9rem; color: var(--primary-dark); }
.stat-card span { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; }

.metrics {
  margin: 1.4rem 0 1.4rem;
}
.metrics .wrapper { display: grid; }
.metrics-band { margin-top: 0; }

.legal-page { padding: 2.4rem 0 3.5rem; }
.legal-headline {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 0.6rem;
}
.legal-headline .legal-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--accent);
  font-weight: 600;
}
.legal-headline h1 { margin: 0; font-size: clamp(1.9rem, 2.8vw, 2.8rem); }
.legal-headline p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.legal-shell {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 5vw, 3rem);
}
.legal-nav {
  background: rgba(255, 253, 250, 0.86);
  border: 1px solid rgba(139, 93, 51, 0.14);
  border-radius: 20px;
  padding: 1.6rem 1.4rem;
  position: sticky;
  top: 110px;
  align-self: start;
  box-shadow: 0 18px 42px rgba(116, 67, 34, 0.12);
  display: grid;
  gap: 1.1rem;
}
.legal-nav-label {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.68rem;
  color: var(--accent);
  font-weight: 600;
}
.legal-nav-list {
  display: grid;
  gap: 0.5rem;
}
.legal-nav-list a {
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.45rem 0.3rem;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease;
}
.legal-nav-list a:hover,
.legal-nav-list a:focus {
  color: var(--primary-dark);
  background: rgba(139, 93, 51, 0.12);
}

.legal-content {
  display: grid;
  gap: clamp(1.4rem, 2.5vw, 1.9rem);
  counter-reset: legal-section;
}
.legal-block {
  counter-increment: legal-section;
  background: var(--surface-solid);
  border-radius: 22px;
  border: 1px solid rgba(139, 93, 51, 0.14);
  padding: clamp(1.6rem, 2.6vw, 2rem);
  box-shadow: 0 22px 48px rgba(116, 67, 34, 0.12);
  position: relative;
  display: grid;
  gap: 0.95rem;
}
.legal-block::before {
  content: counter(legal-section, decimal-leading-zero);
  position: absolute;
  top: 1.3rem;
  right: 1.6rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(253, 232, 214, 0.25);
  font-weight: 700;
}
.legal-block h2 {
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
}
.legal-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}
.legal-block ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.legal-block ul li::marker { color: rgba(139, 93, 51, 0.52); }
.legal-meta {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(47, 27, 15, 0.7);
}

@media (max-width: 1024px) {
  .legal-shell {
    grid-template-columns: 1fr;
  }
  .legal-nav {
    position: static;
    order: -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.2rem;
    padding: 1.1rem 1.2rem;
  }
  .legal-nav-label {
    width: 100%;
  }
  .legal-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
  }
  .legal-nav-list a {
    padding: 0.4rem 0.75rem;
  }
}

@media (max-width: 620px) {
  .legal-page { padding-top: 1.8rem; }
  .legal-headline { text-align: left; }
  .legal-shell { margin-top: 2rem; }
  .legal-block {
    padding: 1.4rem 1.35rem;
    border-radius: 18px;
  }
  .legal-block::before {
    top: 1.1rem;
    right: 1.3rem;
  }
}

.hero-visual {
  background: var(--surface-solid);
  border: 15px solid rgba(231, 201, 181, 0.25); /*rgba(231, 201, 181, 0.25);*/
  border-radius: 32px;
  padding: 2.8rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1.8rem;
}
.hero-visual h3 { margin: 0 0 1.2rem; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }
.hero-visual ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.4rem; }
.hero-visual li { display: grid; grid-template-columns: 78px 1fr; gap: 1.2rem; align-items: center; }
.hero-step-body { display: flex; flex-direction: column; gap: 0.35rem; }
.hero-step-body strong { color: var(--text); font-size: 1.15rem; }
.hero-step-body span { color: var(--muted); }
.hero-step-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.hero-step-icon svg { width: 38px; height: 38px; display: block; color: currentColor; }
.step-scan { background: rgba(180, 116, 60, 0.16); color: #b4743c; }
.step-order { background: rgba(47, 127, 83, 0.16); color: #2f7f53; }
.step-pay { background: rgba(200, 91, 42, 0.16); color: #c85b2a; }

.icon-scan .scan-line {
  animation: scanLine 2.4s ease-in-out infinite;
  transform-origin: 50% 50%;
}
.icon-order .check-stroke {
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  animation: drawCheck 2.2s ease-in-out infinite;
}
.icon-pay .coin {
  animation: coinBounce 2s ease-in-out infinite;
  transform-origin: 50% 60%;
}

@keyframes scanLine {
  0%, 100% { transform: translateY(-14px); opacity: 0; }
  25%, 60% { transform: translateY(0); opacity: 1; }
  85% { transform: translateY(14px); opacity: 0; }
}
@keyframes drawCheck {
  0%, 35% { stroke-dashoffset: 18; }
  60%, 100% { stroke-dashoffset: 0; }
}
@keyframes coinBounce {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  40% { transform: translateY(-4px); opacity: 1; }
  70% { transform: translateY(0); opacity: 0.85; }
}

.section-eyebrow { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.32em; color: var(--accent); font-weight: 600; margin-bottom: 1.1rem; }
.section-title { font-size: clamp(2rem, 3vw, 3rem); margin: 0; }
.section-copy { color: var(--muted); margin-top: 1rem; max-width: 58ch; }

.feature-grid {
  margin-top: 3.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.6rem;
}
.feature-card {
  padding: 1.9rem;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.8rem;
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-weight: 600;
}

.capabilities-grid {
  margin-top: 3.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}
.capability-card {
  padding: 1.8rem;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.65rem;
}
.capability-card h4 { margin: 0; font-size: 1.08rem; color: var(--primary-dark); }
.capability-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.feature-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
}
.feature-modal.open { display: flex; }
.feature-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(4px);
}
.feature-modal__dialog {
  position: relative;
  background: var(--surface-solid);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 32px 70px rgba(47, 35, 23, 0.28);
  padding: 2.6rem;
  width: min(860px, calc(100% - 3rem));
  max-height: calc(100% - 3rem);
  overflow-y: auto;
  display: grid;
  gap: 1.8rem;
}
.feature-modal__header h2 { margin: 0; font-size: clamp(1.8rem, 2.2vw, 2.4rem); color: var(--primary-dark); }
.feature-modal__header p { margin: 0.65rem 0 0; color: var(--muted); }
.feature-modal__close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary-dark);
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(47, 35, 23, 0.12);
}
.feature-modal__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

body.modal-open,
body.nav-open { overflow: hidden; }

.flow-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}
.flow-step {
  padding: 1.9rem;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.flow-number {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(208, 139, 76, 0.16);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 1rem;
}

.results-grid {
  margin-top: 3.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}
.result-card {
  padding: 2rem;
  background: linear-gradient(145deg, rgba(47, 127, 83, 0.92), rgba(101, 179, 120, 0.88));
  border-radius: var(--radius-md);
  border: 1px solid rgba(47, 127, 83, 0.32);
  box-shadow: var(--shadow-soft);
  color: #f8fff9;
}
.result-card h4 { margin: 0 0 0.5rem; font-size: 2rem; color: #ffffff; }
.result-card p { margin: 0; color: rgba(255, 255, 255, 0.78); }

.testimonial-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}
.testimonial-card {
  padding: 2.1rem;
  background: var(--surface-solid);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '“';
  position: absolute;
  top: -1rem;
  right: 1.5rem;
  font-size: 6rem;
  color: rgba(208, 139, 76, 0.18);
  font-weight: 700;
}
.testimonial-card p { margin: 0; color: var(--muted); }
.testimonial-card footer { margin-top: 1.5rem; font-weight: 600; color: var(--primary-dark); }
.testimonial-card footer span { display: block; color: var(--muted); font-weight: 500; font-size: 0.92rem; }

.cta-section { padding: 4.5rem 0 5rem; background: rgba(208, 139, 76, 0.1); }
.cta-card {
  padding: 3.4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  color: #fff8f0;
  box-shadow: 0 28px 80px rgba(116, 67, 34, 0.32);
  position: relative;
  overflow: hidden;
}
.cta-card::after {
  content: '';
  position: absolute;
  inset: 10% -15% -30% auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 242, 229, 0.24), transparent 70%);
  border-radius: 50%;
}
.cta-card h2 { margin: 0 0 1rem; font-size: clamp(2.2rem, 4vw, 3rem); }
.cta-card p { margin: 0 0 2rem; font-size: 1.05rem; max-width: 50ch; color: rgba(255, 248, 240, 0.85); }
.contact-form { display: grid; gap: 0.9rem; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.75rem; }
.form-grid.compact { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-size: 0.92rem; color: rgba(255, 248, 240, 0.85); font-weight: 500; text-align: left; }
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.68rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 248, 240, 0.28);
  background: rgba(255, 248, 240, 0.12);
  color: #fff8f0;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255, 248, 240, 0.6); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 248, 240, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 248, 240, 0.25);
}
.form-error {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 102, 102, 0.9);
  display: none;
}
.form-error[hidden] { display: none !important; }
.form-submit {
  justify-self: flex-start;
  padding-inline: 1.6rem;
  background: transparent;
  color: #fff8f0;
  border: 1px solid rgba(255, 248, 240, 0.4);
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}
.form-submit:hover,
.form-submit:focus-visible {
  background: #fff8f0;
  color: #2f1b0f;
  border-color: #fff8f0;
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible { outline: none; }

footer {
  padding: 2.4rem 0 3rem;
  background: #e9dccd;
  border-top: 1px solid rgba(139, 93, 51, 0.2);
}
footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: #5f4a39;
}
footer nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  line-height: 1.5;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(82vw, 320px);
    flex-direction: column;
    gap: 1.4rem;
    background: #ffffff;
    border-radius: 0;
    border-left: 1px solid var(--border);
    padding: 5.5rem 2rem 2.5rem;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    box-shadow: -12px 0 40px rgba(116, 67, 34, 0.18);
    align-items: flex-start;
    z-index: 150;
  }
  .site-nav.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle { display: inline-flex; }
  .site-nav a.btn-primary { width: 100%; text-align: center; }
}
@media (max-width: 720px) {
  section { padding: 4.2rem 0; }
  .hero { padding-top: 5.5rem; }
  .hero-logo { width: 320px; margin-bottom: 1.3rem; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; }
  .stat-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-card { padding: 3rem 2.4rem; }
}
@media (max-width: 540px) {
  .wrapper { width: min(96%, calc(100% - 2.2rem)); }
  .site-header .inner { padding: 0.9rem 0; }
  .hero h1 { font-size: clamp(2.3rem, 8vw, 3rem); }
  .hero-logo { width: 260px; }
  .stat-band {
    grid-template-columns: 1fr;
  }
  footer nav {
    gap: 0.65rem 1rem;
  }
}
  
