/* Goyral Remote Access — landing page styles.
   No frameworks, no web fonts, no trackers. */

:root {
  --ink: #0b1220;
  --ink-2: #111c2e;
  --ink-3: #182539;
  --line-dark: #24334a;
  --brand: #2f6fb5;
  --brand-2: #56a8ea;
  --brand-ink: #1d5c9e;
  --green: #17b26a;
  --red: #d9534a;
  --text: #16202e;
  --muted: #5b6a7d;
  --bg: #ffffff;
  --bg-tint: #f3f7fc;
  --border: #e0e7f0;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 24px 60px -20px rgba(10, 24, 45, 0.35);
  --shadow-sm: 0 6px 20px -10px rgba(10, 24, 45, 0.3);
  --max: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16.5px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.18; letter-spacing: -0.02em; font-weight: 700; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: -999px; top: 0; background: #fff; color: var(--ink);
  padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; border-radius: 4px; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15.5px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff; box-shadow: 0 10px 26px -10px rgba(47, 111, 181, 0.9);
}
.btn-primary:hover { box-shadow: 0 16px 34px -12px rgba(47, 111, 181, 1); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: #eaf2fb; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn-sm { padding: 9px 18px; font-size: 14.5px; background: #fff; color: var(--ink); }
.btn-sm:hover { background: #eaf2fb; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

/* -------------------------------------------------------------------- nav */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 66px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand .logo { width: 27px; height: 27px; color: var(--brand-2); flex: none; }
.brand-light { color: #93a4ba; font-weight: 500; }
.footer .brand-light { color: #7f90a6; }

.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
/* :not(.btn) matters here: plain `.nav-links a` outranks `.btn-sm`, so the
   white CTA pill came out with light-grey text that was barely readable. */
.nav-links a:not(.btn) { color: #c6d3e3; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-links .btn { margin-left: 4px; }

.nav-toggle {
  margin-left: auto; display: none; background: none; border: 0; color: #dfe9f5;
  padding: 8px; cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(86, 168, 234, 0.28), transparent 60%),
    radial-gradient(760px 420px at 6% 108%, rgba(47, 111, 181, 0.3), transparent 62%),
    var(--ink);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(900px 460px at 50% 30%, #000 35%, transparent 78%);
}
.hero-inner {
  position: relative; padding: 74px 22px 84px;
  display: grid; grid-template-columns: 1.02fr 1.12fr; gap: 56px; align-items: center;
}
.hero-copy h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); margin-bottom: 18px; }
.hero-copy h1 em { font-style: normal; color: var(--brand-2); }
.lede { color: #b9c9dd; font-size: 17.5px; max-width: 54ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em;
  color: #a8c8e8; background: rgba(86, 168, 234, 0.12);
  border: 1px solid rgba(86, 168, 234, 0.28);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px rgba(23, 178, 106, 0.25);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 13px; margin: 30px 0 22px; }

.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-facts li {
  color: #8d9fb6; font-size: 14px; display: flex; align-items: center; gap: 8px;
}
.hero-facts li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2);
}

.hero-shot { perspective: 1400px; }
.hero-shot .window { transform: rotateY(-4deg) rotateX(1.4deg); }

/* ------------------------------------------------------------- app window */

.window {
  border-radius: var(--radius);
  overflow: hidden;
  background: #e8edf4;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}
.window-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 13px; background: #f6f8fb; border-bottom: 1px solid var(--border);
}
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #d5dde8; }
.window-bar span:first-child { background: #f0705f; }
.window-bar span:nth-child(2) { background: #f5c04c; }
.window-bar span:nth-child(3) { background: #57c76a; }
.window-bar b {
  font-size: 12px; font-weight: 600; color: #7b8798; margin: 0 auto;
  padding-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.window img { width: 100%; }

.hero-glow {
  position: absolute; left: 50%; bottom: -160px; width: 900px; height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(86, 168, 234, 0.22), transparent);
  pointer-events: none;
}

/* ------------------------------------------------------------------ stats */

.stats { background: var(--ink-2); border-bottom: 1px solid var(--line-dark); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 30px 22px; gap: 24px;
}
.stat { color: #93a4ba; font-size: 14.5px; }
.stat b {
  display: block; color: #fff; font-size: 30px; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 5px;
}
.stat span { display: block; }

/* --------------------------------------------------------------- sections */

.section { padding: 82px 0; }

/* Anchor jumps must clear the sticky header. */
section[id], [id="top"] { scroll-margin-top: 80px; }
.section-head { scroll-margin-top: 80px; }
.section-tint { background: var(--bg-tint); }
.section-dark {
  background: var(--ink); color: #e7eef8;
  background-image: radial-gradient(900px 400px at 85% 0%, rgba(47, 111, 181, 0.22), transparent 70%);
}
.section-dark .section-head p { color: #9db0c8; }

.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; }
.kicker {
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 12.5px;
  font-weight: 700; color: var(--brand); margin-bottom: 12px;
}
.section-dark .kicker { color: var(--brand-2); }

/* ------------------------------------------------------------- shots */

.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.shot.wide { grid-column: 1 / -1; }
.shot figcaption { margin-top: 16px; color: var(--muted); font-size: 15px; }
.shot figcaption b { display: block; color: var(--text); font-size: 16.5px; margin-bottom: 4px; }
.shot:not(.wide) img {
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
kbd {
  font-family: ui-monospace, Consolas, monospace; font-size: 12.5px;
  background: #eef2f8; border: 1px solid #d3dbe6; border-bottom-width: 2px;
  border-radius: 5px; padding: 1px 6px; color: #38455a;
}

/* -------------------------------------------------------------- features */

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 24px 22px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: #3a5075; }
.card h3 { font-size: 17.5px; margin-bottom: 8px; color: #fff; }
.card p { color: #9db0c8; font-size: 15px; }
.ico {
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 15px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(86, 168, 234, 0.14); border: 1px solid rgba(86, 168, 234, 0.3);
  color: var(--brand-2);
}
.ico svg { width: 22px; height: 22px; }

/* ----------------------------------------------------------------- steps */

.steps {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  counter-reset: step;
}
.steps li {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.steps .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 700; font-size: 15px;
}
.steps h3 { font-size: 17.5px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* --------------------------------------------------------------- prose */

.prose p { color: var(--muted); font-size: 17px; }
.prose p + p { margin-top: 16px; }
.prose b { color: var(--text); }

/* ------------------------------------------------------------- compare */

.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 880px; font-size: 15px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; vertical-align: top; }
.compare thead th {
  background: #f7fafd; font-size: 14.5px; color: #3a4759; white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
.compare thead th.us { color: var(--brand-ink); }
.us-badge {
  display: inline-block; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em;
  padding: 2px 9px; border-radius: 999px; margin-right: 5px; text-transform: uppercase;
}
.compare tbody th {
  font-weight: 600; color: #38455a; font-size: 14.5px; white-space: nowrap;
  border-top: 1px solid var(--border);
}
.compare tbody td { border-top: 1px solid var(--border); color: var(--muted); }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: #fafcfe; }
.compare .us {
  background: rgba(86, 168, 234, 0.07);
  border-left: 1px solid rgba(47, 111, 181, 0.18);
  border-right: 1px solid rgba(47, 111, 181, 0.18);
  color: var(--brand-ink); font-weight: 600;
}
.compare .yes { color: var(--green); font-weight: 700; }
.compare .no { color: #a2adbb; }
.fineprint { color: #8593a5; font-size: 13.5px; margin-top: 18px; max-width: 74ch; }

/* ------------------------------------------------------------------ faq */

details {
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03); padding: 4px 22px; margin-bottom: 12px;
}
details[open] { background: rgba(255, 255, 255, 0.055); }
summary {
  cursor: pointer; list-style: none; padding: 17px 30px 17px 0; position: relative;
  font-weight: 600; font-size: 16.5px; color: #eaf2fb;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--brand-2); line-height: 1;
}
details[open] summary::after { content: "\2013"; }
details p {
  color: #9db0c8; font-size: 15.5px; padding: 0 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07); padding-top: 14px;
}
details kbd { background: #22314a; border-color: #37496a; border-bottom-color: #455b80; color: #cfe0f4; }

/* ------------------------------------------------------------------- cta */

.cta {
  padding: 84px 0; text-align: center; color: #fff;
  background:
    radial-gradient(760px 320px at 50% -20%, rgba(86, 168, 234, 0.35), transparent 70%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
}
.cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 12px; }
.cta > .wrap > p { color: #b9c9dd; margin-bottom: 28px; }
.cta .fineprint { color: #8d9fb6; margin: 16px auto 0; }

/* ---------------------------------------------------------------- footer */

.footer { background: #070d18; color: #8d9fb6; padding: 46px 0 26px; font-size: 14.5px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.foot-tag { margin-top: 12px; max-width: 42ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot-links a { color: #b8c7da; }
.foot-base {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  margin-top: 34px; padding-top: 20px; border-top: 1px solid #16233a;
  color: #6d7f96; font-size: 13.5px;
}

/* --------------------------------------------------------------- reveal */

/* Scoped to html.js so the content is never left hidden when scripting is off
   or script.js fails to load. */
html.js .reveal { opacity: 0; transform: translateY(18px); }
html.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.55s ease, transform 0.55s ease; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal.in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}

/* ----------------------------------------------------------- responsive */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 56px 22px 66px; }
  .hero-shot .window { transform: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--ink-2); border-bottom: 1px solid var(--line-dark);
    padding: 14px 22px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav-links .btn { margin: 10px 0 0; }
  .grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 18px; padding: 26px 22px; }
  .stat b { font-size: 26px; }
  .cta-row .btn { flex: 1 1 auto; }
}

@media (prefers-color-scheme: dark) {
  /* The page is deliberately light in the body; only the tinted sections
     would look muddy, so keep the tint readable. */
  .compare .no { color: #7d8898; }
}
