/* ==========================================================================
   Oh My Zsh Guide — Design Seed S09 "Gaming Utility Light"
   Light theme · Poppins · sharp corners · diagonal energy · accent strips
   ========================================================================== */

/* ---------- Fonts (self-hosted Poppins) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-bold.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --primary: #087A5B;
  --primary-600: #066A4F;
  --primary-400: #12A57C;
  --primary-100: #E3F5EE;
  --primary-50: #F2FAF6;
  --secondary: #1F3B5A;
  --ink: #14202E;
  --accent: #FF7A2F;
  --accent-600: #E8621A;
  --accent-100: #FFE8D9;
  --text: #24364A;
  --muted: #566778;
  --line: #D5E2DC;
  --line-strong: #1F3B5A;
  --bg: #FAFCFB;
  --white: #FFFFFF;
  --sky: #EAF2FA;
  --danger: #C2410C;
  --shadow-sm: 0 2px 0 rgba(31, 59, 90, .06), 0 6px 18px rgba(31, 59, 90, .07);
  --shadow-md: 0 10px 30px rgba(31, 59, 90, .12);
  --shadow-hard: 6px 6px 0 var(--accent);
  --header-h: 70px;
  --container: 1200px;
  --cut: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }
body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-600); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: "Poppins", Arial, sans-serif; color: var(--secondary); line-height: 1.22; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.15rem; }
ul, ol { padding-left: 1.2em; }
code, kbd, pre { font-family: "Poppins", Arial, sans-serif; }
code { font-size: .92em; background: var(--primary-100); color: var(--primary-600); padding: .1em .4em; font-weight: 500; word-break: break-word; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--secondary); color: #fff; padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: 88px 0; position: relative; }
.section--tint { background: var(--primary-50); }
.section--warm { background: #FFF8F3; }

/* Diagonal section edges */
.edge-top { clip-path: polygon(0 48px, 100% 0, 100% 100%, 0 100%); padding-top: 128px; margin-top: -48px; }
.edge-both { clip-path: polygon(0 48px, 100% 0, 100% calc(100% - 48px), 0 100%); padding: 128px 0; margin: -48px 0; }

