/* Shared style for ArcSoft content pages (products, about, guides, terms).
   Header, footer and palette mirror the homepage (styles.css + atmosphere.css) so every page reads as the same site. */
@font-face { font-family:"DM Sans"; font-style:normal; font-weight:400 700; font-display:swap; src:url(/assets/fonts/dm-sans-latin-ext.woff2) format("woff2"); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:"DM Sans"; font-style:normal; font-weight:400 700; font-display:swap; src:url(/assets/fonts/dm-sans-latin.woff2) format("woff2"); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper:#030916; --card:#06101e; --soft:#0a1b30; --ink:#edf5ff; --muted:#9cacbf;
  --blue:#65caff; --accent:#8edcff; --line:#78baff26;
  --gutter:clamp(24px,5vw,88px);
  color-scheme:dark;
}

* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:100px; }
body {
  margin:0; color:var(--ink); font-family:"DM Sans",Arial,sans-serif; font-size:16px; line-height:1.7; -webkit-font-smoothing:antialiased;
  background:radial-gradient(ellipse 90% 520px at 50% 0,#0b294055,transparent 70%) no-repeat,var(--paper);
}
body.menu-open { overflow:hidden; }
::selection { background:#128ce0; color:#fff; }
a { color:var(--blue); text-underline-offset:3px; }
a:hover { color:var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline:2px solid #28c9f3; outline-offset:3px; border-radius:4px; }
img { max-width:100%; height:auto; }

.skip-link { position:absolute; left:16px; top:-60px; padding:8px 12px; background:#10223c; color:#fff; border-radius:8px; z-index:40; }
.skip-link:focus { top:12px; }

/* Header: same as the homepage. */
.site-header {
  position:sticky; top:0; z-index:30; display:flex; align-items:center; justify-content:space-between; gap:30px;
  height:92px; padding:0 var(--gutter);
  background:#030916d9; border-bottom:1px solid #75baff1b; box-shadow:0 8px 35px #00000015;
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
}
.wordmark { display:inline-flex; align-items:baseline; color:#f0f7ff; font-size:30px; font-weight:700; letter-spacing:-.065em; line-height:1; text-decoration:none; }
.wordmark:hover { color:#f0f7ff; }
.wordmark-dot { width:6px; height:6px; margin-left:5px; border-radius:50%; background:var(--blue); box-shadow:0 0 16px #40bcff99; }
.desktop-nav { display:flex; gap:34px; margin-left:auto; }
.desktop-nav a { position:relative; padding:12px 0; color:#aabacf; font-size:12px; text-decoration:none; }
.desktop-nav a::after { content:""; position:absolute; left:0; right:0; bottom:6px; height:1px; background:var(--blue); box-shadow:0 0 9px #40bcff99; transform:scaleX(0); transform-origin:left; transition:transform .3s; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color:#e4f6ff; }
.desktop-nav a:hover::after, .desktop-nav a[aria-current]::after { transform:scaleX(1); }
.menu-toggle, .mobile-menu { display:none; }

/* Content column. */
main { max-width:880px; margin:0 auto; padding:0 16px; }

.crumbs { margin:32px 0 0; padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:6px; font-size:13px; color:var(--muted); }
.crumbs li { margin:0; }
.crumbs li + li::before { content:"/"; margin-right:6px; color:#78baff55; }
.crumbs a { color:var(--muted); text-decoration:none; }
.crumbs a:hover { color:var(--accent); }

header.page { padding-top:28px; padding-bottom:30px; }
main > header.page:first-child { padding-top:56px; }
.eyebrow { margin:0 0 12px; color:#79ceff; font-size:14px; font-weight:550; letter-spacing:.02em; }
h1 { margin:0; font-size:clamp(34px,5.6vw,56px); font-weight:500; line-height:1.06; letter-spacing:-.045em; text-wrap:balance; }
.lead { margin:18px 0 0; color:#a5b9d4; font-size:17px; line-height:1.75; max-width:64ch; }
.meta { margin:12px 0 0; color:var(--muted); font-size:13px; }

.summary { margin:0 0 20px; padding:20px 22px; border:1px solid #78baff33; background:var(--soft); border-radius:18px; }
.summary strong { display:block; margin-bottom:6px; font-size:14px; font-weight:600; color:#79ceff; }
.summary p { margin:0; }

article { background:var(--card); border:1px solid var(--line); border-radius:20px; padding:clamp(22px,4vw,40px); }
article + article, article + .cta, .cta + article { margin-top:20px; }
section + section { margin-top:36px; }
h2 { margin:0 0 12px; font-size:clamp(22px,3vw,28px); font-weight:500; line-height:1.25; letter-spacing:-.03em; }
h3 { margin:20px 0 6px; font-size:17px; font-weight:600; line-height:1.35; letter-spacing:-.01em; }
p { margin:0 0 12px; }
ul, ol { margin:0 0 12px; padding-left:22px; }
li + li { margin-top:6px; }
strong { font-weight:600; color:#f4f9ff; }

.features { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:12px; margin:16px 0 0; padding:0; list-style:none; }
.features li { margin:0; padding:16px 18px; border:1px solid var(--line); border-radius:14px; background:#0a172880; }
.features strong { display:block; margin-bottom:2px; }
.features span { color:var(--muted); font-size:15px; }

.steps { counter-reset:step; list-style:none; padding:0; }
.steps li { counter-increment:step; position:relative; padding-left:42px; min-height:28px; }
.steps li + li { margin-top:14px; }
.steps li::before { content:counter(step); position:absolute; left:0; top:1px; width:28px; height:28px; border-radius:50%; border:1px solid #78baff40; background:#0b2240; color:var(--accent); font-size:13px; font-weight:600; display:grid; place-items:center; }

.table-wrap { overflow-x:auto; margin:8px 0 12px; }
table { width:100%; border-collapse:collapse; font-size:15px; }
th, td { text-align:left; vertical-align:top; padding:10px; border-bottom:1px solid var(--line); }
th { font-size:13px; color:var(--muted); font-weight:600; }

.faq details { border-top:1px solid var(--line); padding:4px 0; }
.faq details:last-of-type { border-bottom:1px solid var(--line); }
.faq summary { cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:16px; padding:14px 0; font-weight:600; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; color:var(--blue); font-weight:400; font-size:22px; line-height:1; }
.faq details[open] summary::after { content:"−"; }
.faq details > div { padding:0 0 14px; color:#c4d3e6; }

.toc { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 24px; padding:0; list-style:none; }
.toc li { margin:0; }
.toc a { display:inline-block; padding:7px 14px; border:1px solid #6a99bf55; border-radius:999px; color:#d5e4f5; font-size:14px; text-decoration:none; }
.toc a:hover { border-color:#8fc4ea; color:#fff; }

.cta { margin-top:20px; padding:30px 24px; border:1px solid var(--line); border-radius:20px; background:radial-gradient(ellipse at 100% 100%,#0b294066,transparent 65%),#071629; }
@media (min-width:700px) { .cta { padding:40px 44px; } }
.cta h2 { color:#fff; }
.cta p { color:#a5b9d4; }
.cta-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.button { display:inline-flex; align-items:center; min-height:48px; padding:12px 22px; border-radius:999px; background:#b9eaff; color:#092947; font-size:15px; font-weight:600; text-decoration:none; transition:background .2s; }
.button:hover { background:#d9f4ff; color:#092947; }
.button.ghost { background:transparent; border:1px solid #6a99bf55; color:#d5e4f5; }
.button.ghost:hover { border-color:#8fc4ea; color:#fff; }

.cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); gap:14px; margin:0; padding:0; list-style:none; }
.cards li { margin:0; }
.cards a { display:block; height:100%; padding:20px 22px; background:var(--card); border:1px solid var(--line); border-radius:16px; color:var(--ink); text-decoration:none; transition:border-color .2s; }
.cards a:hover { border-color:#8fc4ea; }
.cards strong { display:block; margin-bottom:4px; font-size:18px; font-weight:600; line-height:1.35; }
.cards span { color:var(--muted); font-size:15px; }

/* Footer: same as the homepage. */
.site-footer { margin-top:72px; padding:18px var(--gutter) 24px; }
.footer-top { display:flex; align-items:center; justify-content:space-between; padding:35px 0; border-top:1px solid var(--line); }
.footer-wordmark { color:#dbedff; font-size:clamp(75px,14.4vw,216px); font-weight:500; line-height:1.05; letter-spacing:-.075em; text-decoration:none; }
.footer-wordmark:hover { color:#fff; }
.back-top { display:grid; place-items:center; width:54px; height:54px; border:1px solid #4b5c7588; border-radius:50%; color:#e4ebf5; font-size:24px; text-decoration:none; transition:background .3s; }
.back-top:hover { background:#244577; color:#fff; }
.footer-links { display:flex; flex-wrap:wrap; gap:10px 26px; padding:0 0 26px; font-size:14px; }
.footer-links a { color:#acc3df; text-decoration:none; }
.footer-links a:hover { color:#fff; }
.footer-legal { margin:0 0 20px; color:#8ba5c6; font-size:13px; line-height:1.6; }
.footer-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px 20px; padding-top:20px; border-top:1px solid var(--line); color:#8ba5c6; font-size:11px; font-weight:550; letter-spacing:.075em; }

@media (min-width:1700px) {
  .site-header, .site-footer { padding-left:max(88px,calc((100vw - 1520px)/2)); padding-right:max(88px,calc((100vw - 1520px)/2)); }
}
@media (max-width:1100px) { .site-header { height:80px; } }
@media (max-width:760px) {
  html { scroll-padding-top:84px; }
  .site-header { height:72px; }
  .wordmark { font-size:26px; }
  .desktop-nav { gap:22px; }
  .desktop-nav a { font-size:11px; }
}
@media (max-width:560px) {
  :root { --gutter:23px; }
  .site-header { height:68px; gap:20px; }
  .desktop-nav { display:none; }
  .menu-toggle { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; width:44px; height:44px; padding:0; border:1px solid #719dd347; border-radius:50%; background:#0a172880; cursor:pointer; }
  .menu-toggle span { display:block; width:15px; height:1px; background:#daefff; transition:transform .25s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform:translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform:translateY(-3px) rotate(-45deg); }
  .mobile-menu { display:flex; position:fixed; z-index:25; inset:68px 0 0; flex-direction:column; padding:52px var(--gutter) 35px; overflow-y:auto; background:#030b19f5; color:#eef6ff; backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px); visibility:hidden; opacity:0; translate:0 -12px; transition:opacity .25s,translate .25s,visibility .25s; }
  .mobile-menu.is-open { visibility:visible; opacity:1; translate:0 0; }
  .mobile-menu > a { display:flex; justify-content:space-between; align-items:baseline; padding:20px 0; border-bottom:1px solid var(--line); color:#eef6ff; font-size:36px; letter-spacing:-.04em; text-decoration:none; }
  .mobile-menu > a[aria-current] { color:var(--accent); }
  .mobile-menu small { color:#98b6d7; font-size:11px; letter-spacing:0; }
  .mobile-menu > p { margin-top:auto; color:#98b6d7; font-size:13px; }
  html:not(.js-enabled) .desktop-nav { display:flex; gap:12px; overflow-x:auto; }
  html:not(.js-enabled) .menu-toggle { display:none; }
  main > header.page:first-child { padding-top:40px; }
  .footer-top { padding:28px 0 26px; }
  .footer-wordmark { font-size:24vw; }
  .back-top { width:44px; height:44px; font-size:20px; }
  .footer-bottom { letter-spacing:.04em; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .desktop-nav a::after, .mobile-menu, .menu-toggle span { transition:none; }
}
@media (prefers-reduced-transparency:reduce) {
  .site-header, .mobile-menu { background:#030916; backdrop-filter:none; -webkit-backdrop-filter:none; }
}
