/* roulang page: index */
:root {
  --bg: #F3F0E8;
  --surface: #FBFAF7;
  --ink: #1C1B19;
  --muted: #5C5852;
  --green: #1E3D34;
  --green-hover: #16312A;
  --copper: #8C5A32;
  --dark: #141816;
  --dark-text: #E7E2D6;
  --line: #DDD6C8;
  --risk: #A33B24;
  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", "Source Code Pro", ui-monospace, Menlo, Consolas, monospace;
  --radius: 2px;
  --gap: 24px;
  --dock: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; scroll-padding-bottom: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, .display { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: 0; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.28; margin: 0 0 16px; max-width: 14em; }
h3 { font-size: 22px; line-height: 1.4; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.prose p, .lede, .hero-sub, .quote p { max-width: 38em; }
::selection { background: #d9cfc0; color: var(--ink); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-surface { background: var(--surface); }
.section-plain { background: var(--bg); }
.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--copper);
}
.lede { color: var(--muted); margin-bottom: 28px; }
.display {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.12;
  margin: 0 0 18px;
  max-width: 9em;
}
.tag, .tag-risk {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 6px;
  border: 1px solid var(--copper);
  color: var(--copper);
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1;
}
.tag-risk { border-color: var(--risk); color: var(--risk); }
.btn {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  line-height: 1;
}
.btn-primary { background: var(--green); color: #F3F0E8; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--green-hover); }
.btn-primary .arrow { display: inline-block; transition: transform .2s ease; }
.btn-primary:hover .arrow, .btn-primary:focus-visible .arrow { transform: translateX(4px); }
.btn-primary:active { background: #10241f; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover, .btn-line:focus-visible { background: var(--ink); color: var(--surface); }
.btn-line:active { background: #000; color: var(--surface); }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bg); }
.header-top { max-height: 72px; overflow: hidden; transition: max-height .3s ease, opacity .3s ease; }
.header-top-inner, .nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.seal {
  width: 36px; height: 36px;
  border: 1px solid var(--green);
  color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px;
}
.logo-words { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: var(--serif); font-size: 18px; }
.logo-key { font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.header-tools { display: flex; align-items: center; gap: 18px; }
.header-contact { display: flex; gap: 18px; color: var(--muted); font-size: 14px; }
.header-contact a { min-height: 44px; display: inline-flex; align-items: center; }
.header-contact a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  align-items: center;
  justify-content: center;
}
.nav-links { display: flex; gap: 8px 28px; }
.nav-links a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 8px;
  width: 100%; height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.site-header.is-stuck { background: var(--surface); }
.site-header.is-stuck .header-nav { border-bottom: 1px solid var(--line); }
.hero { position: relative; min-height: 760px; background: var(--bg); }
.hero-viewport { position: relative; min-height: 760px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateX(36px);
  transition: opacity .6s ease, transform .6s ease;
  visibility: hidden;
}
.hero-slide.is-active { opacity: 1; transform: none; visibility: visible; z-index: 1; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: rgba(28, 27, 25, .28); }
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100% - 48px));
  margin: 92px auto 0;
  margin-left: max(24px, calc((100% - 1180px) / 2));
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 36px 36px 32px;
}
.hero-sub { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-ctrl {
  position: absolute;
  z-index: 3;
  left: max(24px, calc((100% - 1180px) / 2));
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hero-arrow, .dot {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.hero-arrow:hover { border-color: var(--ink); }
.dot { position: relative; background: transparent; }
.dot::before {
  content: "";
  position: absolute;
  left: 12px; top: 21px;
  width: 18px; height: 2px;
  background: #b7b0a4;
}
.dot.is-on { border-color: var(--green); }
.dot.is-on::before { background: var(--green); }
.point-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}
.point {
  display: grid;
  grid-template-columns: 42px minmax(4.5em, 6.2em) minmax(0, 1fr);
  column-gap: 12px;
  align-items: baseline;
  padding: 22px 20px 0 0;
  border-right: 1px solid var(--line);
}
.point:last-child { border-right: 0; padding-right: 0; }
.point-no { font-family: var(--mono); color: var(--copper); font-size: 14px; }
.point h3 { font-size: 20px; margin: 0; }
.point p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.product-copy { grid-column: span 6; }
.product-figure { grid-column: span 6; }
.frame { border: 1px solid var(--line); background: var(--surface); }
.frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.note-line { border-top: 1px solid var(--line); padding-top: 14px; color: var(--ink); }
.matrix { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.matrix-item {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 24px;
  min-height: 180px;
  transition: transform .2s ease, border-color .2s ease;
}
.matrix-item:hover { transform: translateY(-2px); border-color: var(--green); }
.m1 { grid-column: span 7; }
.m2 { grid-column: span 5; }
.m3, .m6 { grid-column: span 12; }
.m4 { grid-column: span 4; }
.m5 { grid-column: span 8; }
.matrix-no { font-family: var(--mono); color: var(--copper); font-size: 13px; display: block; margin-bottom: 10px; }
.matrix-item p { margin: 0; color: var(--muted); }
.m3, .m6 { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; min-height: 0; }
.scene-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.steps { border-left: 1px solid var(--line); margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding: 0 0 26px 22px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--green);
  position: absolute;
  left: -4px; top: 10px;
}
.step strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.step span { font-family: var(--mono); color: var(--copper); font-size: 13px; margin-right: 8px; }
.step p { margin: 6px 0 0; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: 1.45fr .9fr; gap: var(--gap); align-items: stretch; }
.plan-side { display: grid; gap: var(--gap); }
.plan-card {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.plan-card:hover { transform: translateY(-2px); border-color: var(--green); }
.plan-main { background: var(--green); color: var(--dark-text); min-height: 100%; }
.plan-main h3, .plan-main p { color: var(--dark-text); }
.plan-main .tag { color: #E7E2D6; border-color: #E7E2D6; }
.plan-card p:last-child { margin-bottom: 0; }
.cases {
  position: relative;
  background: #141816 url("/assets/images/307445e956d6ae19.webp") center/cover no-repeat;
  color: var(--dark-text);
}
.cases::before { content: ""; position: absolute; inset: 0; background: rgba(20, 24, 22, .9); }
.cases .container { position: relative; z-index: 1; }
.cases h2, .cases h3, .cases p { color: var(--dark-text); }
.cases .lede { color: rgba(231, 226, 214, .78); }
.cases-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; }
.case-list { display: grid; gap: 18px; }
.case-item { border-top: 1px solid rgba(231, 226, 214, .35); padding-top: 16px; }
.case-item h3 { font-size: 24px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.quote {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 32px 28px;
  margin: 0;
  transition: transform .2s ease, border-color .2s ease;
}
.quote:hover { transform: translateY(-2px); border-color: var(--green); }
.quote:last-child { margin-top: 72px; }
.quote p { font-family: var(--serif); font-size: 22px; line-height: 1.6; margin-bottom: 18px; }
.quote footer { color: var(--muted); font-size: 15px; }
.metric-band { background: var(--green); color: var(--dark-text); }
.metric-band h2, .metric-band .lede, .metric-band p { color: var(--dark-text); }
.metric-band .lede { color: rgba(231, 226, 214, .8); }
.metric-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(231, 226, 214, .28); }
.metric { padding: 22px 18px 0 0; }
.metric b { display: block; font-family: var(--mono); font-weight: 500; font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.03em; line-height: 1.1; }
.metric p { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: rgba(231, 226, 214, .78); max-width: none; }
.review-row {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.review-card {
  flex: 0 0 62%;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 24px;
  min-height: 210px;
  transition: transform .2s ease, border-color .2s ease;
}
.review-card:hover { transform: translateY(-2px); border-color: var(--green); }
.review-card header { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.review-card img { width: 52px; height: 52px; object-fit: cover; border: 1px solid var(--line); }
.review-card p { margin: 0; max-width: none; }
.who { display: block; font-family: var(--serif); }
.who small { display: block; font-family: var(--sans); color: var(--muted); font-size: 13px; }
.compare-table { border-top: 1px solid var(--ink); }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.compare-row p { margin: 0; padding: 18px 16px; max-width: none; }
.compare-row p + p { border-left: 1px solid var(--line); }
.compare-row.head p { font-family: var(--serif); font-size: 22px; }
.news-list { display: grid; gap: 16px; }
.news-card {
  display: grid;
  grid-template-columns: 168px 132px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 12px;
  transition: transform .2s ease, border-color .2s ease;
}
.news-card:hover { transform: translateY(-2px); border-color: var(--green); }
.news-card img { width: 100%; height: 104px; object-fit: cover; }
.news-date { font-family: var(--mono); color: var(--copper); font-size: 13px; }
.news-card h3 { font-size: 22px; margin: 0 0 6px; }
.news-card p { margin: 0; color: var(--muted); max-width: 40em; }
.news-more { margin-top: 18px; }
.news-more a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid var(--green); color: var(--green); }
.acc { border-top: 1px solid var(--ink); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--serif);
  font-size: 22px;
  padding: 12px 0;
  scroll-margin-bottom: 88px;
}
.acc-mark { width: 14px; height: 14px; position: relative; flex: none; }
.acc-mark::before, .acc-mark::after { content: ""; position: absolute; background: var(--ink); }
.acc-mark::before { left: 0; right: 0; top: 6px; height: 1px; }
.acc-mark::after { top: 0; bottom: 0; left: 6px; width: 1px; }
.acc-item.is-open .acc-mark::after { display: none; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel-inner { overflow: hidden; min-height: 0; }
.acc-panel p { color: var(--muted); padding-bottom: 16px; max-width: 40em; }
.assure-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.assure-item { padding: 18px 22px; border-left: 1px solid var(--line); }
.assure-item:first-child { border-left: 0; padding-left: 0; }
.assure-item strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.assure-item span { color: var(--muted); font-size: 15px; }
.cta-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: grid; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14px; }
input, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 10px 12px;
}
textarea { min-height: 110px; resize: vertical; }
input:hover, textarea:hover { border-color: #c9c0b2; }
.is-invalid { border-color: var(--risk); }
.field-msg { color: var(--risk); font-size: 13px; min-height: 1.2em; }
.form-note { grid-column: 1 / -1; margin: 0; border: 1px solid var(--green); color: var(--green); padding: 12px 14px; }
.form-note[hidden] { display: none; }
main { padding-bottom: var(--dock); }
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--dock);
  background: var(--surface);
  border-top: 1px solid var(--line);
  z-index: 45;
  display: flex;
  align-items: center;
}
.dock-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dock-copy { margin: 0; max-width: 36em; }
.dock-actions { display: flex; gap: 10px; }
.site-footer { background: var(--dark); color: var(--dark-text); padding: 48px 0 96px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.footer-name { font-family: var(--serif); font-size: 28px; margin: 0 0 8px; }
.site-footer p { margin: 0 0 6px; color: rgba(231, 226, 214, .82); max-width: none; }
.site-footer a:hover { color: #fff; }
@media (max-width: 1280px) {
  .hero-copy { margin-left: 24px; }
  .hero-ctrl { left: 24px; }
}
@media (max-width: 1024px) {
  .container { width: min(1180px, calc(100% - 40px)); }
  .scene-grid, .cases-grid, .cta-grid { grid-template-columns: 1fr; gap: 28px; }
  .quote:last-child { margin-top: 0; }
  .m3, .m6 { grid-template-columns: 1fr; gap: 8px; }
  .plan-grid { grid-template-columns: 1.2fr .8fr; }
  .review-card { flex-basis: 70%; }
  .news-card { grid-template-columns: 140px minmax(0, 1fr); }
  .news-date { grid-column: 2; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .header-contact { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-nav { display: none; background: var(--surface); border-bottom: 1px solid var(--line); }
  .site-header.is-open .header-nav { display: block; }
  .nav-links { display: grid; gap: 0; }
  .nav-links a { border-top: 1px solid var(--line); padding-left: 2px; }
  .site-header.is-stuck .header-top { max-height: 72px; opacity: 1; }
  .hero, .hero-viewport { min-height: 640px; }
  .hero-copy { width: calc(100% - 32px); margin: 24px auto 0; padding: 24px 20px; }
  .hero-ctrl { left: 16px; bottom: 16px; }
  .point-line, .split, .matrix, .plan-grid, .story-grid, .metric-row, .assure-row, .form, .footer-grid { grid-template-columns: 1fr; }
  .product-copy, .product-figure, .m1, .m2, .m3, .m4, .m5, .m6 { grid-column: 1 / -1; }
  .point { grid-template-columns: 42px minmax(0, 1fr); border-right: 0; border-top: 1px solid var(--line); padding: 16px 0; }
  .point p { grid-column: 2; }
  .point-line { border-top: 0; }
  .metric { padding: 16px 0; border-top: 1px solid rgba(231, 226, 214, .28); }
  .metric-row { border-top: 0; }
  .assure-item { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0; }
  .assure-item:first-child { border-top: 0; }
  .news-card { grid-template-columns: 1fr; }
  .news-card img { height: 160px; }
  .review-card { flex-basis: 86%; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row p + p { border-left: 0; border-top: 1px solid var(--line); }
  .dock-copy { display: none; }
  .dock-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (min-width: 769px) {
  .site-header.is-stuck .header-top { max-height: 0; opacity: 0; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .plan-grid, .plan-side { grid-template-columns: 1fr; }
}
@media (max-width: 375px) {
  .container, .dock-inner { width: calc(100% - 32px); }
  .display { max-width: none; }
  .dock { height: auto; }
  .dock-inner { padding: 10px 0; }
  .dock-actions { grid-template-columns: 1fr; }
  .dock .btn-line { display: none; }
  .dock .btn-primary { width: 100%; min-height: 44px; }
  .header-top-inner { min-height: 56px; }
  .acc-btn, .compare-row.head p { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .matrix-item:hover, .plan-card:hover, .quote:hover, .review-card:hover, .news-card:hover { transform: none; }
  .btn-primary:hover .arrow { transform: none; }
}
