:root {
  --color-primary: #064E3B;
  --color-primary-600: #065F46;
  --color-primary-900: #022C22;
  --color-secondary: #10B981;
  --color-secondary-600: #0C9A6C;
  --color-secondary-soft: #D1FAE5;
  --color-accent: #F59E0B;
  --color-accent-hover: #D97706;
  --color-accent-soft: #FDE68A;
  --color-on-accent: #1C1917;
  --color-bg: #FFFFFF;
  --color-tint: #F0FDF4;
  --color-fg: #0F172A;
  --color-muted-fg: #47605A;
  --color-on-dark-muted: #B7E4D0;
  --color-border: #D1E7DD;
  --color-error: #B91C1C;
  --color-success: #047857;

  --shadow-sm: 0 1px 2px rgba(6, 78, 59, .06), 0 10px 24px -14px rgba(6, 78, 59, .22);
  --shadow-lg: 0 2px 6px rgba(6, 78, 59, .06), 0 30px 60px -28px rgba(6, 78, 59, .45);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --space-section: clamp(72px, 10vw, 128px);
  --container: 1160px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: 200ms;
  --z-nav: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--color-secondary) var(--color-tint);
}
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-fg);
  background: var(--color-bg);
  caret-color: var(--color-primary);
  accent-color: var(--color-primary);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--color-accent-soft); color: var(--color-primary-900); }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
