/* =========================================================
   云锄牧 · YUNCHUMU CLOUD FARM
   A warm, editorial design system for a real-world farm platform
   ========================================================= */

:root {
  --ink: #1c2b21;
  --ink-soft: #3d4d40;
  --muted: #707a6d;
  --muted-2: #8d9688;
  --forest: #173f2e;
  --forest-deep: #102f22;
  --moss: #3c6049;
  --leaf: #78945f;
  --leaf-soft: #a9bd87;
  --lime: #d9ec9b;
  --lime-soft: #ebf4c9;
  --cream: #f6f2e7;
  --paper: #fcfaf4;
  --white: #fffdf8;
  --clay: #c96f45;
  --clay-soft: #f1ddcf;
  --gold: #d9a441;
  --gold-soft: #f4e8c9;
  --rose: #b95762;
  --line: rgba(28, 43, 33, 0.12);
  --line-strong: rgba(28, 43, 33, 0.2);
  --shadow-sm: 0 1px 2px rgba(28, 43, 33, 0.04), 0 6px 18px rgba(28, 43, 33, 0.05);
  --shadow-md: 0 18px 50px rgba(28, 43, 33, 0.12);
  --shadow-lg: 0 30px 80px rgba(20, 48, 33, 0.18);
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-display: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --font-num: "Georgia", "Times New Roman", "Songti SC", serif;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  background: var(--lime);
  color: var(--forest);
}

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.container {
  width: min(var(--maxw), 100% - 64px);
  margin-inline: auto;
}

.public-shell {
  overflow-x: clip;
}

.eyebrow {
  font-size: 10.5px;
  line-height: 1.5;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

.serif {
  font-family: var(--font-display);
}

/* ---------------- buttons & badges ---------------- */

.btn {
  --btn-bg: var(--forest);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(23, 63, 46, 0.16);
}

.btn:active {
  transform: translateY(0);
}

.btn .icon {
  width: 16px;
  height: 16px;
}

.btn-dark {
  background: var(--forest);
  color: var(--cream);
}

.btn-dark:hover {
  background: var(--forest-deep);
}

.btn-light {
  background: var(--paper);
  color: var(--forest);
}

.btn-light:hover {
  background: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(28, 43, 33, 0.3);
  box-shadow: none;
}

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.btn-outline-clay {
  background: transparent;
  color: var(--clay);
  border-color: rgba(201, 111, 69, 0.45);
}

.btn-outline-clay:hover {
  background: var(--clay-soft);
  box-shadow: none;
}

.btn-lg {
  min-height: 52px;
  padding: 13px 26px;
  font-size: 15px;
}

.btn-sm {
  min-height: 37px;
  padding: 8px 16px;
  font-size: 13px;
}

.btn-xs {
  min-height: 30px;
  padding: 5px 12px;
  font-size: 12px;
  gap: 4px;
}

.btn-xs .icon {
  width: 14px;
  height: 14px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--forest);
  transition: gap 0.2s;
}

.text-link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.2s;
}

.text-link:hover .icon {
  transform: translateX(3px);
}

.icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink-soft);
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.icon-btn:hover {
  background: rgba(28, 43, 33, 0.06);
  border-color: var(--line);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.badge-green {
  background: rgba(106, 142, 88, 0.14);
  color: #47683f;
}

.badge-gold {
  background: #f6e9c9;
  color: #8f6521;
}

.badge-neutral {
  background: rgba(28, 43, 33, 0.06);
  color: var(--muted);
}

.badge-clay {
  background: var(--clay-soft);
  color: #9a4e2d;
}

.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 253, 248, 0.92);
  color: var(--forest);
  backdrop-filter: blur(8px);
}

.cat-badge .icon {
  width: 13px;
  height: 13px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d05b45;
  box-shadow: 0 0 0 3px rgba(208, 91, 69, 0.16);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(208, 91, 69, 0.14);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(208, 91, 69, 0.04);
  }
}

/* ---------------- public header ---------------- */

.site-header {
  position: relative;
  z-index: 40;
}

.announce {
  background: var(--forest);
  color: var(--lime);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.announce-inner {
  width: min(var(--maxw), 100% - 64px);
  height: 34px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.announce-inner > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.announce-inner .icon {
  width: 13px;
  height: 13px;
}

.announce-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--cream);
  font-size: 11px;
  opacity: 0.85;
}

.announce-link:hover {
  opacity: 1;
}

.announce-link .icon {
  width: 12px;
  height: 12px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 231, 0.86);
  backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid rgba(28, 43, 33, 0.08);
}

