/* The AnyPcs website. One stylesheet, no fonts or images from elsewhere (the hosting's content security policy allows only this origin).
   The pages are made by scripts/build-site.mjs; this file is written by hand. */
:root {
  --teal: #12163a; --teal-dark: #0b0f2a; --teal-soft: #232a5a;
  --red: #fb923c; --red-dark: #f97316;
  --ink: #1c2b2f; --muted: #587076; --line: #dbe4e6; --soft: #f2f6f7; --white: #fff;
  --blue: #2f6fdb; --blue-t: #e5eefc;
  --green: #2a9558; --green-t: #e1f4e9;
  --orange: #dc8222; --orange-t: #fdeedb;
  --purple: #7549cc; --purple-t: #ece6fa;
  --tealc: #1c8688; --tealc-t: #dcf1f1;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
code { font: .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--soft); padding: .1em .35em; border-radius: 5px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(900px, 100% - 48px); }
.center { text-align: center; margin-top: 2rem; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; }
.utility { background: var(--white); border-bottom: 1px solid var(--line); font-size: .82rem; }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.4rem; }
.utility-label { color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.utility nav { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: flex-end; }
.utility a { color: var(--ink); text-decoration: none; }
.utility a:hover { color: var(--red); }
.mainbar { background: var(--teal); color: var(--white); }
.mainbar .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: inherit; text-decoration: none; font-size: 1.6rem; white-space: nowrap; }
.brand b { font-weight: 800; }
.logo { width: 3rem; height: 3rem; color: var(--white); }
.primary { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.primary ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.primary li { position: relative; }
.primary a { color: #e7f0f1; text-decoration: none; padding: .55rem .8rem; border-radius: 8px; display: inline-flex; align-items: center; gap: .35rem; font-size: .95rem; }
.primary a:hover, .primary a:focus-visible, .primary a[aria-current="page"] { color: var(--white); background: var(--teal-soft); }
.caret { width: 0; height: 0; border: 4px solid transparent; border-top-color: currentColor; margin-top: 4px; }
.primary ul.menu { display: none; position: absolute; left: 0; top: 100%; min-width: 16rem; padding: .4rem; background: var(--white); border-radius: 12px; box-shadow: 0 14px 40px rgb(0 0 0 / .25); flex-direction: column; gap: 0; }
.primary .has-menu:hover > ul.menu, .primary .has-menu:focus-within > ul.menu { display: flex; }
.menu a { color: var(--ink); width: 100%; border-radius: 8px; }
.menu a:hover, .menu a:focus-visible { background: var(--soft); color: var(--red); }
.menu .ic { color: var(--muted); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; margin-left: auto; cursor: pointer; padding: .4rem; border-radius: 8px; }
.nav-burger .ic { width: 1.6rem; height: 1.6rem; }
.nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--white); }

