/* Jet-Radius marketing site. Light, plain, system fonts. */
:root {
  --ink: #151c23;
  --muted: #56606b;
  --subtle: #87909a;
  --line: #e3e6ea;
  --line-strong: #cdd2d8;
  --canvas: #f7f8f9;
  --surface: #ffffff;
  --navy: #0f2d49;
  --accent: #027a50;
  --accent-hover: #01633f;
  --accent-soft: #e7f3ee;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand img { display: block; height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav .actions .btn { color: #fff; }
.nav .actions .btn-quiet { color: var(--ink); }
.nav .actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.btn.menu-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 18px; border-radius: var(--radius);
  border: 1px solid var(--accent); background: var(--accent); color: #fff;
  font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-quiet { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-quiet:hover { background: var(--canvas); color: var(--ink); border-color: var(--line-strong); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }

/* Hero */
.hero { padding: 72px 0 64px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.hero h1 { font-size: 40px; font-weight: 650; }
.hero .lede { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 520px; }
.hero .cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--subtle); }

/* A copy of the customer login page, built from the same colours */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; max-width: 340px; margin: 0 auto; box-shadow: 0 1px 2px rgba(21, 28, 35, 0.06); }
.mock .m-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: #02653f; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.mock .m-title { text-align: center; font-weight: 600; }
.mock .m-tabs { display: flex; gap: 6px; margin: 16px 0 12px; }
.mock .m-tabs span { flex: 1; text-align: center; padding: 7px 0; font-size: 13px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--muted); }
.mock .m-tabs span.on { background: var(--accent-soft); border-color: var(--accent); color: #02653f; font-weight: 500; }
.mock .m-input { height: 38px; border: 1px solid var(--line-strong); border-radius: 6px; padding: 0 10px; display: flex; align-items: center; color: var(--subtle); font-size: 14px; margin-bottom: 10px; }
.mock .m-btn { height: 38px; border-radius: 6px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 14px; }
.mock .m-h { margin: 16px 0 4px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.mock .m-pack { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.mock .m-pack:last-child { border-bottom: 0; }
.mock .m-pack small { display: block; color: var(--muted); font-size: 12px; }
.mock .m-pack b { font-weight: 600; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--canvas); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: 28px; font-weight: 650; }
.section-head p { margin-top: 10px; color: var(--muted); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 52px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 15px; }

/* Pricing */
.plan { display: flex; flex-direction: column; }
.plan .name { font-size: 15px; font-weight: 600; }
.plan .price { margin: 10px 0 2px; font-size: 32px; font-weight: 650; letter-spacing: -0.02em; }
.plan .price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan .yearly { font-size: 13px; color: var(--subtle); min-height: 20px; }
.plan ul { list-style: none; margin: 16px 0 20px; padding: 0; font-size: 15px; color: var(--muted); flex: 1; }
.plan li { padding: 6px 0; border-top: 1px solid var(--line); }
.plan li:first-child { border-top: 0; }
.plan li b { color: var(--ink); font-weight: 600; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.fine { margin-top: 16px; font-size: 14px; color: var(--subtle); }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--subtle); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin-top: 10px; color: var(--muted); }

/* Closing band + footer */
.band { background: var(--navy); color: #fff; padding: 52px 0; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.band h2 { font-size: 24px; font-weight: 650; }
.band p { color: #c3d0dc; margin-top: 6px; }
.band .btn { background: #fff; color: var(--navy); border-color: #fff; }
.band .btn:hover { background: #e9eef3; border-color: #e9eef3; color: var(--navy); }

.site-footer { padding: 36px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: var(--muted); text-decoration: none; margin-right: 18px; }
.site-footer a:hover { color: var(--ink); }

/* Plain text pages */
.page { padding: 56px 0 72px; }
.page h1 { font-size: 32px; font-weight: 650; margin-bottom: 8px; }
.page .updated { color: var(--subtle); font-size: 14px; margin-bottom: 28px; }
.page h2 { font-size: 20px; font-weight: 600; margin: 28px 0 8px; }
.page p, .page li { color: #2f3943; }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 20px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 48px 0 44px; }
  .hero h1 { font-size: 32px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .btn.menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav .actions { margin: 8px 0 0; }
  .nav .actions .btn { flex: 1; }
  section { padding: 48px 0; }
}