.nav-inner {
  width: min(var(--maxw), 100% - 64px);
  height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  box-shadow: 0 4px 12px rgba(23, 63, 46, 0.16);
}

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-word strong {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.brand-word small {
  margin-top: 4px;
  font-size: 7px;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 600;
}

.brand-sm .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.brand-sm .brand-word strong {
  font-size: 17px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links a,
.nav-links button {
  font-size: 13.5px;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after,
.nav-links button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--forest);
  transition: right 0.25s var(--ease);
}

.nav-links a:hover::after,
.nav-links button:hover::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.nav-login {
  font-size: 13.5px;
  padding: 8px;
}

.mobile-menu {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.mobile-menu-panel {
  display: none;
}

/* ---------------- landing hero ---------------- */

.hero {
  width: min(var(--maxw), 100% - 64px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.92fr);
  gap: clamp(36px, 5.5vw, 84px);
  align-items: center;
  padding: 58px 0 88px;
  min-height: calc(100vh - 112px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  margin-bottom: 26px;
}

.hero-eyebrow::before {
  display: none;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(50px, 6.3vw, 88px);
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.hero h1 em {
  font-style: normal;
  color: var(--clay);
  position: relative;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: -1%;
  bottom: 4px;
  height: 10px;
  background: var(--lime);
  z-index: -1;
  border-radius: 40% 60% 50% 40%;
  transform: rotate(-1deg);
}

.hero-lede {
  max-width: 510px;
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack .avatar {
  border: 2px solid var(--cream);
  margin-left: -8px;
}

.avatar-stack .avatar:first-child {
  margin-left: 0;
}

.hero-proof p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-proof strong {
  color: var(--ink);
  font-weight: 700;
}

.hero-proof-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime-soft);
  color: var(--moss);
  flex: none;
}
.hero-proof-badge .icon { width: 15px; height: 15px; }

.hero-visual {
  position: relative;
  padding: 18px 10px 36px 26px;
}

.hero-image-frame {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 4 / 4.9;
  max-height: 640px;
  box-shadow: 0 30px 70px rgba(30, 51, 36, 0.16);
  background: var(--leaf-soft);
}

.hero-image-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.4s var(--ease);
}

.hero-image-frame:hover > img {
  transform: scale(1.06);
}

.hero-grain {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 63, 46, 0) 55%, rgba(23, 63, 46, 0.32));
  pointer-events: none;
}

.hero-season {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255, 253, 248, 0.85);
  background: rgba(23, 63, 46, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 5px 12px;
  backdrop-filter: blur(8px);
}

.hero-live-card,
.hero-weather-card,
.hero-crop-card {
  position: absolute;
  background: rgba(252, 250, 244, 0.9);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(24, 45, 31, 0.14);
  z-index: 2;
}

.hero-live-card {
  top: 64px;
  left: -12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  min-width: 208px;
  animation: float 7s ease-in-out infinite;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--clay);
  color: #fff7ef;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 7px;
  border-radius: 5px;
  white-space: nowrap;
}

.live-badge .live-dot {
  background: #fff;
  width: 4px;
  height: 4px;
  box-shadow: none;
}

.hero-live-card > div {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.hero-live-card strong {
  font-size: 11.5px;
  letter-spacing: 0.01em;
}

.hero-live-card span:not(.live-badge) {
  font-size: 9px;
  color: var(--muted);
}

.hero-live-play {
  margin-left: auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  display: grid;
  place-items: center;
}

.hero-live-play .icon {
  width: 10px;
  height: 10px;
  margin-left: 1px;
}

.hero-weather-card {
  left: -28px;
  bottom: 122px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  animation: float 8s ease-in-out infinite reverse;
}

.hw-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime-soft);
  color: #6d7b40;
}

.hw-icon .icon {
  width: 19px;
  height: 19px;
}

.hero-weather-card div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.hero-weather-card strong {
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 500;
}

.hero-weather-card span:not(.hw-icon) {
  font-size: 9px;
  color: var(--muted);
}

.hero-crop-card {
  right: -18px;
  bottom: 38px;
  width: 218px;
  padding: 14px 16px;
  animation: float 9s ease-in-out infinite;
}

.hero-crop-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.hero-crop-top strong {
  font-family: var(--font-num);
  font-size: 15px;
  color: var(--clay);
}

.hero-crop-track {
  height: 4px;
  border-radius: 99px;
  background: rgba(28, 43, 33, 0.1);
  margin: 8px 0 7px;
  overflow: hidden;
}

.hero-crop-track i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--leaf), var(--lime));
}

.hero-crop-card > span {
  font-size: 8.5px;
  color: var(--muted);
}

.hero-orbit {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--forest);
  z-index: 1;
}

.hero-orbit .icon {
  width: 18px;
  height: 18px;
}

.orbit-1 {
  width: 48px;
  height: 48px;
  background: var(--lime);
  right: -12px;
  top: 24px;
  transform: rotate(12deg);
  box-shadow: 0 8px 20px rgba(23, 63, 46, 0.14);
}

.orbit-2 {
  width: 34px;
  height: 34px;
  background: var(--clay-soft);
  left: 8px;
  bottom: 26px;
  color: var(--clay);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ---------------- marquee ---------------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  background: rgba(252, 250, 244, 0.55);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  white-space: nowrap;
}

