:root {
  color-scheme: light;
  --ink: #342e29;
  --muted: #746960;
  --soft: #fbf3e8;
  --paper: #fffaf3;
  --line: #eadfd1;
  --green: #8fa889;
  --green-deep: #536f56;
  --sun: #f3c86b;
  --rose: #de8d7b;
  --blue: #8db7c5;
  --shadow: 0 22px 62px rgba(86, 74, 61, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(222, 141, 123, 0.12), transparent 34rem),
    linear-gradient(180deg, var(--paper) 0%, #f8f6ec 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

a {
  color: var(--green-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #2f5f3f;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(244, 201, 107, 0.72);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(223, 233, 223, 0.92);
  background: rgba(255, 253, 250, 0.88);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(111, 163, 109, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, #fbfff8, #eaf4e7);
  color: var(--green-deep);
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: #edf6ea;
  color: var(--green-deep);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: 44px;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.88fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 32px rgba(56, 88, 72, 0.08);
  padding: 28px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(38px, 7vw, 68px);
}

h2 {
  font-size: clamp(26px, 4vw, 38px);
}

h3 {
  font-size: 20px;
}

.lead {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2.4vw, 21px);
}

.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--green-deep);
  color: #fff;
  box-shadow: 0 10px 24px rgba(63, 118, 80, 0.23);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--green-deep);
}

.hero-card {
  position: relative;
  border: 1px solid rgba(223, 233, 223, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  display: block;
  height: 12px;
  background: linear-gradient(90deg, var(--green), var(--sun), var(--rose), var(--blue));
}

.phone-panel {
  margin: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.date-chip {
  border-radius: 999px;
  background: #edf6ea;
  color: var(--green-deep);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
}

.panel-body {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.mini-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdf8;
}

.mini-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #edf6ea;
  color: var(--green-deep);
  font-weight: 800;
}

.mini-row strong,
.mini-row span {
  display: block;
}

.mini-row span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}

.section.soft-band-inner {
  width: 100%;
  padding-left: max(16px, calc((100% - 1120px) / 2));
  padding-right: max(16px, calc((100% - 1120px) / 2));
}

.section-intro {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-intro p {
  color: var(--muted);
  font-size: 17px;
}

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

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.link-grid a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  padding: 12px;
}

.link-grid a:hover {
  background: #edf6ea;
}

.card,
.notice,
.content-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 32px rgba(56, 88, 72, 0.08);
}

.card {
  padding: 22px;
}

.card p,
.content-box p,
.content-box li,
.notice p {
  color: var(--muted);
}

.swatches {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.swatch {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(37, 59, 53, 0.08);
  border-radius: 8px;
}

.notice {
  padding: 22px;
  border-left: 5px solid var(--green);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.content-box {
  padding: 28px;
}

.content-box + .content-box {
  margin-top: 18px;
}

.content-box ul,
.content-box ol {
  padding-left: 1.3em;
}

.fact-table {
  display: grid;
  gap: 10px;
}

.fact-table > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.fact-table > div:last-child {
  border-bottom: 0;
}

.fact-table strong {
  color: var(--ink);
}

.fact-table span {
  color: var(--muted);
}

.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(237, 246, 234, 0.92), rgba(255, 253, 250, 0.86));
  box-shadow: var(--shadow);
  padding: 30px;
}

.support-email {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border-radius: 999px;
  background: var(--green-deep);
  color: #fff;
  padding: 10px 18px;
  font-weight: 800;
  text-decoration: none;
}

.support-email:hover {
  color: #fff;
  background: #315f40;
}

.page-hero {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 22px;
}

.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.86);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.35fr);
  gap: 20px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
}

.footer-meta {
  display: grid;
  gap: 6px;
}

.footer-link-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer-group {
  display: grid;
  gap: 7px;
}

.footer-group strong {
  color: var(--ink);
}

.footer-group a,
.footer-meta a {
  color: var(--muted);
}

