:root {
  --brand: #4bb209;
  --brand-hover: #3f9a07;
  --brand-hover-home: #3d9207;
  --brand-dark: #2f7305;
  --brand-soft: #e8f5dc;
  --accent-green: #48ca32;
  --green-900: #0a2f12;
  --green-850: #0b3a16;
  --green-800: #0f4a1c;
  --green-750: #143e1b;
  --green-700: #1f3a1a;
  --green-950: #0a1a0f;
  --black: #0a0a0a;
  --ink: #15201a;
  --charcoal: #1f1f1f;
  --text-body: #5c6066;
  --text-secondary: #5b6b62;
  --text-muted: #8b9099;
  --white: #ffffff;
  --surface-page: #ffffff;
  --surface-soft: #fafaf8;
  --surface-muted: #f5f5f0;
  --surface-dark: #071009;
  --stone-border: #e8eae7;
  --stone-border-home: #ebeae3;
  --stone-control: #d6d4c8;
  --border-soft: 1px solid var(--stone-border);
  --border-home: 1px solid var(--stone-border-home);
  --text-on-dark-strong: rgb(255 255 255 / 85%);
  --text-on-dark-body: rgb(255 255 255 / 78%);
  --text-on-dark-medium: rgb(255 255 255 / 65%);
  --text-on-dark-muted: rgb(255 255 255 / 45%);
  --border-on-dark: 1px solid rgb(255 255 255 / 8%);
  --border-on-dark-strong: 1px solid rgb(255 255 255 / 12%);
  --grid-on-dark: rgb(255 255 255 / 4%);
  --grid-on-dark-soft: rgb(255 255 255 / 3%);
  --hover-on-dark: rgb(255 255 255 / 6%);
  --control-on-dark: rgb(255 255 255 / 28%);
  --control-on-dark-hover: rgb(255 255 255 / 58%);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-zh: "Noto Sans SC", "Inter", sans-serif;
  --container-max: 1280px;
  --container-padding: 40px;
  --header-height: 80px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --control-radius: var(--radius-sm);
  --card-radius: var(--radius-lg);
  --button-height: 56px;
  --button-height-sm: 40px;
  --field-height: 48px;
  --logo-row-height: 48px;
  --icon-size-md: 40px;
  --shadow-sm: 0 1px 2px rgba(15, 32, 26, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 32, 26, 0.08);
  --card-shadow: var(--shadow-sm);
  --visual-shadow: var(--shadow-md);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

html.has-open-menu {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--white);
  background: var(--green-800);
}

.container,
.home-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--white);
  border-bottom: var(--border-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  gap: 20px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  flex-direction: row;
  line-height: 1;
}

.site-brand__logo {
  display: block;
  width: 160px;
  height: auto;
}

.site-brand__logo--mobile,
.site-brand__logo--mobile-menu {
  display: none;
}

.site-brand__desktop,
.footer-logo__desktop {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.site-brand__block,
.footer-logo__block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 12px;
  color: var(--white);
  font-size: 16px;
  background: var(--brand);
  border-radius: var(--control-radius);
}

.site-brand__block {
  font-weight: 700;
}

.site-brand__mobile,
.footer-logo__mobile {
  display: none;
  align-items: center;
}

.site-brand__mobile {
  gap: 10px;
}

.site-brand__mark,
.footer-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  background: var(--brand);
  border-radius: var(--control-radius);
}

.site-brand__text,
.footer-logo__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

