/* Simple Remote — simpleremote.co.uk */
:root {
  color-scheme: dark;
  --bg: #091014;
  --bg-raised: #0e181d;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef5f2;
  --muted: #a6b5b1;
  --faint: #7c8b88;
  --accent: #9fe6cb;
  --accent-strong: #c4f3e0;
  --accent-ink: #062219;
  --accent-soft: rgba(159, 230, 203, 0.12);
  --warn: #ffd27a;
  --warn-soft: rgba(255, 210, 122, 0.1);
  --win: #5ab0ff;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 85% -8%, rgba(46, 120, 110, 0.28), transparent 62%),
    radial-gradient(900px 520px at -10% 8%, rgba(38, 62, 110, 0.32), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 6.2vw, 64px); letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 4.2vw, 42px); letter-spacing: -0.03em; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin: 0.35em 0; }
code, kbd { font-family: var(--mono); font-size: 0.88em; }
code { overflow-wrap: anywhere; }
kbd { background: var(--surface-strong); border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.muted { color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 16, 20, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; letter-spacing: -0.01em; margin-right: auto; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; padding: 8px 10px; border-radius: 10px; color: var(--text); border: 1px solid var(--border-strong); font-size: 14px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu ul { position: absolute; right: 0; top: calc(100% + 8px); background: var(--bg-raised); border: 1px solid var(--border-strong); border-radius: 14px; padding: 8px; list-style: none; margin: 0; min-width: 210px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.nav-menu li { margin: 0; }
.nav-menu ul a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--text); text-decoration: none; }
.nav-menu ul a:hover { background: var(--surface-strong); }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .nav .btn-sm { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px; font-weight: 650; font-size: 16px; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); color: var(--accent-ink); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-strong); color: var(--text); }
.btn-win { background: var(--win); color: #041526; }
.btn-win:hover { background: #82c4ff; color: #041526; }
.btn-lg { padding: 18px 28px; font-size: 18px; border-radius: 16px; }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 11px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn small { display: block; font-weight: 500; font-size: 12px; opacity: .75; }
.btn-stack { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
@media (max-width: 520px) {
  .btn-lg { padding: 16px 20px; font-size: 17px; }
  .download { padding: 24px; }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.eyebrow { display: inline-block; color: var(--accent); font-size: 13px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.divider { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 span { color: var(--accent); }
.hero .lead { margin-bottom: 30px; }
.hero-art { position: relative; margin-right: -40px; }
.hero-art img {
  width: 100%;
  /* Fade every edge so the artwork's background melts into the page. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 13%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 13%, #000 92%, transparent);
  mask-composite: intersect;
}
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 8px; margin: 0; }
.trust svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { margin: 0 -20px; }
}

/* Windows callout */
.callout {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 22px 26px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(90, 176, 255, 0.14), rgba(90, 176, 255, 0.04));
  border: 1px solid rgba(90, 176, 255, 0.3);
}
.callout-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(90,176,255,.16); display: grid; place-items: center; flex: none; }
.callout-icon svg { width: 24px; height: 24px; color: var(--win); }
.callout-text { flex: 1 1 320px; }
.callout-text strong { display: block; font-size: 18px; margin-bottom: 2px; }
.callout-text span { color: var(--muted); font-size: 15px; }

/* Cards */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 22px; height: 22px; color: var(--accent); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 9px; margin-left: 8px; vertical-align: middle; }

/* Screenshot rail */
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 22px; margin: 0 -20px; scrollbar-width: thin; }
.rail figure { flex: 0 0 min(270px, 72vw); margin: 0; scroll-snap-align: start; }
.rail img { border-radius: 22px; border: 1px solid var(--border); aspect-ratio: 506 / 1100; object-fit: cover; background: var(--bg-raised); }
.rail figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; text-align: center; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps > li { counter-increment: step; position: relative; padding: 24px 24px 24px 76px; margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.steps > li::before { content: counter(step); position: absolute; left: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 750; display: grid; place-items: center; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); margin-bottom: .6em; }
.steps p:last-child { margin-bottom: 0; }
@media (max-width: 520px) { .steps > li { padding: 70px 20px 22px; } .steps > li::before { left: 20px; top: 20px; } }

/* Platforms */
.platform { padding: 30px; }
.platform h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.platform h3 svg { width: 24px; height: 24px; }
.platform ul { color: var(--muted); padding-left: 1.1em; margin: 14px 0 0; }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card .price { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin: 6px 0 4px; }
.price-card .price small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-card ul { color: var(--muted); padding-left: 1.1em; margin: 16px 0 0; font-size: 16px; }
.price-card.featured { border-color: rgba(159, 230, 203, 0.45); background: linear-gradient(180deg, rgba(159,230,203,.09), rgba(159,230,203,.02)); }
.plans { display: grid; gap: 8px; margin-top: 12px; }
.plans div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--surface); font-size: 16px; }
.plans strong { font-weight: 650; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 22px; color: var(--muted); }
.faq .answer p:last-child, .faq .answer ol:last-child, .faq .answer ul:last-child { margin-bottom: 0; }

/* Download card (Windows page) */
.download {
  border-radius: 24px; padding: 34px;
  background: linear-gradient(150deg, rgba(90,176,255,.16), rgba(90,176,255,.03) 60%), var(--bg-raised);
  border: 1px solid rgba(90,176,255,.32);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.download h2 { font-size: 24px; margin-bottom: 4px; }
.download .meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.download .meta li { margin: 0; font-size: 13px; color: var(--muted); background: var(--surface-strong); border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px; }
.download .btn { width: 100%; margin-top: 22px; }
.hash { margin-top: 18px; font-size: 13px; color: var(--faint); word-break: break-all; }
.hash code { color: var(--muted); }
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--warn-soft); border: 1px solid rgba(255,210,122,.3); margin-top: 22px; }
.notice svg { width: 22px; height: 22px; color: var(--warn); flex: none; margin-top: 2px; }
.notice p { margin: 0; font-size: 15px; color: #e9dcc0; }
.notice strong { color: var(--warn); }
.win-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .win-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Mock Windows dialogs (illustrations, not screenshots) */
.mock { margin: 16px 0 6px; border-radius: 10px; overflow: hidden; font-family: "Segoe UI", system-ui, sans-serif; box-shadow: 0 16px 40px rgba(0,0,0,.4); max-width: 460px; }
.mock-smartscreen { background: #0a5ea8; color: #fff; padding: 22px 24px 18px; }
.mock-smartscreen .t { font-size: 22px; font-weight: 300; margin-bottom: 10px; }
.mock-smartscreen p { font-size: 13px; margin: 0 0 8px; color: #e7f1fb; }
.mock-smartscreen .link { text-decoration: underline; color: #fff; font-size: 13px; }
.mock-smartscreen .row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.mock-smartscreen .b { font-size: 13px; padding: 6px 18px; border: 2px solid #fff; color: #fff; }
.mock-smartscreen .b.ghost { border-color: transparent; background: rgba(255,255,255,.15); }
.mock-browser { background: #2b2b2b; color: #eee; padding: 14px 16px; font-size: 13px; }
.mock-browser .file { display: flex; align-items: center; gap: 10px; }
.mock-browser .file b { font-weight: 600; }
.mock-browser .warn { color: #ffcf6e; margin-top: 4px; }
.mock-browser .row { display: flex; gap: 8px; margin-top: 12px; }
.mock-browser .b { padding: 5px 12px; border-radius: 4px; background: #3d3d3d; border: 1px solid #555; }
.mock-browser .b.hl { background: #4a7fd1; border-color: #4a7fd1; color: #fff; }
.hl-ring { outline: 3px solid var(--warn); outline-offset: 2px; border-radius: 3px; }
.mock-caption { font-size: 13px; color: var(--faint); margin: 6px 0 0; }

/* Prose pages (privacy, terms, support) */
.page-head { padding: 64px 0 24px; }
.page-head p { color: var(--muted); }
.prose { padding: 16px 0 88px; }
.prose h2 { font-size: 26px; margin-top: 48px; }
.prose h3 { font-size: 19px; margin-top: 28px; }
.prose p, .prose li { color: #c7d3d0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }
.prose td { color: #c7d3d0; }
.table-scroll { overflow-x: auto; }
.summary-box { background: var(--accent-soft); border: 1px solid rgba(159,230,203,.28); border-radius: var(--radius); padding: 22px 24px; margin: 8px 0 12px; }
.summary-box ul { margin: 0; }
.toc { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); text-decoration: none; font-size: 14px; }
.toc a:hover { color: var(--text); border-color: var(--border-strong); }

/* CTA band */
.cta-band { text-align: center; padding: 64px 28px; border-radius: 28px; background: radial-gradient(600px 300px at 50% 0%, rgba(159,230,203,.16), transparent 70%), var(--bg-raised); border: 1px solid var(--border); }
.cta-band .actions { justify-content: center; margin-top: 26px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 40px; color: var(--faint); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.footer-grid h4 { color: var(--text); font-size: 14px; margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 8px 0; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.7; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