.soft-band {
  background: rgba(237, 246, 234, 0.48);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-card,
  .card,
  .content-box {
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .hero-card:hover,
  .card:hover,
  .content-box:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

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

  .hero {
    padding-top: 46px;
  }

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

  .link-grid,
  .footer-link-groups {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav-links a {
    padding: 7px 9px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .phone-panel {
    margin: 14px;
  }

  .section,
  .page-hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .link-grid,
  .footer-link-groups,
  .fact-table > div {
    grid-template-columns: 1fr;
  }

  .hero-copy-card,
  .support-card,
  .content-box,
  .card {
    padding: 20px;
  }
}

/* V3-C visual system */
.site-header {
  z-index: 30;
  border-bottom-color: rgba(234, 223, 209, 0.82);
  background: rgba(255, 250, 243, 0.9);
}

.nav {
  min-height: 74px;
}

.brand {
  font-weight: 850;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-color: rgba(83, 111, 86, 0.22);
  border-radius: 50%;
  background: #fff;
  color: var(--green-deep);
  box-shadow: 0 8px 22px rgba(83, 111, 86, 0.12);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-deep);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 12px;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  width: 16px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

.nav-toggle:focus-visible {
  outline: 3px solid rgba(222, 141, 123, 0.42);
  outline-offset: 4px;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: rgba(143, 168, 137, 0.2);
  background: rgba(143, 168, 137, 0.16);
  color: var(--ink);
}

.home-hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 56px;
  align-items: center;
  padding: 48px 0 76px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  color: var(--ink);
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(40px, 6.6vw, 76px);
}

h2 {
  font-size: clamp(26px, 3.4vw, 42px);
}

.lead {
  color: var(--muted);
}

.button {
  min-height: 46px;
  border-radius: 999px;
  font-weight: 850;
}

.button.primary {
  background: var(--green-deep);
  box-shadow: 0 14px 30px rgba(83, 111, 86, 0.22);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.life-board {
  min-height: 530px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(243, 200, 107, 0.16), transparent 44%),
    rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  padding: 24px;
}

.board-note,
.board-card {
  border: 1px solid rgba(234, 223, 209, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.9);
  box-shadow: 0 16px 38px rgba(86, 74, 61, 0.08);
}

.board-note {
  display: grid;
  grid-column: 1 / -1;
  gap: 6px;
  padding: 24px;
}

.board-note span,
.board-card p {
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.board-note strong {
  font-size: 44px;
  line-height: 1.1;
}

.board-note em,
.board-card span {
  color: var(--muted);
  font-style: normal;
}

.board-card {
  padding: 20px;
}

.board-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 23px;
}

.color-card {
  border-left: 6px solid var(--green);
}

.outfit-card {
  border-left: 6px solid var(--rose);
}

.mood-card {
  grid-column: 1 / -1;
  border-left: 6px solid var(--sun);
}

.section {
  padding: 68px 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-intro p {
  color: var(--muted);
}

.card,
.notice,
.content-box,
.support-card {
  border-color: var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(86, 74, 61, 0.08);
}

.feature-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.feature-icon,
.mini-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--green-deep);
  font-weight: 850;
}

.soft-panel {
  width: min(1120px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(86, 74, 61, 0.08);
  padding: 34px;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.page-standard main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.35fr) minmax(0, 0.65fr);
  gap: 24px;
  align-items: start;
  padding: 56px 0 82px;
}

.page-standard .page-hero {
  width: auto;
  grid-column: 1;
  grid-row: 1 / span 20;
  position: sticky;
  top: 98px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(86, 74, 61, 0.08);
}

.page-standard .page-hero h1 {
  font-size: clamp(30px, 4vw, 52px);
}

.version {
  display: inline-flex;
  max-width: 100%;
  border-radius: 999px;
  background: var(--soft);
  color: var(--green-deep);
  font-weight: 750;
  padding: 8px 12px;
  overflow-wrap: anywhere;
}

.page-standard .section {
  width: auto;
  min-width: 0;
  grid-column: 2;
  padding: 0;
}

.page-standard .section + .section {
  margin-top: 18px;
}

.page-standard .content-box {
  max-width: 760px;
  padding: 30px;
}

.page-standard .content-box + .content-box {
  margin-top: 18px;
}

.content-box h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 14px;
}

.content-box p,
.content-box li {
  font-size: 16px;
}

.fact-table > div {
  border-bottom-color: var(--line);
}

.site-footer {
  border-top-color: var(--line);
  background: rgba(255, 250, 243, 0.9);
}

.footer-inner {
  padding: 32px 0;
}

.footer-group a:hover,
.footer-meta a:hover {
  color: var(--green-deep);
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .card,
  .content-box,
  .board-card,
  .link-grid a,
  .nav-toggle {
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
  }

  .button:hover,
  .card:hover,
  .content-box:hover,
  .board-card:hover,
  .link-grid a:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (min-width: 861px) {
  .page-standard .grid {
    grid-template-columns: 1fr;
  }

  .page-standard .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav {
    min-height: 64px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 12px 0;
  }

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

  .nav-links {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 10px;
  }

  .nav[data-js="ready"] .nav-links {
    display: none;
  }

  .nav[data-open="true"] .nav-links {
    display: grid;
  }

  .nav-links a {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.66);
    text-align: center;
    padding: 10px 12px;
  }

  .home-hero,
  .grid,
  .split,
  .trust-grid,
  .page-standard main {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
    gap: 28px;
    padding-top: 42px;
  }

  .life-board {
    min-height: auto;
  }

  .life-board {
    grid-template-columns: 1fr;
  }

  .board-note,
  .mood-card {
    grid-column: auto;
  }

  .soft-panel,
  .site-footer .footer-inner {
    align-items: stretch;
  }

  .soft-panel {
    flex-direction: column;
  }

  .page-standard main {
    padding-top: 34px;
  }

  .page-standard .page-hero,
  .page-standard .section {
    grid-column: 1;
    grid-row: auto;
  }

  .page-standard .page-hero {
    position: static;
  }
}

@media (max-width: 520px) {
  .home-hero,
  .section,
  .page-standard main,
  .footer-inner,
  .nav {
    width: min(100% - 32px, 1120px);
  }

  h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .page-standard .page-hero h1 {
    font-size: 30px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .soft-panel,
  .card,
  .notice,
  .content-box,
  .page-standard .page-hero,
  .page-standard .content-box,
  .support-card {
    padding: 22px;
  }

  .link-grid,
  .footer-link-groups,
  .fact-table > div {
    grid-template-columns: 1fr;
  }

  .board-note strong {
    font-size: 36px;
  }
}
