/* TeamOps website. One stylesheet, no framework, no build step. Colours are the product's own (dark with gold). */
:root {
  --bg: #14191b; --panel: #1d2a2e; --panel-2: #243236; --line: #2c3e43;
  --ink: #e5ebea; --muted: #a3b4b8; --gold: #fbb718; --gold-dark: #ba792a;
  --ok: #7fd197; --warn: #ff9f6b; --bad: #ff7b7b;
  --radius: 14px; --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffd166; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.wrap { width: min(var(--max), 100% - 2rem); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.alt { background: #11171a; border-block: 1px solid var(--line); }
.eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: .6rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(20, 25, 27, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.25rem; }
.brand img { width: 34px; height: 36px; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 8px; padding: .45rem .8rem; font: inherit; cursor: pointer; }

.btn { display: inline-block; background: var(--gold); color: #1a1405; font-weight: 700; text-decoration: none; padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid var(--gold); transition: transform .15s, background .15s; }
.btn:hover { background: #ffd166; color: #1a1405; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: rgba(251, 183, 24, .12); color: #ffd166; }
.btn.small { padding: .5rem 1.1rem; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* hero */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 2rem; background: radial-gradient(900px 420px at 80% -10%, rgba(251, 183, 24, .16), transparent 70%), radial-gradient(700px 360px at 0% 0%, rgba(125, 183, 255, .08), transparent 70%); }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero .shot { margin-top: 3rem; }
.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; padding: 0; list-style: none; }
.badges li { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .85rem; font-size: .9rem; color: var(--muted); margin: 0; }

/* browser-framed screenshots */
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.shot::before { content: ""; display: block; height: 30px; background: linear-gradient(#26343a, #202c31); border-bottom: 1px solid var(--line);
  background-image: radial-gradient(circle at 16px 15px, #ff6b6b 4px, transparent 5px), radial-gradient(circle at 34px 15px, #ffcf4a 4px, transparent 5px), radial-gradient(circle at 52px 15px, #5fd68a 4px, transparent 5px); }
.shot img { width: 100%; }
figure { margin: 0; }
figcaption { color: var(--muted); font-size: .9rem; margin-top: .7rem; }

/* grids and cards */
.grid { display: grid; gap: 1.2rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card h3 { margin-bottom: .5rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card.bad h3 { color: var(--warn); }
.card.good h3 { color: var(--ok); }
.tick { list-style: none; padding: 0; }
.tick li { padding-left: 1.5rem; position: relative; }
.tick li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: .4rem; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.cross { list-style: none; padding: 0; }
.cross li { padding-left: 1.5rem; position: relative; }
.cross li::before { content: "\00d7"; position: absolute; left: 0; color: var(--warn); font-weight: 700; }

/* feature rows: text beside a screenshot, alternating */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem) 0; }
.feature.flip { grid-template-columns: 1.25fr 1fr; }
.feature.flip .text { order: 2; }
.feature h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 3rem); color: var(--gold); line-height: 1.1; }
.stat span { color: var(--muted); }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(6, 1fr); gap: .9rem; }
.tier { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem .8rem; text-align: center; }
.tier .price { font-size: 1.7rem; font-weight: 800; }
.tier .per { color: var(--muted); font-size: .8rem; }
.tier .up { color: var(--gold); font-weight: 700; margin-top: .5rem; }

/* tables */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--gold); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }

/* on-this-page index */
.toc { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; margin: 1.5rem 0 0; }
.toc a { display: block; padding: .35rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; background: var(--panel); font-size: .95rem; }
.toc a:hover { border-color: var(--gold); color: var(--gold); }

.cta { text-align: center; background: radial-gradient(700px 300px at 50% 0%, rgba(251, 183, 24, .14), transparent 70%); }
details.faq { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .8rem; }
details.faq summary { cursor: pointer; font-weight: 600; }
details.faq p { margin: .8rem 0 0; color: var(--muted); }
.fine { color: var(--muted); font-size: .9rem; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0; color: var(--muted); font-size: .95rem; }
.foot { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot ul { list-style: none; padding: 0; margin: 0; }

@media (max-width: 900px) {
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .text { order: 0; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-block; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: flex-start; background: #11171a; padding: 1rem; border-bottom: 1px solid var(--line); gap: 1rem; }
  .js .nav.open { display: flex; }
  .nav { flex-wrap: wrap; gap: .8rem 1.2rem; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
}