.marquee-track i {
  font-style: normal;
  color: var(--clay);
  font-size: 12px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------------- sections ---------------- */

.section {
  width: min(var(--maxw), 100% - 64px);
  margin-inline: auto;
  padding: 108px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 44px;
}

.section-head h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.16;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.section-head-side {
  max-width: 330px;
  padding-bottom: 6px;
}

.section-head-side p,
.section-head-note {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 18px;
}

.section-head .text-link {
  margin-top: 6px;
}

/* ---------------- product cards ---------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
  opacity: 0;
  transform: translateY(16px);
}

.product-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0ms);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(28, 43, 33, 0.18);
}

.product-media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3.35;
  overflow: hidden;
  margin: 7px;
  border-radius: 20px;
}

.product-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.product-card:hover .product-media > img {
  transform: scale(1.05);
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 30, 20, 0.16), transparent 35%, transparent 72%, rgba(16, 30, 20, 0.34));
  pointer-events: none;
}

.product-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(252, 250, 244, 0.92);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 600;
  color: var(--forest);
}

.product-cat .icon {
  width: 12px;
  height: 12px;
}

.product-hot {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--forest);
  font-size: 9.5px;
  font-weight: 700;
}

.product-hot .icon {
  width: 11px;
  height: 11px;
}

.product-location {
  position: absolute;
  left: 12px;
  bottom: 11px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 253, 248, 0.92);
  font-size: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

.product-location .icon {
  width: 12px;
  height: 12px;
}

.product-info {
  padding: 12px 17px 17px;
}

.product-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.product-topline h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.product-topline h3 a:hover {
  color: var(--clay);
}

.product-stock {
  flex: none;
  font-size: 9px;
  color: var(--muted);
  padding-top: 4px;
}

.product-info > p {
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
  min-height: 36px;
}

.product-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 9px;
}

.product-tags span {
  font-size: 9px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 6px;
}

.product-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.price {
  font-family: var(--font-num);
  font-size: 25px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.price small {
  font-size: 13px;
  margin-right: 2px;
  color: var(--muted);
}

.price span {
  font-family: var(--font-sans);
  font-size: 9.5px;
  color: var(--muted);
  margin-left: 4px;
  letter-spacing: 0;
}

.round-arrow {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--forest);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.round-arrow .icon {
  width: 15px;
  height: 15px;
}

.product-card:hover .round-arrow {
  background: var(--forest);
  color: var(--cream);
  transform: rotate(6deg);
}

/* ---------------- promise / steps ---------------- */

.promise-section {
  width: 100%;
  max-width: none;
  background: var(--forest);
  color: var(--cream);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 90px);
  padding: 104px max(32px, calc((100vw - var(--maxw)) / 2));
  position: relative;
  overflow: hidden;
}

.promise-section::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(217, 236, 155, 0.1);
  left: -180px;
  bottom: -300px;
  box-shadow: 0 0 0 90px rgba(217, 236, 155, 0.025), 0 0 0 180px rgba(217, 236, 155, 0.02);
}

.promise-intro {
  position: relative;
  z-index: 1;
  align-self: center;
}

.promise-intro .eyebrow {
  color: rgba(246, 242, 231, 0.52);
}

.promise-intro h2 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.16;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.promise-intro > p:not(.eyebrow) {
  max-width: 380px;
  margin: 22px 0 30px;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(246, 242, 231, 0.64);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  position: relative;
  z-index: 1;
}

.step-card {
  border: 1px solid rgba(246, 242, 231, 0.14);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 22px;
  padding: 24px 22px 22px;
  min-height: 220px;
  position: relative;
  transition: background 0.3s, transform 0.3s;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}

.step-card-accent {
  background: var(--lime);
  color: var(--forest);
  border-color: transparent;
}

.step-card-accent:hover {
  background: #e3f3b1;
}

.step-num {
  position: absolute;
  top: 19px;
  right: 20px;
  font-family: var(--font-num);
  font-size: 12px;
  opacity: 0.38;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(217, 236, 155, 0.12);
  color: var(--lime);
  margin-bottom: 28px;
}

.step-card-accent .step-icon {
  background: rgba(23, 63, 46, 0.12);
  color: var(--forest);
}

.step-icon .icon {
  width: 19px;
  height: 19px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 11.5px;
  line-height: 1.8;
  color: rgba(246, 242, 231, 0.6);
}

.step-card-accent p {
  color: rgba(23, 63, 46, 0.7);
}

.step-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}

.step-mini-list span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  border: 1px solid rgba(23, 63, 46, 0.18);
  border-radius: 999px;
  padding: 3px 7px;
}

.step-mini-list .icon {
  width: 11px;
  height: 11px;
}

/* ---------------- phone section ---------------- */

.phone-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.phone-copy h2 {
  margin: 16px 0 26px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.check-list .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--moss);
  padding: 2px;
  background: var(--lime-soft);
  border-radius: 50%;
  box-sizing: content-box;
}

