:root { --bg:#ffffff; --soft:#f7f6f2; --text:#1d2430; --muted:#586272; --line:#e6e3da; --red:#a81b30; --gold:#e8a800; --blue:#003d6d; }
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; background:var(--bg); color:var(--text); line-height:1.65; font-size:17px; -webkit-text-size-adjust:100%; }
a { color:var(--blue); }
.topbar { height:5px; background:linear-gradient(90deg,var(--red) 0 33.3%,var(--gold) 33.3% 66.6%,var(--blue) 66.6% 100%); }
nav { display:flex; justify-content:space-between; align-items:center; max-width:1040px; margin:0 auto; padding:16px 20px; flex-wrap:wrap; gap:10px 20px; }
.brand-wrap { display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--text); }
.nav-logo { width:48px; height:48px; object-fit:contain; }
.brand { font-weight:700; font-size:1.2rem; letter-spacing:.2px; }
.links { display:flex; flex-wrap:wrap; gap:6px 20px; }
.links a { color:var(--muted); text-decoration:none; font-size:.95rem; padding:6px 0; }
.links a:hover, .links a.active { color:var(--blue); }
.container { max-width:1040px; margin:0 auto; padding:0 20px 72px; }
.hero { padding:48px 0 32px; }
.tag { display:inline-block; color:var(--blue); background:var(--soft); border:1px solid var(--line); border-left:4px solid var(--gold); padding:6px 12px; border-radius:6px; font-size:.85rem; margin-bottom:22px; }
h1 { font-size:clamp(1.9rem,5vw,3rem); line-height:1.15; margin-bottom:20px; max-width:820px; color:var(--text); }
h2 { font-size:1.55rem; line-height:1.25; margin-bottom:6px; }
h2::after { content:""; display:block; width:48px; height:4px; background:var(--red); margin-top:10px; border-radius:2px; }
.lead { color:var(--muted); font-size:1.1rem; max-width:780px; margin-bottom:28px; }
.btn { display:inline-block; background:var(--blue); color:#fff; padding:14px 26px; border-radius:8px; font-weight:600; text-decoration:none; }
.btn:hover { background:#002b4f; }
.btn-outline { background:transparent; color:var(--blue); border:1.5px solid var(--blue); }
.btn-outline:hover { background:var(--blue); color:#fff; }
.btn-row { display:flex; flex-wrap:wrap; gap:12px; }
section { margin-top:64px; }
.grid { display:grid; grid-template-columns:1fr; gap:20px; margin-top:28px; }
.card { background:var(--bg); border:1px solid var(--line); border-top:4px solid var(--gold); border-radius:10px; padding:26px 24px; }
.card:nth-child(3n+1) { border-top-color:var(--blue); }
.card:nth-child(3n+2) { border-top-color:var(--gold); }
.card:nth-child(3n) { border-top-color:var(--red); }
.card h3 { margin-bottom:10px; font-size:1.12rem; line-height:1.3; }
.card h3 a { color:var(--text); text-decoration:none; }
.card h3 a:hover { color:var(--blue); }
.card p, .card .meta { color:var(--muted); }
.card .meta { font-size:.88rem; margin-bottom:10px; }
.card .more { display:inline-block; margin-top:14px; font-weight:600; text-decoration:none; }
.cta-grid .card p { margin-bottom:18px; }
.product-grid { display:grid; grid-template-columns:1fr; gap:20px; margin-top:28px; }
.product { background:var(--bg); border:1px solid var(--line); border-radius:10px; overflow:hidden; display:flex; flex-direction:column; }
.product-media { background:var(--soft); min-height:140px; display:flex; align-items:center; justify-content:center; border-bottom:1px solid var(--line); color:var(--muted); font-size:.88rem; text-align:center; padding:20px; }
.product-media img { width:100%; height:180px; object-fit:cover; display:block; }
.product-body { padding:22px 22px 24px; display:flex; flex-direction:column; flex:1; }
.cat { display:inline-block; font-size:.75rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--blue); margin-bottom:8px; }
.product h3 { font-size:1.12rem; margin-bottom:8px; }
.product p { color:var(--muted); font-size:.97rem; flex:1; }
.buy-slot { margin-top:18px; }
.status { display:inline-block; background:var(--soft); border:1px solid var(--line); padding:8px 14px; border-radius:999px; font-size:.9rem; color:var(--muted); }
.section-intro { color:var(--muted); max-width:720px; margin-top:12px; }
.article { max-width:720px; margin:0 auto; padding:32px 20px 80px; }
.article .crumb { font-size:.9rem; margin-bottom:22px; }
.article .crumb a { text-decoration:none; }
.article .draft { display:inline-block; color:var(--red); background:#f8ecee; border:1px solid #efd0d5; padding:4px 10px; border-radius:6px; font-size:.8rem; font-weight:600; margin-bottom:16px; }
.article h1 { font-size:clamp(1.7rem,4vw,2.4rem); }
.article .byline { color:var(--muted); margin-bottom:28px; font-size:.95rem; }
.article p { margin-bottom:18px; }
.article h2 { font-size:1.25rem; margin:32px 0 12px; }
.article h2::after { width:36px; height:3px; }
.article ul { padding-left:22px; color:var(--text); margin-bottom:18px; }
.article li { margin-bottom:8px; color:var(--muted); }
footer { border-top:1px solid var(--line); color:var(--muted); font-size:.88rem; padding:28px 20px; }
.footer-inner { max-width:1040px; margin:0 auto; display:flex; flex-wrap:wrap; gap:10px 24px; justify-content:space-between; align-items:center; }
.footer-links { display:flex; flex-wrap:wrap; gap:8px 18px; }
.footer-links a { color:var(--muted); text-decoration:none; }
.footer-links a:hover { color:var(--blue); }
@media (min-width:700px) {
  .hero { padding:64px 0 40px; }
}
@media (min-width:760px) {
  .grid, .product-grid { grid-template-columns:repeat(2,1fr); }
}
.search-tip { background:var(--soft); border:1px solid var(--line); border-left:4px solid var(--blue); border-radius:8px; padding:22px 24px; margin-top:28px; }
.search-tip h3 { margin-bottom:8px; font-size:1.12rem; }
.search-tip p { color:var(--muted); }
.reg-group { margin-top:48px; }
.reg-list { list-style:none; margin-top:20px; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:#fff; }
.reg-list li { padding:16px 20px; border-top:1px solid var(--line); }
.reg-list li:first-child { border-top:none; }
.reg-list a { font-weight:600; text-decoration:none; }
.reg-list a:hover { text-decoration:underline; }
.reg-list .desc { display:block; color:var(--muted); font-size:.95rem; margin-top:4px; }
.paid { font-size:.8rem; font-weight:600; color:var(--red); letter-spacing:.02em; }
.disclaimer { margin-top:56px; background:var(--soft); border:1px solid var(--line); border-radius:10px; padding:22px 24px; color:var(--muted); font-size:.95rem; }
.page-hero { padding-bottom:8px; }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.is-hidden { display:none !important; }
.tool-grid { display:grid; grid-template-columns:1fr; gap:20px; margin-top:28px; }
.reg-search, .ask-panel { background:var(--soft); border:1px solid var(--line); border-radius:10px; padding:22px 20px 24px; }
.reg-search { border-left:4px solid var(--blue); }
.ask-panel { border-left:4px solid var(--gold); }
.reg-search h2, .ask-panel h2, .ask-panel h3 { font-size:1.2rem; line-height:1.3; margin-bottom:10px; }
.reg-search h2::after, .ask-panel h2::after { display:none; }
.reg-search > p, .ask-panel > p { color:var(--muted); font-size:.97rem; margin-bottom:12px; }
.ask-bio { margin-bottom:18px !important; }
.reg-search-form, .ask-form, .home-reg-search { display:flex; flex-direction:column; gap:8px; }
.reg-search-form label, .ask-form label, .home-reg-search label { font-weight:600; font-size:.92rem; color:var(--text); }
.reg-search-form input[type="search"],
.reg-search-form select,
.ask-form input,
.ask-form select,
.ask-form textarea,
.home-reg-search input[type="search"] {
  width:100%; font-size:16px; line-height:1.4; padding:12px 14px; min-height:48px;
  border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--text);
  font-family:inherit;
}
.ask-form textarea { min-height:120px; resize:vertical; }
.reg-search-form input:focus, .reg-search-form select:focus,
.ask-form input:focus, .ask-form select:focus, .ask-form textarea:focus,
.home-reg-search input:focus { outline:2px solid var(--blue); outline-offset:1px; border-color:var(--blue); }
.search-actions { display:flex; flex-direction:column; gap:10px; margin-top:8px; }
.search-actions .btn { width:100%; text-align:center; cursor:pointer; border:1.5px solid var(--blue); font-family:inherit; font-size:1rem; }
.reg-hint, .ask-note, .filter-status { color:var(--muted); font-size:.9rem; margin-top:4px; }
.filter-status { margin-top:10px; }
.quick-reg-list { list-style:none; margin-top:20px; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:#fff; }
.quick-reg-list li { padding:16px 20px; border-top:1px solid var(--line); }
.quick-reg-list li:first-child { border-top:none; }
.quick-reg-list a { font-weight:600; text-decoration:none; }
.quick-reg-list a:hover { text-decoration:underline; }
.quick-reg-list .desc { display:block; color:var(--muted); font-size:.95rem; margin-top:4px; }
.home-reg-search { margin-top:20px; background:var(--soft); border:1px solid var(--line); border-left:4px solid var(--blue); border-radius:10px; padding:20px; }
.home-reg-row { display:flex; flex-direction:column; gap:10px; }
.home-reg-search .btn { width:100%; text-align:center; cursor:pointer; border:0; font-family:inherit; font-size:1rem; }
.home-ask { margin-top:20px; }
@media (min-width:640px) {
  .search-actions { flex-direction:row; flex-wrap:wrap; }
  .search-actions .btn, .home-reg-search .btn { width:auto; }
  .home-reg-row { flex-direction:row; align-items:stretch; }
  .home-reg-row input[type="search"] { flex:1; }
}
@media (min-width:900px) {
  .tool-grid { grid-template-columns:1.15fr .85fr; align-items:start; }
  .reg-search, .ask-panel { padding:26px 24px 28px; }
}
