:root {
  --primary: #2b6cb0;
  --primary-dark: #1a365d;
  --primary-light: #4299e1;
  --accent: #f6ad55;
  --accent-pink: #ed64a6;
  --accent-purple: #805ad5;
  --bg: #f7fafc;
  --bg-alt: #edf2f7;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --surface-glass-border: rgba(255, 255, 255, 0.55);
  --text: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(26, 32, 44, 0.08);
  --shadow-md: 0 6px 18px rgba(26, 32, 44, 0.1);
  --shadow-lg: 0 16px 40px rgba(26, 32, 44, 0.14);
  --shadow-glow: 0 8px 30px rgba(43, 108, 176, 0.28);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --gradient-hero: linear-gradient(135deg, #2b6cb0 0%, #4299e1 45%, #805ad5 100%);
  --gradient-accent: linear-gradient(135deg, #ed64a6 0%, #f6ad55 100%);
  --gradient-soft: linear-gradient(135deg, #ebf4ff 0%, #f0e7ff 100%);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 68px;
  --max-w: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1420;
    --bg-alt: #161d2e;
    --surface: #1a2233;
    --surface-glass: rgba(26, 34, 51, 0.72);
    --surface-glass-border: rgba(255, 255, 255, 0.08);
    --text: #e8edf5;
    --text-secondary: #b6c2d4;
    --text-muted: #8b98ac;
    --border: #2a3448;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
    --shadow-glow: 0 8px 30px rgba(66, 153, 225, 0.35);
    --gradient-hero: linear-gradient(135deg, #1a365d 0%, #2b6cb0 45%, #553c9a 100%);
    --gradient-soft: linear-gradient(135deg, #161d2e 0%, #221b38 100%);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(circle at 12% 0%, rgba(66, 153, 225, 0.08), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(128, 90, 213, 0.08), transparent 40%);
  background-attachment: fixed;
  transition: background-color var(--transition), color var(--transition);
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-pink);
}

h1,
h2,
h3 {
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  margin: 0 0 0.6em;
}

h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  margin: 0 0 0.7em;
  position: relative;
  padding-left: 18px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: var(--radius-pill);
  background: var(--gradient-accent);
}

h3 {
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  margin: 1.6em 0 0.5em;
}

p {
  margin: 0 0 1em;
  color: var(--text-secondary);
}

strong {
  color: var(--text);
  font-weight: 700;
}

ul,
ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
  color: var(--text-secondary);
}

li {
  margin-bottom: 0.4em;
}

li::marker {
  color: var(--primary-light);
}

blockquote {
  margin: 1.2em 0;
  padding: 1em 1.4em;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--text-secondary);
}

time {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ============ Header ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--surface-glass-border);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.logo:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.logo svg {
  border-radius: 10px;
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.logo:hover svg {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 10px 34px rgba(237, 100, 166, 0.4);
}

#site-header nav {
  flex: 1 1 auto;
  min-width: 0;
}

#site-header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#site-header nav li {
  margin: 0;
}

#site-header nav a {
  display: inline-block;
  padding: 7px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  position: relative;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

#site-header nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-accent);
  transform: translateX(-50%);
  transition: width var(--transition);
}

#site-header nav a:hover {
  color: var(--primary);
  background: rgba(66, 153, 225, 0.1);
  transform: translateY(-1px);
}

#site-header nav a:hover::after {
  width: 60%;
}

#site-header form[role="search"] {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px 3px 3px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

#site-header form[role="search"]:focus-within {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.16);
}

#site-header input[type="search"] {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  width: 170px;
  padding: 6px 0;
}

#site-header input[type="search"]::placeholder {
  color: var(--text-muted);
}

#site-header form[role="search"] button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--gradient-hero);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

#site-header form[role="search"] button:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.08);
}

#site-header form[role="search"] button:active {
  transform: scale(0.97);
}

/* ============ Main layout ============ */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px 40px;
}

main > nav[aria-label="面包屑导航"] {
  padding: 16px 0 4px;
}

main > nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

main > nav[aria-label="面包屑导航"] li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

main > nav[aria-label="面包屑导航"] li + li::before {
  content: "/";
  color: var(--text-muted);
  opacity: 0.6;
}

main > nav[aria-label="面包屑导航"] a {
  color: var(--text-muted);
  font-weight: 600;
}

main > nav[aria-label="面包屑导航"] a:hover {
  color: var(--primary);
}

/* ============ Sections ============ */
main > section {
  margin: 28px 0;
  padding: clamp(20px, 4vw, 40px);
  background: var(--surface-glass);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

main > section:hover {
  box-shadow: var(--shadow-lg);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Hero */
#hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  color: #fff;
  border: 0;
  box-shadow: var(--shadow-glow);
  margin-top: 20px;
  padding: clamp(26px, 5vw, 56px);
}

#hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 173, 85, 0.55), transparent 68%);
  filter: blur(20px);
  animation: floatSlow 9s ease-in-out infinite;
  pointer-events: none;
}

#hero::after {
  content: "";
  position: absolute;
  inset: auto auto -50% -20%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 100, 166, 0.5), transparent 70%);
  filter: blur(24px);
  animation: floatSlow 11s ease-in-out infinite reverse;
  pointer-events: none;
}

#hero > * {
  position: relative;
  z-index: 1;
}

#hero h1 {
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
}

#hero h1::before {
  display: none;
}

#hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.96rem, 1.6vw, 1.06rem);
  max-width: 78ch;
}

#hero strong {
  color: #fff;
  background: linear-gradient(120deg, rgba(246, 173, 85, 0.35), rgba(237, 100, 166, 0.35));
  padding: 1px 6px;
  border-radius: 6px;
  box-shadow: inset 0 -2px 0 rgba(246, 173, 85, 0.6);
}

#hero figure {
  margin: 26px 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform var(--transition);
}

#hero figure:hover {
  transform: translateY(-4px) scale(1.005);
}

#hero figcaption {
  padding: 12px 16px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Brand */
#brand h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gradient-accent);
  vertical-align: middle;
  transform: translateY(-1px);
}

/* Products */
#products ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin-top: 18px;
}

#products ul li {
  position: relative;
  margin: 0;
  padding: 16px 18px 16px 46px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#products ul li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 15px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  border-radius: 50%;
  background: var(--gradient-hero);
  box-shadow: 0 4px 12px rgba(43, 108, 176, 0.35);
}

#products ul li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

/* Scenes */
#scenes h3 {
  color: var(--primary);
}

/* Cases */
#cases blockquote {
  transition: transform var(--transition), box-shadow var(--transition);
}

#cases blockquote:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

/* News */
#news article {
  position: relative;
  padding: 18px 20px;
  margin-bottom: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

#news article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition);
}

#news article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

#news article:hover::before {
  opacity: 1;
}

#news article h3 {
  margin-top: 0;
  font-size: 1.08rem;
}

#news article p:last-child {
  margin-bottom: 0;
}

/* Articles */
#articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  align-items: start;
}

#articles > h2 {
  grid-column: 1 / -1;
}

#articles article {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#articles article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

#articles article h3 {
  margin-top: 0;
  font-size: 1.02rem;
  transition: color var(--transition);
}

#articles article:hover h3 {
  color: var(--primary);
}

#articles article p {
  flex: 1 1 auto;
  font-size: 0.92rem;
}

#articles article a {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(66, 153, 225, 0.1);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

#articles article a::after {
  content: " →";
  transition: transform var(--transition);
  display: inline-block;
}

#articles article a:hover {
  background: var(--gradient-hero);
  color: #fff;
  transform: translateX(2px);
}

#articles article a:hover::after {
  transform: translateX(3px);
}

/* FAQ */
#faq details {
  margin-bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

#faq details:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

#faq details[open] {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

#faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 20px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  transition: color var(--transition), background var(--transition);
  user-select: none;
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  border-radius: 50%;
  background: rgba(66, 153, 225, 0.12);
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

#faq details[open] summary {
  color: var(--primary);
  background: rgba(66, 153, 225, 0.06);
}

#faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  color: #fff;
  background: var(--gradient-hero);
}

#faq details p {
  margin: 0;
  padding: 4px 20px 20px;
  font-size: 0.94rem;
  animation: fadeUp 0.4s ease both;
}

/* HowTo */
#howto ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 16px 18px 16px 60px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  border-radius: 50%;
  background: var(--gradient-hero);
  box-shadow: 0 4px 14px rgba(43, 108, 176, 0.4);
}

#howto ol li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

/* Contact */
#contact address {
  font-style: normal;
  display: grid;
  gap: 8px;
  padding: 20px;
  background: var(--gradient-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}

#contact address p {
  margin: 0;
  font-size: 0.94rem;
}

#contact address a {
  font-weight: 700;
  border-bottom: 1px dashed currentColor;
}

#contact address a:hover {
  color: var(--accent-pink);
}

/* Sitemap & Links */
#sitemap ul,
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#sitemap li,
#links li {
  margin: 0;
}

#sitemap a,
#links a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition), background var(--transition);
}

#sitemap a:hover,
#links a:hover {
  transform: translateY(-2px);
  color: #fff;
  background: var(--gradient-hero);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

/* ============ Footer ============ */
footer {
  margin-top: 40px;
  padding: 44px 20px 28px;
  background: linear-gradient(180deg, transparent, rgba(43, 108, 176, 0.07));
  border-top: 1px solid var(--border);
}

footer > section {
  max-width: var(--max-w);
  margin: 0 auto 26px;
}

footer h2 {
  font-size: 1.1rem;
  padding-left: 14px;
}

footer h2::before {
  width: 5px;
}

footer p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

footer a {
  color: var(--text-secondary);
  font-weight: 600;
}

footer a:hover {
  color: var(--primary);
}

footer section:last-child p:last-child {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 0.82rem;
  text-align: center;
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .header-inner {
    gap: 12px;
    padding: 10px 16px;
  }

  #site-header nav {
    order: 3;
    flex-basis: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #site-header nav::-webkit-scrollbar {
    display: none;
  }

  #site-header nav ul {
    flex-wrap: nowrap;
  }

  #site-header form[role="search"] {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 60px;
  }

  body {
    font-size: 15px;
  }

  main {
    padding: 0 14px 30px;
  }

  main > section {
    margin: 18px 0;
    border-radius: var(--radius-md);
  }

  #hero {
    padding: 24px 18px;
  }

  #hero figure {
    margin-top: 18px;
  }

  #site-header form[role="search"] {
    order: 4;
    flex-basis: 100%;
    margin: 0 0 4px;
  }

  #site-header input[type="search"] {
    width: 100%;
    flex: 1 1 auto;
  }

  #site-header form[role="search"] button {
    padding: 7px 18px;
  }

  #articles {
    grid-template-columns: 1fr;
  }

  #products ul {
    grid-template-columns: 1fr;
  }

  #faq summary {
    padding: 14px 46px 14px 16px;
    font-size: 0.94rem;
  }

  #howto ol li {
    padding: 14px 14px 14px 54px;
  }

  #sitemap a,
  #links a {
    padding: 7px 13px;
    font-size: 0.84rem;
  }

  footer {
    padding: 32px 14px 22px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 1.42rem;
  }

  h2 {
    font-size: 1.22rem;
    padding-left: 14px;
  }

  h2::before {
    width: 5px;
  }

  .logo span {
    font-size: 1.02rem;
  }

  #hero p {
    font-size: 0.92rem;
  }
}

/* ============ Accessibility & motion ============ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection {
  background: rgba(237, 100, 166, 0.28);
  color: var(--text);
}

@media print {
  #site-header,
  #links,
  footer {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  main > section {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}