.phone-stats {
  display: flex;
  gap: 38px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.phone-stats div {
  display: flex;
  flex-direction: column;
}

.phone-stats strong {
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: 500;
  color: var(--forest);
  line-height: 1.1;
}

.phone-stats span {
  margin-top: 5px;
  font-size: 10px;
  color: var(--muted);
}

.phone-preview {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.phone-blob {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 48% 52% 60% 40% / 44% 38% 62% 56%;
  background: var(--lime-soft);
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.phone-blob::after {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: inherit;
  border: 1px solid rgba(60, 96, 73, 0.14);
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 300px;
  border-radius: 42px;
  background: #16241b;
  padding: 9px;
  box-shadow: 0 40px 80px rgba(23, 63, 46, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotate(-2deg);
  transition: transform 0.5s var(--ease);
}

.phone-preview:hover .phone-frame {
  transform: rotate(0deg) translateY(-5px);
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 19px;
  border-radius: 99px;
  background: #16241b;
  z-index: 3;
}

.phone-screen {
  border-radius: 34px;
  background: var(--cream);
  padding: 44px 18px 18px;
  min-height: 570px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
}

.pm-avatar {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-size: 10px;
}

.pm-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 34px 18px;
  margin: 12px 0;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  text-align: center;
  background: var(--cream);
}
.pm-empty-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--lime-soft); color: var(--moss); }
.pm-empty-icon .icon { width: 16px; height: 16px; }
.pm-empty strong { font-family: var(--font-display); font-size: 14px; font-weight: 500; }
.pm-empty > span:last-child { color: var(--muted); font-size: 8px; line-height: 1.6; }

.pm-weather {
  background: var(--forest);
  color: var(--cream);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: 26px 1fr 1fr;
  align-items: center;
  gap: 8px;
}

.pm-weather .icon {
  color: var(--lime);
  width: 20px;
  height: 20px;
}

.pm-weather strong {
  font-family: var(--font-num);
  font-size: 25px;
  font-weight: 500;
}

.pm-weather span {
  font-size: 8px;
  line-height: 1.5;
  color: rgba(246, 242, 231, 0.65);
}

.pm-order {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
}

.pm-order img {
  width: 54px;
  height: 54px;
  border-radius: 9px;
  object-fit: cover;
}

.pm-order div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pm-order span {
  font-size: 8px;
  color: var(--muted);
}

.pm-order strong {
  font-size: 11px;
}

.pm-task {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--lime-soft);
  border-radius: 12px;
  padding: 10px;
}

.pm-task-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  background: rgba(23, 63, 46, 0.1);
  border-radius: 8px;
}

.pm-task-icon .icon {
  width: 14px;
  height: 14px;
}

.pm-task div {
  display: flex;
  flex-direction: column;
}

.pm-task strong {
  font-size: 9.5px;
}

.pm-task span:not(.pm-task-icon) {
  font-size: 7.5px;
  color: rgba(23, 63, 46, 0.64);
}

.pm-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.pm-row div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 7px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pm-row span {
  font-size: 7px;
  color: var(--muted);
}

.pm-row strong {
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 500;
}

