/* =========================================================
   WampServer.net — Main Stylesheet
   Palette: #F70094 (Magenta) + #FFFFFF (White)
   Layout philosophy: editorial, line-based, zero cards.
   ========================================================= */

:root {
  --pink: #F70094;
  --pink-600: #D6007F;
  --pink-700: #A8005F;
  --pink-50: #FFF0F8;
  --pink-100: #FFE0F1;
  --pink-200: #FFC2E3;
  --white: #FFFFFF;
  --ink: #2B0A1E;          /* deep plum used for text, never as a background */
  --ink-soft: #5E3A50;
  --ink-mute: #8C6D80;
  --line: #F3D6E6;
  --line-strong: #E9B6D2;
  --ok: #10A36A;
  --warn: #E08A00;

  --f-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-600); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--pink-700); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
code, kbd { font-family: var(--f-mono); font-size: .86em; background: var(--pink-50); color: var(--pink-700); padding: .12em .4em; border-radius: 6px; }
::selection { background: var(--pink); color: var(--white); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--pink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-head); font-weight: 700; font-size: 1rem;
  padding: .95em 1.6em; border-radius: 999px;
  text-decoration: none; border: 2px solid var(--pink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  cursor: pointer; white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--pink); color: var(--white); box-shadow: 0 10px 28px -10px rgba(247, 0, 148, .65); }
