/* roulang page: index */
:root {
      --pine: #1F6F64;
      --pine-deep: #16564E;
      --ochre: #B85C38;
      --ochre-deep: #9A4A2C;
      --moss: #D4E6E1;
      --apricot: #E7D5C4;
      --paper: #F6F3EE;
      --card: #FFFcf8;
      --ink: #1C1917;
      --text: #1A1A1A;
      --muted: #5E5954;
      --line: #E4DDD4;
      --radius: 12px;
      --radius-sm: 8px;
      --radius-lg: 14px;
      --shadow: 0 8px 28px rgba(28, 25, 23, .06);
      --container: 1240px;
      --nav-h: 72px;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    html, body { max-width: 100%; overflow-x: hidden; }
    body {
      font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      font-size: 16.5px;
      line-height: 1.8;
      color: var(--text);
      background: var(--paper);
    }
    img { max-width: 100%; height: auto; display: block; }
    a { color: var(--pine); text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
    a:hover { color: var(--pine-deep); }
    button, input, select, textarea { font-family: inherit; font-size: 16px; }
    button { cursor: pointer; border: 0; background: none; }
    ul, ol { list-style: none; }
    h1, h2, h3 { line-height: 1.35; color: var(--text); font-weight: 700; }
    h1, .hero-title { font-size: clamp(28px, 4.1vw, 44px); letter-spacing: .02em; }
    h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 18px; }
    h3 { font-size: 18px; }
    p { margin-bottom: .85em; }
    p:last-child { margin-bottom: 0; }
    :focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
    .container { width: min(100% - 40px, var(--container)); margin: 0 auto; }
    .skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10000; }
    .skip:focus { left: 12px; }
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      min-height: 48px; padding: 0 22px; border-radius: var(--radius-sm);
      font-weight: 650; letter-spacing: .02em; transition: all .2s ease;
    }
    .btn-primary { background: var(--ochre); color: #fff; }
    .btn-primary:hover, .btn-primary:focus { background: var(--ochre-deep); color: #fff; transform: translateY(-2px); }
    .btn-primary:active { transform: translateY(0); }
    .btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
    .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
    .btn-line { background: transparent; color: var(--pine); border: 1.5px solid var(--pine); }
    .btn-line:hover { background: var(--moss); color: var(--pine-deep); }
    .btn-block { width: 100%; }
    .badge {
      display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 999px;
      background: var(--moss); color: var(--pine-deep); font-size: 12px; font-weight: 650;
    }
    .badge-ochre { background: #F3E2D8; color: var(--ochre-deep); }
    .badge-ink { background: rgba(255,255,255,.14); color: #F6F3EE; }
    .site-header { position: relative; z-index: 80; }
    .topbar { background: var(--pine); color: #F4F8F7; font-size: 13px; min-height: 38px; display: flex; align-items: center; }
    .topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
    .topbar a { color: #F4F8F7; }
    .topbar a:hover { color: var(--apricot); }
    .topbar-right { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
    .nav-row { background: rgba(255,252,248,.96); border-bottom: 1px solid var(--line); min-height: var(--nav-h); }
    .nav-row.is-sticky { position: sticky; top: 0; box-shadow: var(--shadow); }
    .nav-inner { display: flex; align-items: center; gap: 18px; min-height: var(--nav-h); }
    .logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 17px; white-space: nowrap; }
    .logo:hover { color: var(--pine); }
    .logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--pine); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
    .logo-mark svg { width: 20px; height: 20px; }
    .nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
    .nav-links a { color: var(--muted); padding: 10px 11px; border-radius: 8px; font-size: 14.5px; font-weight: 550; }
    .nav-links a:hover, .nav-links a.is-active { color: var(--pine); background: var(--moss); }
    .nav-cta { margin-left: 8px; min-height: 44px; padding: 0 16px; }
    .nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: 8px; position: relative; }
    .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
      position: absolute; left: 12px; width: 18px; height: 2px; background: var(--text); content: "";
    }
    .nav-toggle span { top: 21px; }
    .nav-toggle span::before { top: -6px; }
    .nav-toggle span::after { top: 6px; }
    .drawer { position: fixed; inset: 0; background: rgba(28,25,23,.42); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
    .drawer.open { opacity: 1; pointer-events: auto; }
    .drawer-panel {
      position: absolute; right: 0; top: 0; bottom: 0; width: min(86vw, 360px);
      background: var(--card); padding: 24px 20px; transform: translateX(100%);
      transition: transform .24s ease; display: flex; flex-direction: column; gap: 8px;
    }
    .drawer.open .drawer-panel { transform: none; }
    .drawer a { min-height: 48px; display: flex; align-items: center; padding: 0 12px; color: var(--text); border-radius: 8px; }
    .drawer a:hover { background: var(--moss); color: var(--pine); }
    .drawer-close { align-self: flex-end; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; }
    .hero { position: relative; min-height: calc(100vh - 110px); color: #fff; overflow: hidden; isolation: isolate; }
    .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
    .hero-slide.is-on { opacity: 1; z-index: 1; }
    .hero-slide img { width: 100%; height: 100%; object-fit: cover; }
    .hero-slide::after {
      content: ""; position: absolute; inset: 0;
      background: linear-gradient(115deg, rgba(28,25,23,.82) 0%, rgba(31,111,100,.58) 48%, rgba(28,25,23,.22) 100%);
      clip-path: polygon(0 0, 78% 0, 61% 100%, 0 100%);
    }
    .hero .container { position: relative; z-index: 2; min-height: inherit; display: grid; align-items: center; padding: 88px 0 96px; }
    .hero-copy { max-width: 720px; }
    .hero-kicker { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
    .hero h1, .hero .hero-title { color: #fff; margin-bottom: 16px; text-shadow: 0 8px 24px rgba(0,0,0,.18); }
    .hero .lead { font-size: 17px; line-height: 1.85; color: #F3EEE8; max-width: 640px; margin-bottom: 28px; }
    .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
    .hero-ctrl {
      position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
      width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
      color: #fff; background: rgba(28,25,23,.28);
    }
    .hero-ctrl.prev { left: 18px; }
    .hero-ctrl.next { right: 18px; }
    .hero-ctrl:hover { background: var(--ochre); }
    .hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; }
    .hero-dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); }
    .hero-dots button.is-on { background: #fff; width: 28px; border-radius: 999px; }
    main section { padding: 88px 0; }
    .sec-alt { background: #F1EBE3; }
    .sec-head { max-width: 760px; margin-bottom: 36px; }
    .sec-head p { color: var(--muted); }
    .eyebrow { color: var(--pine); font-size: 13px; font-weight: 700; letter-spacing: .12em; margin-bottom: 10px; }
    .split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
    .split-media { position: relative; }
    .split-media img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
    .split-note {
      position: absolute; left: 18px; bottom: 18px; background: var(--card);
      padding: 14px 16px; border-radius: 10px; box-shadow: var(--shadow); max-width: 280px;
      font-size: 13px; color: var(--muted);
    }
    .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 28px; }
    .fact { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
    .fact b { display: block; color: var(--pine); font-size: 18px; }
    .module-board { display: grid; grid-template-columns: 280px 1fr; gap: 28px; }
    .module-index { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
    .module-index button { width: 100%; text-align: left; min-height: 52px; padding: 10px 14px; border-radius: 8px; color: var(--muted); }
    .module-index button.is-on, .module-index button:hover { background: var(--moss); color: var(--pine-deep); }
    .module-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); min-height: 340px; }
    .module-panel h3 { margin: 8px 0 12px; }
    .module-panel .goto { margin-top: 22px; }
    .grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .cap-card {
      background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
      padding: 22px; box-shadow: var(--shadow); min-height: 210px; transition: border-color .2s ease, transform .2s ease;
    }
    .cap-card:hover { border-color: var(--pine); transform: translateY(-3px); }
    .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--moss); color: var(--pine); display: grid; place-items: center; margin-bottom: 14px; font-weight: 800; }
    .cap-card p { color: var(--muted); font-size: 15px; }
    .scene-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
    .scene-card { scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-height: 250px; box-shadow: var(--shadow); }
    .scene-card .who { font-size: 13px; color: var(--ochre); font-weight: 700; margin-bottom: 8px; }
    .scene-card p { color: var(--muted); }
    .grid-3 { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
    .prod-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease; }
    .prod-card:hover { border-color: var(--pine); transform: translateY(-4px); }
    .prod-card img { width: 100%; height: 210px; object-fit: cover; }
    .prod-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
    .prod-card p { color: var(--muted); font-size: 15px; }
    .demo-wall { display: grid; grid-template-columns: 7fr 5fr; gap: 22px; }
    .demo-main img, .demo-side img { width: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
    .demo-main img { height: 430px; }
    .demo-side { display: grid; gap: 16px; }
    .demo-side img { height: 168px; }
    .demo-cap { margin-top: 10px; color: var(--muted); font-size: 14px; }
    .philosophy { padding: 0; background: var(--ink); color: #F6F3EE; }
    .philosophy-inner {
      min-height: 420px; padding: 88px 0;
      background: linear-gradient(105deg, rgba(28,25,23,.9) 0 52%, rgba(28,25,23,.45)), url("/assets/images/e240032bb36f872f.webp") center/cover;
    }
    .phi-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
    .philosophy h2, .philosophy p { color: #F6F3EE; }
    .phi-quote { font-size: clamp(26px, 3vw, 36px); line-height: 1.4; max-width: 540px; }
    .result-list { display: grid; gap: 14px; }
    .result-item { background: rgba(255,252,248,.06); border: 1px solid rgba(231,213,196,.18); border-radius: 6px; padding: 18px 20px; }
    .result-item strong { display: block; font-size: 26px; color: var(--apricot); }
    .case-list { display: grid; gap: 12px; }
    .case-row { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
    .case-row summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; align-items: center; font-weight: 700; min-height: 44px; }
    .case-row summary::-webkit-details-marker { display: none; }
    .case-tag { color: var(--pine); font-size: 13px; }
    .case-row p { color: var(--muted); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
    .story-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; }
    .story-main, .story-side article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
    .story-main { display: grid; grid-template-columns: 240px 1fr; }
    .story-main img, .story-side img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
    .story-copy { padding: 26px; }
    .who-line { color: var(--muted); font-size: 13px; margin-top: 14px; }
    .story-side { display: grid; gap: 18px; }
    .metrics { background: var(--moss); padding: 56px 0; }
    .metrics-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
    .metric { background: rgba(255,252,248,.72); border-radius: 10px; padding: 18px 16px; }
    .metric b { display: block; font-size: 30px; color: var(--pine-deep); line-height: 1.2; }
    .metric span { color: var(--muted); font-size: 13px; }
    .price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
    .price-card.featured { border-color: var(--pine); box-shadow: 0 12px 32px rgba(31,111,100,.12); transform: translateY(-6px); }
    .price { font-size: 30px; color: var(--pine-deep); font-weight: 800; }
    .price small { font-size: 14px; color: var(--muted); font-weight: 500; }
    .price-card ul { display: grid; gap: 8px; color: var(--muted); font-size: 15px; margin: 8px 0 16px; }
    .price-card li::before { content: "▸ "; color: var(--pine); }
    .review-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .review { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--pine); border-radius: 10px; padding: 18px; min-height: 180px; box-shadow: var(--shadow); }
    .review p { color: var(--muted); font-size: 14.5px; }
    .review .meta { margin-top: 14px; font-size: 13px; color: var(--text); font-weight: 700; }
    .voice-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
    .voice { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
    .voice .meta { margin-top: 16px; color: var(--muted); font-size: 13px; }
    .news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .news-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
    .news-card img { width: 100%; height: 150px; object-fit: cover; }
    .news-card .body { padding: 16px 16px 18px; }
    .news-card h3 { font-size: 16px; margin-bottom: 8px; }
    .news-card p { color: var(--muted); font-size: 14px; }
    .more-link { display: inline-flex; margin-top: 18px; font-weight: 700; min-height: 44px; align-items: center; }
    .faq-cta { display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px; }
    .faq-item { border-bottom: 1px solid var(--line); }
    .faq-item button { width: 100%; text-align: left; min-height: 58px; padding: 12px 0; display: flex; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--text); }
    .faq-item .ans { display: none; color: var(--muted); padding: 0 0 16px; line-height: 1.8; }
    .faq-item.open .ans { display: block; }
    .cta-box { background: var(--ink); color: #F6F3EE; border-radius: 6px; padding: 28px; }
    .cta-box h2, .cta-box p, .cta-box label { color: #F6F3EE; }
    .cta-points { margin: 16px 0 22px; display: grid; gap: 8px; color: #E7D5C4; font-size: 14.5px; }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .form-grid .full { grid-column: 1 / -1; }
    label { display: block; font-size: 13px; margin-bottom: 6px; }
    input, select, textarea { width: 100%; min-height: 48px; border: 1px solid #3A342F; background: #26211E; color: #fff; border-radius: 8px; padding: 0 12px; }
    textarea { min-height: 90px; padding-top: 12px; resize: vertical; }
    .checks { display: flex; flex-wrap: wrap; gap: 8px; }
    .checks label { display: flex; align-items: center; gap: 6px; min-height: 40px; margin: 0; background: #2B2623; padding: 0 10px; border-radius: 8px; }
    .checks input { width: auto; min-height: auto; }
    .form-msg { min-height: 22px; font-size: 13px; margin-top: 8px; }
    .form-msg.error { color: #F3C2B8; }
    .form-msg.ok { color: #B7E0D6; }
    .site-footer { background: #161311; color: #D7D0C8; padding: 56px 0 24px; }
    .footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.1fr; gap: 24px; margin-bottom: 32px; }
    .site-footer h3 { color: #F6F3EE; font-size: 16px; margin-bottom: 12px; }
    .site-footer a { color: #D7D0C8; display: block; min-height: 32px; }
    .site-footer a:hover { color: var(--apricot); }
    .copyright { border-top: 1px solid #2B2623; padding-top: 16px; font-size: 13px; color: #A79F97; }
    @media (max-width: 1024px) {
      main section { padding: 72px 0; }
      .split, .module-board, .demo-wall, .phi-grid, .story-grid, .faq-cta, .footer-grid { grid-template-columns: 1fr; }
      .story-main { grid-template-columns: 1fr; }
      .story-main img { height: 240px; }
      .nav-links, .nav-cta { display: none; }
      .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
      .hero-slide::after { clip-path: polygon(0 0, 100% 0, 100% 68%, 0 100%); }
      .grid-6, .price-grid, .voice-grid, .news-grid { grid-template-columns: 1fr 1fr; }
      .review-wall { grid-template-columns: 1fr 1fr; }
      .metrics-grid { grid-template-columns: 1fr 1fr 1fr; }
      .grid-3 { grid-template-columns: 1fr; }
      .price-card.featured { transform: none; }
    }
    @media (max-width: 768px) {
      .container { width: min(100% - 28px, var(--container)); }
      main section { padding: 56px 0; }
      .topbar .container { flex-direction: column; align-items: flex-start; padding: 8px 0; }
      .hero { min-height: 640px; }
      .hero .container { padding: 64px 0 80px; }
      .hero-ctrl { display: none; }
      .facts, .form-grid, .grid-6, .voice-grid, .news-grid, .metrics-grid { grid-template-columns: 1fr 1fr; }
      .split-media img, .demo-main img { height: 280px; }
      .case-row summary { grid-template-columns: 1fr; }
    }
    @media (max-width: 520px) {
      .facts, .form-grid, .grid-6, .price-grid, .review-wall, .voice-grid, .news-grid, .metrics-grid { grid-template-columns: 1fr; }
      .hero { min-height: 600px; }
      h1, .hero-title { font-size: 28px; }
      .btn { width: 100%; }
      .hero-actions { flex-direction: column; }
    }
