/* ========================================
   OneStep Farm Website — Styles
   ======================================== */

/* ------------------------------------------------------------------
   1. Design Tokens
   ------------------------------------------------------------------ */
:root {
  /* Brand palette (keep existing) */
  --farm-green: #8acb74;
  --farm-green-strong: #5fae53;
  --farm-green-soft: #ddf2d2;
  --farm-green-pale: #f1faec;
  --cream: #fff8ea;
  --cream-soft: #fffdf6;
  --canvas-top: #f3faef;
  --canvas-mid: #fafdf6;
  --canvas-bottom: #eaf6dd;
  --surface: #ffffff;
  --surface-soft: #fffdf7;
  --ink: #172414;
  --body: #3f4a3c;
  --body-strong: #273323;
  --muted: #6e786a;
  --hairline: #dfe8d7;
  --hairline-soft: #edf3e8;
  --warning: #e6a844;
  --error: #d95a5a;

  /* Radii */
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-xxl: 28px;

  /* Layout */
  --content-width: 980px;

  /* Card variant backgrounds */
  --card-green-tint: linear-gradient(180deg, var(--surface) 0%, #f6fbf2 100%);
  --card-cream-tint: linear-gradient(180deg, var(--surface) 0%, #fefbf3 100%);
  --card-warm-tint: linear-gradient(180deg, var(--surface) 0%, #fff9ed 100%);

  /* Shadows (progressive elevation) */
  --shadow-sm: 0 2px 6px rgba(35, 64, 22, 0.05);
  --shadow-md: 0 7px 14px rgba(35, 64, 22, 0.08);
  --shadow-lg: 0 12px 28px rgba(35, 64, 22, 0.1);
  --shadow-xl: 0 18px 40px rgba(35, 64, 22, 0.12);
  --shadow-hover: 0 16px 36px rgba(35, 64, 22, 0.13);
  --shadow-card: 0 7px 14px rgba(35, 64, 22, 0.1);  /* kept for compat */

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;

  /* Typography */
  --font-heading: "Songti SC", "New York", Georgia, "Noto Serif SC", serif;
}

/* ------------------------------------------------------------------
   2. Reset & Base
   ------------------------------------------------------------------ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "SF Pro Text", sans-serif;
  font-size: 16px;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 18% 0%, rgba(255, 255, 255, 0.8) 0%, transparent 45%),
    radial-gradient(ellipse at 82% 4%, rgba(255, 248, 234, 0.6) 0%, transparent 35%),
    radial-gradient(ellipse at 50% 100%, rgba(138, 203, 116, 0.07) 0%, transparent 55%),
    linear-gradient(180deg, var(--canvas-top) 0%, var(--canvas-mid) 48%, var(--canvas-bottom) 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

p {
  line-height: 1.7;
}

.site-shell {
  min-height: 100vh;
}

/* ------------------------------------------------------------------
   3. Header & Navigation
   ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 253, 246, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(223, 232, 215, 0.7);
}

.site-header__inner,
.site-footer__inner,
.page-section,
.page-layout,
.page-hero {
  width: min(calc(100% - 36px), var(--content-width));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-link__badge {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--farm-green-pale), var(--farm-green-soft));
  color: var(--body-strong);
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 5px 10px rgba(46, 74, 33, 0.14);
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-link__badge {
  transform: scale(1.06);
}

.brand-link__title {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-link__subtitle {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 9999px;
  text-decoration: none;
  color: var(--body);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--farm-green-soft);
  color: var(--body-strong);
  transform: translateY(-1px);
}

/* ------------------------------------------------------------------
   4. Hero Section
   ------------------------------------------------------------------ */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 28px;
  padding: 44px 0 20px;
  position: relative;
}

/* Shared card base — structural only, no background */
.hero-copy,
.hero-card,
.feature-card,
.support-card,
.faq-card,
.board-card,
.page-panel,
.privacy-card,
.form-card,
.admin-card,
.cta-panel,
.site-note {
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.hero-copy {
  padding: 36px;
  background: var(--card-green-tint);
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--farm-green), var(--farm-green-strong));
  border-radius: 0 0 3px 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--farm-green-soft), #c8e8b8);
  color: var(--body-strong);
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 2px 4px rgba(95, 174, 83, 0.1);
}