img, svg { display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--color-primary); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; touch-action: manipulation;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-600); }
.btn-accent { background: var(--color-accent); color: var(--color-on-accent); box-shadow: 0 1px 2px rgba(15, 23, 42, .12), 0 8px 18px -10px rgba(15, 23, 42, .35); }
.btn-accent:hover { background: var(--color-accent-hover); transform: translateY(-1px); }
.btn-ghost { color: var(--color-primary); border-color: var(--color-border); background: #fff; }
.btn-ghost:hover { border-color: var(--color-primary); }
.btn-outline { color: var(--color-primary); border-color: var(--color-primary); background: transparent; }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid rgba(6, 78, 59, .08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--color-primary); }
.wordmark { font-weight: 800; font-size: 30px; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.u-bin { display: inline-block; width: 0.64em; height: 1em; vertical-align: baseline; margin: 0 0.01em; overflow: visible; }
.u-bin-body { fill: none; stroke: currentColor; stroke-width: 15.5; stroke-linecap: round; stroke-linejoin: round; }
.u-bin-lid {
  fill: none; stroke: var(--color-accent); stroke-width: 12.5; stroke-linecap: round;
  transform-box: view-box; transform-origin: 50px 29px;
  animation: logo-lid 9s var(--ease) 3s infinite;
  transition: transform 260ms var(--ease);
}
.logo:hover .u-bin-lid, .logo:focus-visible .u-bin-lid { animation: none; transform: rotate(24deg); }
@keyframes logo-lid {
  0%, 88%, 100% { transform: rotate(0deg); }
  92% { transform: rotate(24deg); }
  96% { transform: rotate(-4deg); }
}
.logo-sm .wordmark { font-size: 20px; }
.nav-links { display: none; gap: 30px; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--color-muted-fg); transition: color var(--dur); }
.nav-links a:hover { color: var(--color-primary); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  display: inline-grid; place-items: center; text-decoration: none;
  min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--color-border);
  background: #fff; font: inherit; font-weight: 700; font-size: 14px; color: var(--color-primary); cursor: pointer;
  transition: border-color var(--dur) var(--ease);
}
.lang-toggle:hover { border-color: var(--color-primary); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px);
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(16, 185, 129, .16), transparent 70%),
    linear-gradient(180deg, var(--color-tint), #fff 85%);
}
.hero-inner { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(44px, 7.4vw, 84px); font-weight: 800; color: var(--color-primary); letter-spacing: -0.04em; line-height: 1; }
.lead { font-size: clamp(17px, 1.9vw, 20px); color: var(--color-muted-fg); margin-top: 24px; max-width: 34em; line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.trust { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--color-primary); }
.trust svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--color-secondary); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { display: flex; justify-content: center; }
.scene {
  position: relative; width: min(100%, 460px); aspect-ratio: 1 / 1;
  display: grid; place-items: end center;
}
.scene::before {
  content: ""; position: absolute; inset: 6% 4% 10%;
  background: var(--color-secondary-soft);
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
}
.bin-illus { position: relative; width: 78%; height: auto; overflow: visible; }
.scene-shadow { fill: var(--color-primary); opacity: .14; }
.bin-body { fill: var(--color-secondary); }
.bin-shade { fill: var(--color-secondary-600); }
.bin-ribs { stroke: var(--color-primary-600); stroke-width: 7; stroke-linecap: round; opacity: .28; fill: none; }
.bin-rim { fill: var(--color-secondary-600); }
.bin-badge circle { fill: #fff; }
.badge-u { fill: none; stroke: var(--color-primary); stroke-width: 6.5; stroke-linecap: round; stroke-linejoin: round; }
.badge-lid { fill: none; stroke: var(--color-accent); stroke-width: 5.5; stroke-linecap: round; }
.wheel { fill: #1F2937; }
.hub { fill: #9CA3AF; }
.lid { fill: var(--color-accent); }
.lid-handle { fill: var(--color-accent-hover); }
.spark { fill: var(--color-accent); }
.bubble { fill: #fff; stroke: var(--color-secondary); stroke-width: 2.5; }

/* The one authored moment: lid pops open, freshness escapes, lid snaps shut. */
.hero-lid { transform-box: fill-box; transform-origin: 100% 100%; animation: lid-flip 6s var(--ease) 1s infinite; }
@keyframes lid-flip {
  0%, 58%, 100% { transform: rotate(0deg); }
  66%, 80% { transform: rotate(32deg); }
  87% { transform: rotate(-2.5deg); }
  91% { transform: rotate(0deg); }
}
.fresh > * { opacity: 0; transform-box: fill-box; transform-origin: center; animation: fresh-rise 6s var(--ease) 1s infinite; }
.fresh .f2 { animation-delay: 1.15s; }
.fresh .f3 { animation-delay: 1.3s; }
.fresh .f4 { animation-delay: 1.2s; }
@keyframes fresh-rise {
  0%, 62% { opacity: 0; transform: translateY(40px) scale(.4); }
  70% { opacity: 1; transform: translateY(0) scale(1); }
  82% { opacity: 1; transform: translateY(-18px) scale(1); }
  92%, 100% { opacity: 0; transform: translateY(-34px) scale(.8); }
}

/* Sections */
.section { padding: var(--space-section) 0; }
.section-tint { background: var(--color-tint); }
.section-title { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; text-align: center; color: var(--color-primary); }
.section-sub { text-align: center; color: var(--color-muted-fg); margin: 16px auto 0; max-width: 36em; font-size: 18px; }
.left { text-align: left; margin-left: 0; }

/* How it works: a route with three stops */
.route { list-style: none; padding: 0; margin: 64px 0 0; display: grid; gap: 40px; position: relative; }
.route::before {
  content: ""; position: absolute; left: 31px; top: 32px; bottom: 32px; width: 0;
  border-left: 3px dashed rgba(6, 78, 59, .22);
}
.stop { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.stop-mark {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--color-primary); box-shadow: 0 0 0 8px #fff, var(--shadow-sm);
}
.stop-mark svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stop:nth-child(2) .stop-mark { background: var(--color-secondary-600); }
.stop:nth-child(3) .stop-mark { background: var(--color-accent); }
.stop:nth-child(3) .stop-mark svg { stroke: var(--color-primary-900); }
.stop h3 { font-size: 22px; margin: 6px 0 8px; color: var(--color-primary); }
.stop p { color: var(--color-muted-fg); max-width: 30em; }

/* Pricing */
.billing-toggle {
  display: flex; width: fit-content; margin: 40px auto 0; padding: 5px; gap: 4px;
  background: #fff; border: 1px solid var(--color-border); border-radius: 999px;
}
.billing-opt {
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent;
  font: inherit; font-weight: 600; color: var(--color-muted-fg); cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.billing-opt.is-active { background: var(--color-primary); color: #fff; }
.save { font-size: 12px; font-weight: 700; background: var(--color-accent); color: var(--color-on-accent); padding: 2px 8px; border-radius: 999px; margin-left: 4px; }

.plans { display: grid; gap: 20px; margin-top: 48px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  background: #fff; border: 0; border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-featured { background: var(--color-primary); border-color: var(--color-primary); color: #fff; box-shadow: var(--shadow-lg); }
.plan.plan-featured h3, .plan-featured .amount { color: #fff; }
.plan-featured .plan-desc, .plan-featured .per { color: var(--color-on-dark-muted); }
.plan-featured .features li::before { background-color: rgba(255, 255, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBBF24' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--color-accent); color: var(--color-on-accent); font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
}
.plan h3 { font-size: 24px; color: var(--color-primary); }
.plan-desc { color: var(--color-muted-fg); min-height: 3.2em; }
.price { display: flex; align-items: baseline; gap: 4px; }
.amount { font-size: 60px; font-weight: 800; color: var(--color-primary); font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -0.04em; }
.per { color: var(--color-muted-fg); font-weight: 600; }
.features { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; flex: 1; }
.features li { position: relative; padding-left: 30px; }
.features li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-secondary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23065F46' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.fine { text-align: center; color: var(--color-muted-fg); font-size: 14px; margin-top: 28px; }

/* Areas */
.areas { display: grid; gap: 36px; align-items: center; }
.area-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-list li {
  padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--color-border);
  font-weight: 600; color: var(--color-primary); font-size: 15px; box-shadow: 0 1px 2px rgba(6, 78, 59, .05);
}
.area-list li:first-child { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* FAQ */
.faq { margin-top: 44px; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); transition: border-color var(--dur) var(--ease); }
.faq details[open] { border-color: var(--color-primary); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 17px; position: relative; min-height: 44px; color: var(--color-primary);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
  border-right: 2.5px solid var(--color-primary); border-bottom: 2.5px solid var(--color-primary);
  transform: rotate(45deg); transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 24px 22px; color: var(--color-muted-fg); }

/* CTA / form */
.cta-section {
  background:
    radial-gradient(50% 80% at 0% 0%, rgba(16, 185, 129, .28), transparent 70%),
    var(--color-primary);
  color: #fff;
}
.cta-section ::selection { background: var(--color-accent); color: var(--color-primary-900); }
.cta-inner { display: grid; gap: 40px; align-items: center; }
.cta-copy h2 { font-size: clamp(34px, 4.8vw, 56px); font-weight: 800; letter-spacing: -0.04em; }
.cta-copy p { margin-top: 16px; color: var(--color-on-dark-muted); font-size: 18px; max-width: 26em; }
.book-form { background: #fff; color: var(--color-fg); border-radius: var(--radius-lg); padding: 32px; display: grid; gap: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; color: var(--color-primary); }
.field input, .field select {
  min-height: 50px; padding: 0 14px; border-radius: var(--radius-sm); border: 1.5px solid #C5D6CF;
  font: inherit; font-size: 16px; color: var(--color-fg); background: #fff;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input::placeholder { color: #6B7F78; }
.field input:hover, .field select:hover { border-color: #9FB9AF; }
.field input:focus, .field select:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 4px var(--color-secondary-soft); }
.field input[aria-invalid="true"] { border-color: var(--color-error); }
.error { color: var(--color-error); font-size: 14px; }
.error:empty { display: none; }
.form-status { font-weight: 600; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--color-success); }
.form-status.err { color: var(--color-error); }

/* Footer */
.footer { padding: 32px 0; border-top: 1px solid var(--color-border); color: var(--color-muted-fg); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer a { color: var(--color-primary); font-weight: 600; }
.footer .logo { text-decoration: none; }

/* Breakpoints */
@media (min-width: 768px) {
  .container { padding: 0 32px; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-auto-flow: column; grid-auto-columns: max-content; gap: 24px; }
  .route { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .route::before { left: 32px; right: 16%; top: 31px; bottom: auto; height: 0; width: auto; border-left: 0; border-top: 3px dashed rgba(6, 78, 59, .22); }
  .stop { grid-template-columns: 1fr; gap: 22px; }
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 24px; }
  .areas { grid-template-columns: 1fr 1fr; gap: 64px; }
  .cta-inner { grid-template-columns: 1fr 1fr; gap: 64px; }
  .plan-featured { transform: translateY(-12px); }
  .plan-featured:hover { transform: translateY(-16px); }
}

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

/* Blog */
.blog-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(24px, 4vw, 40px); background: linear-gradient(180deg, var(--color-tint), #fff); }
.blog-hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; color: var(--color-primary); letter-spacing: -0.04em; }
.blog-sub { margin-top: 18px; font-size: clamp(17px, 1.8vw, 20px); color: var(--color-muted-fg); max-width: 36em; }
.blog-list-section { padding: clamp(24px, 4vw, 48px) 0 var(--space-section); }
.post-list { display: grid; gap: 48px 32px; }
.post-card { display: grid; gap: 20px; align-content: start; }
.post-card-art { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.post-card-art img { width: 100%; height: auto; aspect-ratio: 1200 / 630; transition: transform 600ms var(--ease); }
.post-card:hover .post-card-art img { transform: scale(1.03); }
.post-card h2 { font-size: 24px; line-height: 1.2; margin: 8px 0 10px; }
.post-card h2 a { color: var(--color-primary); text-decoration: none; background: linear-gradient(var(--color-accent-soft), var(--color-accent-soft)) 0 88% / 0 30% no-repeat; transition: background-size 400ms var(--ease); }
.post-card h2 a:hover { background-size: 100% 30%; }
.post-card p { color: var(--color-muted-fg); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; color: var(--color-muted-fg); font-variant-numeric: tabular-nums; }
.post-card--featured h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; }

.post-header { padding-top: clamp(40px, 6vw, 72px); }
.post-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--color-primary); text-decoration: none; }
.post-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur) var(--ease); }
.post-back:hover svg { transform: translateX(-3px); }
.post-header h1 { margin-top: 20px; font-size: clamp(34px, 5vw, 56px); font-weight: 800; color: var(--color-primary); letter-spacing: -0.035em; line-height: 1.05; }
.post-header .post-meta { margin-top: 20px; }
.post-art { margin: clamp(32px, 5vw, 56px) auto; max-width: 1000px; }
.post-art img { width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.post-body { font-size: 19px; line-height: 1.75; color: #1E2B28; }
.post-body p + p { margin-top: 1.1em; }
.post-body h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; color: var(--color-primary); margin: 2em 0 .6em; line-height: 1.2; }
.post-lead { font-size: clamp(20px, 2.2vw, 23px); line-height: 1.6; color: var(--color-primary); font-weight: 500; }
.post-cta { margin: clamp(48px, 7vw, 88px) auto var(--space-section); }
.post-cta-inner { background: var(--color-primary); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); display: grid; gap: 14px; justify-items: start; box-shadow: var(--shadow-lg); }
.post-cta-inner h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.post-cta-inner p { color: var(--color-on-dark-muted); font-size: 17px; margin-bottom: 8px; }

@media (min-width: 768px) {
  .post-list { grid-template-columns: 1fr 1fr; }
  .post-card--featured { grid-column: 1 / -1; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
}