/* ---------- Section heading (S09: left aligned, kicker tag + accent strip) ---------- */
.sec-head { max-width: 760px; margin-bottom: 46px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--secondary); color: #fff;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 16px 6px 14px; margin-bottom: 16px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.kicker::before { content: ""; width: 8px; height: 8px; background: var(--accent); transform: skewX(-18deg); }
.sec-head h2 { position: relative; }
.sec-head h2::after { content: ""; display: block; width: 84px; height: 6px; margin-top: 14px; background: linear-gradient(90deg, var(--primary) 0 70%, transparent 70% 76%, var(--accent) 76%); }
.sec-head--center h2::after { margin-left: auto; margin-right: auto; }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --clip: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 15px 28px; border: 0; cursor: pointer; text-align: center;
  clip-path: polygon(var(--clip) 0, 100% 0, calc(100% - var(--clip)) 100%, 0 100%);
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #FF8C4A; color: var(--ink); transform: translateY(-2px); }
.btn-green { background: var(--primary); color: #fff; }
.btn-green:hover { background: var(--primary-600); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--secondary); box-shadow: inset 0 0 0 2px var(--secondary); clip-path: none; }
.btn-ghost:hover { background: var(--secondary); color: #fff; }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: linear-gradient(100deg, var(--primary) 0 62%, transparent 62% 63%, var(--accent) 63% 100%); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(31, 59, 90, .1); }
.site-header.is-scrolled::after { transform: scaleX(1); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--secondary); font-weight: 700; font-size: 1.22rem; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.brand span b { color: var(--primary); font-weight: 700; }
.brand:hover { color: var(--secondary); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a.nav-link { position: relative; color: var(--secondary); font-weight: 500; font-size: .93rem; padding: 8px 11px; white-space: nowrap; }
.main-nav a.nav-link::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 3px; background: var(--accent); transform: scaleX(0) skewX(-20deg); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav a.nav-link:hover::after, .main-nav a.nav-link.is-active::after { transform: scaleX(1) skewX(-20deg); }
.main-nav a.nav-link.is-active { color: var(--primary); }
.nav-cta { margin-left: 10px; padding: 11px 20px; font-size: .92rem; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 2px solid var(--secondary); background: #fff; color: var(--secondary); cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- HERO (diagonal asymmetric) ---------- */
.hero { position: relative; overflow: hidden; padding: 46px 0 64px; background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%); }
.hero::before { content: ""; position: absolute; top: 0; right: 0; width: 54%; height: 100%; background: var(--primary-100); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); z-index: 0; }
.hero::after { content: ""; position: absolute; top: 0; right: 0; width: 22%; height: 46%; background: #CDEEDF; clip-path: polygon(0 0, 100% 0, 100% 100%); z-index: 0; }
.hero-shape { position: absolute; z-index: 0; pointer-events: none; }
.hero-shape--stripes { left: 2%; bottom: 40px; width: 120px; height: 70px; background: repeating-linear-gradient(115deg, var(--accent) 0 10px, transparent 10px 24px); opacity: .55; clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%); }
.hero-shape--tri { right: 4%; bottom: 36px; width: 46px; height: 46px; background: var(--accent); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 40px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--secondary); background: #fff; padding: 5px 14px; font-weight: 600; font-size: .82rem; color: var(--secondary); margin-bottom: 18px; box-shadow: 4px 4px 0 var(--primary-400); }
.hero-eyebrow svg { width: 18px; height: 18px; color: var(--primary); }
.hero h1 { margin-bottom: 14px; }
.hero h1 .h1-sub { display: block; font-size: .5em; font-weight: 600; color: var(--primary); margin-top: 8px; letter-spacing: 0; line-height: 1.3; }
.hero-lead { font-size: 1.08rem; color: var(--muted); max-width: 560px; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 26px; }
.trust-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 500; color: var(--secondary); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--primary); padding: 6px 12px; }
.trust-chips li:nth-child(even) { border-left-color: var(--accent); }
.trust-chips svg { width: 17px; height: 17px; color: var(--primary); flex: none; }
.hero-visual { position: relative; }
.hero-visual .frame { position: relative; transform: rotate(-1.5deg); }
.hero-visual .frame::before { content: ""; position: absolute; inset: 22px -14px -14px 22px; border: 3px solid var(--secondary); z-index: -1; }
.hero-visual img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; background: #fff; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); }
.hero-tag { position: absolute; left: -14px; bottom: 26px; background: var(--secondary); color: #fff; padding: 9px 16px; font-weight: 600; font-size: .85rem; display: inline-flex; gap: 8px; align-items: center; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.hero-tag svg { width: 18px; height: 18px; color: var(--accent); }

/* ---------- ABOUT (offset geometric cards) ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.about-media { position: relative; padding: 0 0 28px 28px; }
.about-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; background: var(--accent); clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.about-media img { position: relative; width: 100%; aspect-ratio: 50 / 41; object-fit: cover; border: 3px solid var(--secondary); background: #fff; }
.about-copy p { color: var(--muted); }
.offset-cards { display: grid; gap: 14px; margin-top: 26px; }
.offset-card { display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: start; background: #fff; border: 2px solid var(--secondary); padding: 16px 18px; box-shadow: 6px 6px 0 var(--primary-100); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); transition: transform .25s var(--ease), box-shadow .25s; }
.offset-card:nth-child(2) { margin-left: 34px; box-shadow: 6px 6px 0 var(--accent-100); }
.offset-card:nth-child(3) { margin-left: 68px; }
.offset-card:hover { transform: translateX(6px); }
.offset-card h3 { font-size: 1rem; margin: 0 0 2px; }
.offset-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.ico-tile { width: 50px; height: 50px; display: grid; place-items: center; background: var(--primary); color: #fff; clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); flex: none; }
.ico-tile svg { width: 26px; height: 26px; }
.ico-tile--accent { background: var(--accent); color: var(--ink); }
.ico-tile--navy { background: var(--secondary); }

/* ---------- FEATURES (sharp cards, accent strips, staggered) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.feat-card { position: relative; background: #fff; border: 2px solid var(--line); padding: 30px 26px 26px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.feat-card::before { content: ""; position: absolute; left: -2px; top: -2px; width: 46%; height: 6px; background: var(--primary); clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%); transition: width .3s var(--ease); }
.feat-card:nth-child(even)::before { background: var(--accent); }
.feat-card:nth-child(3n+2) { transform: translateY(26px); }
.feat-card:hover { border-color: var(--secondary); box-shadow: var(--shadow-hard); }
.feat-card:hover::before { width: calc(100% + 4px); }
.feat-card:nth-child(3n+2):hover { transform: translateY(22px); }
.feat-card:not(:nth-child(3n+2)):hover { transform: translateY(-4px); }
.feat-num { position: absolute; right: 18px; top: 12px; font-weight: 700; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line); }
.feat-card .ico-tile { margin-bottom: 18px; transition: transform .25s var(--ease); }
.feat-card:hover .ico-tile { transform: rotate(-6deg); }
.feat-card h3 { margin-bottom: 8px; }
.feat-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.feat-card code { font-size: .85em; }

/* ---------- HOW IT WORKS (numbered tiles + diagonal connectors) ---------- */
.zig { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding-bottom: 40px; }
.zig-step { position: relative; background: #fff; border: 2px solid var(--secondary); padding: 24px 20px 22px; z-index: 1; transition: transform .25s var(--ease), box-shadow .25s; }
.zig-step:nth-child(even) { margin-top: 70px; }
.zig-step:hover { box-shadow: var(--shadow-hard); transform: translateY(-4px); }
.zig-num { position: absolute; top: -22px; left: -2px; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 1.05rem; padding: 6px 14px; clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%); }
.zig-step:nth-child(even) .zig-num { background: var(--primary); color: #fff; }
.zig-step .zig-ico { width: 52px; height: 52px; margin: 10px 0 14px; color: var(--primary); }
.zig-step h3 { margin-bottom: 6px; }
.zig-step p { margin: 0; font-size: .93rem; color: var(--muted); }
.zig-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.zig-lines path { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 9 8; fill: none; }

/* ---------- COMPATIBILITY ---------- */
.compat-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 34px; align-items: start; }
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.platform { position: relative; background: #fff; border: 2px solid var(--line); padding: 22px 20px 20px 22px; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.platform::after { content: ""; position: absolute; right: 0; top: 0; width: 34px; height: 34px; background: var(--primary-100); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.platform:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-sm); }
.platform .p-ico { width: 44px; height: 44px; color: var(--secondary); margin-bottom: 12px; }
.platform h3 { font-size: 1.05rem; margin-bottom: 4px; }
.platform p { margin: 0; font-size: .9rem; color: var(--muted); }
.status { display: inline-block; margin-top: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; background: var(--primary-100); color: var(--primary-600); }
.status--via { background: var(--accent-100); color: #9A3A0A; }
.req-panel { background: var(--secondary); color: #fff; padding: 30px 28px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%); }
.req-panel h3 { color: #fff; font-size: 1.2rem; margin-bottom: 18px; }
.req-list { list-style: none; padding: 0; margin: 0; }
.req-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px dashed rgba(255, 255, 255, .25); }
.req-list li:last-child { border-bottom: 0; }
.req-list svg { width: 26px; height: 26px; color: var(--accent); margin-top: 2px; }
.req-list strong { display: block; color: #fff; font-weight: 600; }
.req-list span { font-size: .9rem; color: #D3DEE9; }
.req-panel code { background: rgba(255, 255, 255, .12); color: #fff; }
.note-line { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; font-size: .92rem; color: var(--muted); background: #fff; border-left: 4px solid var(--accent); padding: 12px 16px; }
.note-line svg { width: 22px; height: 22px; color: var(--accent-600); flex: none; margin-top: 2px; }

/* ---------- USE CASES (slanted rows) ---------- */
.uc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; }
.uc-item { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; background: #fff; border: 2px solid var(--line); padding: 16px 20px 16px 16px; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.uc-item:nth-child(4n+2), .uc-item:nth-child(4n+3) { background: var(--primary-50); }
.uc-item:hover { transform: translateX(6px); border-color: var(--accent); box-shadow: -6px 0 0 var(--accent); }
.uc-item .ico-tile { width: 64px; height: 64px; }
.uc-item .ico-tile svg { width: 30px; height: 30px; }
.uc-item h3 { margin: 0 0 3px; font-size: 1.02rem; }
.uc-item p { margin: 0; font-size: .91rem; color: var(--muted); }

/* ---------- INSTALL ---------- */
.install-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 26px; counter-reset: inst; }
.inst-step { position: relative; background: #fff; border: 2px solid var(--secondary); padding: 24px 22px 22px 22px; }
.inst-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.inst-no { font-weight: 700; font-size: 2rem; line-height: 1; color: var(--accent); min-width: 44px; }
.inst-head .ico-tile { width: 46px; height: 46px; }
.inst-head .ico-tile svg { width: 24px; height: 24px; }
.inst-head h3 { margin: 0; font-size: 1.08rem; }
.inst-step p { color: var(--muted); font-size: .94rem; }
.inst-step p:last-child { margin-bottom: 0; }
.cmd { position: relative; display: flex; align-items: stretch; background: #F3F7F5; border: 1px solid var(--line); border-left: 4px solid var(--primary); margin: 10px 0 12px; }
.cmd pre { margin: 0; padding: 12px 14px; overflow-x: auto; flex: 1; font-size: .86rem; line-height: 1.6; color: var(--ink); white-space: pre; }
.cmd pre code { background: none; padding: 0; color: inherit; font-weight: 500; font-family: "Poppins", Arial, sans-serif; }
.copy-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 0; border-left: 1px solid var(--line); background: #fff; color: var(--secondary); font-size: .78rem; font-weight: 600; padding: 0 12px; cursor: pointer; transition: background .2s, color .2s; }
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn:hover { background: var(--secondary); color: #fff; }
.copy-btn.is-copied { background: var(--primary); color: #fff; }

/* ---------- DOWNLOAD (split card with angled edge) ---------- */
.dl-section { background: linear-gradient(180deg, var(--bg), var(--primary-50)); }
.dl-card { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); background: #fff; border: 3px solid var(--secondary); box-shadow: 12px 12px 0 var(--primary-400); position: relative; }
.dl-visual { position: relative; background: var(--primary-100); clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); display: flex; align-items: center; justify-content: center; padding: 26px 70px 26px 26px; }
.dl-visual img { width: 100%; aspect-ratio: 50 / 41; object-fit: cover; border: 3px solid var(--secondary); box-shadow: 8px 8px 0 var(--accent); background: #fff; }
.dl-body { padding: 42px 42px 38px 20px; }
.dl-body h2 { margin-bottom: 12px; }
.dl-body > p { color: var(--muted); }
.dl-facts { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dl-facts li { display: flex; gap: 10px; align-items: flex-start; background: var(--primary-50); border: 1px solid var(--line); padding: 10px 12px; font-size: .88rem; }
.dl-facts svg { width: 22px; height: 22px; color: var(--primary); flex: none; margin-top: 1px; }
.dl-facts strong { display: block; color: var(--secondary); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.dl-note { display: flex; gap: 10px; margin-top: 18px; font-size: .86rem; color: var(--muted); }
.dl-note svg { width: 20px; height: 20px; color: var(--accent-600); flex: none; margin-top: 2px; }
.btn-download { font-size: 1.12rem; padding: 19px 38px; }
.dl-zip { margin-top: 30px; }
.dl-zip h3 { font-size: 1.05rem; }

/* ---------- SAFETY ---------- */
.safety-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 2px solid var(--secondary); background: #fff; }
.safety-item { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; position: relative; }
.safety-item:nth-child(3n) { border-right: 0; }
.safety-item:nth-last-child(-n+3) { border-bottom: 0; }
.safety-item:hover { background: var(--primary-50); }
.safety-item svg { width: 38px; height: 38px; color: var(--primary); margin-bottom: 12px; }
.safety-item:nth-child(even) svg { color: var(--accent-600); }
.safety-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.safety-item p { margin: 0; font-size: .91rem; color: var(--muted); }

/* ---------- BENEFITS (diagonal band) ---------- */
.benefit-band { background: linear-gradient(115deg, #FFF3EA 0%, #FFF8F3 55%, var(--primary-50) 100%); }
.benefit-band::before { content: ""; position: absolute; right: 5%; top: 70px; width: 130px; height: 60px; background: repeating-linear-gradient(115deg, var(--accent) 0 9px, transparent 9px 22px); opacity: .35; pointer-events: none; }
.benefit-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 50px; align-items: start; }
.benefit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.benefit { background: #fff; color: var(--text); padding: 22px 20px; border: 2px solid var(--line); border-top: 5px solid var(--accent); transition: transform .25s var(--ease), box-shadow .25s; }
.benefit:nth-child(even) { border-top-color: var(--primary-400); transform: translateY(18px); }
.benefit:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 rgba(255, 122, 47, .45); border-color: var(--secondary); }
.benefit:nth-child(even):hover { transform: translateY(14px); }
.benefit svg { width: 34px; height: 34px; color: var(--primary); margin-bottom: 10px; }
.benefit h3 { color: var(--secondary); font-size: 1.02rem; margin-bottom: 6px; }
.benefit p { margin: 0; font-size: .91rem; color: var(--muted); }
.benefit-band .benefit-cta { margin-top: 26px; }


/* ---------- PROS & CONS ---------- */
.pc-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; }
.pc-panel { background: #fff; border: 2px solid var(--secondary); padding: 28px 26px; transition: box-shadow .25s, transform .25s var(--ease); }
.pc-panel:hover { transform: translateY(-4px); }
.pc-panel--pros { box-shadow: 8px 8px 0 var(--primary-400); }
.pc-panel--cons { box-shadow: 8px 8px 0 var(--accent); }
.pc-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pc-title .badge { width: 44px; height: 44px; display: grid; place-items: center; clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%); }
.pc-panel--pros .badge { background: var(--primary); color: #fff; }
.pc-panel--cons .badge { background: var(--accent); color: var(--ink); }
.pc-title .badge svg { width: 24px; height: 24px; }
.pc-title h3 { margin: 0; font-size: 1.3rem; }
.pc-list { list-style: none; padding: 0; margin: 0; }
.pc-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.pc-list li:last-child { border-bottom: 0; }
.pc-list svg { width: 22px; height: 22px; margin-top: 3px; }
.pc-panel--pros .pc-list svg { color: var(--primary); }
.pc-panel--cons .pc-list svg { color: var(--danger); }
.pc-vs { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; transform: translate(-50%, -50%) rotate(45deg); background: var(--secondary); display: grid; place-items: center; z-index: 2; }
.pc-vs span { transform: rotate(-45deg); color: #fff; font-weight: 700; }

/* ---------- RELEASE / UPDATES ---------- */
.rel-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: #fff; border: 2px solid var(--line); }
.rel-item { padding: 24px 22px; border-right: 1px solid var(--line); position: relative; }
.rel-item:last-child { border-right: 0; }
.rel-item::before { content: ""; position: absolute; left: 22px; top: 0; width: 40px; height: 4px; background: var(--primary); }
.rel-item:nth-child(even)::before { background: var(--accent); }
.rel-item svg { width: 30px; height: 30px; color: var(--secondary); margin-bottom: 10px; }
.rel-item h3 { font-size: 1rem; margin-bottom: 6px; }
.rel-item p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- TROUBLESHOOTING ---------- */
.ts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ts-card { position: relative; background: #fff; border: 2px solid var(--line); padding: 24px 22px 22px; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.ts-card:hover { transform: translateY(-4px); border-color: var(--secondary); box-shadow: 6px 6px 0 var(--primary-100); }
.ts-tag { position: absolute; top: -13px; right: 16px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--secondary); color: #fff; padding: 3px 12px; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.ts-card .ts-ico { width: 40px; height: 40px; color: var(--accent-600); margin-bottom: 10px; }
.ts-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.ts-card p { font-size: .91rem; color: var(--muted); margin: 0; }

/* ---------- GUIDES PREVIEW (energetic image cards) ---------- */
.guide-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px 26px; }
.guide-grid .g-card:not(.g-card--feature) { flex-direction: row; align-items: center; }
.guide-grid .g-card:not(.g-card--feature) .g-img { flex: 0 0 44%; align-self: center; margin: 14px 0 14px 14px; clip-path: none; border: 2px solid var(--line); }
.guide-grid .g-card:not(.g-card--feature) img { aspect-ratio: 16 / 9; }
.guide-grid .g-card:not(.g-card--feature) .g-body { padding: 16px 18px; }
.guide-grid .g-card:not(.g-card--feature) p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.g-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 2px solid var(--line); overflow: hidden; color: var(--text); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.g-card:hover { transform: translateY(-5px); border-color: var(--secondary); box-shadow: var(--shadow-hard); color: var(--text); }
.g-card .g-img { position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.g-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .45s var(--ease); }
.g-card:hover img { transform: scale(1.04); }
.g-card .g-body { padding: 8px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.g-cat { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--accent); padding: 3px 10px; margin-bottom: 10px; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.g-card h3 { font-size: 1.04rem; margin-bottom: 8px; }
.g-card p { font-size: .9rem; color: var(--muted); margin: 0 0 14px; }
.g-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--primary); }
.g-more svg { width: 18px; height: 18px; transition: transform .25s; }
.g-card:hover .g-more svg { transform: translateX(4px); }
.g-card--feature { grid-row: span 3; }
.g-card--feature h3 { font-size: 1.3rem; }
.g-card--feature .g-body { padding: 14px 26px 26px; }
.guides-foot { margin-top: 34px; display: flex; justify-content: flex-start; }

/* ---------- FAQ (tabbed sharp-card accordion) ---------- */
.faq-tabs { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 26px; border-bottom: 3px solid var(--secondary); }
.faq-tab { display: inline-flex; align-items: center; gap: 10px; background: transparent; border: 0; padding: 14px 24px 12px; font-weight: 600; font-size: .98rem; color: var(--secondary); cursor: pointer; position: relative; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%); transition: background .2s, color .2s; }
.faq-tab svg { width: 20px; height: 20px; }
.faq-tab[aria-selected="true"] { background: var(--secondary); color: #fff; }
.faq-tab:hover:not([aria-selected="true"]) { background: var(--primary-100); }
.faq-panel[hidden] { display: none; }
.faq-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 22px; align-items: start; }
.faq-h { margin: 0; font: inherit; color: inherit; letter-spacing: 0; }
.faq-item { background: #fff; border: 2px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq-item.is-open { border-color: var(--secondary); box-shadow: 6px 6px 0 var(--primary-100); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; background: none; border: 0; padding: 17px 18px; font-size: .98rem; font-weight: 600; color: var(--secondary); cursor: pointer; line-height: 1.45; }
.faq-q:hover { color: var(--primary); }
.faq-icon { flex: none; width: 32px; height: 32px; display: grid; place-items: center; background: var(--primary-100); color: var(--primary); transition: background .2s, color .2s; clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%); }
.faq-icon svg { width: 18px; height: 18px; }
.faq-icon .v { transition: transform .25s var(--ease); transform-origin: center; }
.faq-item.is-open .faq-icon { background: var(--accent); color: var(--ink); }
.faq-item.is-open .faq-icon .v { transform: scaleY(0); }
.faq-a { overflow: hidden; height: 0; transition: height .3s var(--ease); }
.faq-a-inner { padding: 0 18px 18px; color: var(--muted); font-size: .94rem; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.no-js .faq-a { height: auto; }

/* ---------- FOOTER (angled top separator) ---------- */
.site-footer { position: relative; background: #EEF5F1; color: var(--muted); margin-top: 40px; padding-top: 96px; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 60px; background: var(--bg); clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%); }
.site-footer::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 66px; background: var(--accent); clip-path: polygon(0 60px, 100% 0, 100% 6px, 0 66px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer-brand p { font-size: .92rem; margin: 14px 0 0; max-width: 340px; }
.footer-col h2 { font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; color: var(--secondary); margin: 6px 0 14px; display: flex; align-items: center; gap: 8px; }
.footer-col h2::before { content: ""; width: 14px; height: 4px; background: var(--accent); transform: skewX(-20deg); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a, .footer-bottom a { color: var(--text); text-decoration: none; font-size: .92rem; }
.footer-col a:hover, .footer-bottom a:hover { color: var(--primary); text-decoration: none; }
.footer-bottom { border-top: 2px solid var(--secondary); padding: 18px 0 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; font-size: .86rem; }
.footer-bottom .copy { margin: 0; }
.footer-bottom .disclaimer-line { margin: 0; text-align: right; color: var(--muted); }

/* ---------- Scroll to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: var(--accent); color: var(--ink); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); }
.to-top svg { width: 22px; height: 22px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #FF8C4A; }

/* ---------- Inner page hero / breadcrumbs ---------- */
.page-hero { position: relative; overflow: hidden; padding: 54px 0 46px; background: #fff; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; right: 0; top: 0; width: 38%; height: 100%; background: var(--primary-100); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
.page-hero::after { content: ""; position: absolute; right: 6%; bottom: 18px; width: 90px; height: 40px; background: repeating-linear-gradient(115deg, var(--accent) 0 8px, transparent 8px 20px); opacity: .6; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 860px; }
.page-hero p { color: var(--muted); max-width: 720px; font-size: 1.05rem; margin: 0; }
.breadcrumb { font-size: .86rem; margin-bottom: 16px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: ""; width: 7px; height: 7px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); margin-right: 4px; }
.breadcrumb a { color: var(--secondary); font-weight: 500; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: .86rem; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg { width: 16px; height: 16px; color: var(--primary); }

/* ---------- Blog listing ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.blog-grid .g-card:first-child { grid-column: span 2; grid-row: span 2; }
.blog-grid .g-card:first-child .g-body { padding: 14px 26px 26px; }
.blog-grid .g-card:first-child img { aspect-ratio: 16 / 7.6; }
.blog-grid .g-card:first-child h2 { font-size: 1.4rem; }
.g-card h2 { font-size: 1.06rem; margin-bottom: 8px; }

/* ---------- Article layout ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 46px; align-items: start; padding: 56px 0 80px; }
.article-cover { margin: 0 0 30px; border: 3px solid var(--secondary); box-shadow: 10px 10px 0 var(--primary-100); }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { font-size: 1.02rem; }
.prose h2 { margin: 1.8em 0 .6em; font-size: clamp(1.4rem, 2.4vw, 1.8rem); padding-left: 16px; border-left: 6px solid var(--primary); }
.prose h3 { margin: 1.5em 0 .5em; font-size: 1.15rem; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--primary-400); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--primary-100); color: var(--secondary); font-weight: 600; }
.callout { display: flex; gap: 12px; background: var(--primary-50); border-left: 5px solid var(--primary); padding: 16px 18px; margin: 0 0 1.4em; }
.callout svg { width: 24px; height: 24px; color: var(--primary); flex: none; margin-top: 2px; }
.callout p { margin: 0; }
.callout--warn { background: #FFF6EF; border-left-color: var(--accent); }
.callout--warn svg { color: var(--accent-600); }
.toc { background: #fff; border: 2px solid var(--line); padding: 20px 22px; margin: 0 0 30px; }
.toc strong { display: block; color: var(--secondary); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: 4px; font-size: .94rem; }
.toc a { text-decoration: none; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }
.side-box { background: #fff; border: 2px solid var(--line); padding: 22px 20px; }
.side-box h2 { font-size: 1rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.side-box h2::before { content: ""; width: 14px; height: 4px; background: var(--accent); transform: skewX(-20deg); }
.side-box ul { list-style: none; padding: 0; margin: 0; }
.side-box li { border-bottom: 1px solid var(--line); }
.side-box li:last-child { border-bottom: 0; }
.side-box li a { display: block; padding: 9px 0; font-size: .9rem; color: var(--secondary); font-weight: 500; }
.side-box li a:hover { color: var(--primary); }
.side-box li a[aria-current="page"] { color: var(--primary); }
.side-cta { background: var(--primary-100); border: 2px solid var(--secondary); padding: 24px 20px; }
.side-cta h2 { font-size: 1.08rem; }
.side-cta p { font-size: .9rem; color: var(--muted); }
.related { margin-top: 46px; padding-top: 30px; border-top: 2px solid var(--line); }
.related h2 { font-size: 1.4rem; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related-grid .g-card h3 { font-size: .96rem; }

/* ---------- Legal / info pages ---------- */
.page-body { padding: 56px 0 80px; }
.legal { max-width: 860px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; padding-left: 14px; border-left: 5px solid var(--primary); }
.legal p, .legal li { color: var(--text); }
.legal-updated { display: inline-block; font-size: .86rem; color: var(--muted); background: var(--primary-50); border: 1px solid var(--line); padding: 4px 12px; margin-bottom: 20px; }
.contact-card { max-width: 760px; display: grid; grid-template-columns: 90px 1fr; gap: 22px; align-items: center; background: #fff; border: 2px solid var(--secondary); box-shadow: 10px 10px 0 var(--accent); padding: 30px; }
.contact-card .ico-tile { width: 90px; height: 90px; }
.contact-card .ico-tile svg { width: 42px; height: 42px; }
.contact-email { font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 700; color: var(--secondary); word-break: break-all; margin: 4px 0 0; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.info-grid .platform h2 { font-size: 1.05rem; margin-bottom: 6px; }

/* 404 */
.nf { text-align: center; padding: 90px 0; }
.nf .big { font-size: clamp(4rem, 14vw, 8rem); font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 3px var(--secondary); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity .6s var(--ease), translate .6s var(--ease), transform .25s var(--ease), box-shadow .25s, border-color .25s, background-color .25s; }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .main-nav a.nav-link { padding: 8px 8px; font-size: .88rem; }
  .main-nav a.nav-link::after { left: 8px; right: 8px; }
}

@media (max-width: 1080px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .menu-toggle { display: inline-flex; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 14px 22px 30px; border-top: 3px solid var(--accent); opacity: 0; transform: translateY(-10px); visibility: hidden; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; overflow-y: auto; }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .main-nav a.nav-link { padding: 14px 4px; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .main-nav a.nav-link::after { left: 4px; right: auto; width: 40px; bottom: 8px; }
  .nav-cta { margin: 18px 0 0; padding: 15px 20px; }
  body.menu-open { overflow: hidden; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-card:nth-child(3n+2) { transform: none; }
  .feat-card:nth-child(3n+2):hover { transform: translateY(-4px); }
  .feat-card:nth-child(even) { transform: translateY(22px); }
  .feat-card:nth-child(even):hover { transform: translateY(18px); }
  .zig { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .zig-step:nth-child(even) { margin-top: 40px; }
  .zig-lines { display: none; }
  .ts-grid, .safety-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .safety-item:nth-child(3n) { border-right: 1px solid var(--line); }
  .safety-item:nth-child(2n) { border-right: 0; }
  .safety-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .safety-item:nth-last-child(-n+2) { border-bottom: 0; }
  .rel-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rel-item:nth-child(2) { border-right: 0; }
  .rel-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .article-wrap { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section { padding: 70px 0; }
  .edge-top { padding-top: 100px; }
  .edge-both { padding: 100px 0; }
  .hero { padding: 26px 0 48px; }
  .hero::before { width: 100%; height: 42%; top: auto; bottom: 0; clip-path: polygon(0 26%, 100% 0, 100% 100%, 0 100%); }
  .hero::after { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .about-grid, .compat-wrap, .benefit-layout, .dl-card { grid-template-columns: minmax(0, 1fr); }
  .about-media { max-width: 560px; }
  .dl-visual { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); padding: 26px 26px 50px; }
  .dl-visual img { max-width: 440px; }
  .dl-body { padding: 26px 26px 32px; }
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .g-card--feature { grid-row: auto; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid .g-card:first-child { grid-row: auto; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .uc-list, .install-grid, .faq-list, .pc-wrap, .benefit-list { grid-template-columns: minmax(0, 1fr); }
  .pc-vs { position: relative; left: auto; top: auto; transform: rotate(45deg); margin: -6px auto; }
  .benefit:nth-child(even) { transform: none; }
  .benefit:nth-child(even):hover { transform: translateY(-4px); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom .disclaimer-line { text-align: left; }
}

@media (max-width: 600px) {
  :root { --header-h: 62px; }
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .section { padding: 58px 0; }
  .edge-top { clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%); padding-top: 80px; margin-top: -28px; }
  .edge-both { clip-path: polygon(0 28px, 100% 0, 100% calc(100% - 28px), 0 100%); padding: 80px 0; margin: -28px 0; }
  .sec-head { margin-bottom: 32px; }
  .brand { font-size: 1.08rem; }
  .brand img { width: 34px; height: 34px; }
  .hero { padding: 18px 0 40px; }
  .hero-eyebrow { font-size: .74rem; margin-bottom: 12px; padding: 4px 10px; }
  .hero h1 { font-size: 2.05rem; margin-bottom: 10px; }
  .hero h1 .h1-sub { font-size: .52em; margin-top: 4px; }
  .hero-lead { font-size: .98rem; margin-bottom: 18px; line-height: 1.6; }
  .hero-cta { margin-bottom: 18px; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .hero-cta .btn-lg { padding: 16px 22px; }
  .trust-chips li { font-size: .78rem; padding: 5px 9px; }
  .feat-grid, .zig, .ts-grid, .safety-grid, .platforms, .rel-strip, .dl-facts, .guide-grid, .blog-grid, .related-grid, .sidebar, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .feat-card:nth-child(even), .feat-card:nth-child(even):hover { transform: none; }
  .zig-step:nth-child(even) { margin-top: 0; }
  .zig { row-gap: 40px; }
  .safety-item, .safety-item:nth-child(3n), .safety-item:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .safety-item:last-child { border-bottom: 0; }
  .rel-item, .rel-item:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .rel-item:last-child { border-bottom: 0; }
  .blog-grid .g-card:first-child { grid-column: auto; }
  .guide-grid .g-card:not(.g-card--feature) { flex-direction: column; }
  .guide-grid .g-card:not(.g-card--feature) .g-img { flex: none; align-self: stretch; margin: 0; border: 0; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .guide-grid .g-card:not(.g-card--feature) .g-body { padding: 8px 20px 22px; }
  .blog-grid .g-card:first-child img { aspect-ratio: 16 / 9; }
  .offset-card:nth-child(2) { margin-left: 16px; }
  .offset-card:nth-child(3) { margin-left: 32px; }
  .offset-card { grid-template-columns: 44px 1fr; padding: 14px; }
  .offset-card .ico-tile { width: 44px; height: 44px; }
  .uc-item { grid-template-columns: 52px 1fr; gap: 14px; }
  .uc-item .ico-tile { width: 52px; height: 52px; }
  .faq-tab { flex: 1 1 50%; padding: 12px 12px 10px; font-size: .88rem; justify-content: center; }
  .faq-tab svg { display: none; }
  .dl-card { box-shadow: 7px 7px 0 var(--primary-400); }
  .btn-download { width: 100%; padding: 17px 20px; font-size: 1.02rem; }
  .contact-card { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .page-hero { padding: 36px 0 32px; }
  .article-wrap { padding: 36px 0 60px; }
  .copy-btn span { display: none; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 1.85rem; }
  .brand span { font-size: 1rem; }
  .nav-cta { font-size: .9rem; }
}

@media print {
  .site-header, .to-top, .site-footer::before, .site-footer::after { display: none; }
  .js .reveal { opacity: 1; translate: 0 0; }
}


/* ===== Oh My Zsh | Rainbow terminal edition ===== */
:root {
 --primary: #7851DD;
 --primary-600: #6034C8;
 --primary-400: #9B79F4;
 --primary-100: #F0EAFE;
 --primary-50: #F9F6FF;
 --secondary: #17172D;
 --ink: #151729;
 --accent: #FF696B;
 --accent-600: #F24A55;
 --accent-100: #FFF0EF;
 --text: #30324C;
 --muted: #646783;
 --line: #E5DFF1;
 --line-strong: #28273E;
 --bg: #FCFAFF;
 --sky: #F0F6FF;
 --shadow-hard: 6px 6px 0 #B4A0F4;
 --header-h: 88px;
}
.site-header {background:rgba(255,255,255,.97);}
.site-header::after {background:linear-gradient(90deg,#FF5B6B,#FFBD39,#A9D900,#32CEA3,#28C9F0,#8664EB,#C969F3);}
.brand {gap:13px;font-weight:700;letter-spacing:-.035em;}
.brand img {width:112px;height:auto;aspect-ratio:437 / 271;object-fit:contain;flex-shrink:0;}
.brand span {font-size:1.25rem;}
.brand span b {color:#7B52E4;}
.nav-cta,.btn-primary {background:#292044!important;color:#fff!important;box-shadow:inset 0 -3px 0 rgba(255,255,255,.1);}
.nav-cta:hover,.btn-primary:hover {background:#6E47D0!important;color:#fff!important;}
.nav-cta svg {color:#68EFD0;}
.hero {background:radial-gradient(ellipse at 83% 16%, #EFE8FF 0%, transparent 40%),linear-gradient(135deg,#fff,#FCFAFF 60%,#FFF7FA);}
.hero::before {background:linear-gradient(140deg,#F6F0FF,#EAF8FE);opacity:.85;}
.hero::after {background:linear-gradient(135deg,#B8EEDF,#BBD5FC);}
.hero h1 {font-size:clamp(2.45rem,4.5vw,4rem);letter-spacing:-.045em;line-height:1.13;}
.hero-visual .frame {transform:none;}
.hero-visual .frame::before {border-color:#8B62E5;border-radius:24px;}
.hero-visual img {aspect-ratio:16/10;object-fit:contain;clip-path:none;border:2px solid #E8E1F7;border-radius:18px;box-shadow:0 20px 55px rgba(40,20,90,.18);}
.about-media img,.dl-visual img,.article-cover img,.g-card img {object-fit:contain;clip-path:none;}
.about-media img {aspect-ratio:16/10;border-radius:16px;box-shadow:0 14px 35px rgba(52,26,110,.12);}
.dl-visual img {max-width:100%;width:100%;height:auto;}
.g-card .g-img,.guide-grid .g-card:not(.g-card--feature) .g-img {clip-path:none;}
.g-card .g-img img {aspect-ratio:16/9;}
.article-cover {border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 18px 55px rgba(54,34,95,.10);}
.article-cover img {aspect-ratio:16/9;}
.section--warm {background:#FFF9FA;}
.kicker {background:#302548;}
.sec-head h2::after {height:5px;background:linear-gradient(90deg,#FF656F 0 24%,#FFBE41 24% 40%,#59CD86 40% 57%,#2BC6E0 57% 74%,#8A5BEC 74%);}
.site-footer {background:#F3EFFF;color:#62617A;margin-top:70px;padding-top:70px;}
.site-footer::before,.site-footer::after {display:none;}
.footer-feature {display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding:35px 40px;margin:0 0 50px;border-radius:22px;background:linear-gradient(120deg,#181729,#2A1F4C 65%,#432D72);position:relative;overflow:hidden;color:#fff;}
.footer-feature::before {content:"";position:absolute;right:-20px;top:0;height:5px;width:68%;background:linear-gradient(90deg,#F96571,#F8C440,#83DA73,#2BD6D7,#8765E9);}
.footer-feature-copy {position:relative;z-index:1;max-width:740px;}
.footer-eyebrow {font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#78E9DE;font-size:.74rem;}
.footer-feature h2 {color:#fff;font-size:clamp(1.45rem,2.9vw,2.4rem);margin:13px 0;letter-spacing:-.04em;}
.footer-feature p {color:#E1DDF0;max-width:700px;line-height:1.85;font-size:.96rem;margin:0;}
.footer-download {position:relative;z-index:1;background:#fff!important;color:#261C46!important;white-space:nowrap;flex-shrink:0;}
.footer-download:hover {background:#E7D9FF!important;color:#261C46!important;}
.footer-grid {display:grid;grid-template-columns:minmax(260px,1.8fr) repeat(3,minmax(130px,1fr));gap:42px;padding-bottom:50px;}
.footer-brand .brand {display:flex;align-items:center;flex-wrap:wrap;}
.footer-brand .brand img {width:180px;max-width:100%;}
.footer-brand .brand span {font-size:1.55rem;}
.footer-brand p {max-width:320px;font-size:.94rem;line-height:1.8;margin-top:16px;}
.footer-col h2 {font-size:.93rem;text-transform:uppercase;letter-spacing:.11em;color:#28223E;}
.footer-col a {line-height:1.6;}
.footer-bottom {border-top:1px solid #D6CBEF;}
.footer-bottom .disclaimer-line {max-width:500px;}
.related-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
.prose h2 {scroll-margin-top:110px;}
@media(max-width:1080px){.footer-grid {grid-template-columns:1.4fr 1fr 1fr;gap:24px;}.footer-col:last-child{grid-column:2/4;}.footer-feature{align-items:flex-start;flex-direction:column;}}
@media(max-width:760px){.footer-grid {grid-template-columns:1fr 1fr;}.footer-brand {grid-column:1/-1;}.footer-col:last-child{grid-column:auto;}}
@media(max-width:600px){:root{--header-h:72px}.brand img {width:82px!important;height:auto!important;}.brand span {font-size:1.02rem!important;}.hero h1 {font-size:2.2rem;}.footer-feature {padding:25px 20px;}.footer-feature .btn{white-space:normal;width:100%;}.footer-grid {grid-template-columns:1fr;}.footer-brand,.footer-col:last-child {grid-column:auto;}.footer-brand .brand img {width:138px!important;}.footer-brand .brand span {font-size:1.35rem!important;}}


/* ===== Refined charcoal / blue / sage identity | custom uploaded logo ===== */
:root {
 --primary:#39789F;--primary-600:#245C7D;--primary-400:#78AAD6;
 --primary-100:#E1F0F8;--primary-50:#F2F8FC;
 --secondary:#33393C;--ink:#293239;
 --accent:#85BD98;--accent-600:#57956F;--accent-100:#E9F5EA;
 --text:#35424A;--muted:#596973;--line:#DBE7E9;--line-strong:#49565D;
 --bg:#F9FCFD;--sky:#EDF6FA;--shadow-hard:6px 6px 0 #BDD8E5;
 --header-h:82px;
}
.site-header {background:rgba(255,255,255,.97);}
.site-header::after {background:linear-gradient(90deg,#A9D4AB 0 32%,#78AAD6 32% 100%);}
.site-header.is-scrolled {box-shadow:0 8px 25px rgba(43,65,74,.09);}
.brand {gap:12px;align-items:center;}
.brand img {width:55px;height:55px;aspect-ratio:1;object-fit:contain;flex-shrink:0;border-radius:50%;}
.brand span {font-size:1.2rem;line-height:1.2;color:#33393C;}
.brand span b {color:#36739A;}
.nav-cta,.btn-primary {background:#343C42!important;color:#fff!important;box-shadow:none;}
.nav-cta:hover,.btn-primary:hover {background:#39789F!important;color:#fff!important;}
.nav-cta svg {color:#B9E6CA;}
.btn-green {background:#39789F;}.btn-green:hover {background:#245C7D;}
.btn-ghost {color:#303B42;box-shadow:inset 0 0 0 2px #48535A;}
.btn-ghost:hover {background:#37454B;color:#fff;}
.hero {background:radial-gradient(ellipse at 80% 12%,#E0F0F9 0%,transparent 42%),linear-gradient(130deg,#fff,#F7FBFC 55%,#F1F8F2);}
.hero::before {background:linear-gradient(140deg,#DDEEF8,#F0F7F0);opacity:.82;}
.hero::after {background:linear-gradient(135deg,#B4D9BB,#B4D6EC);}
.hero h1 {font-size:clamp(2.1rem,3.45vw,3.2rem);letter-spacing:-.037em;line-height:1.17;max-width:615px;}
.hero-shape--stripes {background:repeating-linear-gradient(115deg,#82B3CD 0 10px, transparent 10px 24px);opacity:.37;}
.hero-shape--tri {background:#A3D2AD;}
.hero-visual .frame::before {border-color:#8DBBB5;}
.hero-visual img {border:2px solid #D4E5E9;box-shadow:0 20px 55px rgba(45,75,86,.14);}
.section--warm {background:#F4F9F5;}
.section--tint {background:#F2F8FC;}
.sec-head h2::after {background:linear-gradient(90deg,#78AAD6 0 66%,#A9D4AB 66%);height:4px;}
.sec-head h2 {letter-spacing:-.027em;}
.sec-head {margin-bottom:35px;}
.kicker,.hero-eyebrow,.hero-tag,.footer-eyebrow,.g-cat,.h1-sub {display:none!important;}
.about-media img,.dl-visual img {background:#F3F9FB;}
.article-cover img,.g-card .g-img img {object-fit:contain;background:#F3F9FB;}
.article-cover {border-color:#DFEAF0;}
.site-footer {background:#EAF2F5;color:#58666C;margin-top:64px;}
.footer-feature {background:linear-gradient(115deg,#2B353B,#344752 67%,#386474);}
.footer-feature::before {background:linear-gradient(90deg,#A9D4AB,#78AAD6);}
.footer-feature h2 {color:#fff;}
.footer-feature p {color:#E4ECEE;}
.footer-download {background:#D8EBF6!important;color:#283A45!important;}
.footer-download:hover {background:#B8D9EC!important;color:#283A45!important;}
.footer-brand .brand img {width:82px;height:82px;aspect-ratio:1;object-fit:contain;}
.footer-brand .brand span {font-size:1.5rem;}
.footer-bottom {border-top-color:#C7DAE1;}
.footer-col h2 {color:#34414B;}
.page-hero {background:linear-gradient(130deg,#FFFFFF,#F1F8FA);}
.page-hero::before {background:#E7F3F9;}
.page-hero::after {background:repeating-linear-gradient(115deg,#A9D4AB 0 8px,transparent 8px 20px);}
@media(max-width:1080px){.brand img {width:48px;height:48px;}}
@media(max-width:600px){:root{--header-h:70px;}
 .brand img {width:43px!important;height:43px!important;}
 .brand span {font-size:1.05rem!important;}
 .hero h1 {font-size:clamp(1.85rem,7vw,2.15rem);}
 .footer-brand .brand img {width:68px!important;height:68px!important;}
 .footer-brand .brand span {font-size:1.35rem!important;}
}

/* ===== Final refinement: updated guide layout and footer simplification ===== */
.site-footer {padding-top:52px;}
.footer-grid {align-items:start;}
.footer-brand p {max-width:380px; font-size:.95rem; line-height:1.85; color:var(--muted);}

.blog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}
.blog-grid .g-card:first-child {
  grid-column: 1 / -1;
  grid-row: auto;
  min-height: 0;
}
.blog-grid .g-card:first-child .g-img img {
  aspect-ratio: 16 / 7.3;
}
.blog-grid .g-card:not(:first-child) {
  flex-direction: row;
  align-items: stretch;
}
.blog-grid .g-card:not(:first-child) .g-img {
  flex: 0 0 42%;
  clip-path: none;
  border-right: 1px solid var(--line);
}
.blog-grid .g-card:not(:first-child) .g-img img {
  height: 100%;
  aspect-ratio: auto;
}
.blog-grid .g-card:not(:first-child) .g-body {
  padding: 18px 20px 20px;
  justify-content: center;
}
.blog-grid .g-card h2 {
  line-height: 1.35;
}
.blog-grid .g-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 980px) {
  .blog-grid {grid-template-columns: 1fr;}
  .blog-grid .g-card:not(:first-child) {flex-direction: column;}
  .blog-grid .g-card:not(:first-child) .g-img {
    flex: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .blog-grid .g-card:first-child .g-img img,
  .blog-grid .g-card:not(:first-child) .g-img img {
    aspect-ratio: 16 / 9;
    height: auto;
  }
}