.hero-copy h1,
.page-panel h1,
.privacy-card h1,
.form-card h1,
.admin-card h1 {
  margin: 20px 0 14px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 46px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.hero-copy h1::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 18px;
  background: var(--farm-green);
  border-radius: 2px;
}

.hero-copy p,
.page-panel p,
.privacy-card p,
.privacy-card li,
.form-helper,
.site-note,
.inline-note,
.feature-card p,
.support-card p,
.board-card p,
.faq-card p {
  margin: 0 0 16px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.7;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(241, 250, 236, 0.95), #eaf4dc);
  color: var(--body-strong);
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 2px 4px rgba(95, 174, 83, 0.06);
}

.hero-actions,
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

/* Hero Card */
.hero-card {
  padding: 22px;
  background: var(--card-green-tint);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
}

.hero-card__stack {
  display: grid;
  gap: 18px;
}

.hero-note {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--hairline-soft);
}

.hero-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--body-strong);
  font-size: 15px;
  font-weight: 700;
}

.hero-note span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.hero-floaters {
  position: relative;
  width: 100%;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-floater {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(237, 243, 232, 0.98);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-floater:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-floater img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.hero-floater span {
  color: var(--body-strong);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.hero-card__image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(243, 250, 239, 1) 0%, rgba(255, 253, 246, 1) 100%);
  border: 1px solid var(--hairline-soft);
}

.hero-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.hero-stat {
  min-height: 104px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--hairline-soft);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(138, 203, 116, 0.12);
}

.hero-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--body-strong);
  letter-spacing: -0.03em;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* ------------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------------ */
.button,
button,
input,
textarea,
select {
  font: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 9999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.button--primary {
  background: linear-gradient(135deg, var(--farm-green) 0%, var(--farm-green-strong) 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(95, 174, 83, 0.22);
  border-color: transparent;
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(95, 174, 83, 0.3);
}

.button--secondary {
  background: var(--surface);
  color: var(--body-strong);
  border-color: var(--hairline);
}

.button--secondary:hover {
  background: var(--farm-green-pale);
  border-color: var(--farm-green);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------
   6. Section Layout & Headings
   ------------------------------------------------------------------ */
.page-section {
  padding: 44px 0 52px;
  position: relative;
}

.page-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(75%, 560px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}

.page-section:last-of-type::after {
  display: none;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2,
.faq-card h2,
.feature-card h3,
.support-card h3,
.board-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  padding-bottom: 14px;
  position: relative;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--farm-green), var(--farm-green-soft));
}

.section-heading p {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ------------------------------------------------------------------
   7. Bento Grid
   ------------------------------------------------------------------ */
.bento-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--hairline-soft);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.bento-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 56px;
  height: 56px;
  background: radial-gradient(circle at 100% 100%, var(--farm-green-soft), transparent 70%);
  pointer-events: none;
  opacity: 0.45;
}

.bento-card:first-child {
  background: var(--card-green-tint);
  border-left: 3px solid var(--farm-green);
}

.bento-card:nth-child(2) {
  background: var(--card-cream-tint);
  border-left: 3px solid var(--warning);
}

.bento-card:nth-child(3) {
  background: var(--card-green-tint);
  border-left: 3px solid var(--farm-green-strong);
}

.bento-card--wide {
  grid-column: span 1;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
}

.bento-card__copy h3,
.bento-card h3 {
  margin: 12px 0 10px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.bento-card__copy p,
.bento-card p {
  margin: 0;
  color: var(--body);
  font-size: 15px;
  line-height: 1.7;
}

.route-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-self: end;
}

.route-step {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px 14px;
  border-radius: var(--radius-lg);
  background: var(--farm-green-pale);
  border: 1px solid rgba(223, 232, 215, 0.9);
  text-align: center;
  transition: transform var(--transition-fast);
}

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

.route-step img,
.bento-card__icon img {
  width: 100%;
  max-width: 92px;
  margin: 0 auto;
}

