/* JackCast website: one stylesheet, no web fonts or scripts (fast, private). */
:root {
  --green: #1f5c4a;
  --green-dark: #164536;
  --tint: #e4f0ea;
  --ink: #10241f;
  --muted: #4a5a55;
  --bg: #f3f5f2;
  --surface: #ffffff;
  --border: #d5ddd8;
  --cream: #f3e7c9;
  --orange: #c2410c;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--green); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.top { background: var(--green); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: 0.2px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; }
.top nav a { color: #cfe3da; text-decoration: none; font-weight: 600; font-size: 15px; }
.top nav a:hover, .top nav a[aria-current="page"] { color: #fff; }

/* Hero */
.hero { background: var(--green); color: #fff; padding: 40px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.5px; }
.hero p { font-size: 19px; color: #e1eee8; margin: 0 0 24px; max-width: 34em; }
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.badge.primary { background: var(--cream); color: var(--green-dark); }
.badge.ghost { border: 2px solid #8fb8a8; color: #fff; }
.phones { display: flex; justify-content: center; gap: 16px; }
.phones img { width: 46%; max-width: 240px; border-radius: 22px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3); }
.phones img:nth-child(2) { margin-top: 40px; }

/* Sections */
section { padding: 64px 0; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.3px; }
.lead { color: var(--muted); font-size: 19px; margin: 0 0 32px; max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split.flip > :first-child { order: 2; }
.shot { display: flex; justify-content: center; }
.shot img { width: 260px; border-radius: 22px; box-shadow: 0 12px 30px rgba(16, 36, 31, 0.18); }
ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
ul.ticks li { padding-left: 30px; position: relative; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--tint); border: 2px solid var(--green); }
.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.privacy-band { background: var(--tint); }
.cta { text-align: center; }
.cta .badges { justify-content: center; }
.cta .badge.primary { background: var(--green); color: #fff; }

/* Text pages (privacy, support) */
.page { padding: 40px 0 64px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: 36px; margin: 0 0 6px; }
.page h2 { font-size: 22px; margin: 32px 0 8px; }
.page .updated { color: var(--muted); margin: 0 0 24px; }
.page table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 16px; }
.page th, .page td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.page th { background: var(--tint); }
.note { background: #fff7e6; border: 1px solid #f2d39b; border-radius: 12px; padding: 12px 16px; }

/* Footer */
footer { background: var(--ink); color: #b9c9c3; padding: 32px 0; font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: #e1eee8; }

/* Phones and small tablets */
@media (max-width: 820px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  section { padding: 48px 0; }
}
@media (max-width: 480px) {
  .top nav { gap: 12px; flex-wrap: nowrap; }
  .top nav a { font-size: 14px; white-space: nowrap; }
  .brand { font-size: 19px; }
  .top nav a.wide-only { display: none; }
}
.small-note { font-size: 15px; margin: 14px 0 0; }
.hero .small-note { color: #cfe3da; font-size: 15px; margin: 14px 0 0; }
.cta .small-note { color: var(--muted); }
.brand .tm { font-size: 0.5em; font-weight: 600; align-self: flex-start; margin: 4px 0 0 -9px; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 20px; margin: 0 0 32px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2 16em; column-gap: 32px; }
.toc li { margin: 0 0 6px; break-inside: avoid; }
.page section { scroll-margin-top: 16px; padding-top: 8px; }