.btn-primary:hover { color: var(--white); background: var(--pink-600); transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(247, 0, 148, .75); }
.btn-ghost { background: transparent; color: var(--pink-600); }
.btn-ghost:hover { background: var(--pink-50); color: var(--pink-700); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; }
.brand span b { color: var(--pink); font-weight: 800; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--pink); transition: width .3s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav .btn { padding: .65em 1.2em; font-size: .92rem; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, background .3s; content: ""; }
.menu-toggle span { top: 21px; }
.menu-toggle span::before { top: -7px; left: 0; }
.menu-toggle span::after { top: 7px; left: 0; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Section scaffolding ---------- */
section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--pink-600);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--pink); }
.sec-title { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; max-width: 18ch; }
.sec-title em { font-style: normal; color: var(--pink); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 62ch; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; align-items: end; margin-bottom: 56px; }
.sec-head .lead { margin: 0; }
.tint { background: linear-gradient(180deg, var(--white) 0%, var(--pink-50) 18%, var(--pink-50) 82%, var(--white) 100%); }
.sec-num { position: absolute; right: var(--gutter); top: 40px; font-family: var(--f-head); font-weight: 800; font-size: clamp(5rem, 14vw, 11rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--pink-100); pointer-events: none; user-select: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 90px) 0 clamp(70px, 9vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--pink-100) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 70% at 80% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 80% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; color: var(--pink-700); background: var(--pink-50); border: 1px solid var(--pink-100); padding: 6px 14px 6px 8px; border-radius: 999px; margin-bottom: 26px; }
.hero-tag i { width: 22px; height: 22px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; }
.hero-tag i::after { content: ""; width: 7px; height: 7px; background: #fff; border-radius: 50%; }
.hero h1 { font-size: clamp(2.6rem, 6.6vw, 5.2rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 24px; }
.hero h1 .hl { color: var(--pink); position: relative; white-space: nowrap; }
.hero h1 .hl svg { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .3em; }
.hero p.lead { margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); padding-top: 22px; list-style: none; margin: 0; }
.hero-meta li { padding: 0 26px; border-left: 1px solid var(--line); }
.hero-meta li:first-child { padding-left: 0; border-left: 0; }
.hero-meta strong { display: block; font-family: var(--f-head); font-size: 1.55rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.hero-meta span { font-size: .85rem; color: var(--ink-mute); }

/* Hero visual: orbit around the logo */
.orbit { position: relative; aspect-ratio: 1; width: min(100%, 460px); margin-left: auto; }
.orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed var(--pink-200); animation: spin 60s linear infinite; }
.orbit .ring.r2 { inset: 15%; border-style: solid; border-color: var(--pink-100); animation-duration: 40s; animation-direction: reverse; }
.orbit .core { position: absolute; inset: 31%; display: grid; place-items: center; }
.orbit .core::before { content: ""; position: absolute; inset: -10%; border-radius: 50%; background: radial-gradient(circle, rgba(247, 0, 148, .18), transparent 70%); animation: pulse 3.5s ease-in-out infinite; }
.orbit .core img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; position: relative; filter: drop-shadow(0 18px 30px rgba(247, 0, 148, .3)); animation: float 6s ease-in-out infinite; }
.orbit .chip { position: absolute; font-family: var(--f-mono); font-size: .8rem; font-weight: 600; color: var(--ink); background: var(--white); border: 1.5px solid var(--pink-200); padding: 7px 13px; border-radius: 999px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.orbit .chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(16, 163, 106, .18); }
.chip.c1 { top: 4%; left: 30%; }
.chip.c2 { top: 36%; right: -4%; }
.chip.c3 { bottom: 10%; right: 12%; }
.chip.c4 { bottom: 22%; left: -6%; }
.chip.c5 { top: 22%; left: -2%; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes pulse { 50% { transform: scale(1.12); opacity: .6; } }

/* Marquee */
.stack-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; white-space: nowrap; }
.stack-strip .track { display: inline-flex; gap: 54px; animation: marquee 32s linear infinite; }
.stack-strip span { font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; color: var(--ink-mute); display: inline-flex; align-items: center; gap: 54px; }
.stack-strip span::after { content: "✦"; color: var(--pink); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- What is ---------- */
.what-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.acronym { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.acronym li { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.acronym .letter { font-family: var(--f-head); font-size: 3.4rem; font-weight: 800; color: var(--pink); line-height: 1; }
.acronym h3 { font-size: 1.2rem; margin: 0 0 2px; }
.acronym p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.what-copy p { color: var(--ink-soft); }
.what-copy p:first-of-type::first-letter { font-family: var(--f-head); font-weight: 800; font-size: 3.6em; float: left; line-height: .9; margin: .06em .1em 0 0; color: var(--pink); }
.pullquote { margin: 34px 0 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--pink); font-family: var(--f-head); font-size: 1.35rem; font-weight: 600; line-height: 1.4; color: var(--ink); }

/* ---------- Features (numbered rows) ---------- */
.feature-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); counter-reset: feat; }
.feature-list li { display: grid; grid-template-columns: 90px 1.1fr 1.4fr; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line-strong); align-items: start; transition: background .3s, padding .3s var(--ease); counter-increment: feat; }
.feature-list li::before { content: counter(feat, decimal-leading-zero); font-family: var(--f-mono); font-weight: 600; color: var(--pink); font-size: .95rem; padding-top: 6px; }
.feature-list li:hover { background: linear-gradient(90deg, var(--pink-50), transparent 80%); padding-left: 16px; }
.feature-list h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin: 0; display: flex; align-items: center; gap: 14px; }
.feature-list h3 svg { width: 28px; height: 28px; color: var(--pink); flex: none; }
.feature-list p { margin: 0; color: var(--ink-soft); }