.route-step span {
  color: var(--body-strong);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.bento-card__icon,
.bento-card__status {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-top: 18px;
}

.bento-card__status img {
  width: 100%;
  max-width: 120px;
}

/* ------------------------------------------------------------------
   8. Feature Grid
   ------------------------------------------------------------------ */
.feature-grid,
.support-grid,
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-grid--dense .feature-card {
  min-height: 280px;
}

.feature-card,
.support-card,
.board-card,
.faq-card {
  padding: 28px;
  background: var(--surface);
}

.feature-card:hover,
.support-card:hover,
.board-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.feature-card:nth-child(1) {
  background: var(--card-green-tint);
}

.feature-card:nth-child(2) {
  background: var(--card-cream-tint);
}

.feature-card:nth-child(3) {
  background: var(--card-green-tint);
}

.feature-card__eyebrow,
.board-card__meta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--farm-green-soft), #c8e8b8);
  color: var(--body-strong);
  font-size: 12px;
  font-weight: 650;
}

.feature-card h3,
.support-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-top: 14px;
}

.feature-list,
.privacy-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.7;
}

.feature-list li {
  margin-bottom: 6px;
}

/* ------------------------------------------------------------------
   9. Showcase Grid
   ------------------------------------------------------------------ */
.showcase-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 24px;
}

.showcase-card,
.board-preview-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--hairline-soft);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.showcase-card:first-child {
  background: var(--card-green-tint);
}

.showcase-card:last-child {
  background: var(--card-cream-tint);
}

.showcase-card--visual {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
}

.showcase-card__stack {
  display: grid;
  gap: 14px;
}

.showcase-card__stack img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.showcase-card__copy h3,
.showcase-card h3,
.board-preview-card h3 {
  margin: 12px 0 10px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.showcase-card__copy p,
.showcase-card p,
.board-preview-card p {
  margin: 0;
  color: var(--body);
  font-size: 15px;
  line-height: 1.7;
}

/* ------------------------------------------------------------------
   10. Module Preview
   ------------------------------------------------------------------ */
.module-preview-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.module-preview {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--hairline-soft);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.module-preview:hover {
  background: var(--surface);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.module-preview img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.module-preview strong {
  display: block;
  margin-bottom: 4px;
  color: var(--body-strong);
  font-size: 15px;
}

.module-preview span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ------------------------------------------------------------------
   11. Board Preview
   ------------------------------------------------------------------ */
.board-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.board-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.board-preview-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.board-preview-card__id {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.board-preview-card--action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--card-green-tint) !important;
}

/* ------------------------------------------------------------------
   12. Feedback Status Badges
   ------------------------------------------------------------------ */
.feedback-status {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 650;
  margin-top: 12px;
}

.feedback-status--received {
  background: #eef7e8;
  color: #4a6e2e;
}

.feedback-status--reviewing {
  background: rgba(255, 240, 210, 0.8);
  color: #654414;
}

.feedback-status--planned {
  background: #e8f3fb;
  color: #3b687f;
}

.feedback-status--done {
  background: var(--farm-green-soft);
  color: var(--body-strong);
}

.feedback-status--rejected {
  background: #ffe1dd;
  color: #7c2f28;
}

/* ------------------------------------------------------------------
   13. CTA Panel
   ------------------------------------------------------------------ */
.cta-panel {
  padding: 36px 40px;
  background: linear-gradient(135deg, var(--farm-green-pale) 0%, var(--surface) 45%, var(--cream-soft) 100%);
  border: 1px solid rgba(223, 232, 215, 0.7);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 203, 116, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-panel::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 234, 0.45) 0%, transparent 70%);
  pointer-events: none;
}

.cta-panel--split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.cta-panel--split h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ------------------------------------------------------------------
   14. Page Layouts (sub-pages)
   ------------------------------------------------------------------ */
.page-layout {
  padding: 48px 0 64px;
}

.page-layout--narrow {
  width: min(calc(100% - 36px), 860px);
}

.page-panel,
.privacy-card,
.form-card,
.admin-card,
.cta-panel {
  padding: 36px;
}

.page-panel {
  background: var(--surface);
  margin-bottom: 28px;
}

/* ------------------------------------------------------------------
   15. FAQ Page
   ------------------------------------------------------------------ */
.faq-list,
.feedback-list {
  display: grid;
  gap: 20px;
}

.faq-card {
  background: var(--surface);
  transition: transform var(--transition-base);
}

.faq-card:hover {
  transform: translateX(4px);
}

.faq-card__warning {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 240, 210, 0.8);
  color: #654414;
  border: 1px solid rgba(230, 168, 68, 0.18);
}

/* ------------------------------------------------------------------
   16. Forms
   ------------------------------------------------------------------ */
