:root {
  --navy: #0f2b44;
  --navy-deep: #091d30;
  --gold: #c8a45c;
  --gold-light: #e2c485;
  --ink: #1b2c3d;
  --muted: #61758a;
  --line: #e2e8ef;
  --tint: #f5f7f9;
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: min(1200px, 100% - 48px); margin: 0 auto; }

.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 100;
  padding: 10px 18px; background: var(--gold-light); color: var(--navy-deep);
  border-radius: 4px; font-size: 14px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border: 1px solid transparent; border-radius: 4px;
  font-size: 15px; font-weight: 600; line-height: 1.25; text-decoration: none;
  white-space: nowrap; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-gold, .btn-primary {
  color: var(--navy-deep);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 10px 24px rgba(200, 164, 92, .22);
}
.btn-gold:hover, .btn-primary:hover { box-shadow: 0 16px 30px rgba(200, 164, 92, .34); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-xl { width: 100%; padding: 19px 26px; font-size: 17px; }
.btn-dark { color: var(--white); background: var(--navy); }
.btn-dark:hover { background: #174066; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(9, 29, 48, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 3px;
  color: var(--gold-light); font-size: 20px; font-weight: 600;
}
.brand-name strong { display: block; color: var(--white); font-size: 17px; letter-spacing: .06em; }
.brand-name small { display: block; color: #93a9bd; font-size: 9px; letter-spacing: .2em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: #c8d7e4; font-size: 14px; text-decoration: none; transition: color .2s ease; }
.site-nav a:hover { color: var(--gold-light); }
.header-cta { padding: 11px 22px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  padding: 92px 0 158px;
  background: radial-gradient(900px 500px at 78% 12%, rgba(60, 120, 160, .35), transparent 70%),
              linear-gradient(120deg, #0a1e31 0%, #123b57 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.8), transparent 75%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.8), transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--gold-light); font-size: 13px; letter-spacing: .18em; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero h1 { margin: 22px 0 22px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.28; letter-spacing: .02em; }
.hero h1 span { color: var(--gold-light); }
.hero-lead { max-width: 560px; color: #c4d3e0; font-size: 16px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; margin-top: 46px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-stats li { flex: 1; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-stats li:first-child { padding-left: 0; border-left: 0; }
.hero-stats strong { display: block; color: var(--gold-light); font-size: 26px; line-height: 1.3; letter-spacing: .02em; }
.hero-stats span { display: block; color: #9fb4c7; font-size: 12.5px; letter-spacing: .06em; }
.hero-visual { position: relative; padding: 12px; border: 1px solid rgba(200,164,92,.45); border-radius: 6px; background: rgba(255,255,255,.05); box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.hero-visual img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.hero-visual figcaption {
  position: absolute; left: 26px; bottom: 26px;
  padding: 9px 16px; border-left: 2px solid var(--gold-light);
  background: rgba(9, 29, 48, .86); color: #e8eff5; font-size: 12.5px; letter-spacing: .08em;
}

/* ---------- download panel ---------- */
.download-section { position: relative; z-index: 3; margin-top: -86px; }
.download-panel {
  display: grid; grid-template-columns: auto 1fr 310px; gap: 38px; align-items: center;
  padding: 40px 48px; border: 1px solid rgba(200,164,92,.45); border-radius: 8px;
  background: linear-gradient(135deg, #123450, #0a1e31);
  box-shadow: 0 26px 60px rgba(9, 29, 48, .3);
}
.download-icon {
  width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(200,164,92,.7); background: rgba(200,164,92,.1); color: var(--gold-light);
}
.download-info .section-kicker { color: var(--gold-light); text-align: left; }
.download-info h2 { margin: 10px 0 12px; color: var(--white); font-size: 27px; letter-spacing: .02em; }
.download-info > p { color: #b9cbdb; font-size: 14.5px; line-height: 1.9; }
.download-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 18px; }
.download-meta li { color: #9fb4c7; font-size: 12.5px; }
.download-meta li::before { content: "·"; margin-right: 8px; color: var(--gold-light); }
.download-note { margin-top: 14px; color: #8fa5b9; font-size: 12px; text-align: center; }
.alt-download { display: block; margin-top: 14px; color: #c8d7e4; font-size: 13px; text-align: center; text-decoration: underline; text-underline-offset: 4px; }
.alt-download:hover { color: var(--gold-light); }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section--tinted { background: var(--tint); }
.section-head { max-width: 730px; margin: 0 auto 48px; text-align: center; }
.section-kicker { display: block; color: #a8843e; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.section-head h2 { margin: 14px 0 16px; font-size: clamp(27px, 3vw, 36px); letter-spacing: .02em; }
.section-head h2::after { content: ""; display: block; width: 46px; height: 2px; margin: 18px auto 0; background: var(--gold); }
.section-head p { color: var(--muted); font-size: 15px; line-height: 1.95; }
.section-head--left { margin: 0; text-align: left; }
.section-head--left h2::after { margin-left: 0; }

/* ---------- style cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.style-card { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--white); transition: transform .3s ease, box-shadow .3s ease; }
.style-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(15, 43, 68, .12); }
.style-card figure { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #e8edf2; }
.style-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.style-card:hover img { transform: scale(1.05); }
.card-tag { position: absolute; top: 16px; left: 16px; padding: 7px 13px; border-left: 2px solid var(--gold-light); background: rgba(9, 29, 48, .88); color: var(--white); font-size: 12px; letter-spacing: .08em; }
.card-body { padding: 26px 26px 30px; }
.card-body h3 { font-size: 19px; letter-spacing: .02em; }
.card-body p { margin: 12px 0 18px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { padding: 5px 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--tint); color: #52677c; font-size: 12px; }

/* ---------- contents ---------- */
.contents-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; align-items: start; }
.contents-intro .badge { display: inline-block; margin-bottom: 22px; padding: 7px 14px; border: 1px solid rgba(200,164,92,.5); border-radius: 3px; color: #a8843e; font-size: 12px; letter-spacing: .1em; }
.contents-intro p { margin-top: 18px; color: var(--muted); font-size: 14.5px; line-height: 2; }
.contents-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contents-item { display: flex; gap: 16px; padding: 26px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.item-no { color: #b9975a; font-size: 21px; font-weight: 700; line-height: 1.2; }
.contents-item h3 { font-size: 16px; }
.contents-item p { margin-top: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.85; }

/* ---------- guide ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 30px 28px 32px; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 4px; background: var(--white); }
.step-no { color: rgba(184, 151, 90, .45); font-size: 34px; font-weight: 700; line-height: 1.2; }
.step h3 { margin-top: 10px; font-size: 18px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.guide-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin-top: 40px; }
.guide-cta > span { color: var(--muted); font-size: 13.5px; }

/* ---------- notice ---------- */
.notice { padding: 32px 38px; border: 1px solid #ecdfc4; border-left: 4px solid var(--gold); border-radius: 4px; background: #fbf7ef; }
.notice h2 { font-size: 20px; }
.notice ul { margin-top: 16px; }
.notice li { position: relative; padding-left: 20px; color: #5b6570; font-size: 14px; line-height: 2; }
.notice li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.faq-item summary { position: relative; padding: 20px 56px 20px 24px; color: var(--ink); font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-answer { padding: 0 24px 22px; color: var(--muted); font-size: 14.5px; line-height: 1.95; }

/* ---------- footer ---------- */
.site-footer { padding: 64px 0 0; background: var(--navy-deep); color: #b6c7d6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { max-width: 340px; color: #93a9bd; font-size: 13.5px; line-height: 1.95; }
.site-footer h3 { margin-bottom: 18px; color: var(--white); font-size: 15px; letter-spacing: .06em; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #b6c7d6; font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.footer-note p { color: #93a9bd; font-size: 13.5px; line-height: 1.9; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); color: #8ba0b4; font-size: 12.5px; }

/* ---------- floating download ---------- */
.float-download {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 22px 9px 9px; border: 1px solid rgba(200,164,92,.65); border-radius: 999px;
  background: #0d2a42; color: var(--white); font-size: 14px; font-weight: 600; text-decoration: none;
  box-shadow: 0 14px 32px rgba(9, 29, 48, .38); transition: transform .25s ease, box-shadow .25s ease;
}
.float-download:hover { transform: translateY(-3px); box-shadow: 0 20px 38px rgba(9, 29, 48, .45); }
.float-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-deep); }
.float-download small { display: block; color: #a9bed0; font-size: 11px; font-weight: 400; letter-spacing: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .download-panel { grid-template-columns: auto 1fr; gap: 28px; }
  .download-actions { grid-column: 1 / -1; }
  .btn-xl { max-width: 360px; margin: 0 auto; }
  .contents-layout { gap: 36px; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .hero { padding: 68px 0 128px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 620px; }
  .download-section { margin-top: -72px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .contents-layout, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 72px; }
  body { padding-bottom: 66px; }
  .container { width: min(100% - 36px, 1200px); }
  .header-inner { height: 66px; gap: 16px; }
  .brand-name strong { font-size: 15px; }
  .brand-name small { display: none; }
  .header-cta { padding: 9px 14px; font-size: 13px; }
  .hero { padding: 54px 0 112px; }
  .hero h1 { font-size: 32px; }
  .hero-lead { font-size: 14.5px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { flex-wrap: wrap; gap: 18px 0; }
  .hero-stats li { flex: 0 0 50%; }
  .hero-stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats strong { font-size: 21px; }
  .hero-visual figcaption { left: 18px; bottom: 18px; font-size: 11.5px; }
  .download-section { margin-top: -56px; }
  .download-panel { grid-template-columns: 1fr; padding: 26px 22px; text-align: left; }
  .download-icon { display: none; }
  .download-info h2 { font-size: 22px; }
  .download-actions { grid-column: auto; }
  .btn-xl { max-width: none; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 34px; }
  .card-grid, .contents-grid { grid-template-columns: 1fr; }
  .notice { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .float-download { right: 0; left: 0; bottom: 0; justify-content: center; border-radius: 0; padding: 9px 16px calc(9px + env(safe-area-inset-bottom)); }
  .float-download small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