.site-brand__name {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.site-brand__zh {
  font-family: var(--font-zh);
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding-left: 2px;
}

.site-brand__sub {
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 span {
  font-family: var(--font-zh);
  font-weight: 600;
}

.shinezo-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.shinezo-form-notice {
  width: 100%;
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: var(--control-radius);
  font-size: 14px;
  line-height: 20px;
}

.shinezo-form-notice--success {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.shinezo-form-notice--error {
  color: var(--ink);
  background: var(--surface-muted);
  border: var(--border-home);
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav {
  min-width: 0;
  margin-left: auto;
  overflow: visible;
}

.primary-nav__list {
  gap: 2px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.primary-nav__list > li {
  position: relative;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  height: var(--header-height);
  padding: 0 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  text-decoration: none;
}

.primary-nav .menu-item-has-children > a {
  padding-right: 22px;
}

.primary-nav .menu-item-has-children > a::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-60%) rotate(45deg);
}

.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  z-index: 120;
  display: grid;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--white);
  border: var(--border-soft);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu a {
  height: auto;
  width: 100%;
  min-height: 40px;
  justify-content: flex-start;
  padding: 10px 12px;
  border-radius: var(--control-radius);
}

.primary-nav .sub-menu a::after,
.primary-nav .sub-menu a::before {
  display: none;
}

.primary-nav .sub-menu a:hover {
  color: var(--brand-hover);
  background: var(--surface-muted);
}

.primary-nav a:hover {
  color: var(--brand-hover);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 24px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current-menu-ancestor > a::after,
.primary-nav .current_page_item > a::after {
  transform: scaleX(1);
}

.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current_page_item > a {
  color: var(--ink);
}

.primary-nav .current-menu-item > a:hover,
.primary-nav .current-menu-ancestor > a:hover,
.primary-nav .current_page_item > a:hover {
  color: var(--brand-hover);
}

.site-header__cta {
  flex: 0 0 auto;
  margin-left: 20px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  flex: 0 0 auto;
}

.nav-toggle__icon,
.mobile-menu__close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  color: var(--ink);
  background: var(--white);
}

.has-open-menu .mobile-menu {
  display: flex;
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 24px;
  border-bottom: var(--border-soft);
}

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.mobile-menu__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu__list .sub-menu {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--surface-soft);
}

.mobile-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 24px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  border-bottom: var(--border-soft);
}

.mobile-menu__list .sub-menu a {
  min-height: 48px;
  padding-left: 44px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
}

.mobile-menu__list .sub-menu a::after {
  display: none;
}

.mobile-menu__list .menu-item-has-children > a::after {
  transform: translateY(-2px) rotate(135deg);
}

.mobile-menu__list a::after {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--text-secondary);
  border-right: 2px solid var(--text-secondary);
  transform: rotate(45deg);
}

.mobile-menu__footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding: 28px 24px 32px;
}

.mobile-menu__contacts {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.mobile-menu__contacts a {
  color: var(--brand-hover);
  font-weight: 700;
}

.site-main {
  min-height: 60vh;
}

.hero {
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  color: var(--white);
  background: radial-gradient(circle at 70% 30%, rgba(75, 178, 9, 0.45), transparent 34%),
    linear-gradient(135deg, var(--green-850), var(--green-800));
}

.hero__inner {
  padding-top: 96px;
  padding-bottom: 112px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1,
.entry-title,
.content-empty h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1.04;
  letter-spacing: 0;
}

.content-section .entry-title {
  max-width: 960px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.08;
}

.hero__lead {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-on-dark-body);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--field-height);
  padding: 0 22px;
  border-radius: var(--control-radius);
  font-weight: 700;
  border: 1px solid transparent;
}

.button--primary {
  color: var(--white);
  background: var(--brand);
}

.button--primary:hover {
  background: var(--brand-hover);
}

.button--header {
  height: var(--button-height-sm);
  min-height: var(--button-height-sm);
  padding: 0 16px;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--ink);
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  cursor: pointer;
}

.button--header:hover {
  color: var(--brand-hover);
  background: transparent;
  border-color: var(--brand-hover);
}

.button--secondary {
  color: var(--white);
  border-color: var(--control-on-dark);
}

.button--secondary:hover {
  border-color: var(--control-on-dark-hover);
}

.button--outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--stone-border);
}

.button--outline:hover {
  border-color: var(--brand);
}

.content-section {
  padding: 72px 0;
}

.entry-header {
  margin-bottom: 24px;
}

.entry-content {
  color: var(--text-secondary);
}