.form-grid {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: var(--body-strong);
  font-size: 15px;
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline);
  background: var(--surface-soft);
  color: var(--ink);
  padding: 12px 14px;
  font-size: 15px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--farm-green);
  box-shadow: 0 0 0 3px rgba(138, 203, 116, 0.15);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.success-box,
.error-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.55;
}

.success-box {
  background: var(--farm-green-pale);
  border: 1px solid var(--hairline);
  color: var(--body-strong);
}

.error-box {
  background: #fff0ef;
  border: 1px solid rgba(217, 90, 90, 0.18);
  color: #8b3636;
}

/* ------------------------------------------------------------------
   17. Admin
   ------------------------------------------------------------------ */
.admin-card {
  background: var(--surface);
}

.admin-card__toolbar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-feedback-item {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline-soft);
  background: var(--surface-soft);
}

.admin-feedback-item + .admin-feedback-item {
  margin-top: 16px;
}

.admin-feedback-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.admin-feedback-item__actions {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* ------------------------------------------------------------------
   18. Privacy
   ------------------------------------------------------------------ */
.privacy-card {
  background: var(--surface);
}

.privacy-card h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin: 28px 0 12px;
}

/* ------------------------------------------------------------------
   19. Utility
   ------------------------------------------------------------------ */
.site-note {
  padding: 16px 20px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.6;
  background: var(--surface-soft);
}

/* ------------------------------------------------------------------
   20. Footer
   ------------------------------------------------------------------ */
.site-footer {
  padding: 40px 0 48px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--farm-green-soft), var(--farm-green), var(--farm-green-soft), transparent);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer__inner span:last-child {
  text-align: right;
  font-size: 13px;
}

.site-footer__inner span {
  display: block;
}

.site-footer__beian {
  color: var(--muted);
  display: block;
  font-size: 13px;
  grid-column: 1 / -1;
  text-align: center;
  text-decoration: none;
}

.site-footer__beian:hover {
  color: var(--farm-green);
  text-decoration: underline;
}

/* ------------------------------------------------------------------
   21. Animations
   ------------------------------------------------------------------ */
@keyframes pulse-loading {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* ------------------------------------------------------------------
   22. Responsive — Tablet (≤1024px)
   ------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .page-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 16px;
  }

  .hero-card__stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .bento-card--wide {
    grid-column: 1 / -1;
  }

  .feature-grid,
  .support-grid,
  .board-grid,
  .board-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .showcase-card--visual {
    grid-template-columns: 1fr 1fr;
  }
}

/* ------------------------------------------------------------------
   23. Responsive — Mobile (≤700px)
   ------------------------------------------------------------------ */
@media (max-width: 700px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero,
  .bento-grid,
  .showcase-grid,
  .feature-grid,
  .support-grid,
  .board-preview-grid,
  .board-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-card__stats {
    grid-template-columns: 1fr;
  }

  .route-strip {
    grid-template-columns: 1fr;
  }

  .showcase-card--visual {
    grid-template-columns: 1fr;
  }

  .cta-panel--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .hero-card,
  .page-panel,
  .privacy-card,
  .form-card,
  .admin-card,
  .cta-panel {
    padding: 24px;
  }

  .hero-floaters {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .page-section {
    padding: 32px 0 36px;
  }

  .page-hero {
    padding: 24px 0 8px;
    gap: 16px;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__inner span:last-child {
    text-align: center;
  }

  .cta-panel {
    padding: 28px 24px;
  }
}

/* ------------------------------------------------------------------
   24. Responsive — Small Mobile (≤480px)
   ------------------------------------------------------------------ */
@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: 26px;
  }

  .site-nav {
    gap: 4px;
  }

  .site-nav a {
    font-size: 13px;
    padding: 8px 10px;
  }

  .site-header__inner {
    padding: 10px 0;
  }

  .hero-card__stats {
    gap: 10px;
  }

  .hero-stat {
    padding: 14px;
    min-height: 80px;
  }

  .hero-stat strong {
    font-size: 22px;
  }

  .button {
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
  }

  .hero-copy {
    padding: 24px;
  }

  .cta-panel--split h2 {
    font-size: 22px;
  }

  .bento-card,
  .feature-card,
  .showcase-card,
  .board-preview-card,
  .support-card,
  .board-card,
  .faq-card {
    padding: 22px;
  }
}
