/* Son Cyber. Brand: black, white, Son Blue #26A4E8, Deep Blue #1E8EE5 */
:root {
  --black: #000;
  --night: #0a0e16;
  --ink: #0f172a;
  --text: #1f2937;
  --muted: #5b6678;
  --line: #e3e8ef;
  --tint: #f4f8fc;
  --blue: #26a4e8;
  --blue-deep: #1e8ee5;
  --blue-bright: #3db4f2;
  --blue-ink: #0a64a8; /* darker blue for text links on white (passes WCAG AA) */
  --radius: 14px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: .15em; }
a:hover { color: var(--ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.015em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Top bar */
.topbar { background: rgba(0, 0, 0, .92); border-bottom: 1px solid #111827; position: sticky; top: 0; z-index: 5; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.topbar nav { display: flex; gap: 28px; align-items: center; }
.topbar nav a { color: #cbd5e1; text-decoration: none; font-size: .95rem; transition: color .15s; }
.topbar nav a:hover { color: #fff; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 460px at 88% 0%, rgba(38, 164, 232, .24), transparent 62%),
    radial-gradient(600px 300px at 0% 100%, rgba(30, 142, 229, .10), transparent 70%),
    linear-gradient(180deg, #000 0%, var(--night) 100%);
  color: #b6c3d4;
  padding: 104px 0 96px;
  border-bottom: 3px solid var(--blue);
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.08; letter-spacing: -0.025em; max-width: 22ch; }
.hero h1 span { color: var(--blue-bright); }
.hero__lead { font-size: 1.2rem; max-width: 60ch; margin: 22px 0 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { list-style: none; padding: 0; margin: 0 0 36px; display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: .92rem; color: #94a3b8; }
.hero__facts li { display: flex; align-items: center; gap: 10px; }
.hero__facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 600; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--blue); color: #04121c; border: 1px solid var(--blue); }
.btn--primary:hover { background: #fff; border-color: #fff; color: #04121c; }
.prose .btn--primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ghost { color: #e2e8f0; border: 1px solid #334155; }
.btn--ghost:hover { border-color: var(--blue); color: #fff; }
.btn--lg { font-size: 1.05rem; padding: 16px 28px; overflow-wrap: anywhere; text-align: center; }

/* Sections */
.section { padding: 88px 0; }
.section--tint { background: var(--tint); }
.section__lead { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.grid { display: grid; gap: 22px; margin-top: 32px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue);
  border-radius: var(--radius); padding: 32px 32px 24px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .05);
}
.card h3 { font-size: 1.35rem; }
.card__label { font-weight: 600; color: var(--ink); margin: 6px 0 4px; }
.ticks { list-style: none; padding: 0; margin: 4px 0 20px; }
.ticks li { position: relative; padding-left: 26px; margin: 8px 0; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 10px;
  border-radius: 50%; border: 2px solid var(--blue);
}
.tech { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin: auto 0 0; }

.mini {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: 10px; padding: 22px 22px 10px;
}
.mini h3 { font-size: 1.02rem; }
.mini p { font-size: .95rem; color: var(--muted); }

/* Typical jobs */
.jobs { grid-template-columns: repeat(3, 1fr); }

/* About */
.about { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.about > div > p:not(.section__lead) { max-width: 60ch; }
.about__points {
  list-style: none; margin: 0; padding: 28px 30px; background: #fff;
  border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .05);
}
.about__points li { position: relative; padding: 12px 0 12px 34px; font-weight: 600; color: var(--ink); }
.about__points li + li { border-top: 1px solid var(--line); }
.about__points li::before {
  content: ""; position: absolute; left: 4px; top: 1.05em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg);
}

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 60px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--blue); color: var(--blue-ink); font-weight: 700;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 21px; left: 58px; right: -16px; height: 2px;
  background: linear-gradient(90deg, var(--blue), rgba(38, 164, 232, .15));
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: .97rem; }
.steps__note { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text); }

/* Contact */
.contact {
  background: var(--black); color: #cbd5e1; border-radius: 20px; padding: 52px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  background-image: radial-gradient(640px 280px at 100% 0%, rgba(38, 164, 232, .28), transparent 62%);
}
.contact h2 { color: #fff; margin-bottom: .25em; }
.contact p { margin: 0 0 .8em; }
.contact p:last-child { margin-bottom: 0; }
.contact__action p { margin: 0; }
.contact__lead { color: var(--blue-bright); font-size: 1.15rem; font-weight: 600; }
.contact__action { display: grid; justify-items: start; gap: 10px; }
.contact__address {
  color: #fff; font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 600; overflow-wrap: anywhere;
  user-select: all; padding-bottom: 6px; border-bottom: 2px solid var(--blue);
}
.contact__label { font-size: .85rem; color: #94a3b8; margin-top: 14px !important; }
.contact__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.contact__buttons .btn { padding: 10px 20px; font-size: .95rem; }

.prose > * { max-width: 760px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.muted { color: var(--muted); }

/* Footer */
.footer { background: var(--black); color: #94a3b8; padding: 40px 0; font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.footer__inner img { margin-right: 8px; }
.footer p { margin: 0; }
.footer a { color: #cbd5e1; }
.footer a:hover { color: #fff; }
.footer__small { margin-left: auto !important; color: #64748b; }

/* Responsive */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .jobs { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .contact { grid-template-columns: 1fr; padding: 40px 32px; }
}
@media (max-width: 760px) {
  .grid--2, .steps { grid-template-columns: 1fr; }
  .steps { gap: 24px; }
  .steps li { padding: 0 0 0 60px; min-height: 42px; }
  .steps li:not(:last-child)::after { display: none; }
  .footer__small { margin-left: 0 !important; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar nav { gap: 18px; }
  .topbar nav a:not(:last-child) { display: none; }
  .grid--4, .jobs { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 64px; }
  .section { padding: 64px 0; }
  .card { padding: 26px 22px 20px; }
  .contact { padding: 32px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