.entry-content a {
  color: var(--green-800);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.not-found {
  display: grid;
  grid-template-columns: minmax(220px, 0.48fr) minmax(0, 0.52fr);
  gap: 56px;
  align-items: center;
  min-height: 520px;
}

.not-found__code {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  color: var(--text-on-dark-strong);
  font-size: clamp(88px, 15vw, 180px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 72% 28%, rgb(72 202 50 / 18%), transparent 44%),
    linear-gradient(135deg, var(--green-800), var(--green-900));
  border-radius: var(--card-radius);
}

.not-found__eyebrow {
  margin: 0 0 16px;
}

.not-found h1 {
  margin: 0;
  color: var(--black);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.not-found__zh {
  margin: 18px 0 0;
  color: var(--green-800);
  font-family: var(--font-zh);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.not-found__text {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--text-body);
  font-size: 17px;
  line-height: 1.65;
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.post-list {
  display: grid;
  gap: 24px;
}

.content-empty {
  max-width: 720px;
}

.footer {
  color: var(--text-on-dark-body);
  background: var(--surface-dark);
}

.footer__main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.1fr 1fr 1.1fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px 40px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.footer-logo__img {
  display: block;
  width: 180px;
  height: auto;
}

.footer-logo__mobile {
  gap: 12px;
}

.footer-logo__block {
  font-weight: 800;
}

.footer-logo__zh {
  padding-left: 2px;
  color: var(--text-on-dark-medium);
  font-family: var(--font-zh);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-logo__name {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.footer-logo__sub {
  color: var(--text-on-dark-medium);
  font-family: var(--font-zh);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-brand p {
  max-width: 320px;
  margin: 24px 0;
  color: var(--text-on-dark-medium);
  font-size: 14px;
  line-height: 22px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-on-dark-medium);
  border: var(--border-on-dark-strong);
  border-radius: var(--control-radius);
}

.footer-socials svg {
  fill: currentColor;
}

.footer__col h5 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__menu,
.footer-legal__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__menu a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-on-dark-medium);
  font-size: 14px;
  line-height: 22px;
}

.footer__menu .is-external a::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-1px);
}

.footer__menu a:hover,
.footer-legal__list a:hover,
.footer-socials a:hover {
  color: var(--white);
}

.footer__menu .is-muted a {
  color: var(--text-on-dark-medium);
}

.footer__bottom {
  min-height: 56px;
  border-top: var(--border-on-dark);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  min-height: 56px;
  margin: 0 auto;
  padding: 0 40px;
  color: var(--text-on-dark-muted);
  font-size: 12px;
  line-height: 16px;
}

.footer-legal__list {
  display: flex;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.footer-legal__list li + li::before {
  content: "·";
  margin-right: 10px;
  color: var(--text-on-dark-muted);
}

.footer-legal__list a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--text-on-dark-muted);
}

@media (max-width: 1023px) {
  :root {
    --header-height: 64px;
    --container-padding: 32px;
  }

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

  .primary-nav,
  .site-header__cta {
    display: none;
  }

  .site-brand {
    align-items: center;
    flex-direction: row;
  }

  .site-brand__desktop,
  .site-brand__logo--desktop {
    display: none;
  }

  .site-brand__logo--mobile,
  .site-brand__logo--mobile-menu {
    display: block;
    width: 128px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .footer__main {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 520px;
  }

  .footer__bottom-inner {
    align-items: flex-start;
    padding-top: 18px;
    padding-bottom: 18px;
  }

}

@media (max-width: 767px) {
  :root {
    --container-padding: 20px;
  }

  .site-header__inner {
    gap: 16px;
  }

  .hero__inner {
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__actions,
  .not-found__actions,
  .footer__bottom-inner,
  .footer-legal__list {
    display: grid;
    justify-content: stretch;
  }

  .button {
    width: 100%;
  }

  .not-found {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
  }

  .not-found__code {
    width: min(100%, 260px);
  }

  .not-found h1 {
    font-size: 36px;
    line-height: 42px;
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding: 56px 20px 36px;
  }

  .footer-brand {
    margin-bottom: 4px;
  }

  .footer-logo {
    flex-direction: row;
    align-items: center;
  }

  .footer-logo__desktop {
    display: none;
  }

  .footer-logo__img {
    width: 156px;
  }

  .footer__col h5 {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .footer__menu {
    gap: 8px;
  }

  .footer__menu a {
    font-size: 14px;
    line-height: 20px;
  }

  .footer-socials {
    padding-top: 20px;
    border-top: var(--border-on-dark);
  }

  .footer__bottom-inner {
    gap: 8px;
    min-height: auto;
    padding: 18px 20px 24px;
  }

  .footer-legal__list {
    gap: 8px;
    text-align: left;
  }

  .footer-legal__list li + li::before {
    content: none;
  }

  .footer-legal__list a {
    min-height: 32px;
    padding: 4px 0;
  }

}