.pm-btn {
  margin-top: auto;
  background: var(--forest);
  color: var(--cream);
  border-radius: 999px;
  padding: 12px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.pm-btn .icon {
  width: 13px;
  height: 13px;
}

/* ---------------- story ---------------- */

.story-section {
  width: min(var(--maxw), 100% - 64px);
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.story-media {
  position: relative;
  min-height: 560px;
}

.story-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-caption {
  position: absolute;
  left: 24px;
  top: 24px;
  right: auto;
  bottom: auto;
  max-width: 330px;
  padding: 16px 19px;
  border-radius: 16px;
  background: rgba(23, 63, 46, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  color: var(--cream);
}

.story-caption span {
  font-size: 9px;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.story-caption p {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.02em;
}

.story-copy {
  padding: 64px 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-copy h2 {
  margin: 16px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.story-copy > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
}

.story-quote {
  margin: 30px 0;
  padding: 22px 24px;
  background: var(--cream);
  border-radius: 18px;
  border-left: 3px solid var(--clay);
  position: relative;
}

.quote-mark {
  position: absolute;
  top: 2px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 58px;
  color: var(--line);
  line-height: 1;
}

.story-quote > p {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.story-quote > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.story-quote > div span {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.story-quote strong {
  font-size: 11px;
}

.story-quote small {
  font-size: 9px;
  color: var(--muted);
}

.story-points {
  display: flex;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.story-points span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--muted);
}

.story-points .icon {
  width: 14px;
  height: 14px;
  color: var(--moss);
}

/* ---------------- metrics & testimonials ---------------- */

.metrics-band {
  background: var(--lime);
  color: var(--forest);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 44px max(32px, calc((100vw - var(--maxw)) / 2));
  gap: 20px;
}

.metrics-band > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid rgba(23, 63, 46, 0.16);
}

.metrics-band > div:last-child {
  border-right: 0;
}

.metrics-band strong {
  font-family: var(--font-num);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.metrics-band sup {
  font-size: 0.45em;
  vertical-align: super;
}

.metrics-band span {
  margin-top: 6px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  opacity: 0.68;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 260px;
}

.testimonial-dark {
  background: var(--forest);
  color: var(--cream);
  border-color: transparent;
}

.stars {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.testimonial-card > p {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
  flex: 1;
}

.testimonial-dark > p {
  color: rgba(246, 242, 231, 0.82);
}

.testimonial-card > div:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-card > div:last-child span {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.testimonial-card strong {
  font-size: 11.5px;
}

.testimonial-card small {
  font-size: 9.5px;
  color: var(--muted);
}

.testimonial-dark small {
  color: rgba(246, 242, 231, 0.5);
}

/* ---------------- CTA ---------------- */

.cta-section {
  width: min(var(--maxw), 100% - 64px);
  margin: 0 auto 100px;
}

.cta-inner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 60px 64px;
  color: var(--cream);
  background: var(--forest);
}

.cta-inner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 39, 27, 0.92) 0%, rgba(13, 39, 27, 0.68) 46%, rgba(13, 39, 27, 0.24) 100%);
}

.cta-copy {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.cta-copy .eyebrow {
  color: rgba(246, 242, 231, 0.55);
}

.cta-copy h2 {
  margin: 16px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.cta-copy p:not(.eyebrow) {
  max-width: 430px;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(246, 242, 231, 0.68);
  margin-bottom: 28px;
}

.cta-side {
  position: relative;
  z-index: 1;
  flex: none;
  text-align: right;
  padding: 22px 26px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.cta-side > span {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(246, 242, 231, 0.6);
}

.cta-side strong {
  display: block;
  font-family: var(--font-num);
  font-size: 62px;
  line-height: 1.05;
  font-weight: 400;
  color: var(--lime);
}

.cta-side strong small {
  font-size: 14px;
  margin-left: 4px;
  color: rgba(246, 242, 231, 0.55);
}

.cta-side p {
  font-size: 9.5px;
  color: rgba(246, 242, 231, 0.6);
  margin-top: 5px;
}

/* ---------------- public footer ---------------- */

.site-footer {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 70px max(32px, calc((100vw - var(--maxw)) / 2)) 28px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(246, 242, 231, 0.12);
}

.footer-brand .brand-word small {
  color: rgba(246, 242, 231, 0.4);
}

.footer-brand .brand-word strong {
  color: var(--cream);
}

.footer-brand > p {
  margin-top: 22px;
  font-size: 11.5px;
  line-height: 1.9;
  color: rgba(246, 242, 231, 0.5);
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer-social span {
  font-size: 9px;
  border: 1px solid rgba(246, 242, 231, 0.16);
  border-radius: 999px;
  padding: 4px 10px;
  color: rgba(246, 242, 231, 0.55);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: rgba(246, 242, 231, 0.42);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-col a,
.footer-col button {
  font-size: 11.5px;
  color: rgba(246, 242, 231, 0.66);
  text-align: left;
  padding: 0;
  transition: color 0.2s;
}

.footer-col a:hover,
.footer-col button:hover {
  color: var(--lime);
}

.footer-contact strong {
  font-family: var(--font-num);
  font-size: 25px;
  font-weight: 400;
  color: var(--lime);
  letter-spacing: 0.01em;
}

.footer-contact span {
  font-size: 10px;
  line-height: 1.8;
  color: rgba(246, 242, 231, 0.42);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  font-size: 9px;
  color: rgba(246, 242, 231, 0.3);
}

/* ---------------- avatars ---------------- */

.avatar {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  color: var(--cream);
  flex: none;
  line-height: 1;
  overflow: hidden;
}

.avatar-xs {
  width: 24px;
  height: 24px;
  font-size: 10px;
}

.avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

.avatar-md {
  width: 40px;
  height: 40px;
  font-size: 15px;
}

.avatar-lg {
  width: 52px;
  height: 52px;
  font-size: 19px;
}

.avatar-xl {
  width: 86px;
  height: 86px;
  font-size: 32px;
  border: 3px solid var(--paper);
  box-shadow: var(--shadow-sm);
}

.avatar-clay {
  background: #b96a4b;
}

.avatar-sage {
  background: #7b9070;
}

.avatar-gold {
  background: #b58b46;
}

.avatar-moss {
  background: #496a50;
}

.avatar-forest {
  background: var(--forest);
}

.avatar-large {
  width: 52px;
  height: 52px;
}

/* ---------------- loading / error / empty ---------------- */

.boot-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--cream);
}

.boot-screen img {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  margin-bottom: 6px;
}

.boot-screen strong {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.08em;
}

.boot-screen p {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.boot-line {
  width: 110px;
  height: 2px;
  background: var(--line);
  overflow: hidden;
  border-radius: 99px;
  margin-top: 12px;
}

.boot-line i {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--forest);
  animation: boot 1.4s ease-in-out infinite;
}

@keyframes boot {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(300%);
  }
}

.loading-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}

.spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.spinner-lg {
  width: 30px;
  height: 30px;
  border-width: 2.5px;
  color: var(--forest);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 52px 24px;
  gap: 8px;
}

.empty-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--lime-soft);
  color: var(--moss);
  margin-bottom: 6px;
}

.empty-icon .icon {
  width: 22px;
  height: 22px;
}

.empty-state strong {
  font-family: var(--font-display);
  font-size: 17px;
}

.empty-state p {
  font-size: 11.5px;
  color: var(--muted);
  max-width: 320px;
  line-height: 1.8;
}

.empty-state .btn {
  margin-top: 12px;
}

.error-state {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 90px 24px;
}

.error-state > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  background: var(--clay-soft);
  color: var(--clay);
  border-radius: 16px;
}

.error-state h2 {
  font-family: var(--font-display);
  font-size: 27px;
  margin-bottom: 10px;
}

.error-state p {
  font-size: 12.5px;
  color: var(--muted);
}

.error-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.skeleton {
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(28, 43, 33, 0.05), rgba(28, 43, 33, 0.09), rgba(28, 43, 33, 0.05));
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.not-found,
.forbidden {
  min-height: 65vh;
  padding: 100px 32px;
  text-align: center;
}

.not-found h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  margin: 18px 0;
}

.not-found p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 24px;
}

/* ---------------- reveal ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   CMS-driven portal modules
   ========================================================= */

.badge-blue {
  background: #e4e9f7;
  color: #405d9b;
}

.announce-inner em {
  font-style: normal;
  font-weight: 700;
  color: var(--cream);
  opacity: 0.9;
}

.portal-banner-wrap {
  width: min(var(--maxw), 100% - 64px);
  margin: 0 auto 34px;
}

