:root {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-soft: #eef0f2;
  --surface-warm: #f6f3ef;
  --text: #111319;
  --muted: #626975;
  --primary: #111319;
  --primary-strong: #000000;
  --secondary: #555d69;
  --accent: #8a929d;
  --line: #dde0e4;
  --success: #2f3540;
  --danger: #5b3138;
  --shadow: 0 18px 50px rgba(17, 19, 25, 0.10);
  --shadow-soft: 0 10px 28px rgba(17, 19, 25, 0.07);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 13px;
  --header-height: 76px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(17,19,25,.34); outline-offset: 3px; }
::selection { background: rgba(17,19,25,.16); }

.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.section { padding: 94px 0; position: relative; }
.section-tight { padding: 68px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17,19,25,.14);
  background: rgba(255,255,255,.84);
  color: var(--primary-strong);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 0 5px rgba(17,19,25,.08); }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.center { margin-inline: auto; text-align: center; }
h1, h2, h3 { line-height: 1.15; margin-top: 0; letter-spacing: -.03em; }
h1 { font-size: clamp(2.25rem, 4.2vw, 4.1rem); margin-bottom: 22px; }
h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); margin-bottom: 16px; }
h3 { font-size: 1.12rem; margin-bottom: 10px; }
p { margin: 0 0 18px; }
.lead { font-size: clamp(1.03rem, 1.5vw, 1.22rem); color: var(--muted); }
.muted { color: var(--muted); }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 9999; padding: 12px 16px; border-radius: 10px; background: var(--text); color: white; text-decoration: none; transition: top .2s ease; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247,251,255,.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(17,19,25,.09); border-color: var(--line); background: rgba(255,255,255,.95); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 900; letter-spacing: -.02em; white-space: nowrap; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand span { font-size: 1rem; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.nav-link { text-decoration: none; padding: 9px 10px; border-radius: 10px; color: #4c535e; font-size: .88rem; font-weight: 700; }
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(17,19,25,.06); }
.header-cta { margin-left: 4px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: white; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { width: 20px; height: 2px; background: var(--text); display: block; position: relative; transition: .2s ease; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); top: 0; }
.menu-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); top: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: 14px; border: 1px solid transparent; text-decoration: none; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--primary), #2c3138); box-shadow: 0 13px 24px rgba(17,19,25,.18); }
.btn-primary:hover { box-shadow: 0 16px 30px rgba(17,19,25,.24); }
.btn-secondary { background: white; border-color: var(--line); color: var(--text); }
.btn-secondary:hover { border-color: #aeb4bc; box-shadow: var(--shadow-soft); }
.btn-download::after { content: "↓"; font-size: 1.05rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero { padding: 68px 0 86px; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: 64px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 span { color: var(--primary); }
.hero-copy .lead { max-width: 690px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.proof-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.78); color: #4e555f; font-size: .86rem; font-weight: 700; }
.proof-chip::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(17,19,25,.10); color: var(--success); font-size: .78rem; }
.hero-visual-wrap { position: relative; min-height: 570px; display: grid; place-items: center; }
.hero-orbit { position: absolute; border: 1px dashed rgba(17,19,25,.18); border-radius: 50%; }
.hero-orbit.one { width: 500px; height: 500px; }
.hero-orbit.two { width: 390px; height: 390px; border-color: rgba(17,19,25,.18); }
.hero-visual-card { position: relative; width: min(100%, 520px); padding: 22px; border-radius: 34px; background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.hero-visual-card::after { content: ""; position: absolute; inset: auto 42px -24px 42px; height: 50px; filter: blur(18px); background: rgba(17,19,25,.12); border-radius: 50%; z-index: -1; }
.hero-visual-card img { width: 100%; aspect-ratio: 1 / .93; object-fit: contain; border-radius: 22px; background: linear-gradient(145deg, #f0f1f3, #fdfefe); }
.floating-note { position: absolute; padding: 12px 14px; border-radius: 14px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-soft); font-size: .8rem; font-weight: 800; color: #4e555f; }
.floating-note.a { top: 13%; right: -2%; }
.floating-note.b { left: -5%; bottom: 18%; }
.floating-note i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; background: var(--secondary); }

.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.image-frame { border-radius: var(--radius-lg); border: 1px solid var(--line); background: white; padding: 18px; box-shadow: var(--shadow-soft); }
.image-frame img { width: 100%; border-radius: calc(var(--radius-lg) - 10px); object-fit: contain; background: var(--surface-soft); }
.info-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.stat { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.stat strong { display: block; font-size: 1.45rem; line-height: 1.1; color: var(--primary); margin-bottom: 5px; }
.stat span { color: var(--muted); font-size: .82rem; }

.features-shell { padding: 38px; border-radius: 36px; border: 1px solid #d9dce0; background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(240,241,243,.9)); box-shadow: var(--shadow-soft); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { padding: 24px; border-radius: 20px; background: white; border: 1px solid var(--line); min-height: 210px; }
.icon-badge { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(17,19,25,.10), rgba(17,19,25,.08)); color: var(--primary); font-size: 1.2rem; font-weight: 900; margin-bottom: 20px; }
.feature-card p { color: var(--muted); font-size: .92rem; margin-bottom: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: steps; }
.step-card { counter-increment: steps; padding: 26px; border-radius: 20px; background: white; border: 1px solid var(--line); position: relative; }
.step-card::before { content: counter(steps, decimal-leading-zero); display: inline-grid; place-items: center; min-width: 44px; height: 36px; padding: 0 9px; border-radius: 10px; background: var(--surface-soft); color: var(--primary); font-weight: 900; margin-bottom: 22px; }
.step-card:not(:last-child)::after { content: "→"; position: absolute; top: 31px; right: -15px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); color: var(--muted); z-index: 2; }
.step-card p { color: var(--muted); font-size: .9rem; margin: 0; }

.use-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.use-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 26px; border-radius: 20px; background: white; border: 1px solid var(--line); }
.use-card .icon-badge { margin: 0; }
.use-card p { color: var(--muted); margin: 0; font-size: .92rem; }
.compatibility-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: stretch; }
.panel { padding: 30px; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-soft); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: #505761; }
.check-list li::before { content: "✓"; flex: 0 0 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; background: rgba(17,19,25,.09); color: var(--success); font-weight: 900; }
.version-matrix { display: grid; gap: 10px; margin-top: 18px; }
.matrix-row { display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: center; padding: 14px 16px; border-radius: 13px; background: var(--surface-soft); }
.matrix-row strong { font-size: .92rem; }
.matrix-row span { color: var(--muted); font-size: .82rem; text-align: right; }

.installation-band { border-radius: 34px; padding: 40px; background: linear-gradient(135deg, #f3f4f5, #f7f7f8 62%, #f1f2f3); border: 1px solid var(--line); }
.installation-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.install-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.install-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.install-list span:first-child { display: grid; place-items: center; height: 34px; border-radius: 10px; background: white; border: 1px solid var(--line); color: var(--primary); font-weight: 900; }

.download-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; padding: 46px; border-radius: 36px; background: #15181d; color: white; overflow: hidden; position: relative; }
.download-wrap::before { content: ""; position: absolute; width: 330px; height: 330px; border-radius: 50%; background: rgba(255,255,255,.08); filter: blur(10px); right: -100px; top: -130px; }
.download-wrap .eyebrow { background: rgba(255,255,255,.08); color: #eceff2; border-color: rgba(255,255,255,.12); }
.download-wrap .lead, .download-wrap .muted { color: #c7ccd2; }
.download-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0 28px; }
.download-meta div { padding: 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.05); }
.download-meta strong { display: block; font-size: .87rem; margin-bottom: 3px; }
.download-meta span { font-size: .75rem; color: #b7bdc5; }
.download-visual { position: relative; z-index: 2; }
.download-visual img { width: 100%; max-height: 430px; object-fit: contain; }

.notice-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; }
.notice-card { padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: white; }
.notice-card.caution { background: var(--surface-warm); border-color: #d8dadd; }
.notice-card strong { color: var(--danger); }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pc-card { padding: 30px; border-radius: 22px; background: white; border: 1px solid var(--line); }
.pc-card ul { margin: 18px 0 0; padding-left: 20px; color: var(--muted); }
.pc-card li + li { margin-top: 10px; }
.release-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.release-card { padding: 25px; border-radius: 20px; background: white; border: 1px solid var(--line); }
.release-card .tag { display: inline-block; margin-bottom: 16px; padding: 6px 9px; border-radius: 999px; background: var(--surface-soft); color: var(--primary); font-size: .75rem; font-weight: 800; }
.release-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.trouble-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trouble-card { padding: 24px; border-radius: 20px; background: white; border: 1px solid var(--line); }
.trouble-card p { color: var(--muted); font-size: .9rem; margin: 0; }

.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow-soft); }
.guide-card img { width: 100%; aspect-ratio: 16/10; object-fit: contain; background: var(--surface-soft); padding: 10px; }
.guide-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.guide-card p { color: var(--muted); font-size: .9rem; }
.text-link { margin-top: auto; color: var(--primary); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.faq-shell { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: start; }
.faq-categories { position: sticky; top: calc(var(--header-height) + 24px); display: grid; gap: 10px; }
.faq-cat-label { padding: 16px 18px; border-radius: 16px; background: white; border: 1px solid var(--line); font-weight: 900; }
.faq-cat-label small { display: block; margin-top: 3px; color: var(--muted); font-weight: 600; }
.faq-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.faq-group { display: grid; gap: 12px; align-content: start; }
.faq-group-title { margin: 0 0 6px; font-size: 1.22rem; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: white; overflow: hidden; }
.faq-question { width: 100%; border: 0; background: transparent; text-align: left; padding: 18px 54px 18px 20px; font-weight: 800; color: var(--text); position: relative; }
.faq-question::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 9px; background: var(--surface-soft); color: var(--primary); transition: transform .2s ease; }
.faq-question[aria-expanded="true"]::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.faq-answer { padding: 0 20px 20px; color: var(--muted); font-size: .92rem; }
.faq-answer[hidden] { display: none; }

.page-hero { padding: 68px 0 46px; }
.page-hero-inner { padding: 42px; border-radius: 30px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(240,241,243,.86)); }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.35rem); max-width: 920px; margin-bottom: 18px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: .86rem; margin-bottom: 16px; }
.breadcrumbs a { color: var(--primary); text-decoration: none; font-weight: 700; }
.breadcrumbs span:not(:last-child)::after { content: "/"; margin-left: 8px; color: #9aa0a8; }
.content-card { padding: 34px; border-radius: 24px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow-soft); }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.7rem; margin-top: 36px; }
.prose h3 { margin-top: 28px; font-size: 1.25rem; }
.prose p, .prose li { color: #555d69; }
.prose a { color: var(--primary); font-weight: 700; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.contact-box { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-top: 24px; padding: 24px; border-radius: 18px; background: var(--surface-soft); border: 1px solid var(--line); }
.contact-box .icon-badge { margin: 0; }

.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #eef0f2; padding: 12px; }
.blog-card-content { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card .meta { color: var(--secondary); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 900; }
.blog-card h2, .blog-card h3 { margin: 8px 0 10px; }
.blog-card h2 { font-size: 1.35rem; }
.blog-card p { color: var(--muted); font-size: .9rem; }
.sidebar { position: sticky; top: calc(var(--header-height) + 24px); display: grid; gap: 16px; }
.sidebar-card { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.sidebar-card h3 { font-size: 1.05rem; }
.sidebar-links { display: grid; gap: 10px; }
.sidebar-links a { text-decoration: none; color: #555d69; font-weight: 700; font-size: .88rem; }
.sidebar-links a:hover { color: var(--primary); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }
.article-feature { width: 100%; max-height: 480px; object-fit: contain; background: var(--surface-soft); padding: 14px; border: 1px solid var(--line); border-radius: 24px; margin-bottom: 26px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .84rem; margin-top: 14px; }
.callout { padding: 20px; border-radius: 16px; border-left: 4px solid var(--primary); background: var(--surface-soft); margin: 24px 0; color: #4e555f; }
.related-guides { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.related-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.related-links a { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--text); text-decoration: none; font-weight: 800; font-size: .88rem; }
.related-links a:hover { border-color: #b8bdc4; color: var(--primary); }

.site-footer { margin-top: 72px; padding: 56px 0 24px; background: #eceef0; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.1fr .55fr 1.35fr; gap: 40px; align-items: start; }
.footer-brand .brand { margin-bottom: 15px; }
.footer-logo-large { width: 72px !important; height: 72px !important; object-fit: contain; margin-bottom: 12px; }
.footer-brand p { max-width: 420px; color: var(--muted); font-size: .9rem; }
.footer-title { font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-links a, .footer-nav a { text-decoration: none; color: #555d69; font-size: .88rem; font-weight: 700; }
.footer-links a:hover, .footer-nav a:hover { color: var(--primary); }
.footer-nav { display: grid; gap: 10px; }
.footer-contact { margin-top: 12px; color: var(--muted); font-size: .86rem; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid #d4d8dc; text-align: center; }
.copyright { margin: 0; color: #555d69; font-size: .86rem; }
.copyright a { text-decoration: none; color: var(--primary); font-weight: 800; }
.footer-disclaimer { margin: 8px 0 0; color: #6a717b; font-size: .8rem; }
.scroll-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--primary); box-shadow: var(--shadow-soft); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s ease; z-index: 900; }
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1050px) {
  .primary-nav { position: fixed; inset: var(--header-height) 18px auto 18px; display: none; margin: 0; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; max-height: calc(100vh - 100px); overflow: auto; }
  .primary-nav.open { display: flex; }
  .nav-link { padding: 12px 13px; }
  .header-cta { margin: 6px 0 0; width: 100%; }
  .menu-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-proof, .hero-copy .button-row { justify-content: center; }
  .hero-visual-wrap { min-height: 500px; }
  .about-grid, .compatibility-grid, .installation-grid, .download-wrap, .notice-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step-card::after { display: none; }
  .release-grid, .trouble-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-shell { grid-template-columns: 1fr; }
  .faq-categories { position: static; grid-template-columns: 1fr 1fr; }
  .blog-layout, .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --header-height: 68px; }
  .container { width: min(calc(100% - 24px), var(--max)); }
  .section { padding: 70px 0; }
  .hero { padding: 44px 0 68px; }
  h1 { font-size: clamp(2.05rem, 9vw, 3rem); }
  h2 { font-size: clamp(1.65rem, 7vw, 2.2rem); }
  .brand span { font-size: .9rem; }
  .brand img { width: 36px; height: 36px; }
  .hero-visual-wrap { min-height: 390px; }
  .hero-orbit.one { width: 340px; height: 340px; }
  .hero-orbit.two { width: 270px; height: 270px; }
  .hero-visual-card { padding: 14px; border-radius: 24px; }
  .floating-note { font-size: .72rem; }
  .floating-note.a { right: 0; top: 5%; }
  .floating-note.b { left: 0; bottom: 8%; }
  .about-grid { gap: 30px; }
  .info-stats, .features-grid, .steps, .use-cases, .release-grid, .trouble-grid, .guides-grid, .pros-cons, .faq-columns, .blog-grid, .sidebar, .related-links { grid-template-columns: 1fr; }
  .features-shell, .installation-band, .download-wrap, .page-hero-inner, .content-card { padding: 24px; border-radius: 24px; }
  .download-meta { grid-template-columns: 1fr; }
  .faq-categories { grid-template-columns: 1fr; }
  .page-hero { padding-top: 42px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-top > :last-child { grid-column: auto; }
  .footer-links { display: grid; gap: 10px; }
  .button-row .btn { width: 100%; }
}


/* 2026 brand refresh: user-supplied shield, graphite palette, compact headings and searched SecurityCraft imagery. */
body, button, input, textarea, select { font-family: Poppins, "Segoe UI", Arial, sans-serif; }
body { background: #f6f7f8; }
:focus-visible { outline-color: rgba(17,19,25,.34); }
::selection { background: rgba(17,19,25,.16); }

.site-header { background: rgba(248,249,250,.92); }
.site-header.is-scrolled { background: rgba(255,255,255,.97); box-shadow: 0 12px 30px rgba(17,19,25,.08); }
.brand img { background: #0b0d10; border-radius: 12px; padding: 5px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.10); }
.footer-logo-large { width: 88px !important; height: 88px !important; padding: 8px !important; border-radius: 20px !important; }
.nav-link { color: #4c535e; }
.nav-link:hover, .nav-link.active { color: #0b0d10; background: #eceef1; }

.btn-primary { color: #fff; background: linear-gradient(135deg,#0b0d10,#2c3138); box-shadow: 0 12px 24px rgba(11,13,16,.18); }
.btn-primary:hover { box-shadow: 0 15px 30px rgba(11,13,16,.24); }
.btn-secondary { border-color: #d3d6db; }
.btn-secondary:hover { border-color: #aeb4bc; }
.eyebrow { color: #111319; border-color: #d7dade; background: rgba(255,255,255,.88); }
.eyebrow::before { background: #111319; box-shadow: 0 0 0 5px rgba(17,19,25,.08); }

.hero { padding: 44px 0 72px; }
.hero-grid {
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: clamp(34px,6vw,76px);
  border: 1px solid #d5d9de;
  border-radius: 36px;
  box-shadow: 0 24px 70px rgba(17,19,25,.12);
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 42%, rgba(255,255,255,.72) 64%, rgba(255,255,255,.20) 100%),
    url("https://media.forgecdn.net/attachments/647/276/defense.png"),
    url("../images/fallback-defense.webp");
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero-copy { max-width: 720px; }
.hero-copy h1 { font-size: clamp(2.15rem, 3.8vw, 3.7rem); max-width: 760px; }
.hero-copy h1 span { color: #343a43; }
.hero-copy .lead { max-width: 680px; color: #505761; }
.hero-proof { margin: 24px 0 10px; }
.hero-note { max-width: 620px; margin: 0 0 26px; font-size: .8rem; }
.proof-chip { color: #343a43; background: rgba(255,255,255,.90); border-color: #d6d9de; }
.proof-chip::before { background: #e8eaed; color: #111319; }
.hero-visual-wrap, .hero-orbit, .hero-visual-card, .floating-note { display: none !important; }

.features-shell { background: linear-gradient(145deg,#fff,#f0f1f3); border-color: #d9dce0; }
.features-grid { grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: 1fr; align-items: stretch; }
.feature-card { width: 100%; height: 100%; min-height: 230px; display: flex; flex-direction: column; }
.feature-card p { margin-top: auto; }
.icon-badge { background: #eff0f2; color: #111319; border-color: #dadde1; }

.page-hero-inner { background: linear-gradient(145deg,#fff,#f0f1f3); border-color: #d9dce0; }
.panel, .content-card, .feature-card, .step-card, .use-card, .notice-card, .pc-card, .release-card, .trouble-card, .guide-card, .blog-card, .sidebar-card { border-color: #dfe2e5; }

/* Real searched SecurityCraft screenshots on live hosting; local brand fallbacks keep file:// mode intact. */
img[src$="about-security-blocks.svg"] {
  background-image: url("https://media.forgecdn.net/attachments/647/280/reinforcement.png"), url("../images/fallback-reinforcement.webp");
}
img[src$="download-package.svg"] {
  background-image: url("https://media.forgecdn.net/attachments/647/282/content-2.png"), url("../images/fallback-content-2.webp");
}
img[src$="blog-features.svg"] {
  background-image: url("https://media.forgecdn.net/attachments/647/281/content-1.png"), url("../images/fallback-content-1.webp");
}
img[src$="blog-installation.svg"] {
  background-image: url("https://media.forgecdn.net/attachments/647/277/entrances.png"), url("../images/fallback-entrances.webp");
}
img[src$="blog-compatibility.svg"] {
  background-image: url("https://media.forgecdn.net/attachments/647/280/reinforcement.png"), url("../images/fallback-reinforcement.webp");
}
img[src$="blog-errors.svg"] {
  background-image: url("https://media.forgecdn.net/attachments/647/276/defense.png"), url("../images/fallback-defense.webp");
}
img[src$="blog-fabric.svg"] {
  background-image: url("https://media.forgecdn.net/attachments/647/282/content-2.png"), url("../images/fallback-content-2.webp");
}
img[src$="blog-performance.svg"] {
  background-image: url("https://www.pwrdown.com/wp-content/uploads/2022/01/CCTV.jpg"), url("../images/fallback-camera.webp");
}
img[src$="blog-safety.svg"] {
  background-image: url("https://media.forgecdn.net/attachments/647/279/item-security.png"), url("../images/fallback-item-security.webp");
}
img[src$="blog-bedrock-java.svg"], img[src$="blog-mcpe.svg"] {
  background-image: url("https://r2.mcpedl.com/submissions/197871/images/securitycraft-bedrock_32.png"), url("../images/fallback-bedrock.webp");
}
img[src$="about-security-blocks.svg"],
img[src$="download-package.svg"],
img[src$="blog-features.svg"],
img[src$="blog-installation.svg"],
img[src$="blog-compatibility.svg"],
img[src$="blog-errors.svg"],
img[src$="blog-fabric.svg"],
img[src$="blog-performance.svg"],
img[src$="blog-safety.svg"],
img[src$="blog-bedrock-java.svg"],
img[src$="blog-mcpe.svg"] {
  background-size: contain, contain;
  background-position: center, center;
  background-repeat: no-repeat;
  background-color: #e9ebee;
}
.image-frame img, .download-visual img, .guide-card img, .blog-card img, .article-feature { object-fit: contain; padding: 0; }
.image-frame img, .download-visual img { aspect-ratio: 16/10; border-radius: 22px; }
.guide-card img, .blog-card img { aspect-ratio: 16/9; }
.article-feature { aspect-ratio: 16/9; max-height: none; }

.site-footer { background: #eceef0; border-top-color: #d8dce0; }
.footer-title { color: #111319; }
.footer-links a, .footer-nav a { color: #4e555f; }
.footer-links a:hover, .footer-nav a:hover { color: #000; }
.footer-bottom { border-top-color: #d4d8dc; }
.footer-disclaimer { color: #626975; }

@media (max-width: 1050px) {
  .hero-grid { min-height: 500px; padding: 48px; background-image: linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.90) 64%,rgba(255,255,255,.46) 100%), url("https://media.forgecdn.net/attachments/647/276/defense.png"), url("../images/fallback-defense.webp"); }
  .hero-copy { text-align: left; }
  .hero-proof, .hero-copy .button-row { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .hero { padding-top: 26px; }
  .hero-grid { min-height: auto; padding: 32px 24px; border-radius: 26px; background-image: linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.94) 72%,rgba(255,255,255,.72) 100%), url("https://media.forgecdn.net/attachments/647/276/defense.png"), url("../images/fallback-defense.webp"); background-position: center, 68% center, center; }
  .hero-copy h1 { font-size: clamp(2rem,10vw,2.75rem); }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .footer-logo-large { width: 76px !important; height: 76px !important; }
}


/* 2026 full-width hero + vertical legal links refresh */
body,
button,
input,
textarea,
select {
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
}

/* Keep headings compact and balanced across the site. */
h1 { font-size: clamp(2.1rem, 3.5vw, 3.35rem); }
h2 { font-size: clamp(1.7rem, 2.65vw, 2.45rem); }
h3 { font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.page-hero h1 { font-size: clamp(2rem, 3.4vw, 3rem); }

/* Full-bleed hero background with a new content + proof-rail composition. */
.hero {
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #e8ebee;
}
.hero-grid {
  width: 100%;
  min-height: clamp(560px, 67vh, 720px);
  display: flex;
  align-items: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  background-image:
    linear-gradient(90deg, rgba(247,248,249,.985) 0%, rgba(247,248,249,.94) 43%, rgba(247,248,249,.72) 62%, rgba(247,248,249,.22) 100%),
    url("https://media.forgecdn.net/attachments/647/276/defense.png"),
    url("../images/fallback-defense.webp");
  background-size: cover, cover, cover;
  background-position: center, center 46%, center;
  background-repeat: no-repeat;
}
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .52fr);
  align-items: end;
  gap: clamp(34px, 6vw, 84px);
  padding-top: 76px;
  padding-bottom: 76px;
}
.hero-copy {
  max-width: 720px;
  padding: clamp(26px, 3.5vw, 42px);
  border: 1px solid rgba(217,220,224,.9);
  border-radius: 28px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 20px 60px rgba(17,19,25,.10);
  backdrop-filter: blur(8px);
}
.hero-copy h1 {
  max-width: 680px;
  font-size: clamp(2rem, 3.05vw, 3.18rem);
  margin-bottom: 18px;
}
.hero-copy .lead {
  max-width: 650px;
}
.hero-proof-rail {
  display: grid;
  gap: 12px;
  margin: 0;
  align-self: end;
  max-width: 360px;
  justify-self: end;
}
.hero-proof-rail .proof-chip {
  width: 100%;
  min-height: 54px;
  justify-content: flex-start;
  border-radius: 16px;
  padding: 13px 15px;
  background: rgba(255,255,255,.9);
  border-color: rgba(213,217,222,.95);
  box-shadow: 0 10px 26px rgba(17,19,25,.07);
  backdrop-filter: blur(7px);
}
.hero-proof-rail .hero-note {
  margin: 2px 4px 0;
  padding: 0;
  font-size: .78rem;
  line-height: 1.55;
  color: #4f5660;
}
.hero-copy .button-row { margin-top: 26px; }

/* Legal & Information stays vertical on every viewport. */
.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
  justify-items: start;
}

@media (max-width: 1050px) {
  .hero-grid {
    min-height: 600px;
    padding: 0;
    background-image:
      linear-gradient(90deg, rgba(247,248,249,.98) 0%, rgba(247,248,249,.91) 58%, rgba(247,248,249,.48) 100%),
      url("https://media.forgecdn.net/attachments/647/276/defense.png"),
      url("../images/fallback-defense.webp");
  }
  .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(230px, .42fr);
    gap: 28px;
    padding-top: 58px;
    padding-bottom: 58px;
  }
  .hero-copy { text-align: left; }
  .hero-copy .button-row { justify-content: flex-start; }
}

@media (max-width: 820px) {
  .hero-grid {
    min-height: auto;
    background-image:
      linear-gradient(180deg, rgba(247,248,249,.98) 0%, rgba(247,248,249,.94) 68%, rgba(247,248,249,.72) 100%),
      url("https://media.forgecdn.net/attachments/647/276/defense.png"),
      url("../images/fallback-defense.webp");
    background-position: center, 64% center, center;
  }
  .hero-content {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 38px;
    padding-bottom: 42px;
  }
  .hero-copy {
    max-width: 100%;
    padding: 28px 24px;
    border-radius: 24px;
  }
  .hero-copy h1 { font-size: clamp(1.95rem, 7.5vw, 2.65rem); }
  .hero-proof-rail {
    max-width: 100%;
    width: 100%;
    justify-self: stretch;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-proof-rail .hero-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(1.95rem, 8.5vw, 2.65rem); }
  h2 { font-size: clamp(1.55rem, 7vw, 2.05rem); }
  .hero-content { padding-top: 28px; padding-bottom: 32px; }
  .hero-copy { padding: 24px 20px; }
  .hero-proof-rail { grid-template-columns: 1fr; }
  .hero-proof-rail .hero-note { grid-column: auto; }
  .hero-copy .button-row { gap: 10px; }
}