/* ---------- How it works (flow) ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin-top: 10px; }
.flow::before { content: ""; position: absolute; top: 31px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--pink) 0 10px, transparent 10px 18px); }
.flow-step { padding: 0 22px; text-align: center; position: relative; }
.flow-step .dot { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: var(--white); border: 2px solid var(--pink); display: grid; place-items: center; color: var(--pink); position: relative; z-index: 1; transition: background .3s, color .3s; }
.flow-step:hover .dot { background: var(--pink); color: var(--white); }
.flow-step .dot svg { width: 28px; height: 28px; }
.flow-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.flow-step p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.tray-legend { margin-top: 70px; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; border-top: 1px solid var(--line); padding-top: 44px; }
.tray-legend h3 { font-size: 1.4rem; margin: 0; max-width: 14ch; }
.tray-legend ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.tray-legend li { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: .97rem; }
.tray-legend .led { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.led.green { background: #19B26B; box-shadow: 0 0 0 4px rgba(25, 178, 107, .16); }
.led.orange { background: #F29A0E; box-shadow: 0 0 0 4px rgba(242, 154, 14, .16); }
.led.red { background: #E5243B; box-shadow: 0 0 0 4px rgba(229, 36, 59, .16); }

/* ---------- Installation (timeline) ---------- */
.install-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.install-aside { position: sticky; top: 110px; }
.install-aside .note { margin-top: 26px; padding: 18px 0 0; border-top: 1px dashed var(--line-strong); font-size: .95rem; color: var(--ink-soft); }
.install-aside .note strong { color: var(--pink-700); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--pink), var(--pink-100)); }
.timeline li { position: relative; padding: 0 0 38px 72px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .n { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--pink); color: #fff; font-family: var(--f-head); font-weight: 800; display: grid; place-items: center; font-size: 1.05rem; box-shadow: 0 0 0 6px var(--white); }
.timeline h3 { font-size: 1.25rem; margin: 6px 0 8px; }
.timeline p { color: var(--ink-soft); margin: 0 0 .6em; }
.cmd { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: .9rem; background: var(--pink-50); border-left: 3px solid var(--pink); padding: 10px 14px; border-radius: 0 10px 10px 0; color: var(--ink); margin-top: 8px; overflow-x: auto; }
.cmd button { flex: none; background: var(--white); border: 1px solid var(--pink-200); color: var(--pink-700); font-family: var(--f-body); font-size: .78rem; font-weight: 600; border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.cmd button:hover { background: var(--pink); color: #fff; border-color: var(--pink); }

/* ---------- Use cases (split list) ---------- */
.uses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 72px; list-style: none; margin: 0; padding: 0; }
.uses li { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.uses li svg { width: 34px; height: 34px; color: var(--pink); margin-top: 4px; }
.uses h3 { font-size: 1.18rem; margin-bottom: 6px; }
.uses p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- Download band ---------- */
.download { background: var(--pink); color: var(--white); overflow: hidden; }
.download::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 22px); pointer-events: none; }
.download .eyebrow, .download h2, .download .lead { color: var(--white); }
.download .eyebrow::before { background: var(--white); }
.download .lead { color: rgba(255, 255, 255, .88); }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; }
.dl-logo { width: 120px; margin-bottom: 28px; background: var(--white); border-radius: 30px; padding: 14px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .35); }
.dl-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.dl-table th, .dl-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .28); vertical-align: top; }
.dl-table th { font-weight: 500; color: rgba(255, 255, 255, .78); width: 42%; padding-right: 18px; }
.dl-table td { font-weight: 600; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn-white { background: var(--white); color: var(--pink-700); border-color: var(--white); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .4); }
.btn-white:hover { color: var(--pink); transform: translateY(-2px); }
.btn-outline-w { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn-outline-w:hover { color: var(--white); background: rgba(255, 255, 255, .12); }
.dl-small { margin-top: 18px; font-size: .86rem; color: rgba(255, 255, 255, .82); }
.dl-small a { color: var(--white); }

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; border-top: 2px solid var(--ink); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .96rem; }
.compare th, .compare td { padding: 18px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--f-head); font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.compare thead th.is-wamp { color: var(--pink); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 22%; }
.compare td { color: var(--ink-soft); }
.compare td.is-wamp, .compare th.is-wamp { background: var(--pink-50); }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: #FFF7FB; }
.compare tbody tr:hover td.is-wamp { background: var(--pink-100); }
.yes { color: var(--ok); font-weight: 700; }
.no { color: #C2264A; font-weight: 700; }
.mac-note { margin-top: 44px; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; border-left: 4px solid var(--pink); padding: 4px 0 4px 22px; }
.mac-note svg { width: 44px; height: 44px; color: var(--pink); }
.mac-note h3 { font-size: 1.25rem; margin-bottom: 6px; }
.mac-note p { margin: 0; color: var(--ink-soft); }

/* ---------- Troubleshooting (accordion) ---------- */
.fix-list { border-top: 1px solid var(--line-strong); }
.fix { border-bottom: 1px solid var(--line-strong); }
.fix summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 120px 1fr 32px; gap: 20px; align-items: center; padding: 24px 0; }
.fix summary::-webkit-details-marker { display: none; }
.fix .code { font-family: var(--f-mono); font-size: .8rem; font-weight: 600; color: var(--pink-700); background: var(--pink-50); border-radius: 6px; padding: 4px 10px; justify-self: start; }
.fix summary h3 { font-size: 1.15rem; margin: 0; }
.fix .pm { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--pink-200); position: relative; transition: background .3s, transform .3s; }
.fix .pm::before, .fix .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--pink); transform: translate(-50%, -50%); transition: transform .3s; }
.fix .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.fix[open] .pm { background: var(--pink); border-color: var(--pink); }
.fix[open] .pm::before, .fix[open] .pm::after { background: #fff; }
.fix[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.fix .body { padding: 0 52px 28px 140px; color: var(--ink-soft); }
.fix .body ol { margin: 0; padding-left: 1.2em; }
.fix .body li { margin-bottom: 6px; }

/* ---------- Requirements (spec sheet) ---------- */
.spec-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.spec-wrap h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 0; }
.spec-wrap h3 small { font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--pink); padding: 3px 9px; border-radius: 999px; }
.spec-wrap h3 small.alt { background: var(--white); color: var(--pink-700); border: 1px solid var(--pink-200); }
.spec { list-style: none; margin: 0; padding: 0; }
.spec li { display: flex; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px dotted var(--line-strong); }
.spec li span:first-child { color: var(--ink-mute); }
.spec li span:last-child { font-weight: 600; text-align: right; }
.vc-line { margin-top: 48px; font-size: .98rem; color: var(--ink-soft); padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vc-line strong { color: var(--ink); }

/* ---------- Safety ---------- */
.safety-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.shield { width: 100%; max-width: 360px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; width: 24px; height: 24px; margin-top: 3px; border-radius: 50%; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks strong { display: block; color: var(--ink); margin-bottom: 2px; }
.checks span { color: var(--ink-soft); font-size: .96rem; }
.warn-line { margin-top: 30px; padding-left: 20px; border-left: 4px solid var(--warn); color: var(--ink-soft); font-size: .96rem; }
.warn-line strong { color: var(--ink); }

/* ---------- Pros / Cons ---------- */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); }
.pc > div { padding: 34px 0; }
.pc > div:first-child { padding-right: 48px; border-right: 1px solid var(--line-strong); }
.pc > div:last-child { padding-left: 48px; }
.pc h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pc h3 i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 1.2rem; font-weight: 800; }
.pc .plus i { background: var(--pink); color: #fff; }
.pc .minus i { background: var(--white); color: var(--pink); border: 2px solid var(--pink); }
.pc ul { list-style: none; margin: 0; padding: 0; }
.pc li { padding: 13px 0 13px 28px; border-bottom: 1px dashed var(--line-strong); position: relative; color: var(--ink-soft); }
.pc li:last-child { border-bottom: 0; }
.pc .plus li::before { content: "+"; position: absolute; left: 0; color: var(--pink); font-weight: 800; }
.pc .minus li::before { content: "–"; position: absolute; left: 2px; color: var(--ink-mute); font-weight: 800; }
.verdict { margin-top: 30px; font-family: var(--f-head); font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 600; line-height: 1.45; max-width: 46ch; }
.verdict b { color: var(--pink); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item:first-child { border-top: 1px solid var(--line-strong); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 22px; align-items: center; padding: 22px 0; font-family: var(--f-head); font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--pink-600); }
.faq-item summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--pink); border-bottom: 2.5px solid var(--pink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item .ans { padding: 0 40px 24px 0; color: var(--ink-soft); }
.faq-item .ans p:last-child { margin: 0; }

/* ---------- CTA strip ---------- */
.final-cta { padding: 90px 0; text-align: center; border-top: 1px solid var(--line); }
.final-cta img { width: 74px; margin: 0 auto 22px; }
.final-cta h2 { font-size: clamp(2rem, 4.5vw, 3.3rem); font-weight: 800; max-width: 20ch; margin: 0 auto 18px; }
.final-cta h2 em { font-style: normal; color: var(--pink); }
.final-cta p { color: var(--ink-soft); max-width: 54ch; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer { background: #2B0A1E; color: #fff; padding: 48px 0 0; font-size: .95rem; border-top: 4px solid var(--pink); }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-bottom: 36px; }
.footer-brand { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; font-family: var(--f-head); font-size: clamp(1.65rem, 3vw, 2.2rem); letter-spacing: -.04em; }
.footer-about { max-width: 440px; }
.footer-description { margin: 18px 0 0; color: #DFC3D3; line-height: 1.8; font-size: .95rem; }
.footer-nav { min-width: 220px; flex: 1; text-align: center; }
.footer-heading { margin: 0 0 16px; color: #fff; font-family: var(--f-head); font-size: 1.15rem; font-weight: 700; }
.footer-brand img { flex-shrink: 0; }
.footer-brand b { color: #FF80C8; }
.footer-links { display: flex; flex-direction: column; gap: 4px; list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding: 6px 0; color: #F4DCE9; font-weight: 500; text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-links a:active, .footer-links a[aria-current="page"] { color: #FF80C8; text-decoration: none; }
.footer-brand:focus-visible, .footer-links a:focus-visible { outline: 2px solid #FF80C8; outline-offset: 5px; }
.footer-bottom { border-top: 1px solid #63394F; padding: 20px 0; text-align: center; }
.footer-bottom p { margin: 0; color: #DFC3D3; font-size: .82rem; line-height: 1.7; }
.footer-copyright-brand { color: #ff80c8; text-decoration: none; }
@media (max-width: 760px) {
  .site-footer { padding-top: 32px; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: 28px; }
  .footer-nav { width: 100%; }
  .footer-links { gap: 4px; }
}
@media (min-width: 761px) {
  .footer-heading { font-size: 1.35rem; }
}
/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--pink); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 26px -10px rgba(247, 0, 148, .7); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s; z-index: 40; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--pink); z-index: 60; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: var(--white); color: var(--ink); border: 1.5px solid var(--pink); padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .9rem; opacity: 0; transition: .3s; z-index: 70; box-shadow: 0 14px 30px -14px rgba(247, 0, 148, .5); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Keep the desktop hero compact enough for the first screen. */
@media (min-width: 961px) {
  .hero {
    min-height: calc(100svh - 72px);
    display: flex;
    align-items: center;
    padding: clamp(20px, 4vh, 40px) 0;
  }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; }
  .hero-tag { margin-bottom: 16px; }
  .hero h1 { font-size: clamp(2.5rem, 3.8vw, 3.5rem); margin-bottom: 16px; }
  .hero p.lead { font-size: 1rem; line-height: 1.55; margin-bottom: 20px; }
  .hero-cta { margin-bottom: 22px; }
  .hero-meta { padding-top: 16px; }
  .hero .orbit { width: min(100%, 380px, 58svh); }
}
/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: .9rem; }
}
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav .btn { display: none; }
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 2px solid var(--pink); padding: 8px var(--gutter) 20px; transform: translateY(-120%); transition: transform .4s var(--ease); max-height: calc(100vh - 72px); overflow-y: auto; }
  .menu-open .nav-links { transform: none; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 14px 0; font-size: 1.05rem; }
  .nav-links a::after { display: none; }
  .hero-grid, .what-grid, .install-grid, .dl-grid, .spec-wrap, .safety-grid, .faq-grid, .sec-head { grid-template-columns: 1fr; gap: 40px; }
  .orbit { margin: 10px auto 0; width: min(88%, 420px); }
  .install-aside, .faq-aside { position: static; }
  .flow { grid-template-columns: 1fr 1fr; gap: 44px 0; }
  .flow::before { display: none; }
  .feature-list li { grid-template-columns: 56px 1fr; }
  .feature-list li p { grid-column: 2; }
  .tray-legend { grid-template-columns: 1fr; gap: 20px; }
  .shield { max-width: 260px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
  .hero-meta li { padding: 0 12px; }
  .hero-meta strong { font-size: 1.25rem; }
  .uses { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-step { text-align: left; display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; padding: 0; }
  .flow-step .dot { margin: 0; grid-row: span 2; }
  .pc { grid-template-columns: 1fr; }
  .pc > div:first-child { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .pc > div:last-child { padding-left: 0; }
  .fix summary { grid-template-columns: 1fr 32px; gap: 10px 14px; }
  .fix .code { grid-column: 1 / -1; }
  .fix summary h3 { grid-column: 1; }
  .fix .body { padding: 0 0 24px; }
  .chip.c2 { right: 0; }
  .chip.c4 { left: 0; }
  .chip.c5 { left: 0; }
  .orbit .chip { font-size: .72rem; padding: 5px 10px; }
  .sec-num { display: none; }
  .hero h1 .hl { white-space: normal; }
  .dl-table th { width: 46%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Match the What is WampServer heading size to the hero heading. */
#what .sec-title { font-size: clamp(2.6rem, 6.6vw, 5.2rem); }
@media (min-width: 961px) {
  #what .sec-title { font-size: clamp(2.5rem, 3.8vw, 3.5rem); }
}
/* Align the image top with the line beneath the section heading. */
@media (min-width: 961px) {
  .what-grid { row-gap: 0; }
  .what-grid > .reveal:first-child {
    grid-column: 1;
    grid-row: 1 / span 3;
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .what-grid > .what-copy { grid-column: 2; grid-row: 3; align-self: start; }
}
/* Responsive corrections shared by every page. */
.hero-grid > *, .what-grid > *, .install-grid > *, .dl-grid > *,
.spec-wrap > *, .safety-grid > *, .faq-grid > *, .sec-head > * { min-width: 0; }
.hero-cta { flex-wrap: nowrap; gap: clamp(6px, 1.2vw, 14px); }
.hero-cta .btn { justify-content: center; min-width: 0; font-size: clamp(.72rem, 1.25vw, 1rem); padding: .95em clamp(8px, 1.6vw, 26px); gap: .4em; }
.hero-meta li { min-width: 0; }
.footer-about { min-width: 0; }
@media (max-width: 960px) {
  .nav-links { visibility: hidden; pointer-events: none; }
  .menu-open .nav-links { visibility: visible; pointer-events: auto; }
}
@media (max-width: 640px) {
  .hero-tag { font-size: clamp(.65rem, 2.8vw, .88rem); gap: 6px; }
  .hero-tag i { flex-shrink: 0; }
  .hero-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-meta li { padding: 0 8px; }
  .hero-meta span { font-size: .72rem; }
  .hero-meta strong { font-size: clamp(1rem, 4vw, 1.25rem); }
  .dl-panel { min-width: 0; }
  .dl-panel .btn { max-width: 100%; white-space: normal; justify-content: center; text-align: center; }
  .spec li { gap: 12px; overflow-wrap: anywhere; }
  .footer-nav { min-width: 0; }
}

@media (max-width: 640px) {
  .final-cta .btn { max-width: 100%; white-space: normal; text-align: center; justify-content: center; }
}

main > section { padding: 40px 10px; }

.nav-links a { white-space: nowrap; }
.nav-links .nav-icon { display: inline-block; width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; }