.portal-banner {
  position: relative;
  height: clamp(320px, 30vw, 420px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--forest);
  box-shadow: 0 26px 60px rgba(23, 63, 46, 0.14);
  isolation: isolate;
}

.portal-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s var(--ease), transform 1.2s var(--ease);
  transform: scale(1.015);
}

.portal-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  z-index: 1;
}

.portal-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.03);
}

.portal-slide-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 35, 23, 0.92) 0%, rgba(11, 35, 23, 0.7) 40%, rgba(11, 35, 23, 0.12) 78%),
    linear-gradient(0deg, rgba(11, 35, 23, 0.35), transparent 55%);
}

.portal-slide-copy {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: clamp(28px, 5vw, 72px);
  width: min(570px, 56%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--cream);
}

.portal-slide-copy .eyebrow {
  color: rgba(246, 242, 231, 0.5);
}

.portal-slide-copy h2 {
  margin: 14px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.3vw, 56px);
  line-height: 1.13;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.portal-slide-copy > p:not(.eyebrow) {
  max-width: 440px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(246, 242, 231, 0.68);
  margin-bottom: 22px;
}

.portal-slide-copy .btn {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 12px;
}

.portal-banner-controls {
  position: absolute;
  z-index: 4;
  right: 26px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-banner-controls > button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--cream);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.portal-banner-controls > button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.portal-banner-controls .icon {
  width: 14px;
  height: 14px;
}

.portal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.portal-dots button {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.25s, background 0.25s;
}

.portal-dots button.is-active {
  width: 38px;
  background: var(--lime);
}

.portal-banner-count {
  position: absolute;
  z-index: 4;
  right: 28px;
  top: 24px;
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(246, 242, 231, 0.5);
}

.portal-banner-count b {
  font-weight: 500;
  color: var(--cream);
}

.cms-feature-section {
  padding-top: 20px;
}

.cms-feature-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 30px;
}

.cms-feature-head h2 {
  margin-top: 13px;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.17;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.cms-feature-head > p {
  max-width: 340px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  padding-bottom: 6px;
}

.cms-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 1180px) {
  .cms-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cms-feature-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 25px;
  min-height: 210px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.cms-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.cms-feature-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid rgba(28, 43, 33, 0.06);
  right: -46px;
  top: -46px;
  box-shadow: 0 0 0 24px rgba(28, 43, 33, 0.018);
}

.cms-feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lime-soft);
  color: var(--moss);
  margin-bottom: 26px;
}

.cms-feature-icon .icon {
  width: 20px;
  height: 20px;
}

.cms-feature-card > em {
  position: absolute;
  top: 25px;
  right: 24px;
  font-family: var(--font-num);
  font-style: normal;
  font-size: 10px;
  color: var(--muted-2);
}

.cms-feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.cms-feature-card p {
  font-size: 11px;
  line-height: 1.85;
  color: var(--muted);
}

.cms-news-section {
  padding-bottom: 40px;
}

.cms-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cms-news-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 225px;
  transition: transform 0.3s var(--ease), border-color 0.2s, box-shadow 0.3s;
}

a.cms-news-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.cms-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 17px;
}

.cms-news-meta span {
  font-family: var(--font-num);
  font-size: 10px;
  color: var(--clay);
}

.cms-news-meta time {
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

.cms-news-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 9px;
}

.cms-news-card p {
  font-size: 10.5px;
  line-height: 1.85;
  color: var(--muted);
  flex: 1;
}

.cms-news-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
  font-size: 9px;
  font-weight: 600;
  color: var(--moss);
}

.cms-news-more .icon {
  width: 12px;
  height: 12px;
}