/* ---------- Buttons ---------- */
.button { display: inline-block; padding: .8rem 1.6rem; border-radius: 6px; font-weight: 700; text-decoration: none; letter-spacing: .01em; border: 2px solid transparent; text-align: center; }
.button.red { background: var(--red); color: #2a1203; }
.button.red:hover, .button.red:focus-visible { background: var(--red-dark); }
.button.ghost { color: var(--white); border-color: rgb(255 255 255 / .55); }
.button.ghost:hover { background: rgb(255 255 255 / .12); }
.button.small { padding: .45rem 1rem; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { background: var(--teal); color: var(--white); text-align: center; padding: 5.5rem 0 5rem; }
.hero.small { padding: 3.5rem 0 3rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.01em; margin-bottom: .6em; }
.hero.small h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.hero .lead { font-size: 1.15rem; color: #d3e2e4; max-width: 46rem; margin: 0 auto 1.8rem; }
.cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin: 0 0 1.2rem; }
.hero-note { color: #a9c1c4; font-size: .9rem; margin: 0; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 1.5rem 0 0; }
.jump a { color: var(--white); text-decoration: none; padding: .35rem .9rem; border: 1px solid rgb(255 255 255 / .4); border-radius: 99px; font-size: .9rem; }
.jump a:hover { background: rgb(255 255 255 / .14); }

/* ---------- Sections ---------- */
.section { padding: 4.2rem 0; scroll-margin-top: 7rem; }
.section.soft { background: var(--soft); }
.section h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); text-align: center; }
.section-lead { text-align: center; color: var(--muted); max-width: 44rem; margin: 0 auto 2.2rem; }
.group-title { display: flex; align-items: center; justify-content: center; gap: .6rem; }
.group-title .ic { width: 1.5em; height: 1.5em; }
.grid { display: grid; gap: 1.25rem; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }

.blue { --c: var(--blue); --t: var(--blue-t); }
.green { --c: var(--green); --t: var(--green-t); }
.orange { --c: var(--orange); --t: var(--orange-t); }
.purple { --c: var(--purple); --t: var(--purple-t); }
.teal { --c: var(--tealc); --t: var(--tealc-t); }
.group-title.blue, .group-title.green, .group-title.orange, .group-title.purple, .group-title.teal { color: var(--c); }
.group-title span { color: var(--ink); }

.card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--c, var(--tealc)); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; display: flex; flex-direction: column; scroll-margin-top: 7rem; }
.card:target { box-shadow: 0 0 0 3px var(--c, var(--tealc)); }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.8rem; height: 2.8rem; border-radius: 12px; margin-bottom: .9rem; background: var(--t, var(--tealc-t)); color: var(--c, var(--tealc)); }
.card-icon .ic { width: 1.5rem; height: 1.5rem; }
.badges { margin: auto 0 0; padding-top: .4rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.badge { font-size: .74rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: .15rem .6rem; border-radius: 99px; background: var(--t, var(--tealc-t)); color: var(--c, var(--tealc)); }

/* ---------- How it works, band, lists ---------- */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: none; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); margin: 0; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--red); color: var(--white); font-weight: 800; margin-bottom: .8rem; }
.band { background: var(--teal-dark); color: var(--white); padding: 4.2rem 0; }
.band h2 { text-align: left; }
.band p { color: #cfe0e2; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.checks li { display: flex; gap: .8rem; align-items: flex-start; background: rgb(255 255 255 / .07); padding: .9rem 1.1rem; border-radius: 12px; }
.checks .ic { color: #6fd39a; margin-top: .2rem; }

details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: .75rem; }
summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; list-style-position: inside; }
summary:focus-visible { outline: 2px solid var(--blue); border-radius: 12px; }
details p { padding: 0 1.2rem 1rem; margin: 0; color: var(--muted); }
.note { background: var(--tealc-t); border-left: 4px solid var(--tealc); padding: 1rem 1.2rem; border-radius: 8px; margin: 2rem 0; }
.fine-print { color: var(--muted); font-size: .9rem; margin-top: 1rem; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.matrix { width: 100%; border-collapse: collapse; }
.matrix th, .matrix td { padding: .6rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.matrix thead th { background: var(--teal); color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.matrix thead th:not(:first-child), .matrix td { text-align: center; width: 7.5rem; }
.matrix tbody th[scope="row"] { font-weight: 500; }
.matrix .group-row th { background: var(--soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.matrix tr:last-child th, .matrix tr:last-child td { border-bottom: 0; }
.yes { color: var(--green); }
.yes .ic { width: 1.3rem; height: 1.3rem; }
.no { color: #9db0b4; }

/* ---------- Footer ---------- */
.site-foot { background: var(--teal-dark); color: #c3d6d9; padding: 3rem 0 2rem; }
.site-foot a { color: #e7f0f1; text-decoration: none; }
.site-foot a:hover { color: var(--white); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-foot h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.site-foot .brand { color: var(--white); margin-bottom: .8rem; }
.fine { border-top: 1px solid rgb(255 255 255 / .15); margin: 2rem 0 0; padding-top: 1.2rem; font-size: .85rem; color: #9db7ba; }

/* ---------- Narrow screens ---------- */
@media (max-width: 960px) {
  .grid.three { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .band h2 { text-align: center; }
}
@media (max-width: 860px) {
  .utility-label { display: none; }
  .utility nav { justify-content: center; width: 100%; gap: .9rem; }
  .nav-burger { display: inline-flex; }
  .primary { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: .5rem; margin: 0; padding: .75rem 24px 1.1rem; background: var(--teal); border-top: 1px solid var(--teal-soft); }
  .nav-toggle:checked ~ .primary { display: flex; }
  .primary ul { flex-direction: column; align-items: stretch; }
  .primary a { width: 100%; }
  .primary ul.menu { display: flex; position: static; box-shadow: none; background: transparent; padding: 0 0 0 1rem; min-width: 0; }
  .menu a { color: #cfe0e2; }
  .menu .ic { color: #9db7ba; }
  .menu a:hover { background: var(--teal-soft); color: var(--white); }
  .mainbar { position: relative; }
  .primary .button { width: 100%; }
  .caret { display: none; }
}
@media (max-width: 600px) {
  .grid.three, .grid.two { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 3.2rem; }
  .section { padding: 3rem 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .matrix th, .matrix td { padding: .5rem .6rem; font-size: .9rem; }
  .matrix thead th:not(:first-child), .matrix td { width: 4.6rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.note + h2 { margin-top: 2.5rem; }

/* ---------- Comparison page ---------- */
.compare { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare th, .compare td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--teal); color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.compare tbody th { width: 18%; font-weight: 700; background: var(--soft); }
.compare td p { margin: .3rem 0 0; color: var(--muted); font-size: .94rem; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.mark { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .85rem; }
.mark.yes { color: var(--green); }
.mark.partial { color: var(--orange); }
.mark.no { color: #c0392b; }
.mark.unknown { color: var(--muted); }
.mark.soon { color: var(--blue); }
.legend { display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 0 0 1rem; }
.src { font-size: .8rem; text-decoration: none; white-space: nowrap; }
.src:hover { text-decoration: underline; }
.plain { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.plain li { margin-bottom: .6rem; }
.plain.wide { max-width: 52rem; }
.gap-top { margin-top: 2rem; }
.sources { padding-left: 1.4rem; }
.sources li { margin-bottom: .5rem; }
.sources .url { color: var(--muted); font-size: .85rem; margin-left: .4rem; word-break: break-all; }
.legend + .table-wrap { margin-top: 0; }
@media (max-width: 760px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tbody th { width: 100%; background: var(--teal); color: var(--white); border-bottom: 0; }
  .compare td { border-bottom: 1px solid var(--line); }
  .compare td:nth-of-type(1)::before { content: "AnyPcs"; display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); font-weight: 700; margin-bottom: .2rem; }
  .compare td:nth-of-type(2)::before { content: "Zoho Assist"; display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--orange); font-weight: 700; margin-bottom: .2rem; }
}

/* Works with: the function table has four columns, and the group rows span them. */
.compare.works tbody th[scope="row"] { width: 22%; }
.compare.works td p { margin: .25rem 0 0; font-size: .86rem; }
.compare.works .group-row th { background: var(--soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); width: auto; }
.card.top .badges { margin: 0 0 .5rem; padding-top: 0; align-items: center; }
.matrix.browsers { table-layout: fixed; }
.matrix.browsers thead th:nth-child(1) { width: 24%; }
.matrix.browsers thead th:nth-child(2) { width: 22%; }
.matrix.browsers td { width: auto; text-align: left; }
.matrix.browsers thead th:not(:first-child) { text-align: left; }
@media (max-width: 760px) {
  .compare.works tbody th[scope="row"] { width: 100%; }
  .compare.works .group-row th { background: var(--soft); color: var(--muted); }
  .compare.works td::before { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; margin-bottom: .2rem; }
  .compare.works td:nth-of-type(1)::before { content: "Mac, macOS 13 and later"; color: var(--blue); }
  .compare.works td:nth-of-type(2)::before { content: "Mac, macOS 12.3 to 12.7"; color: var(--blue); }
  .compare.works td:nth-of-type(3)::before { content: "Windows 10 and 11"; color: var(--green); }
  .matrix.browsers th, .matrix.browsers td { display: block; width: 100%; }
  .matrix.browsers thead { display: none; }
}

/* ---------- Knowledge base ---------- */
.grid.four { grid-template-columns: repeat(4, 1fr); }
.note.warn { background: var(--orange-t); border-left-color: var(--orange); }
.kb-search { position: relative; display: flex; align-items: center; max-width: 36rem; margin: 1.6rem auto 0; background: var(--white); border-radius: 8px; color: var(--muted); text-align: left; }
.kb-search > .ic { position: absolute; left: 1rem; width: 1.3rem; height: 1.3rem; }
.kb-search input { width: 100%; padding: .95rem 1rem .95rem 3rem; border: 2px solid transparent; border-radius: 8px; font: inherit; color: var(--ink); background: transparent; }
.kb-search input:focus-visible { outline: none; border-color: var(--blue); }
.kb-results { position: absolute; z-index: 15; left: 0; right: 0; top: calc(100% + .35rem); margin: 0; padding: .35rem; list-style: none; background: var(--white); border-radius: 12px; box-shadow: 0 14px 40px rgb(0 0 0 / .3); }
.kb-results[hidden] { display: none; }
.kb-results a { display: flex; flex-direction: column; padding: .55rem .8rem; border-radius: 8px; color: var(--ink); text-decoration: none; }
.kb-results a:hover, .kb-results a:focus-visible { background: var(--soft); }
.kb-results a span { color: var(--muted); font-size: .82rem; }
.kb-results .none { padding: .7rem .8rem; color: var(--muted); }
.kb-crumbs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem; margin: 0; color: #a9c1c4; font-size: .95rem; }
.kb-crumbs a { color: var(--white); text-decoration: none; }
.kb-crumbs a:hover { text-decoration: underline; }
.hero .kb-search { margin-top: 1.4rem; }

.kb-tabs { display: flex; flex-wrap: wrap; gap: .25rem 1.6rem; justify-content: center; border-bottom: 1px solid var(--line); margin-bottom: 2.4rem; }
.kb-tabs a { color: var(--ink); text-decoration: none; padding: .8rem .2rem; border-bottom: 3px solid transparent; margin-bottom: -1px; font-size: 1.05rem; }
.kb-tabs a:hover { color: var(--blue); }
.kb-tabs a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.kb-layout { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 3rem; align-items: start; }
.kb-side { background: var(--soft); border-radius: var(--radius); padding: 1rem 0; position: sticky; top: 7rem; }
.kb-side ul { list-style: none; margin: 0; padding: 0; }
.kb-side a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .7rem 1.4rem; color: var(--ink); text-decoration: none; }
.kb-side a:hover, .kb-side a[aria-current="page"] { color: var(--blue); background: var(--white); }
.kb-side a[aria-current="page"] { font-weight: 700; }
.kb-side .ic { width: 1em; height: 1em; color: var(--muted); }
.kb-side-title { margin: 0; padding: .3rem 1.4rem .6rem; font-weight: 700; }
.kb-back { display: inline-block; margin: .6rem 1.4rem 0; font-size: .9rem; }
.kb-main { min-width: 0; }
.kb-main .kb-product { text-align: left; margin-bottom: .2em; }
.kb-blurb { color: var(--muted); margin-bottom: 2rem; }
.kb-cat { margin-bottom: 2.4rem; scroll-margin-top: 7rem; }
.kb-main .kb-cat-title, .kb-main .kb-popular h2 { text-align: left; font-size: 1.35rem; }
.kb-popular { margin-bottom: 3rem; }
.kb-card { text-decoration: none; color: inherit; transition: transform .12s; }
.kb-card:hover, .kb-card:focus-visible { transform: translateY(-2px); }
.kb-card p { margin-bottom: 0; }
.kb-links { list-style: none; margin: 0; padding: 0 0 0 1rem; border-left: 2px solid var(--line); }
.kb-links a { display: flex; align-items: center; gap: .8rem; padding: .5rem 0; text-decoration: none; }
.kb-links a:hover span { text-decoration: underline; }
.kb-links .ic { width: 1.1em; height: 1.1em; flex: none; }

.kb-article { max-width: 46rem; min-width: 0; }
.kb-article h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.kb-article h2 { font-size: 1.3rem; text-align: left; margin-top: 2rem; }
.kb-summary { font-size: 1.12rem; color: var(--muted); }
.kb-for { padding-top: 0; margin-bottom: 1.6rem; align-items: center; }
.kb-for-label { font-size: .85rem; color: var(--muted); margin-right: .2rem; }
.kb-article .badge { background: var(--blue-t); color: var(--blue); }
.kb-steps, .kb-list { padding-left: 1.4rem; margin: 0 0 1.2rem; }
.kb-steps li, .kb-list li { margin-bottom: .6rem; }
.kb-steps li::marker { font-weight: 700; color: var(--red); }
.kb-article .note { margin: 1.4rem 0; }
.kb-table { width: 100%; border-collapse: collapse; }
.kb-table th, .kb-table td { padding: .7rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.kb-table thead th { background: var(--soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.kb-table tr:last-child td { border-bottom: 0; }
.kb-article .table-wrap { margin: 1rem 0 1.4rem; }
@media (max-width: 960px) {
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .kb-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .kb-side { position: static; }
}
@media (max-width: 600px) {
  .grid.four { grid-template-columns: 1fr; }
  .kb-table th, .kb-table td { padding: .55rem .6rem; font-size: .92rem; }
}
