:root {
    --bg: #f7f5f0;
    --surface: #ffffff;
    --text: #1c1c1c;
    --text-soft: #5c5a55;
    --accent: #d94f3d;
    --accent-soft: #fbe9e6;
    --border: #e4e0d8;
    --radius: 14px;
    --maxw: 1180px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  .wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

  /* header */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247, 245, 240, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
  }
  .header-inner {
    display: flex; align-items: center; gap: 28px;
    height: 66px;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: .5px; }
  .brand img { height: 34px; width: auto; border-radius: 8px; }
  .nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; color: var(--text-soft); }
  .nav-links a:hover { color: var(--accent); }
  .header-cta {
    font-size: 14px; font-weight: 600; color: #fff; background: var(--accent);
    padding: 9px 18px; border-radius: 999px; white-space: nowrap;
  }
  .menu-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; font-size: 15px; }

  /* hero */
  .hero { padding: 64px 0 56px; }
  .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
  .eyebrow { font-size: 13px; color: var(--accent); letter-spacing: 2px; font-weight: 600; }
  .hero h1 { font-size: 52px; line-height: 1.15; margin: 16px 0 18px; letter-spacing: 1px; }
  .hero h1 .hl { color: var(--accent); }
  .hero-tagline { font-size: 19px; color: var(--text-soft); margin-bottom: 22px; }
  .hero-desc { font-size: 15.5px; color: var(--text-soft); max-width: 520px; margin-bottom: 30px; }
  .btn-primary {
    display: inline-block; background: var(--accent); color: #fff;
    padding: 14px 34px; border-radius: 999px; font-weight: 600; font-size: 16px;
    transition: transform .2s, background .2s;
  }
  .btn-primary:hover { background: #c23f2e; transform: translateY(-2px); }
  .platform-note { font-size: 12.5px; color: #97938b; margin-top: 14px; }

  .hero-visual { position: relative; height: 420px; }
  .device-tablet, .device-phone {
    position: absolute; background: var(--surface); border-radius: 18px;
    box-shadow: 0 18px 44px rgba(40, 30, 20, .14); overflow: hidden;
  }
  .device-tablet { width: 74%; top: 0; left: 0; padding: 10px; transform: rotate(-3deg); }
  .device-tablet img { border-radius: 10px; aspect-ratio: 1/1; object-fit: cover; }
  .device-phone { width: 42%; bottom: 0; right: 0; padding: 8px; transform: rotate(4deg); }
  .device-phone img { border-radius: 12px; aspect-ratio: 3/4; object-fit: cover; }

  /* section base */
  section.block { padding: 54px 0; }
  .section-head { margin-bottom: 30px; display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
  .section-num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 1px; }
  .section-head h2 { font-size: 28px; letter-spacing: .5px; }
  .section-note { font-size: 14px; color: var(--text-soft); max-width: 100%; }

  /* week tabs */
  .week-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
  .week-tabs button {
    border: 1px solid var(--border); background: var(--surface); color: var(--text-soft);
    padding: 8px 20px; border-radius: 999px; font-size: 14px; cursor: pointer; transition: .2s;
  }
  .week-tabs button.active { background: var(--text); color: #fff; border-color: var(--text); }
  .week-panel-title { font-size: 16px; font-weight: 600; margin-bottom: 18px; color: var(--text); }
  .card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .manga-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: transform .2s; }
  .manga-card:hover { transform: translateY(-4px); }
  .cover-wrap { position: relative; }
  .cover-wrap img { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: #ddd; }
  .genre-tag {
    position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.65); color: #fff;
    font-size: 11px; padding: 3px 9px; border-radius: 6px;
  }
  .card-body { padding: 12px 14px 16px; }
  .card-body h3 { font-size: 15.5px; margin-bottom: 6px; }
  .card-body p { font-size: 13px; color: var(--text-soft); line-height: 1.55; }

  /* index table */
  .index-list { border-top: 1px solid var(--border); }
  .index-row {
    display: grid; grid-template-columns: 42px 48px 1fr 2fr 120px;
    gap: 16px; align-items: center; padding: 12px 8px; border-bottom: 1px solid var(--border);
  }
  .index-row:hover { background: rgba(217, 79, 61, .04); }
  .idx-num { font-size: 13px; color: #a8a39a; font-weight: 600; }
  .idx-thumb img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
  .idx-title { font-size: 15px; font-weight: 600; }
  .idx-title span { display: block; font-size: 12px; color: var(--text-soft); font-weight: 400; margin-top: 2px; }
  .idx-desc { font-size: 13.5px; color: var(--text-soft); }
  .idx-heat { text-align: right; font-size: 15px; font-weight: 700; color: var(--accent); }
  .idx-heat small { display: block; font-size: 11px; color: #a8a39a; font-weight: 400; }

  /* download section */
  .download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
  .feature-list { display: grid; gap: 22px; }
  .feature-item h3 { font-size: 16px; margin-bottom: 5px; }
  .feature-item p { font-size: 14px; color: var(--text-soft); }
  .rank-board { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
  .rank-board h3 { font-size: 17px; margin-bottom: 2px; }
  .rank-board .board-sub { font-size: 12px; color: #a8a39a; margin-bottom: 20px; }
  .rank-item { margin-bottom: 16px; }
  .rank-line { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
  .rank-line b { color: var(--accent); }
  .rank-bar { height: 7px; background: var(--accent-soft); border-radius: 99px; overflow: hidden; }
  .rank-bar span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
  .board-footer { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13.5px; font-weight: 600; }

  /* rich media wall */
  .gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .gallery-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; background: #ddd; }

  /* FAQ / accordion */
  .accordion { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
  .acc-item + .acc-item { border-top: 1px solid var(--border); }
  .acc-trigger {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    padding: 18px 22px; font-size: 15.5px; font-weight: 600; color: var(--text);
    display: flex; justify-content: space-between; align-items: center; font-family: inherit;
  }
  .acc-trigger::after { content: "+"; font-size: 18px; color: var(--accent); }
  .acc-trigger.open::after { content: "−"; }
  .acc-body { padding: 0 22px 18px; font-size: 14px; color: var(--text-soft); display: block; }

  /* CTA */
  .final-cta { background: var(--text); color: #fff; border-radius: 22px; padding: 56px 40px; text-align: center; }
  .final-cta h2 { font-size: 30px; margin-bottom: 12px; }
  .final-cta p { color: #bfbbb4; margin-bottom: 28px; }
  .cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
  .btn-solid { background: var(--accent); color: #fff; padding: 13px 32px; border-radius: 999px; font-weight: 600; }
  .btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; padding: 13px 32px; border-radius: 999px; font-weight: 600; }

  /* footer */
  .site-footer { padding: 46px 0 32px; border-top: 1px solid var(--border); font-size: 13px; color: #8f8b83; }
  .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 34px; }
  .footer-brand { font-size: 16px; color: var(--text); font-weight: 700; margin-bottom: 10px; }
  .footer-col h4 { font-size: 13.5px; color: var(--text); margin-bottom: 10px; }
  .footer-col a { display: block; padding: 3px 0; }
  .footer-col a:hover { color: var(--accent); }
  .footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
  .footer-bottom time { color: #a8a39a; }

  /* responsive */
  @media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
    .hero h1 { font-size: 42px; }
  }
  @media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); flex-direction: column; padding: 18px 20px; gap: 14px; }
    .nav-links.open { display: flex; }
    .menu-toggle { display: block; margin-left: auto; }
    .header-cta { display: none; }
    .hero { padding: 40px 0; }
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero h1 { font-size: 34px; }
    .hero-visual { height: 300px; }
    .device-tablet { width: 78%; }
    .device-phone { width: 44%; }
    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .index-row { grid-template-columns: 30px 40px 1fr 80px; gap: 10px; }
    .idx-thumb img { width: 40px; height: 40px; }
    .idx-desc { display: none; }
    .download-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .final-cta { padding: 40px 20px; }
    .final-cta h2 { font-size: 24px; }
  }