:root {
  --navy: #171c61;
  --navy-deep: #0f1345;
  --gold: #b18147;
  --gold-soft: #f4ece2;
  --ink: #1d2233;
  --muted: #5d6475;
  --line: #e2e4ec;
  --wash: #f6f7fb;
  --radius: 10px;
  font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--navy); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* header */
header.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 42px; width: auto; }
nav a { margin-left: 26px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a:hover, nav a[aria-current] { color: var(--gold); }
@media (max-width: 720px) {
  header.top { position: static; }
  header.top .wrap { height: auto; flex-direction: column; padding-top: 10px; padding-bottom: 8px; }
  nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; }
  nav a { margin: 0; font-size: 14px; }
}

/* hero */
.hero { background: linear-gradient(135deg, var(--navy-deep), var(--navy) 70%); color: #fff; padding: 72px 0 80px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 0.12em; font-size: 14px; margin: 0 0 14px; }
.hero h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.3; margin: 0 0 20px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { font-size: 17px; margin: 0 0 30px; color: #d9dbee; }
.hero img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  aspect-ratio: 4 / 3; width: 100%; object-fit: cover; object-position: 70% 75%; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

.button { display: inline-block; padding: 12px 24px; border-radius: 6px; font-weight: 700; text-decoration: none;
  background: var(--gold); color: #fff; border: 2px solid var(--gold); }
.button:hover { background: #9a6f3b; border-color: #9a6f3b; }
.button.ghost { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: #fff; margin-left: 10px; }
.button.ghost:hover { border-color: #fff; }
.button.navy { background: var(--navy); border-color: var(--navy); }
.button.navy:hover { background: var(--navy-deep); }

/* sections */
section { padding: 80px 0; }
section.alt { background: var(--wash); }
.kicker { color: var(--gold); font-weight: 700; letter-spacing: 0.1em; font-size: 13px; text-transform: uppercase; margin: 0 0 6px; }
h2 { font-size: 30px; margin: 0 0 12px; color: var(--navy); }
h3 { color: var(--navy); }
.lead { color: var(--muted); margin: 0 0 40px; max-width: 760px; font-size: 16.5px; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.facts { width: 100%; border-collapse: collapse; font-size: 15px; }
.facts th { text-align: left; width: 110px; color: var(--muted); font-weight: 600; padding: 10px 0; vertical-align: top; }
.facts td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts tr:first-child td { border-top: 1px solid var(--line); }
.facts tr:first-child th { border-top: 1px solid transparent; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--gold); }
.timeline li { position: relative; padding: 0 0 18px 16px; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 8px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--gold); }
.timeline time { display: block; font-weight: 700; color: var(--navy); font-size: 14px; }

/* products */
.products { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-bottom: 1px solid var(--line); }
.product div { padding: 18px 20px 22px; }
.product h3 { margin: 0 0 2px; font-size: 20px; }
.product .tag { font-size: 13px; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.product p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* features */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 44px; align-items: center; margin-bottom: 64px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip > img { order: -1; }
.feature img { border: 1px solid var(--line); border-radius: var(--radius); }
.feature h3 { font-size: 22px; margin: 0 0 10px; }
.feature ul { padding-left: 20px; color: var(--muted); margin: 0; }
.feature li { margin-bottom: 4px; }
.feature li b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.flip > img { order: 0; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.chips li { background: var(--gold-soft); color: #7a5528; border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 600; margin: 0; }

/* accuracy table */
.accuracy { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.accuracy th, .accuracy td { padding: 9px 12px; text-align: right; border-bottom: 1px solid var(--line); }
.accuracy th:first-child, .accuracy td:first-child { text-align: left; }
.accuracy thead th { background: var(--navy); color: #fff; font-weight: 600; }
.accuracy td small { color: var(--gold); font-weight: 600; margin-left: 6px; }

/* cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .num { font-size: 34px; font-weight: 800; color: var(--gold); line-height: 1.1; }

/* download page */
.release { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.release header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.release h3 { margin: 0; font-size: 22px; }
.release .version { color: var(--gold); }
.release pre { white-space: pre-wrap; background: var(--wash); border-radius: 8px; padding: 14px 16px; margin: 16px 0;
  font: inherit; font-size: 14px; color: var(--ink); }
.hash { font-family: Consolas, "D2Coding", monospace; font-size: 13px; color: var(--muted); word-break: break-all; }
.note { border-left: 4px solid var(--gold); background: var(--gold-soft); padding: 16px 20px; border-radius: 0 8px 8px 0; margin-bottom: 20px; }
.note ol { margin: 8px 0 0; padding-left: 20px; }

footer { background: var(--navy-deep); color: #b9bcd6; padding: 40px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; }
footer a { color: #fff; }
footer strong { color: #fff; }
