:root {
  --ink: #142635;
  --navy: #061522;
  --navy-2: #08243a;
  --blue: #0d4f7c;
  --blue-light: #e8f2f7;
  --gold: #caa85d;
  --green: #247a58;
  --muted: #637786;
  --line: #d8e2e8;
  --surface: #ffffff;
  --background: #f4f7f9;
  --shadow: 0 18px 45px rgba(6, 21, 34, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--ink); font: 400 16px/1.55 "Segoe UI", Arial, sans-serif; }
a { color: inherit; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 9px 14px; border-radius: 6px; background: #fff; color: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.topbar { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 96px; padding: 8px clamp(24px, 4vw, 64px); background: linear-gradient(rgba(6,21,34,.96), rgba(8,36,58,.88)); box-shadow: 0 18px 45px rgba(6,21,34,.22); }
.identity { display: inline-flex; flex: 0 0 auto; align-items: center; }
.identity img { display: block; width: 192px; max-height: 76px; object-fit: contain; filter: brightness(0) invert(1); }
.nav { display: flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid rgba(255,255,255,.10); border-radius: 8px; background: rgba(255,255,255,.07); color: #edf7fc; font-size: 13px; }
.nav a { padding: 9px 12px; border-radius: 5px; text-decoration: none; transition: background .18s ease, color .18s ease; }
.nav a:hover, .nav a:focus-visible { background: rgba(255,255,255,.12); color: #fff; }
.menu-toggle { display: none; padding: 9px 13px; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; background: transparent; color: #fff; font: 700 14px "Segoe UI", Arial, sans-serif; }

main { min-height: 60vh; }
.hero { padding: 64px clamp(24px, 4vw, 64px) 58px; background: radial-gradient(circle at 78% 20%, rgba(255,255,255,.16), transparent 28%), linear-gradient(105deg, rgba(6,21,34,.98) 0%, rgba(13,79,124,.93) 58%, rgba(8,36,58,.98) 100%); color: #fff; }
.hero-inner { display: flex; width: min(1120px, 100%); margin-inline: auto; align-items: center; justify-content: space-between; gap: 48px; }
.hero-copy-block { max-width: 650px; }
.section-kicker { margin: 0 0 10px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.18; }
h1 { margin: 0 0 14px; font: 700 clamp(38px, 5vw, 58px)/1.08 Georgia, "Times New Roman", serif; }
.hero-copy { max-width: 620px; margin: 0; color: #dcebf4; font-size: 18px; }
.update-panel { display: flex; flex: 0 0 min(340px, 36%); align-items: center; gap: 14px; padding: 19px 21px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.09); box-shadow: 0 12px 32px rgba(6,21,34,.18); backdrop-filter: blur(5px); }
.status-dot { width: 11px; height: 11px; flex: 0 0 auto; border-radius: 50%; background: #9cabb6; box-shadow: 0 0 0 5px rgba(255,255,255,.10); }
.update-panel.is-current .status-dot { background: #67c89b; box-shadow: 0 0 0 5px rgba(103,200,155,.16); }
.status-label { margin: 0 0 2px; font-weight: 750; }
.status-date { margin: 0; color: #cfe0ea; font-size: 13px; }

.content-section, .help-panel { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.content-section { margin-top: 42px; padding: 36px; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; color: var(--navy-2); font: 700 30px Georgia, "Times New Roman", serif; }
.files-count { margin: 0; color: var(--muted); font-size: 14px; }
.cards-grid { display: grid; gap: 18px; }
.package-card { display: grid; grid-template-columns: minmax(260px,1.25fr) minmax(260px,1fr); gap: 28px 46px; padding: 30px; border: 1px solid var(--line); border-radius: 9px; background: linear-gradient(135deg,#fff 0%,#fff 70%,#f3f8fb 100%); }
.package-heading { display: flex; align-items: flex-start; gap: 18px; }
.package-icon { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; border-radius: 9px; background: var(--blue); color: #fff; }
.package-icon svg { width: 31px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.package-heading h3 { margin: 10px 0 7px; color: var(--navy-2); font: 700 23px Georgia,"Times New Roman",serif; }
.package-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.package-files { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 10px; margin: 0; padding: 0; list-style: none; }
.package-files li { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--blue); font-size: 12px; font-weight: 750; overflow-wrap: anywhere; }
.mini-file-icon { display: inline-flex; flex: 0 0 20px; color: var(--blue); }
.mini-file-icon svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.package-action { grid-column: 1/-1; display: flex; align-items: center; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.download-all { min-width: 270px; border: 0; cursor: pointer; font-family: inherit; }
.download-all:disabled { cursor: wait; opacity: .7; }
.download-note { margin: 0; color: var(--muted); font-size: 12px; }
.file-card { display: flex; min-height: 282px; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 9px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.file-card:hover { transform: translateY(-3px); border-color: #b9cbd6; box-shadow: 0 12px 28px rgba(6,21,34,.08); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 21px; }
.file-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 8px; background: var(--blue-light); color: var(--blue); }
.file-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.file-type { padding: 4px 10px; border-radius: 999px; background: #edf6f1; color: #24704f; font-size: 12px; font-weight: 750; }
.card-body { flex: 1; }
.card-body h3 { margin: 0 0 7px; color: var(--navy-2); font: 700 20px Georgia, "Times New Roman", serif; }
.filename { margin: 0 0 12px; color: var(--blue); font-size: 13px; font-weight: 750; letter-spacing: .025em; }
.description { margin: 0; color: var(--muted); font-size: 14px; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--blue); border-radius: 6px; font-size: 14px; font-weight: 750; text-decoration: none; transition: background .18s ease, color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .menu-toggle:focus-visible { outline: 3px solid #8cc5e8; outline-offset: 3px; }
.button svg { width: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--navy-2); }
.button-secondary { background: #fff; color: var(--blue); }
.button-secondary:hover { background: var(--blue-light); }
.button.is-placeholder { border-style: dashed; opacity: .78; }
.help-panel { display: flex; align-items: flex-start; gap: 16px; margin-block: 26px 54px; padding: 22px 24px; border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; background: #eef4f7; }
.help-icon { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-family: Georgia, serif; font-weight: bold; }
.help-panel h2 { margin: 0 0 4px; color: var(--navy-2); font-size: 16px; }
.help-panel p { margin: 0; color: #506878; font-size: 14px; }
.notice { grid-column: 1/-1; padding: 20px; border: 1px solid #e7cd8b; border-radius: 8px; background: #fff8e6; color: #684f19; }

footer { padding: 26px clamp(24px, 5vw, 64px) 20px; background: linear-gradient(135deg, #061522, #08243a 58%, #0d4f7c); color: #e8f1f6; font-size: 13.5px; }
.footer-main, .footer-bottom { display: flex; width: min(1120px,100%); margin-inline: auto; justify-content: space-between; gap: 30px; }
.footer-main { align-items: flex-start; padding-bottom: 22px; }
.footer-brand { max-width: 440px; }
.footer-title { margin: 0 0 5px; color: #fff; font: 700 19px Georgia, "Times New Roman", serif; }
.footer-brand p:not(.footer-title) { margin: 0; color: #bfd0db; }
.footer-contact { display: grid; gap: 4px; text-align: right; }
.footer-bottom { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); color: #b8cad5; font-size: 12px; }
.footer-bottom a { color: #fff; text-underline-offset: 3px; }

@media (max-width: 840px) {
  .topbar { flex-wrap: wrap; min-height: 84px; }
  .identity img { width: 160px; }
  .menu-toggle { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 7px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 12px; }
  .hero-inner { align-items: stretch; flex-direction: column; gap: 28px; }
  .update-panel { flex-basis: auto; width: min(100%, 460px); }
}

@media (max-width: 680px) {
  .hero { padding: 46px 20px 42px; }
  .content-section, .help-panel { width: calc(100% - 28px); }
  .content-section { margin-top: 26px; padding: 24px 16px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .cards-grid { grid-template-columns: 1fr; }
  .package-card { grid-template-columns: 1fr; padding: 22px 18px; }
  .package-files { grid-template-columns: 1fr; }
  .package-action { grid-column: 1; align-items: stretch; flex-direction: column; gap: 9px; }
  .download-all { width: 100%; min-width: 0; }
  .file-card { min-height: 0; }
  .footer-main, .footer-bottom { flex-direction: column; }
  .footer-contact { text-align: left; }
}

@media (max-width: 390px) { .card-actions { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition: none !important; } }
