/* ==========================================================================
   levilauncher.org — S11 Creative Gradient Light (clean premium execution)
   Font: Poppins (self-hosted) · Light theme only · No frameworks
   ========================================================================== */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/poppins-latin-800-normal.woff2") format("woff2"); }

:root {
  --primary: #376640;        /* grass green */
  --primary-600: #2B5435;    /* text-safe green */
  --primary-50: #F2F6EC;
  --secondary: #52764C;      /* sage green */
  --secondary-600: #365635;
  --secondary-50: #F3F9F2;
  --accent: #788547;         /* olive */
  --accent-600: #55602C;
  --accent-50: #F7F4ED;
  --danger: #C2410C;
  --ink: #203729;
  --text: #35483B;
  --muted: #526258;
  --line: #DCE4D8;
  --bg: #FFFFFF;
  --bg-soft: #F5F4EC;
  --grad: linear-gradient(120deg, #376640 0%, #559844 50%, #52764C 100%);
  --grad-btn: linear-gradient(120deg, #2B5435 0%, #477F39 52%, #365635 100%);
  --grad-soft: linear-gradient(135deg, #F4F8EE 0%, #F6FBF5 60%, #F8F6F1 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(32, 55, 41, .06), 0 2px 8px rgba(32, 55, 41, .05);
  --shadow: 0 10px 30px -12px rgba(32, 55, 41, .18), 0 2px 6px rgba(32, 55, 41, .05);
  --shadow-lg: 0 30px 60px -24px rgba(40, 69, 47, .30), 0 8px 20px -10px rgba(32, 55, 41, .12);
  --header-h: 72px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
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;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--primary-600); text-decoration: none; }
a:hover { color: var(--secondary-600); }
h1, h2, h3, h4 { font-family: "Poppins", Arial, sans-serif; color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; }
code { font-family: "Poppins", Arial, sans-serif; font-size: .9em; background: var(--secondary-50); color: var(--secondary-600); padding: .1em .4em; border-radius: 6px; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; border-radius: 6px; }
.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(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.mt { margin-top: 36px; }
.muted { color: var(--muted); }

.ic { width: 22px; height: 22px; flex: 0 0 auto; }
.ic-sm { width: 18px; height: 18px; }
.ic-xs { width: 15px; height: 15px; }

.grad { color: var(--secondary-600); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn .ic { width: 19px; height: 19px; }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 20px -8px rgba(54, 86, 53, .55); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(54, 86, 53, .6); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--secondary-600); border-color: #D5EACF; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--secondary-600); }
.btn-white:hover { color: var(--primary-600); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-xl { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- Header ---------- */
#site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
#site-header::before { content: ""; display: block; height: 3px; background: var(--grad); }
#site-header.scrolled { box-shadow: 0 8px 24px -16px rgba(32, 55, 41, .35); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: 0 0 auto; }
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand-name { font-size: 1.18rem; font-weight: 600; letter-spacing: -.01em; }
.brand-name b { font-weight: 800; color: var(--primary-600); }
.nav { margin-left: auto; display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; padding: 5px; background: #F4F8F3; border: 1px solid var(--line); border-radius: 999px; }
.nav-list a { display: block; padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--text); transition: background-color .2s ease, color .2s ease; }
.nav-list a:hover { color: var(--ink); background: #fff; }
.nav-list a.active { color: var(--primary-600); background: #fff; box-shadow: var(--shadow-sm); }
.nav .drawer-cta { display: none; }
.header-cta { flex: 0 0 auto; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-open { display: none; }
.menu-open .menu-toggle .i-close { display: inline-flex; }
.menu-toggle span { display: inline-flex; }

/* ---------- Shared hero canvas ---------- */
.hero-canvas { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob.b1 { width: 460px; height: 460px; background: #D6E4C3; top: -140px; left: -120px; }
.blob.b2 { width: 520px; height: 520px; background: #E0EFDC; top: -160px; right: -160px; }
.blob.b3 { width: 380px; height: 380px; background: #EAE1CF; bottom: -60px; left: 38%; opacity: .45; }
.cube { position: absolute; width: 54px; height: 54px; background: url("../images/cube.svg") center / contain no-repeat; opacity: .9; animation: floaty 9s ease-in-out infinite; }
.cube.c1 { top: 18%; left: 7%; }
.cube.c2 { top: 12%; right: 9%; width: 40px; height: 40px; animation-delay: -3s; }
.cube.c3 { top: 52%; left: 14%; width: 30px; height: 30px; animation-delay: -5s; opacity: .7; }
.cube.c4 { top: 46%; right: 15%; width: 34px; height: 34px; animation-delay: -1.5s; opacity: .75; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(6deg); } }

.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-600); background: #fff; border: 1px solid #DEE9CF; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.eyebrow.light { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); box-shadow: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; z-index: 2; background: linear-gradient(180deg, #F9FBF6 0%, #F8FCF7 55%, #FFFFFF 100%); padding: 40px 0 0; }
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 960px; }
.hero h1 { font-size: clamp(1.55rem, 3.3vw, 2.65rem); font-weight: 800; letter-spacing: -.02em; margin: 0 auto 14px; max-width: 900px; }
.hero h1 .grad { display: inline; }
.hero-lead { font-size: 1.06rem; color: var(--text); max-width: 700px; margin: 0 auto 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 20px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: .84rem; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-sm); }
.chips li .ic { color: var(--primary); }
.hero-visual-wrap { position: relative; z-index: 2; margin-top: 34px; margin-bottom: -110px; max-width: 1040px; }
.hero-visual { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid #E5F2E2; background: #fff; aspect-ratio: 16 / 9; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); max-width: 250px; }
.float-card .ic { width: 38px; height: 38px; padding: 8px; border-radius: 12px; }
.float-card strong { display: block; color: var(--ink); font-size: .9rem; line-height: 1.3; }
.float-card span { display: block; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.fc-left { left: -6px; top: 22%; }
.fc-left .ic { background: var(--primary-50); color: var(--primary-600); }
.fc-right { right: -6px; bottom: 26%; }
.fc-right .ic { background: var(--secondary-50); color: var(--secondary-600); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; position: relative; }
.section.tint { background: var(--bg-soft); }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -.015em; }
.sec-head .lead { color: var(--muted); font-size: 1.02rem; margin: 0; }

/* ---------- About (curved gradient band) ---------- */
.curve-band { position: relative; background: var(--grad-soft); padding: 190px 0 120px; }
.wave { position: absolute; left: 0; width: 100%; height: 70px; fill: #fff; transform: rotate(180deg); }
.wave-top { top: -1px; }
.wave-bottom { bottom: -1px; }
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; }
.about-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
.about-copy p { font-size: 1.01rem; }
.note-chip { display: flex; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid #E3D9C2; border-left: 4px solid var(--accent); border-radius: 12px; padding: 12px 16px; color: var(--ink); font-size: .93rem; font-weight: 500; margin-top: 6px; }
.note-chip .ic { color: var(--accent-600); margin-top: 3px; }
.about-side { display: grid; gap: 18px; }
.about-figure { margin: 0; background: #fff; border-radius: 22px; padding: 10px; box-shadow: var(--shadow); border: 1px solid #fff; }
.about-figure img { width: 100%; border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; }
.fact-tiles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact-tiles li { background: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .9); border-radius: 14px; padding: 14px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: start; }
.fact-tiles .ic { grid-row: span 2; color: var(--secondary-600); width: 34px; height: 34px; padding: 7px; background: var(--secondary-50); border-radius: 10px; }
.ft-k { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.ft-v { font-size: .9rem; color: var(--ink); font-weight: 600; line-height: 1.4; }

/* ---------- Features (bento mosaic) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 18px; }
.bento-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.bento-card::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; top: -110px; right: -90px; opacity: .55; transition: transform .35s ease; }
.bento-card.g1::before { background: radial-gradient(circle, #DCE7CB 0%, transparent 70%); }
.bento-card.g2::before { background: radial-gradient(circle, #E3F1DF 0%, transparent 70%); }
.bento-card.g3::before { background: radial-gradient(circle, #E8DFCC 0%, transparent 70%); }
.bento-card.g4::before { background: radial-gradient(circle, #D7EBD2 0%, transparent 70%); }
.bento-card.g5::before { background: radial-gradient(circle, #E5F2E2 0%, transparent 70%); }
.bento-card.g6::before { background: radial-gradient(circle, #DFEACF 0%, transparent 70%); }
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #DAECD5; }
.bento-card:hover::before { transform: scale(1.15); }
.bento-card.f-wide { grid-column: span 2; }
.bento-card.f-tall { grid-row: span 2; }
.bento-card > * { position: relative; }
.num { position: absolute; top: 18px; right: 20px; font-size: .8rem; font-weight: 700; color: #ABBFA6; letter-spacing: .05em; }
.b-icon { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 15px; background: var(--grad-btn); color: #fff; margin-bottom: 16px; box-shadow: 0 10px 18px -10px rgba(54, 86, 53, .7); transition: transform .25s ease; }
.bento-card:hover .b-icon { transform: rotate(-6deg) scale(1.05); }
.bento-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.bento-card p { font-size: .93rem; margin: 0; color: var(--text); }
.mini-inst { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mini-inst li { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.d1 { background: var(--primary); } .d2 { background: var(--secondary); } .d3 { background: var(--accent); }
.f-tall { display: flex; flex-direction: column; }
.tall-list { list-style: none; display: grid; gap: 8px; margin-top: 18px; }
.tall-list li { display: flex; align-items: center; gap: 9px; font-size: .86rem; font-weight: 500; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.tall-list .ic { color: var(--secondary-600); }

/* ---------- How It Works (radial) ---------- */
.how { background: linear-gradient(180deg, #fff 0%, #FBFDFA 100%); }
.orbit { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 40px; row-gap: 60px; align-items: center; }
.orbit-ring { position: absolute; left: 50%; top: 50%; width: min(560px, 60%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 2px dashed #D5EACF; z-index: 0; }
.orbit-ring::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1px solid #E8EFDD; }
.orbit-core { grid-column: 2; grid-row: 1 / span 2; justify-self: center; position: relative; z-index: 1; width: 190px; height: 190px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 6px solid #F3F9F2; }
.orbit-core img { width: 72px; height: 72px; }
.orbit-core span { font-weight: 700; color: var(--ink); font-size: .95rem; }
.orbit-steps { display: contents; list-style: none; }
.orbit-step { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 20px 22px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.orbit-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.orbit-step.s1 { grid-column: 1; grid-row: 1; }
.orbit-step.s2 { grid-column: 3; grid-row: 1; }
.orbit-step.s3 { grid-column: 3; grid-row: 2; }
.orbit-step.s4 { grid-column: 1; grid-row: 2; }
.o-num { position: absolute; top: -14px; left: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #1D180D; font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 12px -6px rgba(240, 140, 0, .8); }
.o-icon { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; background: var(--primary-50); color: var(--primary-600); margin: 6px 0 12px; }
.orbit-step.s2 .o-icon, .orbit-step.s4 .o-icon { background: var(--secondary-50); color: var(--secondary-600); }
.orbit-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.orbit-step p { font-size: .92rem; margin: 0; }

/* ---------- Compatibility ---------- */
.plat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.plat-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.plat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #DEE9CF; }
.plat-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.plat-ic { display: inline-flex; width: 44px; height: 44px; border-radius: 13px; align-items: center; justify-content: center; background: var(--grad-soft); color: var(--secondary-600); border: 1px solid #EAF4E7; }
.plat-top h3 { font-size: 1.05rem; margin: 0; flex: 1 1 auto; }
.status { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.status.ok { background: #EDF3E5; color: #495E2A; }
.status.mid { background: #F4F0E6; color: #5F4F2B; }
.status.no { background: #FDE8E1; color: #A3330B; }
.plat-card ul { list-style: none; display: grid; gap: 8px; }
.plat-card li { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; }
.plat-card li .ic { color: var(--primary); margin-top: 5px; }
.plat-card:last-child li .ic { color: var(--danger); }
.req-panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-sm); }
.req-panel h3 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; margin-bottom: 18px; }
.req-panel h3 .ic { color: var(--secondary-600); }
.req-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.req-list li { display: flex; gap: 12px; align-items: flex-start; }
.req-list .ic { width: 38px; height: 38px; padding: 8px; border-radius: 11px; background: var(--primary-50); color: var(--primary-600); }
.req-list strong { display: block; color: var(--ink); font-size: .94rem; }
.req-list span { display: block; font-size: .87rem; color: var(--muted); line-height: 1.5; }

/* ---------- Use cases ---------- */
.uc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.uc-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.uc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: #FDFEFC; }
.uc-ic { display: inline-flex; width: 52px; height: 52px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent-50); color: var(--accent-600); margin-bottom: 14px; border: 1px solid #EAE1CF; transition: transform .25s ease; }
.uc-card:hover .uc-ic { transform: translateY(-3px); }
.uc-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.uc-card p { font-size: .92rem; margin: 0; }

/* ---------- Benefits ---------- */
.benefits { background: linear-gradient(180deg, #fff 0%, #F8FBF5 100%); }
.ben-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: stretch; }
.ben-panel { position: relative; overflow: hidden; border-radius: 26px; padding: 40px 36px; color: #fff; background: linear-gradient(140deg, #4A5F2B 0%, #457B37 55%, #365635 100%); box-shadow: var(--shadow-lg); }
.ben-panel::after { content: ""; position: absolute; width: 280px; height: 280px; right: -90px; bottom: -110px; background: url("../images/cube.svg") center / contain no-repeat; opacity: .25; }
.ben-panel h2 { color: #fff; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.ben-panel p { color: rgba(255, 255, 255, .9); }
.ben-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ben-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ben-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #DEE9CF; }
.ben-list .ic { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--primary-50); color: var(--primary-600); }
.ben-list h3 { font-size: 1rem; margin-bottom: 4px; }
.ben-list p { font-size: .9rem; margin: 0; }

/* ---------- Tabs ---------- */
.tab-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 30px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; width: max-content; max-width: 100%; box-shadow: var(--shadow-sm); }
.tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--text); font-weight: 600; font-size: .92rem; padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.tab:hover { color: var(--ink); background: var(--bg-soft); }
.tab[aria-selected="true"] { background: var(--grad-btn); color: #fff; }
.tab .count { font-size: .75rem; background: rgba(255, 255, 255, .25); padding: 1px 8px; border-radius: 999px; }
.tab[aria-selected="false"] .count { background: var(--secondary-50); color: var(--secondary-600); }
.tab-panel[hidden] { display: none; }

/* ---------- Installation ---------- */
.inst-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.inst-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px; transition: transform .25s ease, box-shadow .25s ease; }
.inst-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.is-num { position: absolute; top: 18px; right: 18px; font-size: 1.5rem; font-weight: 800; color: #E8F4E5; line-height: 1; }
.is-ic { display: inline-flex; width: 46px; height: 46px; border-radius: 14px; align-items: center; justify-content: center; background: var(--secondary-50); color: var(--secondary-600); margin-bottom: 14px; }
.inst-step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.inst-step p { font-size: .9rem; margin: 0; overflow-wrap: anywhere; }

/* ---------- Download ---------- */
.download { background: radial-gradient(1000px 400px at 50% 0%, #F3F9F2 0%, transparent 70%), #fff; }
.dl-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #fff; border: 1px solid #E5F2E2; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.dl-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad); z-index: 2; }
.dl-figure { margin: 0; position: relative; background: linear-gradient(160deg, #F3F6EF 0%, #F3F9F2 100%); min-height: 100%; }
.dl-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dl-body { padding: 44px 44px 40px; }
.dl-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.dl-meta { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.dl-meta li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.dl-meta .ic { grid-row: span 2; color: var(--primary-600); margin-top: 3px; }
.dm-k { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; color: var(--muted); }
.dm-v { font-size: .9rem; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; line-height: 1.4; }
.dl-note { display: flex; gap: 10px; align-items: flex-start; background: var(--accent-50); border: 1px solid #E4D9C2; border-radius: 14px; padding: 14px 16px; margin-bottom: 24px; }
.dl-note .ic { color: var(--accent-600); margin-top: 3px; }
.dl-note p { margin: 0; font-size: .9rem; color: #493D21; }

/* ---------- Safety ---------- */
.safe-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.safe-card { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: 18px; padding: 24px; transition: transform .25s ease, box-shadow .25s ease; }
.safe-card:nth-child(4), .safe-card:nth-child(5) { grid-column: span 3; }
.safe-card:nth-child(2) { border-top-color: var(--accent); }
.safe-card:nth-child(4) { border-top-color: var(--secondary); }
.safe-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.safe-ic { display: inline-flex; width: 46px; height: 46px; border-radius: 14px; align-items: center; justify-content: center; background: var(--primary-50); color: var(--primary-600); margin-bottom: 12px; }
.safe-card:nth-child(2) .safe-ic { background: var(--accent-50); color: var(--accent-600); }
.safe-card:nth-child(4) .safe-ic { background: var(--secondary-50); color: var(--secondary-600); }
.safe-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.safe-card p { font-size: .9rem; margin: 0; }

/* ---------- Pros & Cons ---------- */
.pc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pc-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; transition: transform .25s ease, box-shadow .25s ease; }
.pc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pc-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; margin-bottom: 18px; }
.pc-badge { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; }
.pros { border-top: 4px solid var(--primary); }
.pros .pc-badge { background: #EDF3E5; color: #495E2A; }
.cons { border-top: 4px solid var(--danger); }
.cons .pc-badge { background: #FDE8E1; color: #A3330B; border-radius: 12px; }
.pc-card ul { list-style: none; display: grid; gap: 12px; }
.pc-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.pros li .ic { color: #fff; background: var(--primary); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }
.cons li .ic { color: var(--danger); width: 22px; height: 22px; margin-top: 2px; }

/* ---------- Release ---------- */
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rel-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 4px; transition: transform .25s ease, box-shadow .25s ease; }
.rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rel-ic { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: var(--grad-soft); color: var(--secondary-600); margin-bottom: 8px; border: 1px solid #EAF4E7; }
.rel-k { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; color: var(--muted); }
.rel-v { font-size: 1.5rem; font-weight: 800; color: var(--ink); line-height: 1.3; }
.rel-card p { font-size: .9rem; margin: 6px 0 0; }
.rel-note { display: flex; gap: 10px; align-items: flex-start; justify-content: center; max-width: 820px; margin: 24px auto 0; text-align: left; font-size: .92rem; color: var(--muted); }
.rel-note .ic { color: var(--secondary-600); margin-top: 4px; }

/* ---------- Troubleshooting ---------- */
.tr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tr-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #E4D9C2; }
.tr-ic { display: inline-flex; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: var(--accent-50); color: var(--accent-600); }
.tr-card h3 { font-size: 1rem; margin-bottom: 5px; }
.tr-card p { font-size: .89rem; margin: 0; }

/* ---------- Guide cards ---------- */
.g-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.g-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-card, .g-feature { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; }
.g-card::before, .g-feature::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); z-index: 1; opacity: 0; transition: opacity .25s ease; }
.g-card:hover, .g-feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #DAECD5; }
.g-card:hover::before, .g-feature:hover::before { opacity: 1; }
.g-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.g-link:hover { color: inherit; }
.g-thumb { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--grad-soft); }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.g-card:hover .g-thumb img, .g-feature:hover .g-thumb img { transform: scale(1.04); }
.g-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1 1 auto; }
.g-cat { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--secondary-600); background: var(--secondary-50); padding: 4px 11px; border-radius: 999px; }
.g-body h2, .g-body h3 { font-size: 1.05rem; margin: 0; line-height: 1.4; }
.g-ex { font-size: .9rem; color: var(--muted); }
.g-meta { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); margin-top: auto; padding-top: 6px; }
.g-more { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--primary-600); margin-top: auto; }
.g-meta .g-more { margin-left: auto; margin-top: 0; }
.g-feature { margin-bottom: 26px; }
.g-feature .g-link { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.g-feature .g-thumb { height: 100%; }
.g-feature .g-body { padding: 34px 36px; justify-content: center; }
.g-feature h2 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }

/* ---------- FAQ ---------- */
.faq { background: linear-gradient(180deg, #FBFDFA 0%, #F8FAF5 100%); }
.pills { margin-bottom: 30px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: linear-gradient(135deg, #FFFFFF 0%, #FCFDFC 100%); border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .25s ease, border-color .25s ease; position: relative; overflow: hidden; }
.faq-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); opacity: 0; transition: opacity .25s ease; }
.faq-item.open { border-color: #DAECD5; box-shadow: var(--shadow); }
.faq-item.open::before { opacity: 1; }
.faq-q { margin: 0; font-size: 1rem; }
.faq-q button { width: 100%; display: flex; align-items: center; gap: 14px; background: none; border: 0; padding: 18px 20px; text-align: left; cursor: pointer; color: var(--ink); font-size: 1rem; font-weight: 600; line-height: 1.45; }
.fq-num { flex: 0 0 auto; font-size: .78rem; font-weight: 700; color: var(--secondary-600); background: var(--secondary-50); border-radius: 8px; padding: 3px 8px; }
.fq-text { flex: 1 1 auto; }
.fq-ic { flex: 0 0 auto; display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); transition: background-color .2s ease, color .2s ease; }
.fq-ic .i-minus { display: none; transform: rotate(180deg); }
.faq-item.open .fq-ic { background: var(--grad-btn); color: #fff; border-color: transparent; }
.faq-item.open .fq-ic .i-plus { display: none; }
.faq-item.open .fq-ic .i-minus { display: block; }
.faq-a { padding: 0 20px 18px 66px; }
.faq-a p { margin: 0; font-size: .95rem; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.fa-ic { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 16px; background: var(--grad-soft); color: var(--secondary-600); border: 1px solid #EAF4E7; }
.faq-aside h3 { margin: 4px 0 0; font-size: 1.2rem; }
.faq-aside p { margin: 0 0 4px; font-size: .92rem; }
.faq-aside .btn { width: 100%; }

/* ---------- Footer ---------- */
#site-footer { position: relative; background: linear-gradient(160deg, #F7F9F3 0%, #F7FBF6 60%, #FAF8F3 100%); border-top: 1px solid var(--line); padding-top: 64px; overflow: hidden; }
.footer-glow { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 40px; }
.f-brand p { font-size: .92rem; margin: 14px 0 18px; max-width: 420px; }
.f-col h2 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; color: var(--ink); }
.f-col ul { list-style: none; display: grid; gap: 9px; }
.f-col a, #site-footer a { text-decoration: none; }
.f-col a { color: var(--text); font-size: .92rem; transition: color .2s ease; }
.f-col a:hover { color: var(--secondary-600); }
#site-footer .btn-primary, #site-footer .btn-primary:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #DFEADC; padding-top: 20px; padding-bottom: 24px; }
.footer-bottom p { margin: 0; font-size: .86rem; color: var(--muted); }
.footer-bottom .copy a { color: var(--primary-600); font-weight: 600; }
.footer-bottom .disc { text-align: right; }

/* ---------- To top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--grad-btn); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Inner pages ---------- */
.page-hero, .post-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F9FBF6 0%, #F8FCF7 100%); padding: 56px 0 60px; }
.narrow-hero { position: relative; z-index: 1; text-align: center; max-width: 820px; }
.page-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.page-hero .lead { color: var(--muted); font-size: 1.04rem; margin: 0 auto; max-width: 620px; }
.ph-ic { display: inline-flex; width: 56px; height: 56px; border-radius: 18px; align-items: center; justify-content: center; background: #fff; color: var(--secondary-600); box-shadow: var(--shadow); margin: 6px 0 16px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: .84rem; color: var(--muted); margin-bottom: 10px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: #B9CBB4; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary-600); }
.crumbs li[aria-current] { color: var(--ink); font-weight: 500; }
.legal { padding-top: 56px; }
.legal-wrap { max-width: 900px; }
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 44px; box-shadow: var(--shadow-sm); }
.nf-code { display: block; font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.page-hero.nf { padding: 90px 0; }
.page-hero.nf .hero-cta { margin-top: 24px; }

.prose { font-size: 1.02rem; }
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 1.8em 0 .6em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.4em 0 .5em; }
.prose p, .prose li, .prose td { overflow-wrap: anywhere; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--primary); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose pre { background: #F5FAF4; border: 1px solid #E5F2E2; border-radius: 14px; padding: 16px 18px; overflow-x: auto; margin: 0 0 1.2em; }
.prose pre code { background: none; padding: 0; color: var(--ink); white-space: pre; overflow-wrap: normal; font-size: .88rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 480px; }
.prose th { background: var(--grad-soft); color: var(--ink); text-align: left; font-weight: 600; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.callout { display: flex; gap: 12px; align-items: flex-start; background: var(--accent-50); border: 1px solid #E4D9C2; border-radius: 14px; padding: 14px 18px; margin-bottom: 1.4em; }
.callout .ic { color: var(--accent-600); margin-top: 3px; }
.callout p { margin: 0; }
.contact-card { text-align: center; background: var(--grad-soft); border: 1px solid #EAF4E7; border-radius: 20px; padding: 34px 24px; margin-bottom: 2em; }
.cc-ic { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; align-items: center; justify-content: center; background: #fff; color: var(--secondary-600); box-shadow: var(--shadow-sm); margin-bottom: 10px; }
.contact-card h2 { margin-top: 0; }
.email-plain { font-size: clamp(1.05rem, 3vw, 1.4rem); font-weight: 700; color: var(--ink); overflow-wrap: anywhere; user-select: all; }

.blog-list { padding-top: 56px; }

/* ---------- Blog post ---------- */
.post-hero { padding: 46px 0 50px; }
.post-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.post-hero .crumbs ol { justify-content: flex-start; }
.post-hero h1 { font-size: clamp(1.55rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; margin: 14px 0 14px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; font-size: .88rem; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; padding-top: 40px; padding-bottom: 90px; }
.post-figure { margin: 0 0 30px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 1200 / 630; background: var(--grad-soft); }
.post-figure img { width: 100%; height: 100%; object-fit: cover; }
.toc-inline { display: none; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 0 0 1.6em; }
.toc-inline strong { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.toc-inline ol { margin: 0; padding-left: 1.3em; }
.toc-inline a, .side-toc a { color: var(--text); }
.toc-inline a:hover, .side-toc a:hover { color: var(--secondary-600); }
.related { margin-top: 50px; padding-top: 34px; border-top: 1px solid var(--line); }
.related > h2 { font-size: 1.4rem; margin-bottom: 20px; }
.post-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-sm); }
.side-box h2 { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin-bottom: 12px; }
.side-box h2 .ic { color: var(--secondary-600); }
.side-toc ol { padding-left: 1.2em; display: grid; gap: 6px; font-size: .88rem; }
.side-toc li::marker { color: var(--primary); font-weight: 700; }
.side-dl { text-align: center; background: var(--grad-soft); border-color: #EAF4E7; }
.side-dl img { width: 56px; height: 56px; margin: 0 auto 10px; }
.side-dl h2 { justify-content: center; font-size: 1.1rem; }
.side-dl p { font-size: .88rem; }
.side-dl .btn { width: 100%; }
.side-more ul { list-style: none; display: grid; gap: 10px; }
.side-more a { display: flex; gap: 10px; align-items: flex-start; font-size: .87rem; color: var(--text); line-height: 1.45; }
.side-more a .ic { color: var(--primary); margin-top: 2px; }
.side-more a:hover { color: var(--secondary-600); }

/* ---------- Reveal ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-list a { padding: 8px 11px; font-size: .86rem; }
}

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .menu-toggle { margin-left: 0; }
  .nav { position: fixed; left: 0; right: 0; top: calc(var(--header-h) + 3px); bottom: 0; z-index: 99; background: #fff; flex-direction: column; align-items: stretch; padding: 18px 24px 30px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; margin: 0; }
  .menu-open .nav { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; background: none; border: 0; padding: 0; gap: 4px; border-radius: 0; }
  .nav-list a { padding: 13px 16px; font-size: 1rem; border-radius: 12px; background: var(--bg-soft); }
  .nav .drawer-cta { display: inline-flex; margin-top: 16px; }
  .menu-open { overflow: hidden; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card.f-tall { grid-row: auto; }
  .plat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .req-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inst-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .f-brand { grid-column: 1 / -1; }
  .float-card { display: none; }
}

@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .about-grid, .ben-grid, .dl-card, .faq-layout, .post-layout, .g-feature .g-link { grid-template-columns: minmax(0, 1fr); }
  .about-grid { gap: 32px; }
  .orbit { grid-template-columns: minmax(0, 1fr); row-gap: 26px; padding-left: 28px; }
  .orbit::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; border-left: 2px dashed #D5EACF; }
  .orbit-ring, .orbit-core { display: none; }
  .orbit-step.s1, .orbit-step.s2, .orbit-step.s3, .orbit-step.s4 { grid-column: 1; grid-row: auto; }
  .o-num { left: -34px; top: 22px; }
  .uc-grid, .tr-grid, .rel-grid, .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .safe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .safe-card, .safe-card:nth-child(4), .safe-card:nth-child(5) { grid-column: auto; }
  .safe-card:nth-child(5) { grid-column: 1 / -1; }
  .dl-figure { min-height: 0; }
  .dl-figure img { position: static; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
  .dl-body { padding: 32px 28px; }
  .faq-aside { position: static; }
  .post-side { position: static; }
  .side-toc { display: none; }
  .toc-inline { display: block; }
  .curve-band { padding: 140px 0 100px; }
  .hero-visual-wrap { margin-bottom: -70px; }
  .about-figure img { height: auto; }
}

@media (max-width: 720px) {
  .pc-grid, .g-grid.two { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-bottom .disc { text-align: left; }
  .legal-card { padding: 28px 22px; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container { padding: 0 18px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 1.08rem; }
  .hero { padding-top: 22px; }
  .hero-eyebrow { display: none; }
  .hero h1 { font-size: 1.5rem; margin-bottom: 10px; }
  .hero-lead { font-size: .97rem; margin-bottom: 16px; }
  .hide-sm { display: none; }
  .hero-cta { margin-bottom: 16px; gap: 10px; }
  .hero-cta .btn-lg { padding: 13px 20px; font-size: .95rem; }
  .chips li { font-size: .78rem; padding: 5px 11px; }
  .hero-visual-wrap { margin-top: 24px; margin-bottom: -40px; }
  .hero-visual { border-radius: 16px; }
  .curve-band { padding: 90px 0 80px; }
  .wave { height: 40px; }
  .bento, .plat-grid, .req-list, .inst-steps, .uc-grid, .tr-grid, .rel-grid, .g-grid, .ben-list, .safe-grid, .dl-meta, .fact-tiles { grid-template-columns: minmax(0, 1fr); }
  .bento-card.f-wide { grid-column: auto; }
  .safe-card:nth-child(5) { grid-column: auto; }
  .section { padding: 60px 0; }
  .sec-head { margin-bottom: 30px; }
  .ben-panel { padding: 30px 24px; }
  .dl-body { padding: 28px 20px; }
  .dl-body .btn-xl { width: 100%; white-space: normal; }
  .tab-list { border-radius: 18px; width: 100%; }
  .tab { flex: 1 1 auto; justify-content: center; padding: 10px 12px; font-size: .86rem; }
  .faq-q button { padding: 16px; gap: 10px; font-size: .95rem; }
  .faq-a { padding: 0 16px 16px 16px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .g-feature .g-body { padding: 22px; }
  .post-layout { padding-top: 26px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.36rem; }
  .hero-lead { font-size: .93rem; }
  .chips li:nth-child(n+3) { display: none; }
  .brand-name { font-size: 1rem; }
}

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

/* Leaf brand and homepage layout */
.brand img, .orbit-core img { border-radius: 10px; }
.header-cta.btn-primary, .drawer-cta.btn-primary {
  background: #dce9d2;
  border: 1px solid #b7cbb0;
  color: #254832;
}
.header-cta.btn-primary:hover, .drawer-cta.btn-primary:hover {
  background: #cbdcbe;
  color: #203f2a;
}

.hero { background: #f2f1e7; padding: clamp(38px, 7vw, 104px) 0; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.hero-inner { text-align: left; }
.hero h1 {
  max-width: 13ch;
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4.45vw, 4.45rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.hero-lead { margin: 0 0 22px; }
.hero-cta, .hero .chips { justify-content: flex-start; }
.hero-visual-wrap { margin: 0; width: 100%; }
.hero-visual { aspect-ratio: auto; border-color: var(--line); background: #edece0; }
.hero-visual img { height: auto; }
.about.curve-band { padding-top: clamp(75px, 9vw, 135px); }

.section-heading {
  display: inline-flex;
  align-items: center;
  gap: .55em;
}
.section-heading .ic { color: var(--primary-600); width: .75em; height: .75em; }
.ben-panel .section-heading .ic { color: #dce9d2; }

.post-layout { display: block; max-width: 960px; }
.post-article .prose { max-width: 74ch; margin-inline: auto; }
.post-figure, .g-thumb { background: #f2f1e7; }
.post-figure img, .g-thumb img, .about-figure img, .dl-figure img { object-fit: contain; }

@media (max-width: 850px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 17ch; }
  .hero-visual-wrap { max-width: 620px; }
}
@media (max-width: 420px) {
  .hero .hero-cta a { width: 100%; }
}