/* first-run setup */
.setup-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  background: var(--cream);
}
.setup-card {
  width: min(100% - 64px, 520px);
  margin: auto;
  padding: 48px 0;
}
.setup-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 54px;
}
.setup-brand img { width: 42px; height: 42px; }
.setup-brand span { display: flex; flex-direction: column; gap: 2px; }
.setup-brand strong { font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.setup-brand small { color: var(--muted); font-size: 7px; letter-spacing: .16em; }
.setup-card h1 {
  margin: 9px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -.04em;
}
.setup-intro { max-width: 420px; margin: 0 0 26px; color: var(--muted); font-size: 10px; line-height: 1.9; }
.setup-password-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.setup-card .btn { margin-top: 8px; }
.setup-note { display: flex; align-items: flex-start; gap: 5px; margin: 16px 0 0; color: var(--muted); font-size: 8px; line-height: 1.7; }
.setup-note .icon { width: 12px; height: 12px; flex: none; color: var(--moss); margin-top: 1px; }
.setup-note code { color: var(--ink-soft); }
.setup-art { min-height: 100vh; overflow: hidden; background: var(--forest); }
.setup-art img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
@media (max-width: 860px) {
  .setup-page { grid-template-columns: 1fr; }
  .setup-card { width: min(100% - 40px, 520px); padding: 32px 0 42px; }
  .setup-brand { margin-bottom: 36px; }
  .setup-art { display: none; }
}

/* 协议与注册认证 */
.agreement-page { max-width: 980px; margin: 0 auto; padding: 72px 28px 96px; }
.agreement-hero { padding-bottom: 26px; border-bottom: 1px solid rgba(31,53,43,.14); }
.agreement-hero h1 { font-family: var(--font-serif); font-size: clamp(34px,5vw,58px); font-weight: 500; margin: 12px 0 10px; }
.agreement-hero p { color: var(--muted); margin: 0; }
.agreement-body { padding: 38px 0; }
.agreement-content { max-width: 760px; color: var(--ink-soft); font-size: 15px; line-height: 2.05; white-space: normal; }
.auth-code-row { display: flex; gap: 8px; align-items: center; }
.auth-code-row input { flex: 1; }
.auth-code-row .btn { flex: 0 0 auto; white-space: nowrap; }
.auth-agree { display: flex; gap: 9px; align-items: flex-start; margin: 12px 0 4px; color: var(--muted); font-size: 12px; line-height: 1.7; cursor: pointer; }
.auth-agree input { margin-top: 3px; accent-color: var(--forest); }
.auth-agree a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }
.field-hint { display: block; margin-top: 5px; color: #a45a45; font-size: 11px; }

.checkout-shipping-row, .checkout-shipping-pending { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(31,77,58,.06); color: var(--ink-soft); font-size: 13px; }
.checkout-shipping-pending { justify-content: flex-start; line-height: 1.65; align-items: flex-start; }
.checkout-shipping-pending .icon { flex: 0 0 auto; margin-top: 2px; }
.checkout-shipping-row strong { color: var(--ink); }
.compact-form { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(31,53,43,.1); }

.auth-oauth { display: flex; align-items: center; gap: 8px; margin: 14px 0 4px; flex-wrap: wrap; }
.auth-oauth > span { width: 100%; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.auth-oauth-btn { flex: 1 1 0; min-width: 100px; padding: 9px 10px; border: 1px solid rgba(31,53,43,.14); border-radius: 8px; background: #fff; color: var(--ink); font-size: 12px; cursor: pointer; }
.auth-oauth-btn:hover { border-color: var(--forest); color: var(--forest); }
.auth-oauth-btn.wechat { background: #f4fbf6; }
.auth-oauth-btn.qq { background: #f5f8ff; }

.oauth-bind-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 60px 20px; }
.oauth-bind-card { width: min(100%, 460px); padding: 30px; border: 1px solid rgba(31,53,43,.12); border-radius: 18px; background: #fffdf8; box-shadow: 0 20px 60px rgba(31,53,43,.08); }
.oauth-bind-card h1 { font-family: var(--font-serif); font-size: 30px; margin: 8px 0 8px; }
.oauth-bind-card > p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.oauth-bind-card form { margin-top: 18px; display: grid; gap: 12px; }

.support-fab { position: fixed; right: 22px; bottom: 24px; z-index: 900; display: inline-flex; align-items: center; gap: 7px; padding: 12px 16px; border: 0; border-radius: 999px; background: #1f4d3a; color: #fff; box-shadow: 0 10px 30px rgba(31,77,58,.28); font-size: 13px; cursor: pointer; }
.support-fab .icon { width: 18px; height: 18px; }
.support-fab:hover { background: #173d2d; }
.support-modal { padding: 6px; }
.support-head { display: flex; gap: 12px; align-items: flex-start; padding-right: 30px; }
.support-head h2 { margin: 4px 0 6px; font-family: var(--font-serif); font-size: 25px; }
.support-head p { margin: 0; }
.support-thread { height: min(46vh, 380px); overflow-y: auto; display: flex; flex-direction: column; gap: 10px; margin: 16px 0; padding: 12px; border-radius: 12px; background: rgba(31,53,43,.045); }
.support-message { max-width: 82%; padding: 9px 11px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(31,53,43,.05); }
.support-message.is-user { align-self: flex-end; background: #eef5ec; }
.support-message.is-admin { align-self: flex-start; }
.support-message p { margin: 0 0 4px; font-size: 13px; line-height: 1.65; white-space: pre-wrap; }
.support-message small { color: var(--muted); font-size: 10px; }
.support-empty { margin: auto; color: var(--muted); font-size: 12px; text-align: center; padding: 18px; }
.support-form { display: flex; gap: 8px; align-items: flex-end; }
.support-form textarea { flex: 1; min-height: 54px; resize: vertical; padding: 10px; border: 1px solid rgba(31,53,43,.15); border-radius: 9px; font: inherit; font-size: 13px; }
.support-form .btn { flex: 0 0 auto; }
@media (max-width: 640px) { .support-fab { right: 14px; bottom: 78px; padding: 10px 13px; font-size: 12px; } }

.farmer-apply-main { max-width: 1180px; margin: 0 auto; padding: 56px 24px 80px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.farmer-apply-intro { position: sticky; top: 110px; padding-top: 18px; }
.farmer-apply-intro h1 { font-family: var(--font-serif); font-size: clamp(34px, 4.5vw, 58px); line-height: 1.2; color: var(--forest); margin: 12px 0 20px; }
.farmer-apply-intro > p { color: var(--muted); line-height: 1.8; font-size: 14px; }
.apply-points { display: grid; gap: 14px; margin: 28px 0; }
.apply-points > div { display: grid; grid-template-columns: 38px 1fr; column-gap: 10px; padding: 14px 0; border-top: 1px solid rgba(31,53,43,.12); }
.apply-points > div > span { grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(31,77,58,.08); display: flex; align-items: center; justify-content: center; color: var(--forest); }
.apply-points strong { font-size: 13px; color: var(--ink); }
.apply-points small { color: var(--muted); font-size: 11px; }
.apply-note { color: var(--muted); font-size: 11px; line-height: 1.7; }
.farmer-apply-form-panel { background: #fffdf7; border: 1px solid rgba(31,53,43,.12); border-radius: 16px; padding: 30px; box-shadow: 0 18px 50px rgba(31,53,43,.07); }
.apply-form-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.apply-form-head h2 { font-family: var(--font-serif); font-size: 26px; margin: 0; color: var(--forest); }
.apply-form-head small { color: var(--muted); font-size: 11px; }
.farmer-apply-form .admin-form-grid { grid-template-columns: 1fr 1fr; }
.apply-directions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.apply-directions label { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border: 1px solid rgba(31,53,43,.14); border-radius: 18px; background: #fff; font-size: 12px; cursor: pointer; }
.apply-directions label:has(input:checked) { background: var(--forest); color: #fff; border-color: var(--forest); }
.apply-directions input { accent-color: var(--forest); }
.apply-agree { display: flex; gap: 8px; align-items: flex-start; font-size: 11px; color: var(--muted); line-height: 1.6; margin: 14px 0; }
.apply-agree a { color: var(--forest); text-decoration: underline; }
.farmer-apply-success { max-width: 560px; margin: 60px auto; background: #fffdf7; border: 1px solid rgba(31,53,43,.12); border-radius: 18px; padding: 44px; text-align: center; }
.apply-success-mark { width: 60px; height: 60px; border-radius: 50%; background: var(--forest); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 18px; }
.farmer-apply-success h1 { font-family: var(--font-serif); font-size: 32px; color: var(--forest); margin: 8px 0 14px; }
.farmer-apply-success p { color: var(--muted); line-height: 1.8; font-size: 13px; }
.apply-success-actions { display: flex; justify-content: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
@media (max-width: 900px) { .farmer-apply-main { grid-template-columns: 1fr; gap: 28px; padding-top: 30px; } .farmer-apply-intro { position: static; } .farmer-apply-form .admin-form-grid { grid-template-columns: 1fr; } .farmer-apply-form-panel { padding: 20px; } }

.farm-products-block {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(31, 53, 43, .14);
  border-radius: 10px;
  background: rgba(31, 77, 58, .025);
}

.farm-products-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.farm-products-head > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.farm-products-head strong {
  font-size: 12px;
}

.farm-products-head span {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.farm-products-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  flex: none;
}

.farm-products-import {
  min-height: 32px;
  padding: 6px 9px;
  font-size: 9px;
}

.farm-products-import input {
  max-width: 140px;
}

.farm-products-table {
  min-width: 760px;
}

.farm-products-table th,
.farm-products-table td {
  padding: 7px 6px;
  vertical-align: middle;
}

.farm-products-table input,
.farm-products-table select {
  width: 100%;
  min-height: 30px;
  border: 1px solid rgba(31, 53, 43, .14);
  border-radius: 6px;
  background: #fffdf8;
  padding: 4px 6px;
  font-size: 10px;
}

.farm-product-proof {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 120px;
  cursor: pointer;
}

.farm-product-proof input {
  max-width: 86px;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 8px;
}

.farm-product-proof small {
  max-width: 55px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 8px;
}

.farm-products-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}

.farm-products-foot small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.application-products {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid rgba(31, 53, 43, .12);
  border-radius: 8px;
  background: rgba(255, 253, 248, .7);
}

.application-products .block-label {
  margin: 0 0 7px;
}

.application-products-table {
  min-width: 620px;
}

.application-products-table th,
.application-products-table td {
  padding: 6px 7px;
  font-size: 9px;
}

@media (max-width: 720px) {
  .farm-products-head {
    flex-direction: column;
  }

  .farm-products-tools {
    width: 100%;
  }

  .farm-products-import {
    flex: 1;
  }
}

.apply-files { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; padding: 14px; border: 1px dashed rgba(31,53,43,.2); border-radius: 10px; background: rgba(31,77,58,.025); }
.apply-files > .block-label { grid-column: 1 / -1; margin: 0 0 2px; }
.apply-file { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 11px; border: 1px solid rgba(31,53,43,.12); border-radius: 8px; background: #fff; font-size: 11px; cursor: pointer; }
.apply-file > span { color: var(--ink-soft); white-space: nowrap; }
.apply-file-preview {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex: none;
  border: 1px solid rgba(31, 53, 43, .12);
}

.apply-file input { max-width: 145px; font-size: 10px; color: var(--muted); }
.apply-file small { color: var(--muted); font-size: 9px; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .apply-files { grid-template-columns: 1fr; } .apply-file input { max-width: 150px; } }

/* support close */
.support-head { position: relative; }
.support-close-btn { margin-left: auto; flex: none; align-self: flex-start; }
.support-closed-note { margin: 0 0 12px; padding: 9px 12px; border-left: 2px solid var(--gold); background: var(--gold-soft); color: #7d5c24; font-size: 11px; line-height: 1.7; }
.support-thread-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.support-thread-actions .btn { min-height: 30px; }

.btn-danger { background: #a94b3c; color: #fff; border: 1px solid #a94b3c; }
.btn-danger:hover { background: #933e31; }
