/* ─── Reset & Base ──────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --green:  #34c759;
      --blue:   #007aff;
      --yellow: #ffcc00;
      --orange: #ff9500;
      --red:    #ff3b30;
      --bg:     #ffffff;
      --bg2:    #f5f5f7;
      --card:   #ffffff;
      --border: rgba(0,0,0,0.08);
      --text1:  #1d1d1f;
      --text2:  #6e6e73;
      --text3:  #86868b;
      --shadow: 0 4px 24px rgba(0,0,0,0.08);
      --radius: 20px;
    }

    @media (prefers-color-scheme: dark) {
      :root {
        --bg:    #000000;
        --bg2:   #1c1c1e;
        --card:  #2c2c2e;
        --border: rgba(255,255,255,0.1);
        --text1: #f5f5f7;
        --text2: #a1a1a6;
        --text3: #6e6e73;
        --shadow: 0 4px 24px rgba(0,0,0,0.4);
      }
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
      background: var(--bg);
      color: var(--text1);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }

    /* ─── Nav ───────────────────────────────────────────────────── */
    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 5%;
      height: 60px;
      background: rgba(255,255,255,0.82);
      backdrop-filter: saturate(180%) blur(20px);
      -webkit-backdrop-filter: saturate(180%) blur(20px);
      border-bottom: 1px solid var(--border);
    }

    @media (prefers-color-scheme: dark) {
      nav { background: rgba(0,0,0,0.82); }
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 17px;
      font-weight: 600;
      color: var(--text1);
    }

    .nav-logo-icon {
      width: 32px;
      height: 32px;
      border-radius: 7px;
      overflow: hidden;
      flex-shrink: 0;
    }

    .nav-logo-icon img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .nav-cta {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--blue);
      color: white;
      padding: 8px 18px;
      border-radius: 980px;
      font-size: 14px;
      font-weight: 500;
      transition: opacity 0.2s;
    }
    .nav-cta:hover { opacity: 0.85; }

    /* ─── Hero ──────────────────────────────────────────────────── */
    .hero {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 100px 5% 80px;
      background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,122,255,0.12) 0%, transparent 70%),
                  var(--bg);
      overflow: hidden;
      position: relative;
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(52, 199, 89, 0.12);
      color: #2aa64b;
      border: 1px solid rgba(52,199,89,0.3);
      border-radius: 980px;
      padding: 5px 14px;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.02em;
      margin-bottom: 24px;
    }

    @media (prefers-color-scheme: dark) {
      .hero-eyebrow { color: var(--green); }
    }

    .hero-eyebrow::before {
      content: '';
      width: 7px; height: 7px;
      border-radius: 50%;
      background: var(--green);
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(0.8); }
    }

    h1 {
      font-size: clamp(40px, 7vw, 80px);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.05;
      max-width: 800px;
      margin-bottom: 24px;
      color: var(--text1);
    }

    h1 span {
      background: linear-gradient(135deg, #007aff 0%, #34c759 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero h1 {
      font-size: clamp(36px, 6vw, 64px);
      max-width: 1000px;
      overflow-wrap: anywhere;
    }

    .hero-sub {
      font-size: clamp(17px, 2.5vw, 22px);
      color: var(--text2);
      max-width: 560px;
      margin-bottom: 44px;
      line-height: 1.5;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
      justify-content: center;
      margin-bottom: 72px;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--text1);
      color: var(--bg);
      padding: 14px 28px;
      border-radius: 980px;
      font-size: 16px;
      font-weight: 600;
      transition: transform 0.15s, opacity 0.15s;
    }
    .btn-primary:hover { transform: scale(1.03); opacity: 0.88; }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--blue);
      font-size: 16px;
      font-weight: 500;
      padding: 14px 8px;
      transition: opacity 0.15s;
    }
    .btn-secondary:hover { opacity: 0.7; }
    .btn-secondary svg { transition: transform 0.15s; }
    .btn-secondary:hover svg { transform: translateX(3px); }

    /* ─── Battery Demo ──────────────────────────────────────────── */
    .battery-demo {
      width: 100%;
      overflow: hidden;
      -webkit-mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent);
      mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent);
    }

    .battery-track {
      display: flex;
      gap: 16px;
      width: max-content;
      animation: scrollLeft 55s linear infinite;
    }

    @keyframes scrollLeft {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

    .battery-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 18px 20px;
      display: flex;
      align-items: center;
      gap: 14px;
      box-shadow: var(--shadow);
      min-width: 170px;
      flex-shrink: 0;
    }

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

    .battery-card-icon {
      font-size: 28px;
      line-height: 1;
      flex-shrink: 0;
    }

    .battery-card-info {
      flex: 1;
      min-width: 0;
    }

    .battery-card-name {
      font-size: 13px;
      font-weight: 600;
      color: var(--text1);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .battery-card-level {
      font-size: 22px;
      font-weight: 700;
      line-height: 1.1;
    }

    .battery-card-bar {
      height: 4px;
      border-radius: 2px;
      background: var(--border);
      margin-top: 5px;
      overflow: hidden;
    }

    .battery-card-bar-fill {
      height: 100%;
      border-radius: 2px;
      animation: barFill 1.2s ease-out both;
    }

    @keyframes barFill {
      from { width: 0 !important; }
    }

    /* ─── Section Wrapper ───────────────────────────────────────── */
    section { padding: 96px 5%; }
    .section-inner { max-width: 1080px; margin: 0 auto; }

    .section-eyebrow {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 12px;
    }

    h2 {
      font-size: clamp(28px, 4.5vw, 48px);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.1;
      margin-bottom: 16px;
    }

    .section-desc {
      font-size: 18px;
      color: var(--text2);
      max-width: 640px;
      line-height: 1.6;
    }

    /* ─── Device Grid ───────────────────────────────────────────── */
    .devices-section { background: var(--bg2); }

    .device-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 16px;
      margin-top: 48px;
    }

    .device-tile {
      background: var(--card);
      border-radius: 20px;
      padding: 28px 16px 22px;
      text-align: center;
      border: 1px solid var(--border);
      transition: transform 0.2s, box-shadow 0.2s;
      cursor: default;
    }

    .device-tile:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    }

    .device-tile-icon { font-size: 40px; margin-bottom: 12px; }
    .device-tile-name {
      font-size: 14px;
      font-weight: 600;
      color: var(--text1);
      margin-bottom: 4px;
    }
    .device-tile-desc { font-size: 12px; color: var(--text3); line-height: 1.4; }

    /* ─── Features ──────────────────────────────────────────────── */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 24px;
      margin-top: 56px;
    }

    .feature-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 24px;
      padding: 36px 32px;
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }

    .feature-card::before {
      content: '';
      position: absolute;
      top: -40px;
      right: -40px;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      opacity: 0.07;
    }

    .feature-card.green::before  { background: var(--green); }
    .feature-card.blue::before   { background: var(--blue); }
    .feature-card.yellow::before { background: var(--yellow); }
    .feature-card.orange::before { background: var(--orange); }
    .feature-card.purple::before { background: #af52de; }
    .feature-card.teal::before   { background: #5ac8fa; }

    .feature-icon-wrap {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      margin-bottom: 20px;
    }

    .feature-card.green  .feature-icon-wrap { background: rgba(52,199,89,0.12); }
    .feature-card.blue   .feature-icon-wrap { background: rgba(0,122,255,0.12); }
    .feature-card.yellow .feature-icon-wrap { background: rgba(255,204,0,0.12); }
    .feature-card.orange .feature-icon-wrap { background: rgba(255,149,0,0.12); }
    .feature-card.purple .feature-icon-wrap { background: rgba(175,82,222,0.12); }
    .feature-card.teal   .feature-icon-wrap { background: rgba(90,200,250,0.12); }

    .feature-card h3 {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 10px;
      letter-spacing: -0.01em;
    }

    .feature-card p {
      font-size: 15px;
      color: var(--text2);
      line-height: 1.65;
    }

    /* ─── iCloud Sync Strip ─────────────────────────────────────── */
    .sync-section {
      background: linear-gradient(135deg, #007aff 0%, #0055d4 100%);
      color: white;
    }

    .sync-section .section-eyebrow { color: rgba(255,255,255,0.7); }
    .sync-section h2               { color: white; }
    .sync-section .section-desc    { color: rgba(255,255,255,0.8); }

    .sync-devices {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-top: 48px;
      flex-wrap: wrap;
    }

    .sync-device {
      background: rgba(255,255,255,0.15);
      border: 1px solid rgba(255,255,255,0.25);
      border-radius: 16px;
      padding: 16px 22px;
      text-align: center;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

    .sync-device-icon { font-size: 32px; margin-bottom: 8px; }
    .sync-device-name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9); }

    .sync-arrow {
      font-size: 24px;
      color: rgba(255,255,255,0.4);
    }

    .sync-cloud {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }

    .sync-cloud-icon {
      width: 64px;
      height: 64px;
      background: rgba(255,255,255,0.2);
      border: 1px solid rgba(255,255,255,0.3);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32px;
    }

    .sync-cloud-label {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.7);
    }

    /* ─── Widget Section ────────────────────────────────────────── */
    .widgets-section { background: #313646; padding-top: 64px; padding-bottom: 64px; }

    /* Always use dark-theme text inside widgets section */
    .widgets-section,
    .widgets-section h2,
    .widgets-section h3,
    .widgets-section .section-eyebrow,
    .widgets-section .widget-info h3 { color: #f5f5f7; }
    .widgets-section .widget-info p,
    .widgets-section .section-desc { color: #a1a1a6; }
    .widgets-section .widget-size-tag {
      background: rgba(255,255,255,0.08);
      border-color: rgba(255,255,255,0.12);
      color: #a1a1a6;
    }

    .widget-showcase {
      display: flex;
      gap: 24px;
      margin-top: 32px;
      align-items: flex-start;
      flex-wrap: wrap;
    }

    .widget-preview {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 24px;
      box-shadow: var(--shadow);
      overflow: hidden;
      flex: 1;
      min-width: 240px;
    }

    .widget-preview-header {
      padding: 16px 20px;
      border-bottom: 1px solid var(--border);
      font-size: 13px;
      font-weight: 600;
      color: var(--text3);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .widget-preview-body { padding: 20px; }

    .widget-device-row {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 0;
      border-bottom: 1px solid var(--border);
    }

    .widget-device-row:last-child { border-bottom: none; }

    .widget-device-emoji { font-size: 22px; }

    .widget-device-meta { flex: 1; min-width: 0; }
    .widget-device-name-text {
      font-size: 14px;
      font-weight: 600;
      color: var(--text1);
    }
    .widget-device-pct {
      font-size: 13px;
      color: var(--text2);
    }

    .widget-device-badge {
      font-size: 13px;
      font-weight: 700;
      padding: 3px 9px;
      border-radius: 980px;
    }

    .badge-green  { background: rgba(52,199,89,0.15);  color: #2aa64b; }
    .badge-yellow { background: rgba(255,204,0,0.15);  color: #b89000; }
    .badge-orange { background: rgba(255,149,0,0.15);  color: #c97000; }
    .badge-red    { background: rgba(255,59,48,0.15);  color: #d90000; }

    @media (prefers-color-scheme: dark) {
      .badge-green  { color: var(--green); }
      .badge-yellow { color: var(--yellow); }
      .badge-orange { color: var(--orange); }
      .badge-red    { color: var(--red); }
    }

    .widget-info {
      flex: 1;
      min-width: 260px;
    }

    .widget-info h3 {
      font-size: 26px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 14px;
    }

    .widget-info p {
      font-size: 16px;
      color: var(--text2);
      line-height: 1.6;
      margin-bottom: 12px;
    }

    .widget-sizes {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 20px;
    }

    .widget-size-tag {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 980px;
      padding: 5px 14px;
      font-size: 13px;
      font-weight: 500;
      color: var(--text2);
    }

    @media (prefers-color-scheme: dark) {
      .widget-size-tag { background: var(--card); }
    }

    .widget-img {
      flex: 1;
      min-width: 280px;
      max-width: 520px;
      margin-bottom: -64px;
    }
    .widget-img img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 2px;
      transform: translate(-16px, -32px);
    }

    /* ─── FAQ / How it works ────────────────────────────────────── */
    .faq-list {
      margin-top: 48px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      max-width: 720px;
    }

    .faq-item {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 16px;
      overflow: hidden;
    }

    .faq-question {
      width: 100%;
      text-align: left;
      background: none;
      border: none;
      cursor: pointer;
      padding: 20px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      font-family: inherit;
      font-size: 16px;
      font-weight: 600;
      color: var(--text1);
    }

    .faq-chevron {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
      color: var(--text3);
      transition: transform 0.25s;
    }

    .faq-item[open] .faq-chevron { transform: rotate(180deg); }

    .faq-answer {
      font-size: 15px;
      color: var(--text2);
      line-height: 1.7;
      padding: 0 24px;
    }

    .faq-item[open] .faq-answer {
      padding: 0 24px 20px;
    }

    /* ─── CTA ───────────────────────────────────────────────────── */
    .cta-section {
      text-align: center;
      background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(0,122,255,0.1) 0%, transparent 70%),
                  var(--bg);
    }

    .cta-section h2 {
      font-size: clamp(30px, 5vw, 56px);
    }

    .cta-section .section-desc {
      margin: 0 auto 44px;
    }

    .cta-badges {
      display: flex;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .appstore-badge {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--text1);
      color: var(--bg);
      padding: 13px 22px;
      border-radius: 14px;
      text-decoration: none;
      transition: transform 0.15s, opacity 0.15s;
    }

    @media (prefers-color-scheme: dark) {
      .appstore-badge-sub { color: rgba(255,255,255,0.5); }
    }

    /* ─── Platform Pills ────────────────────────────────────────── */
    .platform-pills {
      display: flex;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 28px;
    }

    .platform-pill {
      display: flex;
      align-items: center;
      gap: 6px;
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 980px;
      padding: 6px 16px;
      font-size: 13px;
      font-weight: 500;
      color: var(--text2);
    }

    @media (prefers-color-scheme: dark) {
      .platform-pill { background: var(--card); }
    }

    /* ─── Footer ────────────────────────────────────────────────── */
    footer {
      background: var(--bg2);
      border-top: 1px solid var(--border);
      padding: 48px 5%;
      text-align: center;
    }

    .footer-inner {
      max-width: 1080px;
      margin: 0 auto;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 24px;
    }

    .footer-logo-icon {
      width: 36px;
      height: 36px;
      border-radius: 9px;
      overflow: hidden;
      flex-shrink: 0;
    }

    .footer-logo-icon img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .footer-links {
      display: flex;
      justify-content: center;
      gap: 24px;
      flex-wrap: wrap;
      margin-bottom: 24px;
    }

    .footer-links a {
      font-size: 14px;
      color: var(--text2);
      transition: color 0.15s;
    }
    .footer-links a:hover { color: var(--text1); }

    .footer-legal {
      font-size: 13px;
      color: var(--text3);
      line-height: 1.6;
    }

    /* ─── Responsive ────────────────────────────────────────────── */
    @media (max-width: 900px) {
      .device-grid { grid-template-columns: repeat(4, 1fr); }
    }

    @media (max-width: 640px) {
      section { padding: 72px 5%; }
      .sync-devices { gap: 8px; }
      .sync-arrow   { display: none; }
      .battery-card { min-width: 140px; }
      .features-grid { grid-template-columns: 1fr; }
      .device-grid { grid-template-columns: repeat(3, 1fr); }
    }

/* Localization controls share the site's light and dark palettes. */
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-link { color: var(--text2); font-size: 14px; font-weight: 500; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--blue); }
.language-picker { position: relative; font-size: 14px; }
.language-picker summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg2);
  color: var(--text1);
}
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker ul {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 220px;
  max-height: min(65vh, 480px);
  overflow-y: auto;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.language-picker a { display: block; padding: 8px 12px; border-radius: 8px; }
.language-picker a:hover, .language-picker a[aria-current="page"] { background: var(--bg2); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.language-suggestion {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 12px 5%;
  background: var(--bg2);
  font-size: 14px;
}
.language-suggestion[hidden] { display: none; }
.suggested-language { color: var(--blue); text-decoration: underline; }
.language-dismiss { border: 0; background: transparent; color: var(--text1); cursor: pointer; font-size: 24px; padding: 0 8px; }
.hero-actions { flex-wrap: wrap; }
.btn-primary, .btn-secondary, .nav-cta { max-width: 100%; text-align: center; }
.device-tile, .feature-card { min-width: 0; }
.device-tile-name, .device-tile-desc, .feature-card h3 { overflow-wrap: anywhere; }
.faq-question { text-align: start; }
.faq-chevron { flex-shrink: 0; }
html:lang(zh) h1, html:lang(ja) h1, html:lang(ko) h1 { letter-spacing: 0; line-height: 1.2; }
html:lang(ja) h1 { font-size: clamp(28px, 8vw, 80px); }
html:lang(ko) h1, html:lang(ko) h2, html:lang(ko) h3 { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  nav { height: auto; min-height: 60px; flex-wrap: wrap; gap: 10px; padding: 10px 5%; }
  .nav-logo { width: 100%; }
  .nav-actions { width: 100%; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
  .language-picker { font-size: 13px; }
  .language-picker ul { left: 0; right: auto; }
  .nav-cta { font-size: 13px; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* App help articles use native disclosures, including without JavaScript. */
.faq-question { list-style: none; }
.faq-question::-webkit-details-marker { display: none; }
.faq-item { scroll-margin-top: 130px; }
.faq-guides-title { font-size: 26px; margin-top: 64px; }
.app-faq-list { margin-top: 24px; }
.faq-article-body { overflow-wrap: anywhere; }
.faq-article-body p, .faq-article-body ul, .faq-article-body ol, .faq-article-body pre { margin: 0 0 16px; }
.faq-article-body h3 { font-size: 19px; margin: 24px 0 12px; color: var(--text1); }
.faq-article-body h4 { font-size: 16px; margin: 20px 0 10px; color: var(--text1); }
.faq-article-body li + li { margin-top: 8px; }
.faq-article-body ul, .faq-article-body ol { padding-inline-start: 24px; }
.faq-article-body a { color: var(--blue); text-decoration: underline; }
.faq-article-body img { width: auto; max-width: 100%; max-height: 640px; height: auto; margin: 20px auto; border-radius: 12px; }
.faq-article-body pre { padding: 16px; background: var(--bg2); border-radius: 12px; white-space: pre-wrap; }
.faq-article-body code { font-size: 0.9em; }
.faq-article-body hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
.faq-action-note { padding: 12px 16px; background: var(--bg2); border-radius: 12px; }

/* Dedicated FAQ pages share the landing page's palette and typography. */
.faq-page { padding: 64px 5% 96px; }
.faq-page-inner { max-width: 800px; margin: 0 auto; }
.faq-back-link { display: inline-block; margin-bottom: 40px; color: var(--blue); font-size: 15px; }
.faq-page h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.15; overflow-wrap: anywhere; }
.faq-page .section-desc { max-width: 720px; }
.faq-page .faq-list { max-width: none; margin-top: 24px; }
.faq-quick-title { font-size: 26px; margin-top: 48px; }
.faq-page .faq-guides-title { font-size: 26px; }
.guides-section { padding: 56px 5%; border-top: 1px solid var(--border); }
.guides-section h2 { font-size: clamp(26px, 4vw, 36px); }
.guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.guide-card { display: block; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg2); }
.guide-card:hover, .guide-card:focus-visible { border-color: var(--blue); }
.guide-card h3 { font-size: 19px; line-height: 1.4; margin-bottom: 12px; }
.guide-card p { font-size: 15px; color: var(--text2); }
.guide-body { margin-top: 36px; line-height: 1.75; overflow-wrap: anywhere; }
.guide-body h2 { font-size: 26px; margin: 36px 0 16px; }
.guide-body p, .guide-body ol, .guide-body ul { margin-bottom: 20px; }
.guide-body ol, .guide-body ul { padding-left: 24px; }
.guide-body li { margin-bottom: 12px; }
.guide-body a, .not-found-languages a, .faq-page .section-desc a { color: var(--blue); text-decoration: underline; }
.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 36px; }
.guide-byline { margin-top: 20px; color: var(--text2); font-size: 14px; }
.guide-byline a, .context-guide-link { color: var(--blue); text-decoration: underline; }
.context-guide-link { display: block; margin-top: 20px; font-size: 15px; line-height: 1.5; }
.device-tile-link:hover, .device-tile-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.not-found-languages { display: flex; flex-wrap: wrap; gap: 16px 24px; list-style: none; padding: 0; margin-top: 32px; }
@media (max-width: 640px) {
  .faq-page { padding-top: 32px; padding-bottom: 64px; }
  .faq-back-link { margin-bottom: 32px; }
  .guide-cards { grid-template-columns: 1fr; }
}

/* Editorial comparisons are published only in languages with reviewed copy. */
.comparison-page { padding: 64px 5% 80px; }
.comparison-inner { max-width: 1600px; margin: 0 auto; }
.comparison-hero { max-width: 1240px; margin: 0 auto 48px; }
.comparison-hero-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 64px; margin-top: 28px; }
.comparison-hero h1 { font-size: clamp(36px, 4.3vw, 60px); line-height: 1.2; }
.comparison-hero .section-desc { max-width: 740px; font-size: 18px; line-height: 1.8; }
.comparison-hero .guide-actions { margin-top: 28px; gap: 12px 24px; }
.comparison-disclosure { max-width: 820px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--border); }
.comparison-disclosure .guide-byline { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 10px; }
.comparison-disclosure > p:last-child { font-size: 13px; color: var(--text2); line-height: 1.8; }
.comparison-body { font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.comparison-body > p, .comparison-body > ul, .comparison-body > ol,
.comparison-body > h2, .comparison-body > h3 { max-width: 820px; margin-left: auto; margin-right: auto; }
.comparison-body p, .comparison-body ul, .comparison-body ol { margin-bottom: 18px; color: var(--text2); }
.comparison-body strong { font-weight: 600; color: var(--text1); }
.comparison-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.comparison-body h2 { margin-top: 64px; margin-bottom: 22px; padding-top: 32px; border-top: 1px solid var(--border); font-size: clamp(25px, 3vw, 32px); line-height: 1.45; scroll-margin-top: 130px; }
.comparison-body h3 { margin-top: 36px; margin-bottom: 12px; font-size: 21px; line-height: 1.5; }
.comparison-body h3[id] { scroll-margin-top: 100px; }
.comparison-body ul, .comparison-body ol { padding-left: 24px; }
.comparison-body li + li { margin-top: 16px; }
.comparison-body blockquote { max-width: 820px; margin: 0 auto 48px; padding: 24px 28px; border: 1px solid rgba(52,199,89,0.28); border-left: 4px solid var(--green); border-radius: 16px; background: rgba(52,199,89,0.06); }
.comparison-body blockquote p:last-child { margin-bottom: 0; }
.comparison-table-scroll { overflow-x: auto; margin: 28px 0 16px; border: 1px solid var(--border); border-radius: 18px; background: var(--bg); }
.comparison-table-scroll:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.comparison-table-scroll table { width: 100%; min-width: 1280px; table-layout: fixed; border-collapse: collapse; font-size: 14px; line-height: 1.75; }
.comparison-table-scroll caption { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.comparison-table-scroll th, .comparison-table-scroll td { padding: 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.comparison-table-scroll th { background: var(--bg2); font-weight: 600; }
.comparison-table-scroll th:nth-child(1) { width: 12%; }
.comparison-table-scroll th:nth-child(2) { width: 15%; }
.comparison-table-scroll th:nth-child(3) { width: 14%; }
.comparison-table-scroll th:nth-child(4) { width: 23%; }
.comparison-table-scroll th:nth-child(5) { width: 20%; }
.comparison-table-scroll th:nth-child(6) { width: 16%; }
.comparison-table-scroll td { color: var(--text2); }
.comparison-table-scroll td:first-child { width: 155px; color: var(--text1); font-weight: 600; }
.comparison-table-scroll th:first-child, .comparison-table-scroll td:first-child { position: sticky; left: 0; z-index: 1; border-right: 1px solid var(--border); }
.comparison-table-scroll td:first-child { background: var(--bg); }
.comparison-table-scroll tbody tr:first-child { background: rgba(52,199,89,0.07); }
.comparison-table-scroll tbody tr:first-child td:first-child { background: linear-gradient(rgba(52,199,89,0.07), rgba(52,199,89,0.07)), var(--bg); }
.comparison-table-scroll tbody tr:last-child td { border-bottom: 0; }
.comparison-table-scroll + p { font-size: 13px; }
.comparison-cta { max-width: 820px; display: flex; align-items: center; flex-wrap: wrap; gap: 20px; padding: 28px; margin: 48px auto 0; border: 1px solid var(--border); border-radius: 20px; background: var(--bg2); }
.comparison-cta img { border-radius: 13px; }
.comparison-cta > div { flex: 1; min-width: 180px; }
.comparison-cta h2 { font-size: 21px; margin-bottom: 4px; }
.comparison-cta p { font-size: 14px; color: var(--text2); }
.comparison-cta .btn-primary { font-size: 14px; padding: 12px 20px; }

/* Illustrations use HTML labels so they stay readable and translate naturally. */
.comparison-feature { max-width: 1240px; margin: 52px auto; padding-bottom: 44px; border-bottom: 1px solid var(--border); scroll-margin-top: 100px; }
.comparison-feature--widgets { border-bottom: 0; }
.comparison-feature-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.comparison-feature-intro h3 { margin: 0 0 22px; font-size: clamp(25px, 2.7vw, 32px); line-height: 1.5; letter-spacing: -0.02em; }
.comparison-feature-intro > p { font-size: 17px; margin-bottom: 0; }
.comparison-feature--custom .comparison-feature-intro, .comparison-feature--notifications .comparison-feature-intro { order: 2; }
.comparison-feature-details { max-width: 820px; margin: 32px auto 0; }
.comparison-feature-details > :last-child { margin-bottom: 0; }
.comparison-symbol { width: 24px; height: 24px; flex: 0 0 auto; }
.comparison-visual { min-width: 0; width: 100%; margin: 0; line-height: 1.45; }
.comparison-visual-stage { padding: 36px; border: 1px solid var(--border); border-radius: 30px; background: radial-gradient(ellipse at 5% 5%, rgba(0,122,255,0.09), transparent 65%), radial-gradient(ellipse at 95% 95%, rgba(52,199,89,0.1), transparent 65%), var(--bg2); }
.comparison-visual figcaption { margin: 12px 8px 0; font-size: 12px; line-height: 1.65; color: var(--text2); text-align: center; }
.comparison-visual strong { color: var(--text1); }
.comparison-visual-stage img { border-radius: 10px; flex-shrink: 0; }
.visual-dashboard { padding: 24px; border: 1px solid var(--border); border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.visual-dashboard-brand { display: flex; align-items: center; gap: 12px; }
.visual-dashboard-brand strong { display: block; font-size: 18px; }
.visual-dashboard-brand span { display: block; font-size: 12px; color: var(--text2); margin-top: 4px; }
.visual-battery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.visual-battery-tile { display: flex; flex-direction: column; align-items: center; padding: 18px 8px; border: 1px solid var(--border); border-radius: 18px; background: var(--bg2); }
.visual-ring { --ring-color: var(--green); position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: conic-gradient(var(--ring-color) var(--charge), var(--border) 0); isolation: isolate; color: var(--text1); }
.visual-ring::before { content: ''; position: absolute; inset: 5px; border-radius: inherit; background: var(--bg2); z-index: -1; }
.visual-ring .comparison-symbol { width: 34px; height: 34px; }
.visual-battery-tile:nth-child(3) .visual-ring { --ring-color: var(--orange); }
.visual-device-name { font-size: 13px; color: var(--text2); margin: 12px 0 4px; }
.visual-battery-tile > strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.visual-dashboard-footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 22px; font-size: 11px; color: var(--text2); }
.visual-dashboard-footer > span { display: flex; align-items: center; gap: 5px; }
.visual-dashboard-footer .comparison-symbol { width: 16px; height: 16px; color: var(--blue); }
.visual-sync-network { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; position: relative; }
.visual-sync-network::before { content: ''; position: absolute; left: 25%; right: 25%; top: 70px; bottom: 70px; border: 2px dashed rgba(0,122,255,0.25); border-radius: 30px; }
.visual-sync-network::after { content: ''; position: absolute; left: 25%; right: 25%; top: 50%; border-top: 2px dashed rgba(0,122,255,0.25); }
.visual-sync-device { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 8px; border: 1px solid var(--border); border-radius: 20px; background: var(--card); box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.visual-sync-device .comparison-symbol { width: 40px; height: 40px; color: var(--blue); }
.visual-sync-device strong { font-size: 14px; }
.visual-sync-device > span { color: var(--text2); font-size: 13px; }
.visual-sync-hub { position: relative; z-index: 1; grid-column: 1 / -1; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 5px; max-width: 90%; padding: 16px 24px; border: 1px solid var(--border); border-radius: 24px; background: var(--card); }
.visual-sync-hub > .comparison-symbol { width: 42px; height: 42px; color: var(--blue); }
.visual-sync-hub > span { font-size: 12px; text-align: center; color: var(--text2); }
.visual-pipeline { max-width: 400px; margin: auto; }
.visual-pipeline-source { text-align: center; }
.visual-pipeline-source > div { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }
.visual-pipeline-source .comparison-symbol { width: 50px; height: 50px; color: var(--blue); padding: 10px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); box-sizing: content-box; }
.visual-pipeline-source > strong { display: block; font-size: 14px; }
.visual-flow-arrow { display: block; text-align: center; color: var(--text3); font-size: 26px; padding: 8px; }
.visual-pipeline-step { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 18px; padding: 18px; background: var(--card); box-shadow: var(--shadow); }
.visual-pipeline-step > .comparison-symbol { width: 36px; height: 36px; color: #8c55d9; }
.visual-pipeline-step > strong { font-size: 16px; flex: 1; min-width: 0; }
.visual-data-value { flex-shrink: 0; font-size: 18px; font-weight: 600; color: #18732e; background: rgba(52,199,89,0.12); border-radius: 9px; padding: 6px 10px; }
.visual-manual-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; color: var(--text2); font-size: 13px; }
.visual-manual-note .comparison-symbol { width: 18px; height: 18px; }
.visual-direct { display: flex; align-items: center; justify-content: center; gap: 36px; padding: 8px 0 24px; }
.visual-precision-phone { width: 148px; min-height: 252px; padding: 12px 8px 18px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; border: 5px solid var(--text1); border-radius: 30px; background: var(--card); box-shadow: var(--shadow); }
.visual-phone-island { width: 44px; height: 12px; border-radius: 12px; background: var(--text1); }
.visual-precision-phone > strong { font-size: 14px; }
.visual-precision-phone .visual-ring { width: 102px; height: 102px; font-size: 29px; font-weight: 600; }
.visual-precision-phone .visual-ring::before { background: var(--card); inset: 6px; }
.visual-precision-badge { color: #005ec4; font-size: 12px; font-weight: 600; border: 1px solid rgba(0,122,255,0.18); border-radius: 20px; padding: 4px 14px; background: rgba(0,122,255,0.08); }
.visual-airpods { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px; border: 1px solid var(--border); border-radius: 24px; background: var(--card); }
.visual-airpods .comparison-symbol { width: 56px; height: 56px; color: var(--text1); }
.visual-airpods > strong { font-size: 14px; }
.visual-airpods > span { font-size: 24px; color: var(--text1); font-weight: 600; }
.visual-direct-label { text-align: center; }
.visual-direct-label > strong { display: block; font-size: 15px; }
.visual-direct-label > span { display: block; color: var(--text2); font-size: 13px; margin-top: 8px; }
.visual-alert-heading { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 24px; font-size: 15px; }
.visual-alert-heading .comparison-symbol { color: var(--blue); }
.visual-notification { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 18px; padding: 16px; background: var(--card); box-shadow: var(--shadow); }
.visual-notification + .visual-notification { margin: 12px 0 0 20px; }
.visual-notification > div { min-width: 0; }
.visual-notification span { display: block; font-size: 10px; letter-spacing: 0.04em; color: var(--text2); }
.visual-notification strong { display: block; font-size: 14px; margin-top: 4px; }
.comparison-visual .visual-notification p { margin: 4px 0 0; color: var(--text2); font-size: 13px; }
.visual-alert-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.visual-alert-types > span { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.6; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); color: var(--text2); }
.visual-alert-types > span:last-child { grid-column: 1 / -1; }
.visual-alert-types .comparison-symbol { width: 19px; height: 19px; color: var(--blue); }
.comparison-visual--widgets .comparison-visual-stage { padding: 12px; background: #303544; }
.comparison-visual--widgets img { width: 100%; height: auto; border-radius: 18px; }
@media (prefers-color-scheme: dark) {
  .visual-data-value { color: #7fe098; }
  .visual-precision-badge { color: #69b2ff; }
  .visual-precision-phone { border-color: #5c6068; }
}
@media (max-width: 1000px) {
  .comparison-hero-layout, .comparison-feature-lead { gap: 32px; }
  .comparison-visual-stage { padding: 24px; }
  .visual-dashboard { padding: 18px; }
  .visual-pipeline-source > div { gap: 14px; }
  .visual-pipeline-source .comparison-symbol { width: 40px; height: 40px; padding: 8px; }
  .visual-direct { gap: 20px; }
  .visual-airpods { padding: 16px; }
}
@media (max-width: 800px) {
  .comparison-hero-layout, .comparison-feature-lead { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .comparison-hero-copy { max-width: 620px; }
  .comparison-visual { max-width: 580px; margin: auto; }
  .comparison-feature--custom .comparison-feature-intro, .comparison-feature--notifications .comparison-feature-intro { order: 0; }
  .comparison-feature { margin: 40px auto; padding-bottom: 32px; }
  .comparison-feature-intro h3 { margin-bottom: 16px; }
  .comparison-feature-details { margin-top: 24px; }
}
@media (max-width: 640px) {
  .comparison-page { padding-top: 32px; padding-bottom: 56px; }
  .comparison-hero { margin-bottom: 32px; }
  .comparison-hero .section-desc { font-size: 16px; }
  .comparison-body blockquote { padding: 20px; }
  .comparison-body h2 { margin-top: 44px; padding-top: 24px; }
  .comparison-body h3 { font-size: 19px; }
  .comparison-cta { padding: 20px; }
  .comparison-disclosure { margin-top: 32px; }
  .comparison-feature-intro h3 { font-size: 24px; }
  .comparison-feature-intro > p { font-size: 16px; }
  .comparison-visual-stage { border-radius: 24px; padding: 22px; }
  .visual-dashboard { padding: 16px; }
  .visual-dashboard-brand { gap: 9px; }
  .visual-dashboard-brand strong { font-size: 16px; }
  .visual-dashboard-brand span { font-size: 11px; }
  .visual-battery-grid { gap: 10px; margin-top: 18px; }
  .visual-ring { width: 64px; height: 64px; }
  .visual-sync-network { gap: 16px; }
  .visual-sync-hub { max-width: 100%; padding: 14px 18px; }
  .visual-pipeline-step { padding: 14px; gap: 9px; }
  .visual-pipeline-step > strong { font-size: 14px; }
  .visual-data-value { font-size: 15px; padding: 5px 7px; }
  .visual-direct { gap: 20px; }
  .visual-precision-phone { width: 128px; min-height: 232px; }
  .visual-precision-phone .visual-ring { width: 88px; height: 88px; font-size: 25px; }
  .visual-airpods { padding: 16px 14px; }
  .visual-airpods .comparison-symbol { width: 44px; height: 44px; }
  .visual-alert-types { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .visual-alert-types > span:last-child { grid-column: auto; }
  .comparison-visual--widgets .comparison-visual-stage { padding: 8px; }
}
@media (max-width: 360px) {
  .comparison-visual-stage { padding: 16px; }
  .visual-pipeline-source > div { gap: 10px; }
  .visual-pipeline-source .comparison-symbol { width: 34px; height: 34px; }
  .visual-direct { gap: 12px; }
}
@media (max-width: 360px) {
  html:lang(zh-Hans) .nav-actions { gap: 5px; }
  html:lang(zh-Hans) .nav-link { font-size: 13px; }
  html:lang(zh-Hans) .language-picker summary { padding: 8px; }
  html:lang(zh-Hans) .nav-cta { font-size: 12px; padding: 8px 10px; }
}
