/* oilapi.net: the home page sections. */
/* ---------- Section 1: hero, the instrument ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 78% 40%, rgba(200,169,106,.13), transparent 60%), radial-gradient(900px 500px at 8% 100%, rgba(31,58,95,.07), transparent 60%), var(--page); border-bottom: 1px solid var(--line); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-in { position: relative; max-width: 1320px; margin: 0 auto; padding: 72px 28px 64px; display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 48px; align-items: center; min-height: 760px; }
.hero-kw { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin: 0 0 18px; font-weight: 400; display: flex; align-items: center; gap: 10px; }
.hero-kw::before { content: ""; width: 28px; height: 1px; background: var(--champagne); }
.hero-title { display: block; font-size: 58px; line-height: 1.04; font-weight: 300; color: var(--midnight); letter-spacing: -.02em; }
.hero-title em { font-style: normal; background: linear-gradient(90deg, #B08D57, #D9BE84 45%, #B08D57 90%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.hero-sub { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 24px 0 30px; max-width: 540px; }
.hero-cta { display: grid; grid-template-columns: 176px 176px; gap: 12px; }
.hero-cta .btn { height: 48px; font-size: 14.5px; }

.feed { margin-top: 38px; max-width: 540px; background: rgba(255,255,255,.72); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feed-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); white-space: nowrap; }
.feed-h .live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3FA27A; margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(63,162,122,.5); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(63,162,122,.45); } 100% { box-shadow: 0 0 0 9px rgba(63,162,122,0); } }
.feed-list { height: 196px; position: relative; overflow: hidden; }
.ev { position: absolute; left: 0; right: 0; height: 39px; display: grid; grid-template-columns: 38px 1fr 92px 70px 52px; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid rgba(225,222,214,.7); font-size: 13px; white-space: nowrap; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .5s; font-variant-numeric: tabular-nums; }
.ev .cc { font-size: 11.5px; letter-spacing: .06em; color: var(--deep); background: #EEF1F5; border-radius: 6px; text-align: center; padding: 2px 0; }
.ev .what { overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.ev .what span { color: var(--muted); }
.ev .p { text-align: right; color: var(--midnight); }
.ev .d { text-align: right; }
.ev .t { text-align: right; color: var(--slate); font-size: 12px; }
.ev.flash { background: linear-gradient(90deg, rgba(200,169,106,.16), transparent 70%); }

/* The instrument */
.inst { position: relative; justify-self: center; width: 560px; }
.dial { position: relative; width: 560px; height: 560px; }
.dial svg { width: 100%; height: 100%; overflow: visible; }
.dial-read { position: absolute; left: 0; right: 0; top: 338px; text-align: center; pointer-events: none; }
.dial-read .lbl { font-size: 12px; letter-spacing: .2em; color: var(--champagne); }
.odo { display: inline-flex; margin-top: 8px; font-size: 52px; font-weight: 300; color: #F6F4EF; font-variant-numeric: tabular-nums; line-height: 1; height: 54px; overflow: hidden; }
.odo .dg { display: inline-block; width: .62em; height: 54px; overflow: hidden; position: relative; }
.odo .dg i { position: absolute; left: 0; right: 0; top: 0; font-style: normal; display: flex; flex-direction: column; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.odo .dg i b { font-weight: 300; height: 54px; display: block; text-align: center; }
.odo .sep { width: .3em; text-align: center; }
.dial-read .sub { margin-top: 10px; font-size: 13px; color: #8A97A8; white-space: nowrap; }
.dial-read .sub .up, .dial-read .sub .dn { margin-left: 8px; }
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.mini { background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: center; height: 64px; }
.mini svg { width: 42px; height: 42px; }
.mini .k { display: block; font-size: 11px; letter-spacing: .12em; color: var(--muted); white-space: nowrap; }
.mini .v { display: block; font-size: 17px; color: var(--midnight); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mini .v small { font-size: 11px; color: var(--muted); margin-left: 3px; }

@media (max-width: 1180px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding: 48px 16px 40px; gap: 28px; }
  .inst { width: 100%; max-width: 560px; }
  .dial { width: 100%; height: auto; aspect-ratio: 1; }
  .dial-read { top: 60%; }
  .hero-title { font-size: 44px; }
}
@media (max-width: 560px) {
  .hero-title { font-size: 34px; }
  .hero-cta { grid-template-columns: 1fr 1fr; }
  .odo { font-size: 38px; height: 40px; } .odo .dg, .odo .dg i b { height: 40px; }
  .dial-read { top: 59%; }
  .minis { grid-template-columns: 1fr; }
  .ev { grid-template-columns: 34px 1fr 76px 60px; } .ev .t { display: none; }
}

/* ---------- Section 2: coverage, every country ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; height: 104px; display: flex; flex-direction: column; justify-content: space-between; }
.tile .k { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tile .v { font-size: 30px; font-weight: 300; color: var(--midnight); font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; }
.tile .n { font-size: 12px; color: var(--slate); white-space: nowrap; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.seg { display: grid; grid-template-columns: repeat(6, 116px); gap: 6px; }
.seg button { height: 36px; border: 1px solid var(--line); background: var(--card); border-radius: var(--r); font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; white-space: nowrap; }
.seg button:hover { border-color: var(--slate); }
.seg button.on { background: var(--midnight); border-color: var(--midnight); color: var(--ivory); }
.find { position: relative; width: 260px; }
.find input { width: 100%; height: 36px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: 0 12px 0 34px; font: inherit; font-size: 13px; color: var(--ink); }
.find input:focus { outline: none; border-color: var(--champagne); box-shadow: 0 0 0 3px rgba(200,169,106,.18); }
.find svg { position: absolute; left: 11px; top: 10px; }

.grid { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.grid table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.grid th { position: sticky; top: 56px; z-index: 2; background: #FBFAF7; text-align: left; font-weight: 400; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.grid th:first-child { border-top-left-radius: var(--r); }
.grid th:last-child { border-top-right-radius: var(--r); }
.grid th[data-sort] { cursor: pointer; user-select: none; }
.grid th[data-sort]:hover { color: var(--ink); }
.grid th .ar { display: inline-block; width: 10px; margin-left: 4px; color: var(--brass); }
.grid td { height: 54px; padding: 0 14px; border-bottom: 1px solid #EFEBE2; white-space: nowrap; transition: background .6s; }
.grid tr:last-child td { border-bottom: 0; }
.grid tbody tr:hover td { background: #FBFAF7; }
.grid tr.flash td { background: rgba(200,169,106,.12); }
.grid .r { text-align: right; }
.ctry { display: flex; align-items: center; gap: 12px; }
.ctry .cc { width: 34px; font-size: 11.5px; letter-spacing: .06em; color: var(--deep); background: #EEF1F5; border-radius: 6px; text-align: center; padding: 3px 0; flex: none; }
.ctry .nm { color: var(--ink); }
.ctry .fu { color: var(--slate); font-size: 12px; margin-left: 6px; }
.holds { display: grid; grid-template-columns: repeat(4, 24px); gap: 6px; }
.holds span { width: 24px; height: 24px; border-radius: 6px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.holds span.y { background: #EEF1F5; border-color: #D6DEE8; }
.holds span svg { opacity: .25; }
.holds span.y svg { opacity: 1; }
.cad { display: inline-block; min-width: 76px; text-align: center; font-size: 12px; border-radius: 6px; padding: 3px 0; background: #F2EFE8; color: var(--muted); }
.cad.live { background: rgba(63,162,122,.12); color: #2F7F5F; }
.cad.daily { background: #EEF1F5; color: var(--deep); }
.ago { color: var(--slate); font-size: 12.5px; }
.spark { display: block; }
.px { color: var(--midnight); }
.px small { color: var(--muted); font-size: 11.5px; margin-left: 3px; }
.acts-col { width: 196px; }
.row-acts { display: grid; grid-template-columns: 84px 84px; gap: 8px; justify-content: end; }
.row-acts a { height: 32px; font-size: 12.5px; }
.row-acts a svg { display: none; }
.pager > span { white-space: nowrap; }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.pages { display: grid; grid-auto-flow: column; grid-auto-columns: 36px; gap: 6px; }
.pages button { height: 32px; border: 1px solid var(--line); background: var(--card); border-radius: var(--r); font: inherit; font-size: 12.5px; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pages button.on { background: var(--midnight); border-color: var(--midnight); color: var(--ivory); }
.pages button:disabled { opacity: .35; cursor: default; }
.legend { display: flex; gap: 22px; margin-top: 14px; color: var(--muted); font-size: 12.5px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.empty { padding: 40px 14px; text-align: center; color: var(--muted); }

@media (max-width: 1180px) {
  .toolbar { flex-direction: column; align-items: stretch; }
  .seg { grid-template-columns: repeat(3, 1fr); }
  .find { width: 100%; }
  .grid { overflow-x: auto; }
  .grid th { position: static; }
  .c-hist, .c-ago { display: none; }
}
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .c-holds, .c-cad, .c-sta, .c-spark { display: none; }
  .acts-col { width: auto; }
  .row-acts { grid-template-columns: 32px; }
  .row-acts a + a, .row-acts .lb, .pager .sh { display: none; }
  .row-acts a svg { display: block; }
  .pages { grid-auto-columns: 32px; }
  .ctry .fu { display: none; }
  .grid td, .grid th { padding: 0 10px; }
}

/* ---------- Section 3: one call ---------- */
.call-sec { border-top: 1px solid var(--line); background: linear-gradient(180deg, #FBFAF7, var(--page)); }
.callbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.eps { display: grid; grid-template-columns: repeat(var(--n, 4), 156px); gap: 6px; }
.eps button { height: 38px; border: 1px solid var(--line); background: var(--card); border-radius: var(--r); font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; white-space: nowrap; position: relative; overflow: hidden; }
.eps button:hover { border-color: var(--slate); }
.eps button.on { border-color: var(--midnight); background: var(--midnight); color: var(--ivory); }
.eps button.on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--champagne); animation: fill var(--cycle, 9s) linear forwards; }
.eps.held button.on::after { display: none; }
@keyframes fill { to { width: 100%; } }
.runbtn { width: 132px; height: 38px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--champagne); background: var(--card); color: var(--brass); border-radius: var(--r); font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.runbtn:hover { background: #FBF6EC; }
.runbtn.busy svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pane { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; height: 460px; min-width: 0; }
.pane-h { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); white-space: nowrap; gap: 12px; }
.langs { display: grid; grid-template-columns: repeat(4, 84px); gap: 4px; }
.langs button { height: 30px; border: 0; background: none; border-radius: var(--r); font: inherit; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.langs button.on { background: var(--page); color: var(--ink); }
.reqline { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.reqline .m { flex: none; font-size: 11px; letter-spacing: .06em; color: #2F7F5F; background: rgba(63,162,122,.12); border-radius: 6px; padding: 3px 8px; }
.reqline .u { overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.code { flex: 1; margin: 0; padding: 16px; overflow: auto; font-family: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; font-size: 12.5px; line-height: 1.7; color: var(--ink); background: #FBFAF7; border-radius: 0 0 var(--r) var(--r); white-space: pre; tab-size: 2; }
.code::-webkit-scrollbar { width: 8px; height: 8px; }
.code::-webkit-scrollbar-thumb { background: #D8CBAE; border-radius: 8px; }
.code::-webkit-scrollbar-track { background: transparent; }
.code .cur { display: inline-block; width: 7px; height: 15px; background: var(--champagne); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tk-k { color: #1F3A5F; } .tk-s { color: #8A6A35; } .tk-n { color: #2F7F5F; } .tk-p { color: #9AA4B2; }
.stat { display: flex; align-items: center; gap: 10px; }
.stat .ok { font-size: 11px; letter-spacing: .06em; color: #2F7F5F; background: rgba(63,162,122,.12); border-radius: 6px; padding: 3px 8px; }
.stat .wait { font-size: 11px; letter-spacing: .06em; color: var(--muted); background: var(--page); border-radius: 6px; padding: 3px 8px; }
.copy { width: 84px; height: 30px; border: 1px solid var(--line); background: var(--card); border-radius: var(--r); font: inherit; font-size: 12.5px; color: var(--ink); cursor: pointer; }
.copy:hover { border-color: var(--slate); }
.code .ln { opacity: 0; animation: lnin .25s forwards; }
@keyframes lnin { to { opacity: 1; } }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.point { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; min-height: 104px; }
.point .t { display: block; color: var(--ink); margin-bottom: 4px; white-space: nowrap; }
.point .d { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }

@media (max-width: 1180px) {
  .callbar { flex-direction: column; align-items: stretch; }
  .eps { grid-template-columns: repeat(2, 1fr); }
  .runbtn { width: 100%; }
  .pair { grid-template-columns: 1fr; }
  .points { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .pane { height: 400px; }
  .pane-h { padding: 0 8px; }
  .langs { grid-template-columns: repeat(4, 1fr); width: 100%; }
  .pane-h .lbl2 { display: none; }
}

/* ---------- Section 4: stations ---------- */
.st-sec { border-top: 1px solid var(--line); }
.stbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.seg4 { display: grid; grid-template-columns: repeat(4, 120px); gap: 6px; }
.seg4 button { height: 36px; border: 1px solid var(--line); background: var(--card); border-radius: var(--r); font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; white-space: nowrap; }
.seg4 button:hover { border-color: var(--slate); }
.seg4 button.on { background: var(--midnight); border-color: var(--midnight); color: var(--ivory); }
.stwrap { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 12px; }
.map { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; height: 540px; }
.map svg { display: block; width: 100%; height: 100%; }
.map .pin { cursor: pointer; transition: transform .2s; transform-box: fill-box; transform-origin: center; }
.map .pin:hover { transform: scale(1.5); }
.map .ring { fill: none; stroke-width: 1.5; animation: ringout 1.4s ease-out forwards; transform-box: fill-box; transform-origin: center; }
@keyframes ringout { from { transform: scale(1); opacity: .9; } to { transform: scale(5); opacity: 0; } }
.tip { position: absolute; pointer-events: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 10px 24px rgba(14,26,43,.12); padding: 10px 12px; font-size: 12.5px; white-space: nowrap; opacity: 0; transition: opacity .15s; z-index: 3; }
.tip.on { opacity: 1; }
.tip .b { color: var(--ink); display: block; }
.tip .s { color: var(--muted); display: block; }
.tip .p { color: var(--midnight); font-size: 17px; font-variant-numeric: tabular-nums; display: block; margin-top: 4px; }
.maplegend { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 14px; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 12px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.maplegend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.mapnote { position: absolute; right: 14px; top: 14px; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 12px; font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cheap { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); height: 540px; display: flex; flex-direction: column; }
.cheap-h { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; white-space: nowrap; }
.cheap-h .t { color: var(--ink); }
.cheap-h .n { color: var(--muted); font-size: 12px; }
.crow { display: grid; grid-template-columns: 26px minmax(0, 1fr) 54px 74px 60px; gap: 10px; align-items: center; height: 56px; padding: 0 16px; border-bottom: 1px solid #EFEBE2; font-size: 13px; font-variant-numeric: tabular-nums; transition: background .6s; }
.crow:last-child { border-bottom: 0; }
.crow.flash { background: rgba(200,169,106,.13); }
.crow .rk { width: 24px; height: 24px; border-radius: 6px; background: var(--page); color: var(--muted); font-size: 12px; display: flex; align-items: center; justify-content: center; }
.crow:first-child .rk { background: var(--midnight); color: var(--ivory); }
.crow .nm { overflow: hidden; }
.crow .nm span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crow .nm .s { color: var(--slate); font-size: 12px; }
.crow .km { color: var(--muted); text-align: right; white-space: nowrap; }
.crow .p { text-align: right; color: var(--midnight); white-space: nowrap; }
.crow .dv { text-align: right; font-size: 12px; white-space: nowrap; }
.cheap-list { flex: 1; overflow: hidden; }
.cheap-f { padding: 12px 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cheap-f div { display: flex; flex-direction: column; }
.cheap-f .k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.cheap-f .v { font-size: 16px; color: var(--midnight); font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (max-width: 1180px) {
  .stbar { flex-direction: column; align-items: stretch; }
  .seg4 { grid-template-columns: repeat(4, 1fr); }
  .stwrap { grid-template-columns: 1fr; }
  .map { height: auto; aspect-ratio: 800 / 540; }
  .cheap { height: auto; }
}
@media (max-width: 760px) {
  .maplegend { display: none; }
  .crow { grid-template-columns: 24px minmax(0, 1fr) 70px 54px; }
  .crow .km { display: none; }
}

/* ---------- Section 5: history ---------- */
.hist-sec { border-top: 1px solid var(--line); background: linear-gradient(180deg, #FBFAF7, var(--page)); }
.hbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.seg3 { display: grid; grid-template-columns: repeat(var(--n, 3), 104px); gap: 6px; }
.seg5 { display: grid; grid-template-columns: repeat(5, 64px); gap: 6px; }
.seg3 button, .seg5 button { height: 36px; border: 1px solid var(--line); background: var(--card); border-radius: var(--r); font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; white-space: nowrap; }
.seg3 button:hover, .seg5 button:hover { border-color: var(--slate); }
.seg3 button.on, .seg5 button.on { background: var(--midnight); border-color: var(--midnight); color: var(--ivory); }
.chart { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); height: 440px; }
.chart svg { display: block; width: 100%; height: 100%; }
.chart .ax { font-size: 11.5px; fill: #8A97A8; font-variant-numeric: tabular-nums; }
.chart .ln-b { fill: none; stroke: #1F3A5F; stroke-width: 1.6; stroke-linejoin: round; }
.chart .ln-w { fill: none; stroke: #C8A96A; stroke-width: 1.4; stroke-linejoin: round; }
.chart .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: drawin 1.6s cubic-bezier(.3,.7,.2,1) forwards; }
@keyframes drawin { to { stroke-dashoffset: 0; } }
.chart .ann text { font-size: 11.5px; fill: #667386; }
.chart .ann line { stroke: #C8A96A; stroke-dasharray: 2 3; }
.hov { position: absolute; top: 14px; pointer-events: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 10px 24px rgba(14,26,43,.10); padding: 8px 12px; font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .12s; }
.hov.on { opacity: 1; }
.hov .d { color: var(--muted); display: block; }
.hov i { display: inline-block; width: 8px; height: 2px; margin-right: 6px; vertical-align: 3px; }
.hstats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 12px; }
.hstats .tile { height: 88px; }
.hstats .v { font-size: 24px; }
.bulk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }

@media (max-width: 1180px) {
  .hbar { flex-direction: column; align-items: stretch; }
  .seg3 { grid-template-columns: repeat(var(--n, 3), 1fr); }
  .seg5 { grid-template-columns: repeat(5, 1fr); }
  .hstats { grid-template-columns: repeat(3, 1fr); }
  .bulk { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .chart { height: 320px; }
  .hstats { grid-template-columns: 1fr 1fr; }
  .hstats .tile:last-child { display: none; }
}

/* ---------- Section 6: assistants ---------- */
.ai-sec { border-top: 1px solid var(--line); }
.aiwrap { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 12px; }
.chat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); height: 560px; display: flex; flex-direction: column; }
.chat-h { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.chat-h .conn { display: flex; align-items: center; gap: 8px; }
.chat-h .conn::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3FA27A; }
.dots3 { display: grid; grid-template-columns: repeat(3, 8px); gap: 6px; }
.dots3 button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; }
.dots3 button.on { background: var(--brass); }
.chat-b { flex: 1; overflow: hidden; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 84%; padding: 12px 14px; border-radius: var(--r); font-size: 14px; line-height: 1.55; opacity: 0; transform: translateY(6px); animation: msgin .35s forwards; }
@keyframes msgin { to { opacity: 1; transform: none; } }
.msg.you { align-self: flex-end; background: var(--midnight); color: var(--ivory); }
.msg.bot { align-self: flex-start; background: var(--page); color: var(--ink); }
.tool { align-self: flex-start; width: 84%; border: 1px solid var(--line); border-radius: var(--r); font-size: 12.5px; opacity: 0; animation: msgin .35s forwards; overflow: hidden; }
.tool-h { display: flex; justify-content: space-between; align-items: center; height: 36px; padding: 0 12px; background: #FBFAF7; border-bottom: 1px solid var(--line); white-space: nowrap; gap: 10px; }
.tool-h .nm { font-family: ui-monospace, Consolas, Menlo, monospace; color: var(--deep); }
.tool-h .st { color: var(--muted); }
.tool-h .st.ok { color: #2F7F5F; }
.tool-b { padding: 8px 12px; font-family: ui-monospace, Consolas, Menlo, monospace; color: var(--muted); font-size: 12px; line-height: 1.7; }
.tool-b b { font-weight: 400; color: var(--ink); }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--slate); animation: bob 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 50% { transform: translateY(-3px); opacity: .5; } }
.chat-f { height: 56px; border-top: 1px solid var(--line); display: flex; align-items: center; padding: 0 16px; color: var(--slate); font-size: 13.5px; }
.aiside { display: flex; flex-direction: column; gap: 12px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.box-h { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--ink); white-space: nowrap; display: flex; justify-content: space-between; align-items: center; }
.box-h span { color: var(--muted); font-size: 12px; }
.addr { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 8px; padding: 14px 16px; }
.addr code { height: 36px; display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: #FBFAF7; font-family: ui-monospace, Consolas, Menlo, monospace; font-size: 13px; color: var(--deep); overflow: hidden; white-space: nowrap; }
.addr button { height: 36px; }
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 16px 16px; }
.clients span { height: 32px; border: 1px solid var(--line); border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.tools { list-style: none; margin: 0; padding: 0; }
.tools li { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 12px; align-items: center; height: 46px; padding: 0 16px; border-bottom: 1px solid #EFEBE2; font-size: 13px; transition: background .4s; }
.tools li:last-child { border-bottom: 0; }
.tools li.hot { background: rgba(200,169,106,.12); }
.tools code { font-family: ui-monospace, Consolas, Menlo, monospace; font-size: 12.5px; color: var(--deep); white-space: nowrap; }
.tools span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Section 7: pricing ---------- */
.price-sec { border-top: 1px solid var(--line); background: linear-gradient(180deg, #FBFAF7, var(--page)); }
.bill { display: grid; grid-template-columns: repeat(2, 120px); gap: 6px; }
.bill button { height: 36px; border: 1px solid var(--line); background: var(--card); border-radius: var(--r); font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; white-space: nowrap; }
.bill button.on { background: var(--midnight); border-color: var(--midnight); color: var(--ivory); }
.pbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 16px; }
.pbar .note { color: var(--muted); font-size: 13px; white-space: nowrap; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px 20px; display: flex; flex-direction: column; }
.plan.pick { border-color: var(--champagne); box-shadow: 0 0 0 3px rgba(200,169,106,.16); }
.plan .tag { position: absolute; top: -11px; left: 20px; height: 22px; padding: 0 10px; border-radius: 6px; background: var(--champagne); color: var(--midnight); font-size: 11.5px; letter-spacing: .06em; display: flex; align-items: center; white-space: nowrap; }
.plan .pn { color: var(--ink); font-size: 16px; }
.plan .pd { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 6px; height: 40px; }
.plan .amt { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; height: 46px; }
.plan .amt .v { font-size: 38px; font-weight: 300; color: var(--midnight); font-variant-numeric: tabular-nums; line-height: 1; }
.plan .amt .u { color: var(--muted); font-size: 13px; white-space: nowrap; }
.plan .save { height: 18px; font-size: 12px; color: #2F7F5F; }
.plan .btn { margin-top: 16px; height: 42px; }
.plan ul { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.plan li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 13px; color: var(--ink); line-height: 1.45; }
.plan li svg { margin-top: 3px; }
.cmp { margin-top: 12px; }
.cmp table { width: 100%; table-layout: fixed; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.cmp th, .cmp td { height: 44px; padding: 0 16px; border-bottom: 1px solid #EFEBE2; white-space: nowrap; text-align: center; }
.cmp th { font-weight: 400; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #FBFAF7; border-bottom-color: var(--line); }
.cmp th:first-child { border-top-left-radius: var(--r); } .cmp th:last-child { border-top-right-radius: var(--r); }
.cmp td:first-child, .cmp th:first-child { text-align: left; }
.cmp td:first-child { color: var(--ink); }
.cmp td { color: var(--muted); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp .grp td { height: 36px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); background: #FDFCF9; }
.cmp col.pick { background: rgba(200,169,106,.06); }

@media (max-width: 1180px) {
  .aiwrap { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .cmp { overflow-x: auto; }
}
@media (max-width: 760px) {
  .chat { height: 520px; }
  .msg, .tool { max-width: 94%; width: auto; }
  .tool { width: 94%; }
  .tools li { grid-template-columns: 1fr; height: auto; padding: 10px 16px; gap: 2px; }
  .clients { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .pbar { flex-direction: column; align-items: stretch; }
  .bill { grid-template-columns: 1fr 1fr; }
  .pbar .note { white-space: normal; }
}

/* ---------- Section 8: who uses it ---------- */
.use-sec { border-top: 1px solid var(--line); }
.usetabs { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 6px; margin-bottom: 12px; }
.usetabs button { height: 52px; border: 1px solid var(--line); background: var(--card); border-radius: var(--r); font: inherit; font-size: 13.5px; color: var(--ink); cursor: pointer; white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; overflow: hidden; }
.usetabs button svg { opacity: .7; }
.usetabs button:hover { border-color: var(--slate); }
.usetabs button.on { background: var(--midnight); border-color: var(--midnight); color: var(--ivory); }
.usetabs button.on svg { stroke: var(--champagne); opacity: 1; }
.usetabs button.on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--champagne); animation: fill 8s linear forwards; }
.usetabs.held button.on::after { display: none; }
.usecard { display: grid; grid-template-columns: 420px minmax(0, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); min-height: 420px; }
.usetext { padding: 30px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.usetext .t { font-size: 22px; font-weight: 300; color: var(--midnight); line-height: 1.3; }
.usetext .d { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 12px 0 0; }
.usetext ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.usetext li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 13.5px; color: var(--ink); }
.usetext li svg { margin-top: 3px; }
.usetext .btn { margin-top: auto; width: 196px; height: 40px; }
.usedemo { padding: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.usedemo .reqline { border: 1px solid var(--line); border-radius: var(--r); background: #FBFAF7; }
.demo-t { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.demo-t th { text-align: left; font-weight: 400; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.demo-t td { height: 42px; padding: 0 12px; border-bottom: 1px solid #EFEBE2; white-space: nowrap; opacity: 0; animation: lnin .3s forwards; }
.demo-t tr:last-child td { border-bottom: 0; }
.demo-t .r { text-align: right; }
.demo-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: auto; }
.demo-sum div { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; height: 66px; display: flex; flex-direction: column; justify-content: center; }
.demo-sum .k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.demo-sum .v { font-size: 19px; color: var(--midnight); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Section 9: questions ---------- */
.faq-sec { border-top: 1px solid var(--line); background: linear-gradient(180deg, #FBFAF7, var(--page)); }
.faqs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.faqcol { display: flex; flex-direction: column; gap: 12px; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 58px; padding: 0 18px; cursor: pointer; color: var(--ink); font-size: 14.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; flex: none; border: 1px solid var(--line); border-radius: var(--r); display: flex; align-items: center; justify-content: center; }
.faq summary .pm svg { transition: transform .2s; }
.faq[open] summary .pm { border-color: var(--champagne); }
.faq[open] summary .pm svg { transform: rotate(45deg); }
.faq[open] { border-color: #DCCDAA; }
.faq p { margin: 0; padding: 0 18px 18px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.faq p a { color: var(--brass); }

/* ---------- Section 10: last call and footer ---------- */
.end-sec { border-top: 1px solid var(--line); }
.endcard { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: center; padding: 48px; background: radial-gradient(700px 300px at 85% 50%, rgba(200,169,106,.16), transparent 70%), var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.endcard .t { font-size: 40px; font-weight: 300; color: var(--midnight); line-height: 1.12; letter-spacing: -.015em; margin: 0; }
.endcard .d { color: var(--muted); font-size: 16px; margin: 14px 0 26px; max-width: 520px; line-height: 1.6; }
.endcard .hero-cta { margin: 0; }
.endcard svg.g { width: 260px; height: 260px; }


@media (max-width: 1180px) {
  .usetabs { grid-template-columns: 1fr 1fr; }
  .usecard { grid-template-columns: 1fr; }
  .usetext { border-right: 0; border-bottom: 1px solid var(--line); }
  .usetext .btn { margin-top: 24px; }
  .faqs { grid-template-columns: 1fr; }
  .endcard { grid-template-columns: 1fr; padding: 32px 24px; }
  .endcard svg.g { display: none; }
}
@media (max-width: 760px) {
  .usedemo { padding: 14px; overflow-x: auto; }
  .demo-sum { grid-template-columns: 1fr; }
  .demo-t th:nth-child(2), .demo-t td:nth-child(2) { display: none; }
  .demo-t th, .demo-t td { padding: 0 8px; }
  .usetext .btn { width: 100%; }
  .endcard .t { font-size: 30px; }
  .faq summary { height: auto; min-height: 58px; padding: 12px 16px; }
}

/* /mcp: the note under the connectors box */
.mcp-note { margin: 0; padding: 14px 16px 16px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.mcp-note a { color: var(--brass); }

/* /pricing: the small keyword line is the page's h1 */
h1.eyebrow { font-weight: 400; }
.pbar .note a { color: var(--brass); }
