/*
Theme Name: ToDesk Remote Handbook 2026 News
Theme URI: https://todask.com.cn/
Author: ToDesk Editorial
Description: A clean editorial guide theme for ToDesk remote control content.
Version: 1.1.0
Text Domain: td-handbook
*/

:root {
  --ink: #112b32;
  --muted: #61777c;
  --paper: #f7fbfa;
  --white: #ffffff;
  --teal: #087f78;
  --teal-deep: #075c58;
  --mint: #dff3ef;
  --amber: #f4b84a;
  --line: #d7e6e3;
  --shadow: 0 18px 50px rgba(15, 69, 68, .11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(215, 230, 227, .85);
  background: rgba(247, 251, 250, .94);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--teal);
  border-radius: 10px 10px 10px 3px;
  font-family: Georgia, serif;
  font-size: 19px;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #38565c;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--teal);
}

.header-cta {
  padding: 10px 17px;
  color: white;
  background: var(--teal);
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 74px;
  background:
    radial-gradient(circle at 82% 18%, rgba(244, 184, 74, .16), transparent 28%),
    linear-gradient(135deg, #effaf7 0%, #f9fcfb 55%, #edf7f5 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 58% 0 0;
  opacity: .45;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to right, black, transparent);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--amber);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 24px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--teal);
  border-radius: 7px;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(8, 127, 120, .2);
}

.button-secondary {
  color: var(--teal-deep);
  background: rgba(255, 255, 255, .7);
}

.hero-media {
  position: relative;
  padding: 17px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px 24px 24px 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 15px 15px 15px 4px;
}

.floating-note {
  position: absolute;
  right: -18px;
  bottom: 30px;
  width: 170px;
  padding: 15px 17px;
  color: white;
  background: var(--teal-deep);
  border-radius: 10px 10px 10px 2px;
  box-shadow: 0 16px 38px rgba(7, 92, 88, .2);
}

.floating-note strong {
  display: block;
  color: #ffe1a0;
  font-size: 20px;
}

.floating-note span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
}

.quick-points {
  position: relative;
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(15, 69, 68, .07);
}

.quick-point {
  padding: 22px 25px;
}

.quick-point + .quick-point {
  border-left: 1px solid var(--line);
}

.quick-point strong {
  display: block;
  margin-bottom: 5px;
  color: var(--teal-deep);
}

.quick-point span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 90px 0;
}

.section-white {
  background: white;
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

h2 {
  margin-bottom: 18px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.25;
  letter-spacing: 0;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 66px;
  align-items: start;
}

.story-copy h3 {
  margin: 30px 0 10px;
  font-size: 21px;
}

.story-copy p {
  color: #435f64;
}

.story-copy blockquote {
  margin: 30px 0 0;
  padding: 21px 24px;
  color: var(--teal-deep);
  background: var(--mint);
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 19px;
}

.story-visual {
  position: sticky;
  top: 100px;
  padding: 14px;
  background: #f0f8f6;
  border-radius: 20px 20px 20px 7px;
}

.story-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px 12px 12px 4px;
}

.story-visual figcaption {
  padding: 12px 5px 2px;
  color: var(--muted);
  font-size: 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 238px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform .2s ease, border-color .2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #9bcac3;
}

.feature-index {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: var(--teal-deep);
  background: var(--mint);
  border-radius: 50%;
  font-weight: 800;
}

.feature-card h3 {
  margin-bottom: 9px;
  font-size: 19px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.steps::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 25px;
  height: 1px;
  background: #b9d8d3;
}

.step {
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 21px;
  color: white;
  background: var(--teal);
  border: 7px solid var(--paper);
  border-radius: 50%;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 9px;
  font-size: 18px;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.scenario-band {
  color: white;
  background: var(--teal-deep);
}

.scenario-band .section-head p {
  color: #bed7d3;
}

.scenario-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 52px;
  align-items: center;
}

.scenario-image {
  position: relative;
}

.scenario-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px 18px 18px 5px;
}

.scenario-list {
  display: grid;
  gap: 17px;
}

.scenario-item {
  padding: 18px 20px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
}

.scenario-item strong {
  display: block;
  margin-bottom: 4px;
}

.scenario-item span {
  color: #c9dedb;
  font-size: 14px;
}

.security-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.security-image {
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.security-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 11px;
}

.check-list {
  display: grid;
  gap: 17px;
  margin-top: 28px;
}

.check-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 13px;
}

.check-mark {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  margin-top: 4px;
  color: white;
  background: var(--teal);
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
}

.check-item strong {
  display: block;
  margin-bottom: 3px;
}

.check-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.faq-item p {
  max-width: 800px;
  margin-bottom: 0;
  color: var(--muted);
}

.friend-links {
  padding: 18px 0;
  background: #eff5f3;
  border-top: 1px solid var(--line);
  color: #667c80;
  font-size: 13px;
}

.friend-links-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.friend-links strong {
  color: #425b60;
}

.friend-links a:hover,
.friend-links a:focus {
  color: var(--teal);
  text-decoration: underline;
}

.site-footer {
  padding: 48px 0 28px;
  color: #d8e7e4;
  background: #092e30;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 50px;
  padding-bottom: 30px;
}

.footer-brand {
  margin-bottom: 13px;
  color: white;
  font-size: 21px;
  font-weight: 800;
}

.site-footer p {
  max-width: 640px;
  margin-bottom: 0;
  color: #a9c2be;
  font-size: 14px;
}

.footer-meta {
  text-align: right;
  color: #9cb7b3;
  font-size: 13px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #8facaa;
  font-size: 12px;
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero-grid,
  .story-grid,
  .scenario-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-grid {
    gap: 42px;
  }

  .floating-note {
    right: 24px;
  }

  .quick-points,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .quick-point + .quick-point {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .story-visual {
    position: static;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1160px);
  }

  .header-inner {
    min-height: 65px;
  }

  .brand-copy small {
    display: none;
  }

  .header-cta {
    padding: 8px 13px;
    font-size: 12px;
  }

  .hero {
    padding: 42px 0 48px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions .button {
    flex: 1 1 145px;
  }

  .floating-note {
    right: 18px;
    bottom: 17px;
    width: 145px;
    padding: 11px 13px;
  }

  .quick-points {
    margin-top: 36px;
  }

  .section {
    padding: 64px 0;
  }

  .story-grid,
  .scenario-grid,
  .security-grid {
    gap: 34px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-meta {
    text-align: left;
  }
}
